/* ============================================================
   TomaChef - Premium Kitchen Appliances
   Color System: Tomato Red + White (brand-driven)
   ============================================================ */

:root {
  --tomato-50: #fef2f2;
  --tomato-100: #fee2e2;
  --tomato-200: #fecaca;
  --tomato-500: #ef4444;
  --tomato-600: #dc2626;
  --tomato-700: #b91c1c;
  --tomato-800: #991b1b;
  --tomato-900: #7f1d1d;
  --tomato-950: #450a0a;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --white: #ffffff;
  --black: #000000;

  --primary: var(--tomato-700);
  --primary-dark: var(--tomato-800);
  --primary-light: var(--tomato-100);
  --accent: var(--amber-500);
  --accent-hover: var(--amber-600);
  --text: var(--gray-800);
  --text-muted: var(--gray-500);
  --bg-light: var(--gray-50);
  --border: var(--gray-200);

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--tomato-700); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

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

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0;
  min-height: 70px;
}
.navbar .navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tomato-700) !important;
  letter-spacing: -0.5px;
  padding: 4px 0;
}
.navbar .navbar-brand img {
  height: 44px;
  width: auto;
}
.navbar .nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1rem !important;
  position: relative;
  transition: var(--transition);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--tomato-700) !important;
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--tomato-500);
  transition: transform 0.3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-switcher select {
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 6px 30px 6px 12px;
  font-size: 0.85rem;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: var(--transition);
}
.lang-switcher select:focus {
  outline: none;
  border-color: var(--tomato-700);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.1);
}

/* Navbar CTA */
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.35);
}
.nav-cta::after { display: none !important; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--tomato-950) 0%, var(--tomato-900) 40%, var(--tomato-800) 100%);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(239,68,68,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--amber-500); }
.hero .lead {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero .btn-hero {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 36px;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 24px rgba(245,158,11,0.4);
}
.hero .btn-hero:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.5);
  color: var(--white);
}
.hero .btn-outline-hero {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 34px;
  border-radius: 50px;
  transition: var(--transition);
  margin-left: 12px;
}
.hero .btn-outline-hero:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

/* Hero image placeholder */
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image .placeholder-img {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 3rem;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--tomato-800);
  margin-bottom: 0.5rem;
}
.section-title .subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--tomato-500);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================================
   CATEGORY CARDS (Homepage)
   ============================================================ */
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  height: 100%;
  cursor: pointer;
  border: 1px solid var(--border);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tomato-200);
}
.category-card .card-img-wrap {
  height: 240px;
  background: var(--tomato-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.category-card .card-body {
  padding: 24px 20px;
}
.category-card h5 {
  font-weight: 700;
  color: var(--tomato-800);
  margin-bottom: 8px;
}
.category-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.category-card .btn-cat {
  color: var(--tomato-600);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.category-card .btn-cat:hover {
  color: var(--tomato-700);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--tomato-200);
}
.product-card .product-img {
  height: 240px;
  background: var(--tomato-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}
.product-card .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--tomato-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}
.product-card .product-body {
  padding: 20px;
}
.product-card .product-category {
  font-size: 0.8rem;
  color: var(--tomato-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-card h6 {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-800);
  font-size: 1rem;
  line-height: 1.4;
}
.product-card .product-specs {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 14px;
  line-height: 1.6;
}
.product-card .btn-inquiry {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  transition: var(--transition);
}
.product-card .btn-inquiry:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

/* ============================================================
   RECIPE CARDS (Homepage)
   ============================================================ */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.recipe-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  cursor: pointer;
}
.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tomato-200);
}
.recipe-card .recipe-img {
  height: 200px;
  background: linear-gradient(135deg, var(--tomato-50), #fff5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.recipe-card .recipe-img .recipe-emoji {
  font-size: 4rem;
  transition: transform 0.3s ease;
}
.recipe-card:hover .recipe-emoji {
  transform: scale(1.15);
}
.recipe-card .recipe-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--tomato-600);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.recipe-card .recipe-body {
  padding: 20px;
}
.recipe-card h5 {
  font-weight: 700;
  color: var(--tomato-800);
  margin-bottom: 6px;
  font-size: 1rem;
}
.recipe-card p {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.recipe-card .recipe-btn {
  display: inline-block;
  color: var(--tomato-600);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}
.recipe-card .recipe-btn:hover {
  color: var(--accent);
  transform: translateX(3px);
}
@media (max-width: 991px) {
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .recipe-grid {
    grid-template-columns: 1fr;
  }
  .recipe-card .recipe-img {
    height: 180px;
  }
  .recipe-card .recipe-img .recipe-emoji {
    font-size: 3rem;
  }
}

/* ============================================================
   FEATURE SECTION (Why Choose Us)
   ============================================================ */
.feature-section {
  background: var(--bg-light);
}
.feature-item {
  text-align: center;
  padding: 30px 20px;
}
.feature-item .feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--tomato-50);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--tomato-500);
}
.feature-item h5 {
  font-weight: 700;
  color: var(--tomato-800);
  margin-bottom: 8px;
}
.feature-item p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ============================================================
   CERTIFICATION SECTION
   ============================================================ */
.cert-section {
  background: var(--white);
}
.cert-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  transition: var(--transition);
}
.cert-badge .cert-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--tomato-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tomato-600);
  border: 2px solid var(--tomato-200);
  transition: var(--transition);
}
.cert-badge:hover .cert-icon {
  background: var(--tomato-100);
  border-color: var(--tomato-500);
}
.cert-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--tomato-800), var(--tomato-700));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-section p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.1rem;
}
.cta-section .btn-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 40px;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 24px rgba(245,158,11,0.4);
}
.cta-section .btn-cta:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--tomato-950), var(--tomato-800));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.about-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
}
.about-img-placeholder {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, var(--tomato-100), var(--tomato-50));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--tomato-300);
}
.about-text h3 {
  font-weight: 700;
  color: var(--tomato-800);
  margin-bottom: 16px;
}
.about-text p {
  color: var(--gray-600);
  line-height: 1.8;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
  border-top: 4px solid var(--tomato-500);
  text-align: center;
  transition: var(--transition);
}
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.mission-card .mission-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.mission-card h5 {
  font-weight: 700;
  color: var(--tomato-800);
  margin-bottom: 8px;
}
.mission-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-weight: 700;
  color: var(--tomato-800);
  margin-bottom: 24px;
}
.contact-form-wrap .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.contact-form-wrap .form-control {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
}
.contact-form-wrap .form-control:focus {
  border-color: var(--tomato-500);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.contact-form-wrap .btn-submit {
  display: inline-block;
  width: 100%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 14px;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-form-wrap .btn-submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(245,158,11,0.35);
}

/* reCAPTCHA wrapper */
.g-recaptcha {
  margin-top: 4px;
}

/* Navbar Search */
.nav-search-wrap {
  position: relative;
}
.nav-search-input {
  width: 180px;
  padding: 6px 12px 6px 32px;
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.25s ease;
  background: var(--gray-50);
}
.nav-search-input:focus {
  width: 240px;
  border-color: var(--tomato-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.08);
}
.nav-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  pointer-events: none;
  opacity: 0.5;
}
.nav-search-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 1050;
  max-height: 320px;
  overflow-y: auto;
  min-width: 260px;
}
.nav-search-dropdown.show {
  display: block;
}
.nav-search-dropdown .search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}
.nav-search-dropdown .search-result-item:hover {
  background: var(--tomato-50);
}
.nav-search-dropdown .search-result-item:last-child {
  border-bottom: none;
}
.nav-search-dropdown .search-result-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.nav-search-dropdown .search-result-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-800);
}
.nav-search-dropdown .search-result-cat {
  font-size: 0.72rem;
  color: var(--gray-400);
}
.nav-search-dropdown .search-empty {
  padding: 14px;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.85rem;
}

@media (max-width: 991px) {
  .nav-search-input {
    width: 100%;
  }
  .nav-search-input:focus {
    width: 100%;
  }
  .nav-search-dropdown {
    left: -60px;
    right: auto;
    min-width: calc(100vw - 40px);
  }
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.contact-info-card .info-icon {
  width: 48px;
  height: 48px;
  background: var(--tomato-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.contact-info-card h6 {
  font-weight: 700;
  color: var(--tomato-800);
  margin-bottom: 4px;
}
.contact-info-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ============================================================
   PRODUCT FILTER TABS (Products Page)
   ============================================================ */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-tabs .filter-btn {
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-tabs .filter-btn:hover,
.filter-tabs .filter-btn.active {
  background: var(--tomato-700);
  color: var(--white);
  border-color: var(--tomato-700);
}

/* ============================================================
   CATEGORY SCROLL SECTIONS (Products Page - Horizontal Slider)
   ============================================================ */
.category-scroll-section {
  margin-bottom: 64px;
}
.category-scroll-section:last-child {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-header h3 {
  font-weight: 800;
  color: var(--tomato-800);
  font-size: 1.5rem;
  margin: 0;
}
.section-header .product-count {
  color: var(--gray-400);
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 4px;
}
.section-header .view-all-link {
  color: var(--tomato-600);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.section-header .view-all-link:hover {
  color: var(--tomato-700);
  transform: translateX(2px);
}

/* Scroll wrapper: contains arrows + scroll container */
.scroll-wrapper {
  position: relative;
}

/* Horizontal scroll container */
.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 24px;
  scrollbar-width: none;  /* Firefox */
}
.scroll-container::-webkit-scrollbar {
  display: none;  /* Chrome/Safari */
}

/* Individual product card in scroll */
.scroll-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.scroll-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tomato-200);
}

.scroll-card-img {
  height: 220px;
  background: linear-gradient(135deg, var(--tomato-50), #fff5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.scroll-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.scroll-card:hover .scroll-card-img img {
  transform: scale(1.05);
}
.scroll-card-img .placeholder-icon {
  font-size: 4.5rem;
  opacity: 0.85;
  transition: transform 0.3s ease;
}
.scroll-card:hover .placeholder-icon {
  transform: scale(1.15);
}

.scroll-card-body {
  padding: 20px;
}
.scroll-card-body h6 {
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.scroll-card-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 10px;
  line-height: 1.5;
}

.scroll-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.spec-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 4px 10px;
  background: var(--tomato-50);
  color: var(--tomato-700);
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.scroll-card .btn-inquiry {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 7px 18px;
  border-radius: 50px;
  transition: var(--transition);
}
.scroll-card .btn-inquiry:hover {
  background: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

/* Scroll arrow buttons */
.scroll-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gray-600);
}
.scroll-arrow:hover {
  background: var(--tomato-700);
  color: var(--white);
  border-color: var(--tomato-700);
  box-shadow: 0 6px 20px rgba(185,28,28,0.25);
  transform: translateY(-50%) scale(1.1);
}
.scroll-left { left: -18px; }
.scroll-right { right: -18px; }

/* Scroll progress indicator */
.scroll-container::after {
  content: '';
  flex: 0 0 1px;
}

@media (max-width: 768px) {
  .scroll-card {
    flex: 0 0 260px;
  }
  .scroll-arrow {
    display: none;
  }
  .section-header h3 {
    font-size: 1.2rem;
  }
  .category-scroll-section {
    margin-bottom: 48px;
  }
  .scroll-card-img {
    height: 180px;
  }
  .scroll-wrapper {
    margin: 0 -12px;
    padding: 0 12px;
  }
  .scroll-container {
    gap: 14px;
    padding: 4px 0 18px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--tomato-950);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
}
.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 1rem;
}
.footer p, .footer a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer a:hover {
  color: var(--amber-500);
}
.footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links li { margin-bottom: 8px; }
.footer .footer-links li a {
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer .footer-links li a:hover {
  color: var(--amber-500);
  padding-left: 4px;
}
.footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}
.footer .footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white) !important;
  margin-bottom: 12px;
  display: inline-block;
}
.footer .footer-brand span { color: var(--tomato-500); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero .lead { font-size: 1rem; }
  .section-padding { padding: 50px 0; }
  .section-title h2 { font-size: 1.8rem; }
  .hero .btn-outline-hero { margin-left: 0; margin-top: 10px; }
  .lang-switcher { margin-top: 8px; }
  .nav-cta { margin: 8px 0; }
}

@media (max-width: 767px) {
  .hero h1 { font-size: 1.8rem; }
  .hero .btn-hero, .hero .btn-outline-hero {
    display: block;
    text-align: center;
    margin: 8px 0;
  }
  .category-card .card-img-wrap { height: 180px; font-size: 3.5rem; }
  .product-card .product-img { height: 200px; font-size: 3.5rem; }
  .filter-tabs { gap: 6px; }
  .filter-tabs .filter-btn { padding: 8px 16px; font-size: 0.8rem; }
  .contact-form-wrap { padding: 24px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--tomato-700);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  animation: slideInRight 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   Social Media Bar
   ============================================================ */
.social-bar {
  background: var(--gray-900);
  padding: 36px 0;
  text-align: center;
}
.social-bar-title {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.social-bar-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  font-size: 1.35rem;
  transition: all 0.25s ease;
  color: white;
}
.social-icon-link svg {
  width: 22px;
  height: 22px;
}
.social-icon-link:hover {
  transform: translateY(-4px) scale(1.08);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(185,28,28,0.4);
}
/* Platform-specific brand colors on hover */
.social-icon-link[data-platform="instagram"]:hover { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); border-color: transparent; }
.social-icon-link[data-platform="facebook"]:hover  { background: #1877f2; border-color: #1877f2; box-shadow: 0 6px 20px rgba(24,119,242,0.4); }
.social-icon-link[data-platform="youtube"]:hover   { background: #ff0000; border-color: #ff0000; box-shadow: 0 6px 20px rgba(255,0,0,0.35); }
.social-icon-link[data-platform="tiktok"]:hover    { background: #010101; border-color: #69c9d0; box-shadow: 0 6px 20px rgba(105,201,208,0.35); }
.social-icon-link[data-platform="twitter"]:hover   { background: #1da1f2; border-color: #1da1f2; box-shadow: 0 6px 20px rgba(29,161,242,0.35); }
.social-icon-link[data-platform="linkedin"]:hover  { background: #0a66c2; border-color: #0a66c2; box-shadow: 0 6px 20px rgba(10,102,194,0.35); }
.social-icon-link[data-platform="pinterest"]:hover { background: #e60023; border-color: #e60023; box-shadow: 0 6px 20px rgba(230,0,35,0.35); }
.social-icon-link[data-platform="whatsapp"]:hover  { background: #25d366; border-color: #25d366; box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
@media (max-width: 576px) {
  .social-icon-link { width: 42px; height: 42px; font-size: 1.15rem; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--tomato-200);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  gap: 16px;
}
.faq-question:hover {
  color: var(--tomato-700);
  background: var(--tomato-50);
}
.faq-question:not(.collapsed) {
  color: var(--tomato-700);
  background: var(--tomato-50);
  border-bottom: 1px solid var(--tomato-100);
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tomato-100);
  color: var(--tomato-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: all 0.25s ease;
}
.faq-question:not(.collapsed) .faq-icon {
  background: var(--tomato-600);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
  background: var(--white);
}
@media (max-width: 767px) {
  .faq-question {
    padding: 16px 18px;
    font-size: 0.88rem;
  }
  .faq-answer {
    padding: 16px 18px;
  }
}

/* ============================================================
   BUY PAGE - Product Dropdown
   ============================================================ */
#orderProduct optgroup {
  font-weight: 700;
  color: var(--tomato-700);
  font-size: 0.85rem;
}
#orderProduct option {
  font-weight: 400;
  color: var(--gray-800);
  padding: 8px 12px;
}

/* ============================================================
   BUY PAGE - Product Detail Layout
   ============================================================ */

/* Product image */
.product-detail-img-wrap {
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.product-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.product-detail-img-wrap .product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--tomato-600);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
}

/* Color selector */
.color-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.color-selector-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 0;
  white-space: nowrap;
}
.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.color-swatch:hover,
.color-swatch.active {
  border-color: var(--tomato-600);
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.15);
}
.swatch-check {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Landing CTA Box */
.landing-cta-box {
  background: linear-gradient(135deg, var(--tomato-50), var(--amber-subtle));
  border: 1px solid var(--tomato-100);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}
.landing-cta-box h5 {
  color: var(--tomato-800);
  font-weight: 700;
  margin-bottom: 8px;
}
.landing-cta-box p {
  color: var(--gray-600);
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.btn-buy-bulk {
  display: inline-block;
  background: var(--tomato-600);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-buy-bulk:hover {
  background: var(--tomato-700);
  transform: translateY(-1px);
}

/* Product info */
.product-detail-info {}
.product-breadcrumb {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.product-breadcrumb a {
  color: var(--gray-500);
  text-decoration: none;
}
.product-breadcrumb a:hover {
  color: var(--tomato-600);
  text-decoration: underline;
}
.product-detail-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rating-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
.rating-count { color: var(--gray-500); font-size: 0.85rem; }

/* Price */
.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.product-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--tomato-700);
  line-height: 1;
}
.product-price-unit {
  font-size: 0.9rem;
  color: var(--gray-500);
}
.product-detail-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Specs grid */
.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.spec-item {
  background: var(--bg-light);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.spec-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-800);
}

/* Channel section */
.channel-section {}
.channel-title {
  font-weight: 700;
  color: var(--gray-800);
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--tomato-200);
}
.channel-list { display: flex; flex-direction: column; gap: 10px; }
.channel-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: all 0.2s;
  gap: 12px;
}
.channel-card:hover {
  border-color: var(--tomato-300);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.channel-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.channel-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 10px;
}
.channel-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.channel-name {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.92rem;
}
.channel-depart {
  font-size: 0.78rem;
  color: var(--gray-500);
}
.channel-card-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.channel-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--tomato-700);
  white-space: nowrap;
}
.btn-channel-buy {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-channel-buy:hover {
  background: #e68a00;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

/* Skeleton loading */
.channel-skeleton {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}
.skeleton-line {
  height: 18px;
  background: linear-gradient(90deg, var(--bg-light) 25%, #f1f5f9 50%, var(--bg-light) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Wholesale inquiry box */
.wholesale-inquiry-box {
  background: linear-gradient(135deg, #fef2f2, #fffbeb);
  border: 1px solid var(--tomato-100);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.wholesale-inquiry-box h6 {
  color: var(--tomato-800);
  font-weight: 700;
  margin-bottom: 6px;
}
.wholesale-inquiry-box p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.wholesale-form .form-control {
  border-radius: var(--radius-xs);
}
.btn-sm-full {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
}

/* Product selector grid */
.product-selector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.2s;
}
.product-selector-card:hover {
  border-color: var(--tomato-300);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .product-detail-title { font-size: 1.35rem; }
  .product-price { font-size: 1.6rem; }
  .product-detail-img-wrap { aspect-ratio: 4/3; }
}
@media (max-width: 767px) {
  .channel-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .channel-card-right {
    width: 100%;
    justify-content: space-between;
  }
  .product-detail-img-wrap { aspect-ratio: 1; }
  .product-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .color-sw {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================
   Product Videos - Google Search Style Cards
   ============================================================ */
.product-videos-section {
  margin-top: 24px;
}
.video-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}
.video-cards::-webkit-scrollbar { height: 6px; }
.video-cards::-webkit-scrollbar-track { background: transparent; }
.video-cards::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }

.video-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.video-thumb {
  position: relative;
  width: 100%;
  height: 157px; /* 16:9 */
  background: #1a1a2e;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  transition: background 0.2s;
}
.video-card:hover .video-play-overlay {
  background: rgba(0,0,0,0.35);
}
.video-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--tomato-700);
  transition: transform 0.2s;
}
.video-card:hover .video-play-btn {
  transform: scale(1.1);
}
.video-card-body {
  padding: 12px;
}
.video-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.video-card-platform {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ---- Video Lightbox ---- */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}
.video-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 860px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.video-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  padding: 4px 8px;
  transition: opacity 0.2s;
}
.video-lightbox-close:hover {
  opacity: 0.7;
}
.video-lightbox-content iframe,
.video-lightbox-content video {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .video-card {
    flex: 0 0 240px;
  }
  .video-thumb {
    height: 135px;
  }
  .video-lightbox-content {
    width: 95%;
  }
}

/* ============================================
   RECIPE PRODUCT SELECTOR
   ============================================ */
.recipe-product-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.recipe-product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 0 1 340px;
  min-width: 300px;
  position: relative;
  overflow: hidden;
}
.recipe-product-card:hover {
  border-color: #b91c1c;
  box-shadow: 0 8px 24px rgba(185,28,28,0.12);
  transform: translateY(-2px);
}
.recipe-product-card.selected {
  border-color: #b91c1c;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  box-shadow: 0 4px 20px rgba(185,28,28,0.15);
}
.recipe-product-card.selected::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: #b91c1c;
  border-radius: 4px 0 0 4px;
}

.recipe-product-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.recipe-product-info {
  flex: 1;
  min-width: 0;
}
.recipe-product-info h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

/* Header row: name + badge */
.rpp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.rpp-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #b91c1c;
  color: #fff;
  padding: 1px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Meta row: SKU + Price + Recipe count */
.rpp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.rpp-sku {
  font-size: 0.72rem;
  color: #94a3b8;
  font-family: 'SF Mono', 'JetBrains Mono', 'Consolas', monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.rpp-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #b91c1c;
}
.recipe-product-count {
  font-size: 0.72rem;
  color: #b91c1c;
  font-weight: 600;
  background: #fef2f2;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: auto;
}

/* Description */
.recipe-product-desc {
  font-size: 0.8rem;
  color: #888;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Specs tags */
.rpp-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.rpp-spec-tag {
  font-size: 0.68rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.recipe-product-arrow {
  font-size: 1.3rem;
  color: #ccc;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.recipe-product-card.selected .recipe-product-arrow,
.recipe-product-card:hover .recipe-product-arrow {
  color: #b91c1c;
  transform: translateX(3px);
}

/* ============================================
   UPDATED RECIPE CARDS (with meta badges)
   ============================================ */
.recipe-card-new {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
}
.recipe-card-new:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: #fecaca;
}
.recipe-card-new .recipe-img-new {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.recipe-card-new .recipe-img-new img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recipe-card-new .recipe-img-new .recipe-emoji {
  font-size: 3rem;
  z-index: 1;
}
.recipe-card-new .recipe-img-new img + .recipe-emoji {
  display: none;
}

.recipe-card-new .recipe-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.recipe-card-new h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px 0;
}

.recipe-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.recipe-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #b91c1c;
  background: #fef2f2;
  padding: 3px 8px;
  border-radius: 6px;
}
.recipe-meta-badge .meta-icon {
  font-size: 0.8rem;
}

.recipe-card-desc {
  font-size: 0.84rem;
  color: #666;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   RECIPE DETAIL MODAL (structured)
   ============================================ */
.recipe-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  animation: fadeInOverlay 0.2s ease;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.recipe-detail-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  padding: 40px 36px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: slideUpModal 0.3s ease;
}
@keyframes slideUpModal {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.recipe-detail-close {
  position: absolute;
  top: 16px; right: 20px;
  background: #f3f4f6;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.recipe-detail-close:hover {
  background: #e5e7eb;
  color: #b91c1c;
}

.recipe-detail-emoji {
  font-size: 3rem;
  margin-bottom: 12px;
}

.recipe-detail-modal h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.recipe-detail-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.recipe-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #fef2f2;
  border-radius: 10px;
}
.detail-meta-item {
  font-size: 0.88rem;
  color: #991b1b;
}
.detail-meta-item strong {
  color: #7f1d1d;
}

/* Detail Sections */
.recipe-detail-section {
  margin-bottom: 24px;
}
.recipe-detail-section h6 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #b91c1c;
  display: inline-block;
}

/* Ingredients - red/pink background */
.ingredients-section {
  background: #fef2f2;
  padding: 20px 24px;
  border-radius: 12px;
}
.ingredients-section h6 {
  color: #b91c1c;
  border-bottom-color: #b91c1c;
}
.ingredients-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
}
.ingredients-section ul li {
  font-size: 0.9rem;
  color: #444;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.ingredients-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #b91c1c;
  font-weight: bold;
}

/* Directions */
.directions-section {
  padding: 0 4px;
}
.directions-section h6 {
  color: #1a1a1a;
}
.directions-section ol {
  padding-left: 20px;
  margin: 0;
}
.directions-section ol li {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Tips - light pink background */
.tips-section {
  background: #fff5f5;
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid #fecaca;
}
.tips-section h6 {
  color: #b91c1c;
  border-bottom-color: #fecaca;
}
.tips-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tips-section ul li {
  font-size: 0.88rem;
  color: #666;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
.tips-section ul li::before {
  content: '💡';
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE: Recipe Product Selector
   ============================================ */
@media (max-width: 768px) {
  .recipe-product-card {
    flex: 1 1 100%;
    min-width: auto;
    padding: 16px;
  }
  .recipe-product-icon {
    font-size: 2rem;
  }
  .recipe-product-card .recipe-product-arrow {
    display: none;
  }

  .recipe-detail-modal {
    padding: 28px 20px;
    border-radius: 16px;
  }
  .recipe-detail-modal h3 {
    font-size: 1.3rem;
  }
  .ingredients-section ul {
    grid-template-columns: 1fr;
  }
}
