/* ==========================================================================
   Modern Theme Styles - Khabiri Natural Products & Saffron
   ========================================================================== */

:root {
  --modern-ink: #2a231d;
  --modern-muted: #786d5f;
  --modern-paper: #faf7f2;
  --modern-card-bg: #ffffff;
  --modern-border: #eee9e0;
  --modern-gold: #c59a45;
  --modern-gold-light: #f5e7cd;
  --modern-gold-dark: #8c5b16;
  --modern-gold-gradient: linear-gradient(135deg, #ebc889 0%, #cf9945 100%);
  --modern-saffron-purple: #581c4f;
  --modern-olive-green: #526639;
  --modern-amber-brown: #a05a2e;
  --modern-shadow-sm: 0 4px 14px rgba(42, 34, 25, 0.05);
  --modern-shadow-md: 0 10px 28px rgba(42, 34, 25, 0.08);
  --modern-shadow-lg: 0 18px 45px rgba(42, 34, 25, 0.12);
  --modern-radius-sm: 8px;
  --modern-radius-md: 14px;
  --modern-radius-lg: 18px;
  --modern-radius-full: 9999px;
}

body.theme-modern {
  font-family: 'IRANSansX', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
  background-color: var(--modern-paper);
  color: var(--modern-ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==========================================================================
   1. Header & Navigation Bar
   ========================================================================== */
.modern-site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--modern-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.modern-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.modern-brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--modern-ink);
}

.modern-brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--modern-gold);
  background: #fff;
  box-shadow: 0 2px 6px rgba(197, 154, 69, 0.2);
}

.modern-desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.modern-nav-link {
  color: #3d3730;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--modern-radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.modern-nav-link:hover {
  color: var(--modern-gold-dark);
  background: #fdf8ee;
}

.modern-nav-link.active {
  background: #fdf3e3;
  color: #845417;
  border: 1px solid #eccfa3;
  font-weight: 700;
}

.modern-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.modern-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8f6f1;
  border: 1px solid #e7e1d5;
  border-radius: var(--modern-radius-full);
  padding: 0.25rem 0.5rem 0.25rem 1rem;
  width: 200px;
  transition: width 0.3s ease, border-color 0.2s ease;
}

.modern-search-box:focus-within {
  width: 240px;
  border-color: var(--modern-gold);
  background: #ffffff;
}

.modern-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.8rem;
  color: var(--modern-ink);
  width: 100%;
  font-family: inherit;
}

.modern-search-btn {
  background: var(--modern-gold);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.modern-search-btn:hover {
  background: var(--modern-gold-dark);
}

.modern-user-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #352f2a;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--modern-radius-full);
  transition: background 0.2s;
}

.modern-user-btn:hover {
  background: #f5efe4;
  color: var(--modern-ink);
}

.modern-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #352f2a;
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.2s;
}

.modern-cart-btn:hover {
  background: #f5efe4;
}

.modern-cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  background: #d32f2f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}

/* Mobile Nav Toggle */
.modern-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--modern-border);
  border-radius: 8px;
  font-size: 1.3rem;
  padding: 0.3rem 0.6rem;
  color: var(--modern-ink);
  cursor: pointer;
}

.modern-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--modern-border);
  padding: 1rem 0;
}

.modern-mobile-menu.is-open {
  display: block;
}

.modern-mobile-nav a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--modern-ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f7f4ee;
}

/* ==========================================
   2. Hero Showcase Section
   ========================================== */
.modern-hero {
  position: relative;
  background-color: #2b1626;
  color: #fff;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
}

.modern-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.modern-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 16, 26, 0.85) 0%, rgba(30, 16, 26, 0.4) 45%, rgba(30, 16, 26, 0.75) 100%);
}

.modern-hero-container {
  position: relative;
  z-index: 2;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.modern-hero-content {
  max-width: 520px;
}

.modern-hero-badge-crest {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--modern-gold);
  background: rgba(255, 255, 255, 0.9);
  padding: 2px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modern-hero-headline {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.modern-hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #f4e9dc;
  margin-bottom: 1.75rem;
  font-weight: 400;
  line-height: 1.8;
}

.modern-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--modern-gold-gradient);
  color: #341f0c !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--modern-radius-full);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(207, 153, 69, 0.35);
  transition: all 0.25s ease;
  border: none;
}

.modern-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(207, 153, 69, 0.45);
  color: #201306 !important;
}

/* ==========================================
   3. Three Category Cards Section
   ========================================== */
.modern-categories-section {
  padding: 3.5rem 0 2rem;
}

.modern-category-card {
  position: relative;
  border-radius: var(--modern-radius-lg);
  overflow: hidden;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 2.25rem;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--modern-shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--modern-shadow-lg);
  color: #fff;
}

.modern-category-card .card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.modern-category-card:hover .card-bg-img {
  transform: scale(1.04);
}

.modern-category-card.saffron { background: linear-gradient(135deg, #5b194e 0%, #3d0b34 100%); }
.modern-category-card.oil { background: linear-gradient(135deg, #556b3a 0%, #3a4b24 100%); }
.modern-category-card.fruit { background: linear-gradient(135deg, #aa5e31 0%, #803f17 100%); }

.modern-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.modern-category-card.saffron::after {
  background: linear-gradient(90deg, rgba(75, 18, 64, 0.88) 0%, rgba(75, 18, 64, 0.55) 55%, rgba(75, 18, 64, 0.2) 100%);
}
.modern-category-card.oil::after {
  background: linear-gradient(90deg, rgba(70, 88, 48, 0.88) 0%, rgba(70, 88, 48, 0.55) 55%, rgba(70, 88, 48, 0.2) 100%);
}
.modern-category-card.fruit::after {
  background: linear-gradient(90deg, rgba(145, 78, 38, 0.88) 0%, rgba(145, 78, 38, 0.55) 55%, rgba(145, 78, 38, 0.2) 100%);
}

.modern-category-content {
  position: relative;
  z-index: 3;
  max-width: 280px;
}

.modern-category-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.modern-category-subtitle {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.modern-btn-pill {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--modern-gold-gradient);
  color: #341f0c;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--modern-radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s;
}

.modern-category-card:hover .modern-btn-pill {
  opacity: 0.95;
}

/* ==========================================
   4. Featured Products Section
   ========================================== */
.modern-products-section {
  padding: 3rem 0;
}

.modern-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.modern-section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--modern-ink);
  margin: 0;
}

.modern-view-all-link {
  color: var(--modern-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.modern-view-all-link:hover {
  color: var(--modern-gold-dark);
}

.modern-product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.modern-product-card {
  background: #ffffff;
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius-md);
  padding: 1rem 0.85rem 1.25rem;
  text-align: center;
  position: relative;
  box-shadow: var(--modern-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modern-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--modern-shadow-md);
}

.modern-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #faf6ee;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b85d5d;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.modern-wishlist-btn:hover {
  background: #f3e8d6;
}

.modern-product-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.modern-product-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s;
}

.modern-product-card:hover .modern-product-img-wrap img {
  transform: scale(1.05);
}

.modern-product-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--modern-ink);
  margin-bottom: 0.25rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modern-product-spec {
  font-size: 0.75rem;
  color: #8c8173;
  margin-bottom: 0.5rem;
}

.modern-product-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #751c1c;
  margin-bottom: 0.85rem;
}

.modern-add-to-cart-btn {
  background: #fdf3e2;
  color: #3d2511;
  border: 1px solid #ebd9b8;
  border-radius: var(--modern-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.modern-add-to-cart-btn:hover {
  background: var(--modern-gold-gradient);
  border-color: var(--modern-gold);
  color: #2a1506;
}

/* ==========================================
   5. Trust & Value Strip Section
   ========================================== */
.modern-trust-section {
  padding: 1.5rem 0 3rem;
}

.modern-trust-box {
  background: #fbf7ee;
  border: 1px solid #efe8da;
  border-radius: var(--modern-radius-md);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  box-shadow: var(--modern-shadow-sm);
}

.modern-trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.modern-trust-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4ede0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.modern-trust-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2c241b;
  margin-bottom: 0.15rem;
}

.modern-trust-text small {
  display: block;
  font-size: 0.75rem;
  color: #827768;
}

/* ==========================================
   6. Heritage Story & Video Section
   ========================================== */
.modern-story-section {
  padding: 3rem 0;
}

.modern-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.modern-video-card {
  position: relative;
  border-radius: var(--modern-radius-lg);
  overflow: hidden;
  height: 235px;
  background: #2d211a;
  box-shadow: var(--modern-shadow-md);
}

.modern-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.modern-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255, 255, 255, 0.95);
}

.modern-play-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #751a1a;
  margin-inline-start: 4px;
}

.modern-video-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1.5rem 1.25rem 0.85rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
}

.modern-video-caption strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

.modern-video-caption small {
  font-size: 0.78rem;
  color: #f3e5d4;
}

.modern-story-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2a2219;
  margin-bottom: 1.25rem;
}

.modern-story-content p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #5e5346;
  margin-bottom: 1.75rem;
}

/* Stats items */
.modern-stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.modern-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modern-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4ede0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.modern-stat-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: #2e2419;
  margin-bottom: 0.1rem;
}

.modern-stat-item span {
  display: block;
  font-size: 0.82rem;
  color: #786d5f;
}

/* ==========================================
   7. Customer Testimonials Section
   ========================================== */
.modern-testimonials-section {
  padding: 3rem 0;
}

.modern-testimonial-card {
  background: #ffffff;
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--modern-shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  height: 100%;
}

.modern-testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #efe8de;
}

.modern-testimonial-body {
  flex: 1;
}

.modern-testimonial-stars {
  color: var(--modern-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}

.modern-testimonial-quote {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #4a4137;
  margin-bottom: 0.65rem;
}

.modern-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-testimonial-author strong {
  font-size: 0.88rem;
  color: #2b2117;
}

.modern-testimonial-author span {
  font-size: 0.78rem;
  color: #8a7e70;
}

/* ==========================================
   8. Recipes & Latest Articles Section
   ========================================== */
.modern-recipes-section {
  padding: 3rem 0;
}

.modern-recipe-card {
  background: #ffffff;
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius-md);
  overflow: hidden;
  box-shadow: var(--modern-shadow-sm);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}

.modern-recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--modern-shadow-md);
}

.modern-recipe-img {
  width: 100%;
  height: 135px;
  object-fit: cover;
}

.modern-recipe-info {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.modern-recipe-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2b2218;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.modern-recipe-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.modern-badge-subtle {
  background: #f8eedb;
  color: #865518;
  padding: 0.2rem 0.65rem;
  border-radius: var(--modern-radius-full);
  font-weight: 600;
}

.modern-read-time {
  color: #918679;
}

/* Article List Item */
.modern-article-item {
  background: #ffffff;
  border: 1px solid var(--modern-border);
  border-radius: var(--modern-radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--modern-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.modern-article-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--modern-shadow-md);
}

.modern-article-thumb {
  width: 58px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.modern-article-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #2d2319;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.modern-article-date {
  font-size: 0.75rem;
  color: #8f8375;
}

/* ==========================================
   9. FAQ & Newsletter Section
   ========================================== */
.modern-faq-section {
  padding: 2.5rem 0 4rem;
}

.modern-accordion-item {
  background: #ffffff;
  border: 1px solid var(--modern-border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--modern-shadow-sm);
}

.modern-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: transparent;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2c2319;
  text-align: inherit;
  cursor: pointer;
  font-family: inherit;
}

.modern-accordion-trigger .icon {
  font-size: 1.2rem;
  color: #8c7f70;
  transition: transform 0.2s;
}

.modern-accordion-body {
  padding: 0 1.25rem 1rem;
  font-size: 0.84rem;
  color: #6a6054;
  line-height: 1.8;
  display: none;
}

.modern-accordion-item.is-open .modern-accordion-body {
  display: block;
}

.modern-accordion-item.is-open .icon {
  transform: rotate(45deg);
}

/* Newsletter Banner */
.modern-newsletter-banner {
  background: linear-gradient(135deg, #4b1442 0%, #601c55 50%, #722466 100%);
  border-radius: var(--modern-radius-lg);
  padding: 2rem 2.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--modern-shadow-md);
  position: relative;
  overflow: hidden;
}

.modern-newsletter-flower {
  width: 130px;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  flex-shrink: 0;
}

.modern-newsletter-content {
  flex: 1;
}

.modern-newsletter-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.modern-newsletter-content p {
  font-size: 0.84rem;
  color: #f0d4ec;
  margin-bottom: 1.25rem;
}

.modern-newsletter-form {
  display: flex;
  background: #ffffff;
  border-radius: var(--modern-radius-full);
  padding: 0.25rem;
  max-width: 400px;
}

.modern-newsletter-input {
  border: none;
  background: transparent;
  outline: none;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--modern-ink);
  flex: 1;
}

.modern-newsletter-btn {
  background: var(--modern-gold-gradient);
  color: #3a220e;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--modern-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.modern-newsletter-btn:hover {
  opacity: 0.92;
}

/* ==========================================
   10. Luxury Footer
   ========================================== */
.modern-footer {
  background: #fbf7ee;
  border-top: 1px solid #efe5d5;
  padding-top: 3.5rem;
  color: #554e46;
  position: relative;
}

.modern-footer-sketch {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: center;
  width: min(280px, 100%);
  opacity: 0.45;
  pointer-events: none;
}

.modern-footer-tagline {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: center;
  position: relative;
  padding-inline: 0.5rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #5f4b35;
  font-family: inherit;
}

.modern-footer > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.modern-footer > .container > .row {
  grid-area: 2 / 1;
}

.modern-footer-col h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #2e2419;
  margin-bottom: 1.25rem;
}

.modern-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-footer-links li {
  margin-bottom: 0.65rem;
}

.modern-footer-links a {
  color: #6e6254;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.modern-footer-links a:hover {
  color: var(--modern-gold-dark);
}

.modern-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block: 1.25rem;
}

.modern-social-btn {
  --social-ink: #6a583a;
  --social-paper: #ffffff;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--social-paper);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--social-ink);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color .2s, color .2s, transform .2s;
}
.modern-social-whatsapp { --social-ink: #16834b; --social-paper: #e8f6ed; }
.modern-social-telegram { --social-ink: #167ba8; --social-paper: #e9f4fb; }
.modern-social-instagram { --social-ink: #a73b66; --social-paper: #f8edf1; }
.modern-social-linkedin { --social-ink: #176a9e; --social-paper: #e9f2f8; }
.modern-social-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.modern-social-btn:hover {
  background: var(--social-ink);
  color: #fff;
  transform: translateY(-2px);
}
.modern-social-btn:focus-visible { outline: 2px solid var(--social-ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .modern-social-btn { transition: none; } .modern-social-btn:hover { transform: none; } }

.modern-footer-bottom {
  grid-area: 3 / 1;
  margin-top: 3.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid #eae0d0;
  font-size: 0.8rem;
  color: #8f8375;
  text-align: center;
}

/* ==========================================
   Responsive Adaptations
   ========================================== */
@media (max-width: 1199.98px) {
  .modern-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .modern-story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modern-story-grid > .modern-stats-list {
    grid-column: span 2;
    flex-direction: row;
    justify-content: space-around;
  }
}

@media (max-width: 991.98px) {
  .modern-desktop-nav {
    display: none;
  }
  .modern-menu-toggle {
    display: block;
  }
  .modern-trust-box {
    grid-template-columns: repeat(2, 1fr);
  }
  .modern-story-grid {
    grid-template-columns: 1fr;
  }
  .modern-story-grid > .modern-stats-list {
    grid-column: span 1;
    flex-direction: column;
  }
  .modern-footer-sketch, .modern-footer-tagline {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .modern-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modern-trust-box {
    grid-template-columns: 1fr;
  }
  .modern-newsletter-banner {
    flex-direction: column;
    text-align: center;
  }
  .modern-newsletter-form {
    max-width: 100%;
  }
}


/* ==========================================================================
   11. Mega Menu & Header Dropdowns
   ========================================================================== */
.theme-modern .modern-nav-dropdown {
  position: relative;
  display: inline-block;
}
.theme-modern .modern-nav-dropdown:hover .modern-dropdown-panel {
  display: block;
}
.theme-modern .modern-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1050;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border: 1px solid #efe8dc;
  padding: 1.25rem;
}
.theme-modern .modern-simple-dropdown {
  width: 220px;
  padding: 0.5rem 0;
}
.theme-modern .modern-simple-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #332d26;
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.theme-modern .modern-simple-dropdown a:hover {
  background: #fcf6eb;
  color: var(--modern-gold-dark);
}
.theme-modern .modern-brand-mega {
  width: 480px;
}
.theme-modern .modern-menu-all {
  display: block;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  color: var(--modern-gold-dark) !important;
  font-weight: 700;
  border-bottom: 1px solid #f0e6d6;
  text-decoration: none;
  font-size: 0.86rem;
}
.theme-modern .modern-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.theme-modern .modern-mega-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 0.5rem;
  border: 1px solid #efe8dc;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--modern-ink);
  transition: all 0.2s;
}
.theme-modern .modern-mega-card:hover {
  border-color: var(--modern-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 154, 69, 0.15);
}
.theme-modern .modern-mega-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.theme-modern .modern-mega-card span {
  font-size: 1.8rem;
  color: var(--modern-gold);
}
.theme-modern .modern-mega-card strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.theme-modern .modern-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d4c8b2;
  border-radius: 8px;
  background: #fff;
  color: var(--modern-ink);
  font-size: 1.3rem;
  cursor: pointer;
}
.theme-modern .modern-mobile-nav {
  display: none;
}
@media (max-width: 1199.98px) {
  .theme-modern .modern-desktop-nav {
    display: none !important;
  }
  .theme-modern .modern-menu-toggle {
    display: inline-flex !important;
  }
  .theme-modern .modern-mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem;
    background: #ffffff;
    border-top: 1px solid var(--modern-border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  }
  .theme-modern .modern-mobile-nav > a,
  .theme-modern .modern-mobile-nav summary {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--modern-ink);
    text-decoration: none;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
    border-radius: 8px;
  }
  .theme-modern .modern-mobile-nav summary:after {
    content: " ▾";
    color: var(--modern-gold);
  }
  .theme-modern .modern-mobile-nav > a:hover,
  .theme-modern .modern-mobile-nav summary:hover {
    background: #fdf6ec;
    color: var(--modern-gold-dark);
  }
  .theme-modern .modern-mobile-subnav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.4rem 1rem 0.6rem;
  }
  .theme-modern .modern-mobile-subnav a {
    display: block;
    padding: 0.5rem 1rem;
    color: #645a4e;
    text-decoration: none;
    font-size: 0.88rem;
    border-inline-start: 2px solid #ecd8b3;
  }
  .theme-modern .modern-mobile-subnav a:hover {
    color: var(--modern-gold-dark);
  }
}

/* ==========================================================================
   12. Brand Landing & Brands Showcase
   ========================================================================== */
.modern-brand-hero {
  background: linear-gradient(135deg, #241c22 0%, #3e2239 50%, #1e1b1a 100%);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--modern-gold);
}
.modern-brand-hero-inner {
  position: relative;
  z-index: 2;
}
.modern-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(227, 183, 94, 0.15);
  border: 1px solid rgba(227, 183, 94, 0.4);
  color: #f7dca3;
  padding: 0.35rem 1rem;
  border-radius: var(--modern-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.modern-brand-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.modern-brand-hero p {
  font-size: 1.05rem;
  color: #eedbcd;
  max-width: 680px;
  line-height: 1.9;
}
.modern-brand-logo-hero {
  width: 140px;
  height: 140px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 0.75rem;
  border: 4px solid var(--modern-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.modern-brand-section {
  padding: 4rem 0;
}
.modern-brand-card-item {
  background: #ffffff;
  border: 1px solid #ede5d8;
  border-radius: var(--modern-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--modern-shadow-sm);
  transition: all 0.3s;
}
.modern-brand-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--modern-shadow-md);
  border-color: #dfcca3;
}

/* ==========================================================================
   13. Product Catalog & Details
   ========================================================================== */
.modern-catalog-header {
  background: #fbf7ee;
  border-bottom: 1px solid #eee4d4;
  padding: 3rem 0 2.5rem;
}
.modern-catalog-filters {
  background: #ffffff;
  border: 1px solid #ebd9b8;
  border-radius: var(--modern-radius-md);
  padding: 1.25rem;
  box-shadow: var(--modern-shadow-sm);
  margin-bottom: 2.5rem;
}
.modern-catalog-search-input {
  border: 1px solid #dcd4c6;
  border-radius: var(--modern-radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
}
.modern-catalog-select {
  border: 1px solid #dcd4c6;
  border-radius: var(--modern-radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
}

/* Product Detail View */
.modern-product-detail-wrap {
  padding: 4rem 0;
}
.modern-product-gallery {
  background: #ffffff;
  border: 1px solid #eae2d4;
  border-radius: var(--modern-radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--modern-shadow-sm);
}
.modern-product-gallery-main {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}
.modern-product-detail-content h1 {
  font-size: 2rem;
  font-weight: 850;
  color: var(--modern-ink);
  margin-bottom: 0.75rem;
}
.modern-product-brand-tag {
  display: inline-block;
  background: #fcf1db;
  color: #7b4f14;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--modern-radius-full);
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
}
.modern-product-specs-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #eee4d4;
  border-radius: 10px;
  overflow: hidden;
}
.modern-product-specs-table tr:nth-child(even) {
  background: #fdfaf5;
}
.modern-product-specs-table td {
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
  border-bottom: 1px solid #f1e9dc;
}
.modern-product-specs-table td:first-child {
  font-weight: 700;
  color: #5d5448;
  width: 35%;
  border-inline-end: 1px solid #f1e9dc;
}

/* Artboard Hotspot Support */
.theme-modern .modern-artboard-view {
  display: none;
  max-width: 1500px;
  margin: 0 auto;
  background: #fbf7ef;
  line-height: 0;
  box-shadow: 0 0 65px rgba(50,32,20,.08);
}
.theme-modern .modern-artboard-frame {
  display: block;
  position: relative;
  width: 100%;
  line-height: 0;
}
.theme-modern .modern-artboard-frame > img {
  display: block;
  width: 100%;
  height: auto;
}
.theme-modern .modern-artboard-link {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 6px;
  background: transparent;
}
.theme-modern .modern-artboard-link:hover {
  background: rgba(255,255,255,.10);
}
.theme-modern .modern-artboard-link:focus-visible {
  outline: 3px solid #b78338;
  outline-offset: -3px;
  background: rgba(255,255,255,.16);
}


/* Modern public header: keep the markup and stylesheet in sync.
   These selectors are used by Themes/Modern/Views/Shared/_Layout.cshtml. */
.theme-modern .modern-header-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: .65rem;
  color: var(--modern-ink);
  text-decoration: none;
  font-size: clamp(.85rem, 1.15vw, 1.05rem);
  font-weight: 800;
  white-space: nowrap;
}
.theme-modern .modern-header-brand:hover { color: var(--modern-gold-dark); }
.theme-modern .modern-header-brand .logo-mark-img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 2px solid #e3c48d;
  border-radius: 50%;
}
.theme-modern .modern-desktop-nav > a,
.theme-modern .modern-nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  padding: .5rem .63rem;
  border-radius: 999px;
  color: #3d3730;
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}
.theme-modern .modern-desktop-nav > a:hover,
.theme-modern .modern-nav-dropdown > a:hover,
.theme-modern .modern-nav-dropdown:focus-within > a {
  color: #875b21;
  background: #f9f0df;
}
.theme-modern .modern-nav-dropdown:hover .modern-dropdown-panel,
.theme-modern .modern-nav-dropdown:focus-within .modern-dropdown-panel {
  display: block;
}
html[dir="ltr"] .theme-modern .modern-dropdown-panel {
  right: auto;
  left: 0;
}
.theme-modern .modern-header-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .62rem .95rem;
  border-radius: 999px;
  background: #b88d3a;
  color: #fff;
  text-decoration: none;
  font-size: .79rem;
  font-weight: 750;
  white-space: nowrap;
}
.theme-modern .modern-header-cta:hover {
  background: #886021;
  color: #fff;
}
.theme-modern .modern-header-actions .languages {
  flex-shrink: 0;
  align-items: center;
  font-size: .84rem;
}
.theme-modern .modern-header-actions .languages button { text-decoration: none; }
.theme-modern .modern-mobile-nav {
  max-height: calc(100dvh - 70px);
  overflow-y: auto;
}
.theme-modern .modern-mobile-nav details[open] {
  background: #faf6ed;
  border-radius: .75rem;
}
.theme-modern .modern-mobile-nav a:focus-visible,
.theme-modern .modern-menu-toggle:focus-visible,
.theme-modern .modern-header-cta:focus-visible {
  outline: 2px solid #9c752d;
  outline-offset: 3px;
}
/* In LTR languages, leave space for English copy and simplify the mobile row. */
@media (max-width: 1399.98px) {
  .theme-modern .modern-desktop-nav { gap: .15rem; }
  .theme-modern .modern-desktop-nav > a,
  .theme-modern .modern-nav-dropdown > a { padding-inline: .4rem; font-size: .78rem; }
}
@media (max-width: 1199.98px) {
  .theme-modern .modern-header-row { min-height: 70px; }
  .theme-modern .modern-menu-toggle { flex-shrink: 0; }
  .theme-modern .modern-mobile-nav.is-open { padding-inline: max(1rem, calc((100% - 1120px)/2)); }
}
@media (max-width: 575.98px) {
  .theme-modern .modern-header-row { gap: .45rem; }
  .theme-modern .modern-header-brand { min-width: 0; white-space: normal; font-size: .82rem; line-height: 1.3; }
  .theme-modern .modern-header-brand .logo-mark-img { width: 38px; height: 38px; flex-shrink: 0; }
  .theme-modern .modern-header-actions { gap: .35rem; }
  .theme-modern .modern-header-actions .languages { gap: .25rem !important; font-size: .72rem; }
  .theme-modern .modern-header-actions .languages .px-2 { padding-inline: .15rem !important; }
  .theme-modern .modern-header-cta { display: none; }
  .theme-modern .modern-hero-container { padding-block: 2.5rem; }
  .theme-modern .modern-hero-headline { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .theme-modern .modern-category-card { padding: 1.4rem; min-height: 215px; }
  .theme-modern .modern-product-grid { grid-template-columns: minmax(0, 1fr); }
  .theme-modern .modern-footer { padding-top: 2.5rem; }
  .theme-modern .modern-footer-bottom { margin-top: 2.5rem; }
}


/* ==========================================================================
   Home section primitives - required by the Razor markup.
   The original CSS covered the legacy demo class names, not these classes.
   ========================================================================== */
.theme-modern .modern-live-home { width: 100%; }
.theme-modern .modern-section { padding: clamp(3rem, 5vw, 5rem) 0; }
.theme-modern .modern-kicker {
  display: block;
  margin-bottom: .45rem;
  color: #956c29;
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.theme-modern .modern-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .72rem 1.45rem;
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  border-radius: var(--modern-radius-full);
  transition: background .2s, color .2s, transform .2s;
}
.theme-modern .modern-btn-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.85);
  background: rgba(28, 20, 29, .28);
}
.theme-modern .modern-btn-outline:hover {
  background: #fff;
  color: #422e1c;
  transform: translateY(-2px);
}
.theme-modern .modern-trust-strip {
  position: relative;
  background: #fff9ef;
  border-block: 1px solid #ebdfcb;
  padding: 1.5rem 0;
}
.theme-modern .modern-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.5rem, 2vw, 1.5rem);
}
.theme-modern .modern-trust-grid > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  column-gap: .7rem;
  padding: .6rem .75rem;
}
.theme-modern .modern-trust-grid > div + div {
  border-inline-start: 1px solid #e6d9c5;
}
.theme-modern .modern-trust-grid > div > span {
  grid-row: span 2;
  color: #b98940;
  font-size: 1.8rem;
  line-height: 1.25;
}
.theme-modern .modern-trust-grid strong {
  font-size: .88rem;
  font-weight: 800;
  color: #42362b;
}
.theme-modern .modern-trust-grid small {
  color: #817261;
  font-size: .74rem;
}
.theme-modern .modern-brand-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #eee3d5;
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: var(--modern-shadow-sm);
  color: var(--modern-ink);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.theme-modern .modern-brand-card:hover {
  color: var(--modern-ink);
  box-shadow: var(--modern-shadow-md);
  transform: translateY(-4px);
}
.theme-modern .modern-brand-visual {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 1.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-accent, #b88d3a) 12%, #fff), #f9f3e7);
  border-bottom: 1px solid #f0e8dc;
}
.theme-modern .modern-brand-visual img {
  max-width: 145px;
  max-height: 132px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.theme-modern .modern-brand-symbol {
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  border: 2px solid color-mix(in srgb, var(--brand-accent, #b88d3a) 45%, #fff);
  border-radius: 50%;
  color: var(--brand-accent, #b88d3a);
  font-size: 3.5rem;
}
.theme-modern .modern-brand-info { padding: 1.45rem 1.6rem 1.6rem; }
.theme-modern .modern-brand-info h3 {
  font-size: 1.13rem;
  font-weight: 850;
  margin-bottom: .5rem;
}
.theme-modern .modern-brand-info p {
  color: var(--modern-muted);
  font-size: .87rem;
  line-height: 1.9;
  min-height: 3.3em;
  margin-bottom: 1rem;
}
.theme-modern .modern-brand-more {
  display: inline-block;
  color: #8b5d23;
  font-weight: 800;
  font-size: .84rem;
}
.theme-modern .modern-product-tag {
  display: inline-flex;
  align-self: center;
  border-radius: var(--modern-radius-full);
  padding: .23rem .75rem;
  background: #f9f0dc;
  color: #805c2b;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .7rem;
}
.theme-modern .modern-product-image {
  display: block;
  width: 100%;
  height: 158px;
  object-fit: contain;
  margin-bottom: .75rem;
  border-radius: .65rem;
  background: #fffcf5;
}
.theme-modern .modern-product-title {
  color: var(--modern-ink);
  font-weight: 750;
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: .65rem;
  overflow-wrap: anywhere;
}
.theme-modern .modern-product-rating {
  color: #b88d3a;
  font-size: .85rem;
  margin-bottom: .65rem;
}
.theme-modern .modern-product-rating span { color: var(--modern-muted); font-size: .73rem; }
.theme-modern .modern-product-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .6rem;
  margin-top: auto;
}
.theme-modern .modern-product-detail { font-size: .72rem; color: var(--modern-muted); }
.theme-modern .modern-btn-card {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .55rem .6rem;
  border-radius: .65rem;
  background: #f3e6cd;
  color: #714d21;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 800;
}
.theme-modern .modern-btn-card:hover { color: #fff; background: #996f32; }
.theme-modern .modern-articles-list { display: grid; gap: 1rem; }
.theme-modern .modern-video-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-modern .modern-video-play-btn {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.9);
  color: #583d29;
  border-radius: 50%;
  font-size: 1.15rem;
}
.theme-modern .modern-video-info {
  position: absolute;
  inset-inline: 1.25rem;
  bottom: 1.15rem;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0,0,0,.6);
}
.theme-modern .modern-video-tag { display: block; font-size: .73rem; color: #f0cb82; }
.theme-modern .modern-video-title { font-weight: 800; font-size: 1rem; color: #fff; line-height: 1.7; }
.theme-modern .modern-story-badge {
  display: inline-block;
  background: #f1e5cf;
  color: #895d2a;
  border-radius: 999px;
  font-size: .77rem;
  padding: .3rem .85rem;
  font-weight: 750;
  margin-bottom: .8rem;
}
.theme-modern .modern-story-title {
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  line-height: 1.45;
  font-weight: 900;
  color: #31271d;
  margin-bottom: 1rem;
}
.theme-modern .modern-story-desc {
  color: #706151;
  font-size: .95rem;
  line-height: 2;
  margin-bottom: 1.35rem;
}
.theme-modern .modern-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.theme-modern .modern-value-item {
  display: flex;
  align-items: start;
  gap: .8rem;
  padding: .9rem;
  background: rgba(255,255,255,.7);
  border: 1px solid #f0e6d5;
  border-radius: .9rem;
}
.theme-modern .modern-value-item h4 { font-size: .9rem; font-weight: 850; margin-bottom: .2rem; }
.theme-modern .modern-value-item p { font-size: .8rem; color: #74695d; margin: 0; line-height: 1.7; }
.theme-modern .modern-value-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: .7rem;
  background: #f8eedb;
  color: #9c722f;
  font-size: 1.25rem;
}
.theme-modern .modern-stat-num { font-size: clamp(1.4rem,2vw,2rem); color: #8c642a; font-weight: 900; }
.theme-modern .modern-stat-label { font-size: .78rem; color: #776756; }
.theme-modern .modern-accordion { display: grid; gap: .8rem; }
.theme-modern .modern-home-en .modern-story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 991.98px) {
  .theme-modern .modern-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-modern .modern-trust-grid > div + div { border: 0; }
  .theme-modern .modern-home-en .modern-story-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .theme-modern .modern-trust-grid { grid-template-columns: minmax(0, 1fr); }
  .theme-modern .modern-trust-grid > div { padding: .45rem .3rem; }
  .theme-modern .modern-section-header { gap: .75rem; flex-wrap: wrap; }
  .theme-modern .modern-brand-visual { min-height: 140px; }
  .theme-modern .modern-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-modern .modern-product-image { height: 110px; }
  .theme-modern .modern-product-card { padding: .8rem .55rem 1rem; }
  .theme-modern .modern-product-title { font-size: .8rem; }
  .theme-modern .modern-brand-info { padding: 1.1rem; }
}


/* ==========================================================================
   Modern 2026 refinement: coherent visual language for both custom and shared
   public Razor views. Keep every rule scoped to the public Modern theme.
   ========================================================================== */
body.theme-modern {
  --modern-ink: #29211d;
  --modern-muted: #6e6256;
  --modern-paper: #faf8f3;
  --modern-border: #eadfcd;
  --modern-gold: #bc8b40;
  --modern-gold-dark: #805622;
  --modern-shadow-sm: 0 8px 24px rgba(43,32,22,.055);
  --modern-shadow-md: 0 16px 38px rgba(43,32,22,.10);
  background: var(--modern-paper);
  color: var(--modern-ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.theme-modern[dir="ltr"], html[dir="ltr"] body.theme-modern {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.theme-modern :where(h1,h2,h3,h4,h5,h6) {
  letter-spacing: -.025em;
  text-wrap: balance;
}
.theme-modern :where(p,li) { overflow-wrap: break-word; }
.theme-modern :where(a,button,input,textarea,select,summary):focus-visible {
  outline: 3px solid #bf9146;
  outline-offset: 3px;
}
.theme-modern .modern-skip-link {
  position: fixed;
  z-index: 2000;
  inset-inline-start: 1rem;
  top: -5rem;
  background: #fff;
  color: #382622;
  padding: .65rem 1rem;
  border: 2px solid var(--modern-gold);
  border-radius: .75rem;
  box-shadow: var(--modern-shadow-md);
}
.theme-modern .modern-skip-link:focus { top: 1rem; }
.theme-modern .modern-site-header {
  background: rgba(255,253,249,.98);
  border-bottom: 1px solid rgba(177,141,87,.22);
  backdrop-filter: blur(16px);
}
.theme-modern .modern-header-brand img {
  box-shadow: 0 0 0 3px rgba(188,139,64,.12);
}
.theme-modern .modern-desktop-nav > a,
.theme-modern .modern-nav-dropdown > a { transition: color .2s ease, background .2s ease; }
.theme-modern .modern-desktop-nav > a:hover,
.theme-modern .modern-nav-dropdown > a:hover { color: #81521e; }
.theme-modern main { min-height: 45vh; }
.theme-modern .modern-section-title,
.theme-modern .modern-catalog-header h1 {
  font-weight: 850;
  line-height: 1.4;
  color: #35271f;
}
.theme-modern .modern-catalog-header {
  background: radial-gradient(circle at 15% 10%, rgba(210,165,84,.16), transparent 45%),
    linear-gradient(135deg,#fffaf0,#f5efe5);
  padding-block: clamp(3.4rem,6vw,5.5rem);
}
.theme-modern .modern-catalog-header .lead { max-width: 760px; line-height: 1.95; }
.theme-modern :where(.modern-brand-card-item,.modern-product-card,.modern-catalog-filters,.modern-product-gallery) {
  border-color: #e9dcc9;
  box-shadow: var(--modern-shadow-sm);
}
.theme-modern .modern-brand-card-item { border-radius: 1.25rem; }
.theme-modern .modern-product-card {
  border-radius: 1.2rem;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.theme-modern .modern-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--modern-shadow-md);
}
.theme-modern .modern-product-card .modern-product-title a:hover { color: #93601e !important; }
.theme-modern .modern-product-gallery {
  position: relative;
  border-radius: 1.4rem;
  background: #fff;
}
.theme-modern .modern-product-gallery-main {
  max-height: 470px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.theme-modern .modern-product-detail-content { min-width: 0; }
.theme-modern .modern-product-detail-content h1 { font-size: clamp(1.7rem,3vw,2.5rem); }
.theme-modern .modern-product-specs-table td { word-break: break-word; }
.theme-modern .modern-btn-gold,
.theme-modern .modern-btn-card,
.theme-modern .modern-btn-pill,
.theme-modern .modern-header-cta {
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.theme-modern :where(.modern-btn-gold,.modern-btn-card,.modern-btn-pill,.modern-header-cta):hover {
  transform: translateY(-2px);
}
.theme-modern .modern-hero-headline { text-wrap: balance; }
.theme-modern .modern-brand-card,
.theme-modern .modern-category-card { transition: transform .25s ease, box-shadow .25s ease; }
.theme-modern .modern-footer {
  border-top: 3px solid #c19a56;
}
.theme-modern .modern-footer-links a:hover { color: #9d6626; }

/* Existing company, content, article, FAQ and contact views use Bootstrap's
   general-purpose markup: bring them into the Modern theme without touching
   their data bindings, URLs, forms or the admin interface. */
.theme-modern main > .container.py-5 {
  padding-top: clamp(2.5rem,5vw,4.75rem) !important;
  padding-bottom: clamp(3.5rem,6vw,6rem) !important;
}
.theme-modern main > .container.py-5 :where(h1,.display-5) {
  font-size: clamp(1.85rem,3.7vw,3.25rem);
  font-weight: 850;
  line-height: 1.35;
  color: #35241d;
}
.theme-modern main > .container.py-5 > :where(h1,.display-5):first-child::after,
.theme-modern main > .container.py-5 > .row:first-child h1::after {
  display: block;
  content: "";
  width: 72px;
  height: 4px;
  border-radius: 99px;
  margin-block: 1rem 1.75rem;
  background: linear-gradient(90deg,#9e692f,#edce8c);
}
.theme-modern main > .container.py-5 .lead { color: var(--modern-muted); line-height: 1.9; }
.theme-modern main > .container.py-5 :where(.card,.accordion-item) {
  border: 1px solid var(--modern-border);
  border-radius: 1.2rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--modern-shadow-sm);
}
.theme-modern main > .container.py-5 .card {
  transition: transform .22s ease, box-shadow .22s ease;
}
.theme-modern main > .container.py-5 .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--modern-shadow-md);
}
.theme-modern main > .container.py-5 .card-img-top {
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #eee6dc;
}
.theme-modern main > .container.py-5 .card-body { padding: clamp(1.2rem,2.5vw,1.8rem); }
.theme-modern main > .container.py-5 .card h4,
.theme-modern main > .container.py-5 .card h5 { line-height: 1.55; font-weight: 800; }
.theme-modern main > .container.py-5 .card a { color: #875d28; }
.theme-modern main > .container.py-5 .accordion { display: grid; gap: .8rem; }
.theme-modern main > .container.py-5 .accordion-button {
  font-family: inherit;
  font-weight: 750;
  color: #35271f;
  padding: 1.1rem 1.25rem;
  background: #fff;
  box-shadow: none;
}
.theme-modern main > .container.py-5 .accordion-button:not(.collapsed) {
  background: #fcf5e8;
  color: #83561f;
}
.theme-modern main > .container.py-5 .accordion-button:focus {
  box-shadow: inset 0 0 0 2px #d6b57b;
}
.theme-modern main > .container.py-5 .accordion-body { padding: 1.2rem 1.35rem; line-height: 1.95; }
.theme-modern main > .container.py-5 :where(.form-control,.form-select) {
  min-height: 46px;
  border: 1px solid #dcd0bf;
  border-radius: .85rem;
  padding: .7rem .95rem;
  background-color: #fffefc;
  font: inherit;
}
.theme-modern main > .container.py-5 textarea.form-control { min-height: 145px; }
.theme-modern main > .container.py-5 :where(.form-control,.form-select):focus {
  border-color: #bc8b40;
  box-shadow: 0 0 0 4px rgba(188,139,64,.16);
}
.theme-modern main > .container.py-5 .form-label {
  color: #40332a;
  font-weight: 750;
  margin-bottom: .4rem;
}
.theme-modern main > .container.py-5 .btn-primary {
  background: #704528;
  border-color: #704528;
  border-radius: 999px;
  font-weight: 750;
  padding: .7rem 1.8rem;
}
.theme-modern main > .container.py-5 .btn-primary:hover {
  background: #4c2b21;
  border-color: #4c2b21;
}
.theme-modern main > .container.py-5 .card.border-0 { border: 1px solid var(--modern-border) !important; }
.theme-modern main > .container.py-5 img.img-fluid { border-radius: 1rem; }
.theme-modern main > .container.py-5 :where(.table,.breadcrumb) { font-size: .93rem; }
.theme-modern main > .container.py-5 .table { --bs-table-bg: transparent; }
@media (max-width: 991.98px) {
  .theme-modern .modern-catalog-header { padding-block: 3rem; }
  .theme-modern .modern-product-detail-wrap { padding: 2.5rem 0; }
  .theme-modern .modern-brand-card-item { padding: 1.5rem; }
}
@media (max-width: 575.98px) {
  .theme-modern .modern-hero-headline { font-size: clamp(1.9rem,8vw,2.5rem); }
  .theme-modern .modern-catalog-filters { padding: .9rem; }
  .theme-modern .modern-product-grid { gap: .8rem; }
  .theme-modern .modern-product-card { padding: .9rem; }
  .theme-modern .modern-product-card .modern-btn-card { width: 100%; }
  .theme-modern .modern-product-gallery { padding: .9rem; }
  .theme-modern .modern-product-gallery-main { max-height: 320px; }
  .theme-modern .modern-product-specs-table td { padding: .65rem; }
  .theme-modern main > .container.py-5 .card-body { padding: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-modern *,
  .theme-modern *::before,
  .theme-modern *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Modern editorial pages: CMS-backed content */
.theme-modern .modern-editorial-page {padding-block:clamp(3rem,6vw,6rem)!important;min-height:55vh}
.theme-modern .modern-editorial-title {color:#234331;letter-spacing:-.035em;max-width:900px;line-height:1.2;margin-bottom:1.5rem}
.theme-modern .modern-editorial-page .lead {max-width:850px;color:#617265!important;line-height:1.9}
.theme-modern .modern-editorial-card {border:1px solid #e7e9df;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 12px 35px #1c392010!important;transition:transform .2s,box-shadow .2s}
.theme-modern .modern-editorial-card:hover {transform:translateY(-4px);box-shadow:0 20px 50px #1c392020!important}
.theme-modern .modern-editorial-card .card-body {padding:1.6rem}
.theme-modern .modern-editorial-card .card-img-top {height:230px;object-fit:cover;background:#f1f1e9}
.theme-modern .modern-editorial-page article.fs-5 {background:#fff;border:1px solid #e7e9df;border-radius:22px;padding:clamp(1.4rem,4vw,3.5rem);line-height:2}

/* CMS-controlled section ordering (draft preview and published theme). */
.modern-live-home { display:flex; flex-direction:column; }
.modern-live-home > [data-modern-section] { width:100%; }
.modern-live-home .modern-video-card.d-block { text-decoration:none; }

/* Approved saffron newsletter photograph: preserve text contrast. */
.theme-modern .modern-newsletter-banner {
  background: linear-gradient(90deg, rgba(53, 15, 49, .8), rgba(53, 15, 49, .88)), url('/themes/modern/images/Final/newsletter-cover.webp') center / cover;
}

/* Approved Kheibari logos and bilingual flag selector. */
.theme-modern .modern-brand-mega {width: min(540px, 92vw);}
.theme-modern .modern-mega-card {padding: 1rem .6rem; background: #fffdf9; min-width: 0;}
.theme-modern .modern-mega-card img {width: 78px; height: 78px; border-radius: 50%; object-fit: contain; box-shadow: 0 3px 12px rgba(73, 52, 26, .12);}
.theme-modern .modern-mega-card strong {font-size: .82rem; line-height: 1.5;}
.theme-modern .modern-language-switch {display: inline-flex; align-items: center; flex-wrap: nowrap; gap: .45rem; white-space: nowrap;}
.theme-modern .modern-language-choice {display: inline-flex; gap: .35rem; align-items: center; justify-content: center; border: 1px solid transparent; padding: .2rem .35rem; border-radius: 7px; background: transparent; color: #574632; text-decoration: none; font: inherit; font-size: .79rem;}
.theme-modern button.modern-language-choice {cursor: pointer;}
.theme-modern .modern-language-choice.is-active {background: #fff3da; color: #704c16; font-weight: 700; border-color: #e8c891;}
.theme-modern .modern-language-choice:focus-visible {outline: 2px solid #b88942; outline-offset: 2px;}
.theme-modern .modern-language-choice.is-disabled {opacity: .45;}
.theme-modern .modern-language-flag {width: 23px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px #d6c8b8;}
@media(max-width:600px){.theme-modern .modern-language-choice {font-size: .72rem; padding: .15rem .2rem;}.theme-modern .modern-language-flag {width: 21px; height: 14px;}}


/* Modern home: dynamic CMS carousel with accessible slide controls. */
.theme-modern .modern-hero-carousel { min-height: 485px; display: block; isolation: isolate; }
.theme-modern .modern-hero-slide { position: absolute; inset: 0; min-height: 485px; display: flex;
  align-items: center; visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity .5s ease, visibility .5s; }
.theme-modern .modern-hero-slide.is-active { position: relative; visibility: visible; opacity: 1;
  pointer-events: auto; z-index: 1; }
.theme-modern .modern-hero-media { position: absolute; inset: 0; display: block; }
.theme-modern .modern-hero-media img { width: 100%; height: 100%; object-fit: cover;
  object-position: center; }
.theme-modern .modern-hero-carousel .modern-hero-overlay { background:
  linear-gradient(90deg,rgba(30,16,26,.78),rgba(30,16,26,.36) 65%,rgba(30,16,26,.65)); }
.theme-modern .modern-hero-carousel .modern-hero-content { max-width: 680px; }
.theme-modern .modern-hero-controls { position: absolute; inset-inline: 0; bottom: 15px;
  display: flex; justify-content: center; align-items: center; gap: 15px; z-index: 4; }
.theme-modern .modern-hero-dots { display: flex; align-items: center; gap: 9px; }
.theme-modern .modern-hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff;
  background: rgba(255,255,255,.42); cursor: pointer; padding: 0; }
.theme-modern .modern-hero-dot.is-active { width: 26px; border-radius: 8px; background: var(--modern-gold,#e5bd72); }
.theme-modern .modern-hero-arrow { border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  width: 32px; height: 32px; background: rgba(32,20,27,.48); color: #fff;
  font-size: 23px; line-height: 1; cursor: pointer; }
.theme-modern .modern-hero-arrow:hover,
.theme-modern .modern-hero-arrow:focus-visible { background: #623d33; outline-color: #fff; }
.theme-modern .modern-hero-carousel .modern-hero-container { padding-block: 4rem 5.1rem; }
.theme-modern .modern-brand-visual { position: relative; padding: 0; min-height: 220px; overflow: hidden; }
.theme-modern .modern-brand-visual .modern-brand-cover { width: 100%; height: 220px;
  max-width: none; max-height: none; object-fit: cover; mix-blend-mode: normal; display: block; }
.theme-modern .modern-brand-visual .modern-brand-cover-logo { object-fit: contain; padding: 32px; }
.theme-modern .modern-brand-visual .modern-brand-overlay-logo { position: absolute; inset-inline-start: 14px;
  bottom: 14px; width: 67px; height: 67px; max-width: none; max-height: none;
  padding: 6px; border-radius: 50%; background: #fff; object-fit: contain;
  box-shadow: 0 4px 14px rgba(0,0,0,.2); mix-blend-mode: normal; }
@media (max-width: 767.98px) {
  .theme-modern .modern-hero-carousel,
  .theme-modern .modern-hero-slide { min-height: 440px; }
  .theme-modern .modern-hero-carousel .modern-hero-container { padding-block: 3rem 5rem; }
  .theme-modern .modern-hero-carousel .modern-hero-media img { object-position: center; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-modern .modern-hero-slide { transition: none; }
}

/* Hero copy is an overlay on every image, never an independent block below it. */
.theme-modern .modern-hero-carousel .modern-hero-slide { position: absolute; isolation: isolate; }
.theme-modern .modern-hero-carousel .modern-hero-slide.is-active { position: relative; }
.theme-modern .modern-hero-carousel .modern-hero-media { z-index: 0; }
.theme-modern .modern-hero-carousel .modern-hero-overlay { z-index: 1; pointer-events: none; }
.theme-modern .modern-hero-carousel .modern-hero-container {
  width: 100%; flex: 1 1 auto; display: flex; align-items: center;
  position: relative; z-index: 2; padding-block: 4rem 5.5rem;
}
.theme-modern .modern-hero-carousel .modern-hero-content { max-width: min(700px, 100%); }
.theme-modern .modern-hero-slide-label {
  display: inline-block; max-width: 100%; margin-bottom: 1rem; padding: .35rem .85rem;
  border-radius: 999px; color: #fff; font-size: .88rem; font-weight: 600;
  background: rgba(35, 22, 29, .48); border: 1px solid rgba(255,255,255,.34);
  backdrop-filter: blur(6px);
}
.theme-modern .modern-hero-actions {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.theme-modern .modern-hero-slide-link {
  color: #fff; font-weight: 700; text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.7); text-underline-offset: 5px;
}
.theme-modern .modern-hero-slide-link:hover,
.theme-modern .modern-hero-slide-link:focus-visible { color: #ffdc9f; }
@media (max-width: 767.98px) {
  .theme-modern .modern-hero-carousel .modern-hero-container { padding-block: 3rem 5.5rem; }
  .theme-modern .modern-hero-carousel .modern-hero-content { max-width: 100%; }
}
/* Contact column: transparent background, consistent spacing and usable links. */
.theme-modern .modern-footer .modern-footer-contact {
  background: transparent !important; background-image: none !important;
  border: 0; box-shadow: none; padding-block: 0;
}
.theme-modern .modern-footer-contact-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.theme-modern .modern-footer-contact-list li {
  display: flex; align-items: flex-start; gap: .75rem; min-width: 0;
  color: #5b5146; font-size: .88rem; line-height: 1.85;
}
.theme-modern .modern-contact-symbol {
  display: inline-flex; width: 1.35rem; flex: 0 0 1.35rem;
  justify-content: center; font-size: 1.15rem; line-height: 1.5;
  color: #976d30; background: none; border: 0;
}
.theme-modern .modern-contact-value {
  min-width: 0; overflow-wrap: anywhere; color: inherit;
  font-size: inherit; text-decoration: none;
}
.theme-modern a.modern-contact-value:hover,
.theme-modern a.modern-contact-value:focus-visible { color: #976d30; text-decoration: underline; }
/* Brand presentation: preserve the entire logo/cover instead of cropping it. */
.theme-modern .modern-brand-visual {
  min-height: 276px;
  height: 276px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.theme-modern .modern-brand-visual .modern-brand-cover,
.theme-modern .modern-brand-visual .modern-brand-cover-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
}
.theme-modern .modern-brand-visual .modern-brand-overlay-logo {
  width: 58px; height: 58px; bottom: 10px;
}
@media (max-width: 767.98px) {
  .theme-modern .modern-brand-visual { min-height: 230px; height: 230px; }
}
/* The footer now begins directly with its navigation and contact columns. */
.theme-modern .modern-footer > .container { display: block; }
.theme-modern .modern-footer > .container > .row { grid-area: auto; }
.theme-modern .modern-nav-brands .modern-brand-mega {
  width: min(540px, calc(100vw - 36px));
  max-width: min(540px, calc(100vw - 36px));
}
.theme-modern .modern-brand-mega .modern-mega-card {
  min-height: 122px;
  min-width: 0;
}
.theme-modern .modern-brand-mega .modern-mega-card strong {
  font-size: .82rem;
  overflow-wrap: anywhere;
}
.theme-modern .modern-brand-mega .modern-mega-card img {
  width: 64px; height: 64px; object-fit: contain;
}
.theme-modern .modern-mega-fallback {
  display: grid; place-items: center; color: #b88d3a;
  width: 64px; height: 64px; font-size: 2rem;
}
.theme-modern .modern-mega-extras {
  display: flex; gap: .75rem; flex-wrap: wrap;
  padding-top: .75rem; margin-top: .9rem;
  border-top: 1px solid #f0e6d6;
}
.theme-modern .modern-mega-extras > a {
  font-size: .82rem; color: #71552f; text-decoration: none;
}
.theme-modern .modern-mega-extras > a:hover { text-decoration: underline; }
/* Compact editorial and FAQ sections on the modern home page. */
.theme-modern .modern-recipes-section { padding-block: 2.1rem; }
.theme-modern .modern-recipes-section .modern-articles-list {
  display: grid; gap: .55rem;
}
.theme-modern .modern-recipes-section .modern-article-item {
  margin-bottom: 0;
  padding: .55rem .85rem;
  gap: .75rem;
  min-height: 76px;
}
.theme-modern .modern-recipes-section .modern-article-thumb {
  width: 54px; height: 54px;
}
.theme-modern .modern-recipes-section .modern-article-title { margin-bottom: .18rem; }
.theme-modern .modern-faq-section { padding-block: 1.8rem 2.5rem; }
.theme-modern .modern-faq-section .modern-accordion-item { margin-bottom: .45rem; }
.theme-modern .modern-faq-section .modern-accordion-trigger { padding: .68rem 1.05rem; }
.theme-modern .modern-faq-section .modern-accordion-body { padding: .5rem 1.05rem .85rem; }

/* The hero layout stretches across its image so copy truly rests at the bottom. */
.theme-modern .modern-hero-carousel .modern-hero-slide { align-items: stretch; }
.theme-modern .modern-hero-carousel .modern-hero-slide.is-active { min-height: 485px; }
.theme-modern .modern-hero-carousel .modern-hero-container {
  display: flex; flex-direction: column; justify-content: flex-end;
  align-items: stretch; min-height: 485px;
}
/* Bottom-attached translucent black copy panel keeps hero imagery legible. */
.theme-modern .modern-hero-carousel .modern-hero-container {
  align-items: flex-end;
  padding-block: 6rem 3.6rem;
}
.theme-modern .modern-hero-carousel .modern-hero-content {
  max-width: min(720px, 100%);
  background: rgba(10, 10, 12, .72);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 1.15rem 1.5rem 1.25rem;
  box-shadow: 0 16px 38px rgba(0,0,0,.25);
  backdrop-filter: blur(5px);
}
.theme-modern .modern-hero-carousel .modern-hero-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.36), rgba(0,0,0,.03) 68%);
}
.theme-modern .modern-hero-carousel .modern-hero-badge-crest,
.theme-modern .modern-hero-carousel .modern-hero-slide-label { display: none; }
.theme-modern .modern-hero-carousel .modern-hero-headline {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.28; margin-bottom: .45rem;
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.theme-modern .modern-hero-carousel .modern-hero-subtitle {
  font-size: clamp(.91rem,1.28vw,1.07rem);
  line-height: 1.65; margin-bottom: .85rem; color: #fff4e4;
}
.theme-modern .modern-hero-carousel .modern-btn-gold {
  padding: .58rem 1.15rem; font-size: .85rem;
}
@media (max-width: 767.98px) {
  .theme-modern .modern-hero-carousel .modern-hero-slide,
  .theme-modern .modern-hero-carousel .modern-hero-container { min-height: 440px; }
  .theme-modern .modern-hero-carousel .modern-hero-container {
    align-items: stretch; padding-block: 4.8rem 4.3rem;
  }
  .theme-modern .modern-hero-carousel .modern-hero-content {
    max-width: 100%; padding: .9rem 1rem 1rem; border-radius: 12px;
  }
  .theme-modern .modern-hero-carousel .modern-hero-headline {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }
  .theme-modern .modern-hero-carousel .modern-hero-actions { gap: .65rem; }
  .theme-modern .modern-recipes-section .modern-article-item {
    min-height: 68px; padding: .5rem .7rem;
  }
}
/* A long admin-configured navigation must not push RTL header actions out of viewport.
   On laptop-sized desktops, give navigation a clean second row rather than clipping links. */
@media (min-width: 992px) and (max-width: 1799.98px) {
  .theme-modern .modern-header-row {
    flex-wrap: wrap;
    column-gap: .75rem;
    row-gap: .15rem;
    padding-block: .45rem;
  }
  .theme-modern .modern-header-brand { order: 0; min-width: 0; }
  .theme-modern .modern-header-actions {
    order: 1;
    margin-inline-start: auto;
    flex-shrink: 0;
  }
  .theme-modern .modern-desktop-nav {
    order: 2;
    flex: 1 0 100%;
    min-width: 0;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: .2rem;
    row-gap: .1rem;
  }
  .theme-modern .modern-desktop-nav > a,
  .theme-modern .modern-nav-dropdown > a {
    padding: .32rem .55rem;
    font-size: .81rem;
  }
}
/* Admin-defined nested navigation and footer menu */
.modern-nav-sublevel{border-inline-start:2px solid #e6ede4;padding-inline-start:12px;margin:3px 0 9px 7px}
.modern-nav-sublevel>a{display:block}
.modern-footer-children{margin:6px 0 8px;padding-inline-start:13px}
.modern-mobile-subnav details summary{cursor:pointer;padding:9px 0}
