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

/* ============================================================
   VARIABLES (defaults – overridden inline par theme_settings)
   ============================================================ */
:root {
  --primary-color: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #4834d4;
  --secondary-color: #a29bfe;
  --gold-color: #f0b429;
  --gold-dark: #c9920a;
  --text-color: #2d3436;
  --text-muted: #636e72;
  --bg-color: #ffffff;
  --bg-alt: #f8f7ff;
  --border-color: #e5e7eb;
  --font-main: 'Inter', sans-serif;
  --font-title: 'Poppins', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(108,92,231,.12);
  --shadow-lg: 0 12px 40px rgba(108,92,231,.18);
  --transition: .2s ease;
  --header-height: 68px;
}

/* ============================================================
   RESET & GLOBAL
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
h1,h2,h3,h4,h5 { font-family: var(--font-title); font-weight: 700; line-height: 1.3; }
a { color: var(--primary-color); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.text-muted { color: var(--text-muted) !important; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 20px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(108,92,231,.3);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
  color: #fff;
  border: none;
}
.btn-gold:hover { filter: brightness(1.08); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(240,180,41,.35); }
.btn-outline-primary { border-color: var(--primary-color); color: var(--primary-color); }
.btn-outline-primary:hover { background: var(--primary-color); color: #fff; }
.btn-xs { padding: 3px 10px; font-size: 12px; border-radius: 6px; }
.btn-lg { padding: 13px 32px; font-size: 15px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-height);
}
.site-header .navbar {
  height: var(--header-height);
  padding: 0;
}
.navbar-brand {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color) !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand img { height: 40px; }
.nav-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-color) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; background: var(--bg-alt); }
.nav-link.nav-premium { color: var(--gold-color) !important; }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary-color);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.credits-pill {
  background: var(--bg-alt);
  border: 1px solid var(--primary-light);
  color: var(--primary-color);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lang-switcher { font-size: 13px; font-weight: 600; opacity: .7; }
.lang-switcher:hover { opacity: 1; }
.burger-btn { border: none; background: none; padding: 4px; cursor: pointer; display: flex; flex-direction: column; }
.burger-btn span { display: block; width: 22px; height: 2px; background: var(--text-color); border-radius: 2px; transition: all .3s; }
.burger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: #fff;
  z-index: 199;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,.8);
  padding: 56px 0 24px;
}
.footer-brand { font-family: var(--font-title); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-desc { font-size: 14px; line-height: 1.7; opacity: .7; }
.footer-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; color: #fff; font-size: 16px; margin-right: 8px; transition: background var(--transition); }
.footer-social a:hover { background: var(--primary-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 13px; opacity: .5; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 60%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,.08) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  pointer-events: none;
}
.hero-section.has-bg {
  background-size: cover;
  background-position: center;
}
.hero-section.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.7));
}
.hero-section.has-bg .container { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero-title span { color: var(--primary-color); }
.hero-subtitle { font-size: 17px; color: var(--text-muted); max-width: 560px; }

/* ============================================================
   CARDS UTILITAIRES
   ============================================================ */
.card-hover {
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ============================================================
   COLORING CARDS
   ============================================================ */
.colorings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
@media(max-width:576px) { .colorings-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.coloring-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.coloring-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.coloring-card-thumb {
  position: relative;
  padding-top: 100%;
  background: var(--bg-alt);
  overflow: hidden;
}
.coloring-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.coloring-card:hover .coloring-card-thumb img { transform: scale(1.05); }
.coloring-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(108,92,231,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  gap: 8px;
}
.coloring-card:hover .coloring-card-overlay { opacity: 1; }
.badge-type {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 8px;
}
.badge-free { background: #d1fae5; color: #065f46; }
.badge-premium { background: linear-gradient(135deg, var(--gold-color), var(--gold-dark)); color: #fff; }
.coloring-card-body { padding: 12px 14px; }
.coloring-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.coloring-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.coloring-card-credits { font-size: 12px; font-weight: 700; color: var(--primary-color); display: flex; align-items: center; gap: 3px; }
.coloring-card-free-dl { font-size: 12px; color: #065f46; font-weight: 600; }

/* ============================================================
   COLORING DETAIL
   ============================================================ */
.coloring-detail-img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.coloring-detail-panel { position: sticky; top: 88px; }
.coloring-access-block { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border-color); }
.coloring-access-block.premium { border-color: var(--gold-color); background: linear-gradient(135deg, #fffdf0, #fff9e0); }
.download-countdown { font-size: 22px; font-weight: 800; color: var(--primary-color); font-variant-numeric: tabular-nums; }
.coloring-meta-list { list-style: none; padding: 0; margin: 0; }
.coloring-meta-list li { display: flex; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.coloring-meta-list li:last-child { border-bottom: none; }
.coloring-meta-list strong { min-width: 90px; color: var(--text-muted); font-weight: 600; }
.similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 12px; }

/* ============================================================
   EBOOKS
   ============================================================ */
.ebook-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.ebook-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ebook-card-cover { aspect-ratio: 3/4; overflow: hidden; }
.ebook-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ebook-card:hover .ebook-card-cover img { transform: scale(1.04); }
.ebook-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.ebook-card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ebook-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.ebook-preview-thumb { aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.ebook-preview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ebook-account-thumb { width: 60px; height: 80px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }

/* ============================================================
   PREMIUM / PLANS
   ============================================================ */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; }
.plan-card {
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card.plan-featured {
  border-color: var(--primary-color);
  background: linear-gradient(145deg, #f9f8ff, #fff);
  box-shadow: var(--shadow-md);
}
.plan-popular-badge {
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 12px;
  display: inline-block;
  margin-bottom: 12px;
}
.plan-name { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.plan-price { font-size: 40px; font-weight: 800; color: var(--primary-color); line-height: 1.1; }
.plan-price sup { font-size: 18px; font-weight: 700; vertical-align: top; margin-top: 8px; }
.plan-price-period { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.plan-features { list-style: none; padding: 0; margin: 20px 0; flex: 1; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-color);
}
.plan-features li.excluded { opacity: .45; text-decoration: line-through; }
.plan-features .fi { color: var(--primary-color); font-size: 16px; flex-shrink: 0; }
.plan-toggle { background: var(--bg-alt); border-radius: 30px; padding: 4px; display: inline-flex; }
.plan-toggle .toggle-btn {
  padding: 7px 22px;
  border-radius: 26px;
  border: none;
  background: none;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  color: var(--text-muted);
}
.plan-toggle .toggle-btn.active { background: var(--primary-color); color: #fff; }
.credit-packs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; }
.credit-pack-card { background: #fff; border: 2px solid var(--border-color); border-radius: var(--radius); padding: 24px; text-align: center; transition: all var(--transition); }
.credit-pack-card:hover, .credit-pack-card.featured { border-color: var(--gold-color); background: linear-gradient(145deg,#fffdf0,#fff); }
.credit-pack-amount { font-size: 36px; font-weight: 800; color: var(--gold-color); }
.credit-pack-price { font-size: 18px; font-weight: 700; color: var(--primary-color); }

/* ============================================================
   BLOG
   ============================================================ */
.article-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.article-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-card-thumb img { transform: scale(1.04); }
.article-card-body { padding: 18px; flex: 1; }
.article-card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.article-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-tag { font-size: 11px; font-weight: 700; background: var(--bg-alt); color: var(--primary-color); border-radius: 6px; padding: 2px 8px; display: inline-block; margin-right: 4px; }
.article-content { font-size: 16px; line-height: 1.85; color: var(--text-color); }
.article-content h2 { font-size: 1.6rem; margin-top: 2em; margin-bottom: .6em; color: var(--text-color); }
.article-content h3 { font-size: 1.25rem; margin-top: 1.6em; margin-bottom: .5em; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 1em; }
.article-content li { margin-bottom: .4em; }
.article-content blockquote { border-left: 3px solid var(--primary-color); margin: 1.5em 0; padding: 12px 20px; background: var(--bg-alt); border-radius: 0 8px 8px 0; }
.article-share { display: flex; gap: 8px; }
.article-share a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; border: 1px solid var(--border-color); color: var(--text-color); transition: all var(--transition); }
.article-share a:hover { border-color: var(--primary-color); color: var(--primary-color); }
.blog-sidebar .widget { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.blog-sidebar .widget-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 14px; }

/* ============================================================
   AUTH
   ============================================================ */
.auth-section { background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 100%); min-height: calc(100vh - var(--header-height) - 200px); display: flex; align-items: flex-start; }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.auth-card-header { padding: 0; border-bottom: 1px solid var(--border-color); }
.auth-tabs .nav-link { border: none; border-radius: 0; padding: 16px 24px; font-weight: 700; color: var(--text-muted); }
.auth-tabs .nav-link.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }
.auth-title { font-size: 22px; font-weight: 800; padding: 20px 24px 0; margin: 0; }
.auth-card-body { padding: 24px; }
.checkout-divider { text-align: center; position: relative; margin: 16px 0; }
.checkout-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border-color); }
.checkout-divider span { position: relative; background: #fff; padding: 0 12px; font-size: 13px; color: var(--text-muted); }

/* ============================================================
   ACCOUNT
   ============================================================ */
.account-sidebar { position: sticky; top: 88px; }
.account-user-card { background: var(--bg-alt); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 12px; }
.account-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-color); color: #fff; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.account-avatar-sm { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-color); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.account-user-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-user-info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credits-badge { font-size: 12px; font-weight: 700; color: var(--primary-color); display: flex; align-items: center; gap: 3px; }
.account-nav { margin-top: 12px; }
.account-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-color); font-size: 14px; font-weight: 600; transition: background var(--transition), color var(--transition); text-decoration: none; margin-bottom: 2px; }
.account-nav-item:hover { background: var(--bg-alt); color: var(--primary-color); }
.account-nav-item.active { background: var(--primary-color); color: #fff; }
.account-nav-item i { width: 18px; font-size: 16px; flex-shrink: 0; }
.account-page-title { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.account-content { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); min-height: 400px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--border-color); text-align: center; }
.stat-card-premium { border-color: var(--gold-color); background: linear-gradient(145deg,#fffdf0,#fff); }
.stat-icon { font-size: 24px; display: block; margin-bottom: 6px; }
.stat-value { font-size: 24px; font-weight: 800; }
.stat-label { font-size: 12px; color: var(--text-muted); }
.download-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-color); }
.download-item:last-child { border-bottom: none; }
.download-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.download-expired .download-thumb { filter: grayscale(1) opacity(.5); }
.download-actions { display: flex; gap: 8px; }
.download-success-item { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 10px; }
.subscription-card { border: 1px solid var(--border-color); border-radius: var(--radius); padding: 20px; }
.subscription-active { border-color: var(--primary-color); background: linear-gradient(135deg, #f9f8ff, #fff); }
.settings-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; }
.settings-section-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.credits-balance-big { font-size: 18px; font-weight: 800; color: var(--primary-color); }

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.cart-item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-color); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-img-placeholder { width: 72px; height: 72px; background: var(--bg-alt); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item-name { font-weight: 700; font-size: 14px; }
.cart-item-type { margin-top: 3px; }
.cart-item-price { font-weight: 700; font-size: 15px; min-width: 80px; text-align: right; }
.cart-item-remove { border: none; background: none; color: #ccc; cursor: pointer; font-size: 18px; padding: 4px; transition: color var(--transition); flex-shrink: 0; }
.cart-item-remove:hover { color: #ef4444; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn { border: 1px solid var(--border-color); background: #fff; width: 26px; height: 26px; border-radius: 6px; cursor: pointer; font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.qty-btn:hover { background: var(--bg-alt); }
.cart-summary { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16px; }
.cart-total-amount { font-size: 22px; font-weight: 800; color: var(--primary-color); }
.checkout-section-block { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; }
.checkout-section-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 14px; }
.checkout-order-summary { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; position: sticky; top: 88px; }
.checkout-summary-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.summary-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.summary-item:last-of-type { border-bottom: none; }
.summary-item-name { color: var(--text-color); flex: 1; padding-right: 12px; }
.summary-item-price { font-weight: 700; color: var(--primary-color); white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; font-size: 16px; padding-top: 12px; }
.summary-badges { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-muted); }
.stripe-payment-info { background: #fff; border-radius: var(--radius-sm); padding: 14px; border: 1px solid var(--border-color); }
.stripe-logos { display: flex; gap: 6px; margin-top: 8px; }
.stripe-card { background: var(--bg-alt); border: 1px solid var(--border-color); border-radius: 4px; padding: 3px 8px; font-size: 12px; font-weight: 700; color: var(--text-muted); }
.checkout-guest-block { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; }
.checkout-user-info { background: var(--bg-alt); border-radius: var(--radius); padding: 14px; }

/* ============================================================
   SUCCESS / CANCEL
   ============================================================ */
.success-icon { font-size: 72px; color: var(--primary-color); line-height: 1; }
.success-title { font-size: 28px; font-weight: 800; }
.cancel-icon { font-size: 72px; color: #94a3b8; line-height: 1; }
.cancel-title { font-size: 28px; font-weight: 800; }

/* ============================================================
   PAGE TITLE & BREADCRUMB
   ============================================================ */
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.breadcrumb { font-size: 13px; }
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item.active { color: var(--text-color); }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state { padding: 60px 20px; text-align: center; }
.empty-icon { font-size: 56px; color: #cbd5e1; display: block; margin-bottom: 16px; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-content { border-radius: var(--radius-lg); border: none; box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid var(--border-color); padding: 18px 24px; }
.modal-body { padding: 24px; }
.modal-footer { border-top: 1px solid var(--border-color); padding: 16px 24px; }
#imagePreviewModal .modal-body img { max-height: 80vh; width: auto; max-width: 100%; display: block; margin: auto; }

/* ============================================================
   TOASTS
   ============================================================ */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.qalliya-toast { background: #fff; border-left: 4px solid var(--primary-color); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; min-width: 260px; max-width: 340px; display: flex; align-items: center; gap: 10px; animation: slideInRight .25s ease; }
.qalliya-toast.toast-success { border-color: #10b981; }
.qalliya-toast.toast-error { border-color: #ef4444; }
.qalliya-toast.toast-warning { border-color: var(--gold-color); }
.qalliya-toast i { font-size: 18px; flex-shrink: 0; }
.qalliya-toast.toast-success i { color: #10b981; }
.qalliya-toast.toast-error i { color: #ef4444; }
@keyframes slideInRight { from { transform: translateX(60px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(20px); } }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination .page-link { border-radius: var(--radius-sm) !important; margin: 0 2px; border: 1px solid var(--border-color); color: var(--text-color); font-weight: 600; font-size: 13px; }
.pagination .page-item.active .page-link { background: var(--primary-color); border-color: var(--primary-color); }

/* ============================================================
   BADGES
   ============================================================ */
.badge { font-weight: 700; letter-spacing: .2px; }
.badge-difficulty-easy { background: #d1fae5; color: #065f46; }
.badge-difficulty-medium { background: #fef3c7; color: #92400e; }
.badge-difficulty-hard { background: #fee2e2; color: #991b1b; }

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--border-color);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(108,92,231,.12);
}
.form-label { font-size: 14px; font-weight: 600; margin-bottom: 5px; color: var(--text-color); }
.form-check-input:checked { background-color: var(--primary-color); border-color: var(--primary-color); }
.invalid-feedback { display: block; }

/* ============================================================
   HOME SECTIONS
   ============================================================ */
.section-eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--primary-color); margin-bottom: 8px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 560px; }
.section-divider { width: 48px; height: 4px; background: var(--primary-color); border-radius: 4px; margin: 12px 0 24px; }
.how-it-works-step { text-align: center; padding: 24px 12px; }
.step-number { width: 52px; height: 52px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: #fff; margin: 0 auto 16px; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.benefit-card { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; text-align: center; border: 1px solid transparent; transition: all var(--transition); }
.benefit-card:hover { border-color: var(--primary-light); background: #fff; }
.benefit-icon { font-size: 28px; margin-bottom: 10px; color: var(--primary-color); }
.newsletter-form .form-control { border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.newsletter-form .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ============================================================
   FILTERS
   ============================================================ */
.filters-bar { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.filter-btn { font-size: 13px; font-weight: 600; border-radius: 20px; padding: 5px 16px; border: 1px solid var(--border-color); background: #fff; cursor: pointer; transition: all var(--transition); color: var(--text-color); }
.filter-btn:hover, .filter-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.filter-btn.active-gold { background: var(--gold-color); border-color: var(--gold-color); color: #fff; }
.sort-select { font-size: 13px; border-radius: 20px; padding: 5px 12px; border: 1px solid var(--border-color); cursor: pointer; }

/* ============================================================
   PREMIUM MODAL
   ============================================================ */
#premiumModal .modal-content { background: linear-gradient(135deg,#1a1a2e,#2a2a3e); color: #fff; }
#premiumModal .modal-header { border-bottom-color: rgba(255,255,255,.1); }
#premiumModal .modal-footer { border-top-color: rgba(255,255,255,.1); }
#premiumModal .modal-title { color: #fff; }
.premium-modal-feature { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; }
.premium-modal-feature i { color: var(--gold-color); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:991px) {
  .hero-section { padding: 48px 0; }
  .account-sidebar { position: static; margin-bottom: 20px; }
  .coloring-detail-panel { position: static; }
  .checkout-order-summary { position: static; margin-top: 24px; }
}
@media(max-width:767px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .plan-card.plan-featured { order: -1; }
  .account-content { padding: 16px; }
  .download-item { flex-wrap: wrap; }
  .colorings-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
}
@media(max-width:480px) {
  .hero-title { font-size: 1.7rem; }
  .plan-price { font-size: 32px; }
}

/* ============================================================
   ADMIN – complément (styles non couverts inline)
   ============================================================ */
.admin-body .form-control, .admin-body .form-select { border-radius: 8px; }
.btn-admin-primary { background: var(--primary-color); color: #fff; border: none; border-radius: 8px; padding: 9px 20px; font-weight: 600; }
.btn-admin-primary:hover { opacity: .9; color: #fff; }
.admin-stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; margin-bottom: 20px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.fw-800 { font-weight: 800 !important; }
.lh-1 { line-height: 1 !important; }
.rounded-custom { border-radius: var(--radius) !important; }
.bg-alt { background: var(--bg-alt) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-gold { color: var(--gold-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }
.shadow-custom { box-shadow: var(--shadow-md) !important; }
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg) !important; }
.gap-custom { gap: var(--radius) !important; }
.py-section { padding-top: 72px; padding-bottom: 72px; }
@media(max-width:768px) { .py-section { padding-top: 48px; padding-bottom: 48px; } }


/* ============================================================
   QALLIYA PHP TEMPLATE COMPATIBILITY PATCH
   ============================================================ */
main{min-height:60vh}.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}.skip-link:focus{left:16px;top:16px;width:auto;height:auto;z-index:10000;background:#fff;padding:10px 14px;border-radius:8px;box-shadow:var(--shadow-md)}.btn-icon,.btn-icon-outline{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--border-color);background:#fff;color:var(--text-color);transition:all var(--transition)}.btn-icon:hover,.btn-icon-outline:hover{background:var(--bg-alt);border-color:var(--primary-color);color:var(--primary-color)}.logo-text,.footer-logo-text{font-family:var(--font-title);font-weight:800;color:var(--primary-color);font-size:24px}.logo-img,.footer-logo{max-height:44px;width:auto}.site-footer .footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:32px}.footer-brand .footer-logo-text{color:#fff}.social-link{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;margin-right:8px}.social-link:hover{background:var(--primary-color);color:#fff}.footer-newsletter-form .form-control{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#fff}.footer-newsletter-form .form-control::placeholder{color:rgba(255,255,255,.55)}.hero-overlay,.page-hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,255,255,.68));pointer-events:none}.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:24px}.page-hero{position:relative;background:linear-gradient(135deg,var(--bg-alt),#fff);background-size:cover;background-position:center;padding:72px 0;overflow:hidden}.page-hero-sm{padding:36px 0}.page-hero-title{font-size:clamp(2rem,4vw,3.1rem);font-weight:800;margin-bottom:12px}.page-hero-subtitle{font-size:17px;color:var(--text-muted);max-width:700px;margin-left:auto;margin-right:auto}.section-header{text-align:center}.section-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:999px;background:var(--bg-alt);color:var(--primary-color);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}.section-badge-gold{background:#fff6d8;color:var(--gold-dark)}.bg-light-soft{background:var(--bg-alt)}.bg-dark-elegant{background:linear-gradient(135deg,#1a1a2e,#2a2a3e)}.colorings-carousel{position:relative;overflow:hidden}.carousel-track{display:flex;gap:18px;overflow-x:auto;scroll-behavior:smooth;padding:8px 2px 18px;scrollbar-width:none}.carousel-track::-webkit-scrollbar{display:none}.carousel-track>.coloring-card,.carousel-track>.ebook-card{min-width:230px;max-width:230px;flex:0 0 230px}.carousel-nav{position:absolute;top:42%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid var(--border-color);background:#fff;box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;z-index:4}.carousel-nav.prev{left:4px}.carousel-nav.next{right:4px}.card-image-wrap{position:relative;display:block;aspect-ratio:1/1;background:var(--bg-alt);overflow:hidden}.card-img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.coloring-card:hover .card-img{transform:scale(1.04)}.card-body-custom{padding:14px}.card-title{font-size:14px;font-weight:800;margin-bottom:12px;line-height:1.35}.card-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.card-credit-badge{position:absolute;right:8px;bottom:8px;background:rgba(255,255,255,.92);color:var(--primary-color);font-size:12px;font-weight:800;border-radius:999px;padding:4px 9px;box-shadow:var(--shadow-sm)}.how-card{background:#fff;border:1px solid var(--border-color);border-radius:var(--radius);padding:28px 20px;height:100%;box-shadow:var(--shadow-sm);position:relative}.how-number{position:absolute;top:12px;right:16px;font-size:38px;font-weight:800;color:rgba(108,92,231,.08)}.how-icon{width:54px;height:54px;border-radius:50%;background:var(--bg-alt);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:var(--primary-color);font-size:24px}.how-title{font-size:18px}.how-desc{color:var(--text-muted);font-size:14px;margin:0}.filters-sidebar{position:sticky;top:88px}.filters-card,.sidebar-card{background:#fff;border:1px solid var(--border-color);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow-sm)}.filters-title,.sidebar-title{font-size:15px;font-weight:800;margin-bottom:14px}.filter-label{font-weight:700;font-size:13px;color:var(--text-muted);margin-bottom:6px;display:block}.filter-chip{border:1px solid var(--border-color);background:#fff;border-radius:999px;padding:5px 12px;font-size:13px;font-weight:700}.filter-chip.active,.filter-chip:hover{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.colorings-main .coloring-card,.section-free-colorings .coloring-card,.section-premium-colorings .coloring-card{height:100%;display:flex;flex-direction:column}.colorings-main .card-body-custom{flex:1;display:flex;flex-direction:column}.colorings-main .card-actions{margin-top:auto}.coloriage-main-img,.ebook-detail-cover-wrap img{box-shadow:var(--shadow-lg);background:#fff}.coloring-meta-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.meta-item{background:var(--bg-alt);border-radius:var(--radius-sm);padding:10px}.meta-label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;color:var(--text-muted)}.meta-value{font-size:14px;font-weight:700}.watermark-notice{margin-top:10px;background:#fff6d8;color:#8a6500;border-radius:var(--radius-sm);padding:10px 12px;font-size:13px;font-weight:700}.coloriage-title{font-size:clamp(1.8rem,3vw,2.7rem);font-weight:800}.ebook-card-lg .ebook-cover-lg{width:100%;aspect-ratio:3/4;object-fit:cover}.ebook-body{padding:16px}.ebook-title{font-size:18px;font-weight:800}.ebook-desc{font-size:14px;color:var(--text-muted)}.ebook-count{font-size:12px;color:var(--text-muted);font-weight:700}.ebook-price-box{background:var(--bg-alt);border-radius:var(--radius);padding:18px;margin:18px 0}.price-big,.price-credits-big{font-size:26px;font-weight:800;color:var(--primary-color)}.billing-toggle{display:inline-flex;background:var(--bg-alt);border-radius:999px;padding:5px}.billing-btn{border:none;background:transparent;border-radius:999px;padding:8px 18px;font-weight:800;color:var(--text-muted)}.billing-btn.active{background:var(--primary-color);color:#fff}.save-badge{font-size:11px;background:var(--gold-color);color:#fff;border-radius:999px;padding:2px 7px;margin-left:5px}.plan-card-popular{border-color:var(--gold-color);box-shadow:var(--shadow-lg)}.plan-current-badge{display:inline-flex;background:#d1fae5;color:#065f46;font-weight:800;border-radius:999px;padding:3px 10px;font-size:11px;margin-bottom:8px}.feature-item{display:flex;gap:8px;align-items:flex-start}.feature-check i{color:#10b981}.blog-cat-badge{display:inline-flex;background:var(--bg-alt);color:var(--primary-color);font-weight:800;border-radius:999px;padding:4px 10px;font-size:12px}.sidebar-categories{list-style:none;padding:0;margin:0}.sidebar-categories a{display:flex;padding:7px 0;color:var(--text-color);font-weight:600}.sidebar-categories a.active{color:var(--primary-color)}.article-title{font-size:clamp(2rem,4vw,3rem);font-weight:800}.article-meta{display:flex;gap:16px;flex-wrap:wrap;color:var(--text-muted);font-size:13px}.prose{line-height:1.8}.countdown-circle{width:110px;height:110px;margin-left:auto;margin-right:auto;position:relative}.countdown-svg{width:110px;height:110px;transform:rotate(-90deg)}.countdown-track{fill:none;stroke:#e5e7eb;stroke-width:3}.countdown-progress{fill:none;stroke:var(--primary-color);stroke-width:3;stroke-dasharray:100;stroke-dashoffset:0;transition:stroke-dashoffset 1s linear}.countdown-number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;color:var(--primary-color)}.back-to-top{position:fixed;right:18px;bottom:18px;width:42px;height:42px;border-radius:50%;border:none;background:var(--primary-color);color:#fff;box-shadow:var(--shadow-md);opacity:0;visibility:hidden;transition:all var(--transition);z-index:1000}.back-to-top.visible{opacity:1;visibility:visible}.toast-hide{animation:fadeOut .3s ease forwards}.colorings-loading{display:none;position:absolute;inset:0;background:rgba(255,255,255,.65);align-items:center;justify-content:center;z-index:3}.colorings-grid-wrap{position:relative}.empty-card{background:#fff;border:1px dashed var(--border-color);border-radius:var(--radius);padding:40px 20px;text-align:center;color:var(--text-muted)}
@media(max-width:991px){.site-footer .footer-grid{grid-template-columns:1fr 1fr}.filters-sidebar{position:static}.carousel-nav{display:none}.mobile-menu{left:0;right:auto;bottom:0;width:min(86vw,340px);box-shadow:20px 0 50px rgba(0,0,0,.18);transform:translateX(-110%)}}@media(max-width:576px){.site-footer .footer-grid{grid-template-columns:1fr}.card-actions .btn{padding:7px 10px;font-size:12px}.carousel-track>.coloring-card,.carousel-track>.ebook-card{min-width:190px;max-width:190px;flex-basis:190px}.coloring-meta-grid{grid-template-columns:1fr}.cart-item{align-items:flex-start;flex-wrap:wrap}.cart-item-price{margin-left:auto}}


/* ============================================================
   MENU MOBILE PREMIUM — SLIDE LEFT TO RIGHT
   Bootstrap 5.3.8 compatible
   ============================================================ */

@media (max-width: 991.98px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 1055;
  }

  .site-header .navbar-collapse {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: min(86vw, 380px);
    height: 100vh;
    background:
      radial-gradient(circle at top left, rgba(108, 92, 231, .10), transparent 36%),
      linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
    border-right: 1px solid var(--border-color);
    box-shadow: 18px 0 50px rgba(15, 23, 42, .18);
    padding: 92px 20px 24px;
    z-index: 1056;
    overflow-y: auto;
    transform: translateX(-110%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform .35s cubic-bezier(.22, 1, .36, 1),
      opacity .25s ease,
      visibility .25s ease;
  }

  .site-header .navbar-collapse.show,
  .site-header .navbar-collapse.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .site-header .navbar-collapse::before {
    content: "Qalliya";
    position: absolute;
    top: 24px;
    left: 22px;
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -.5px;
  }

  .site-header .navbar-collapse::after {
    content: "";
    position: absolute;
    top: 64px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    opacity: .35;
  }

  .site-header .navbar-nav {
    gap: 8px !important;
    margin: 0 !important;
  }

  .site-header .nav-item {
    width: 100%;
  }

  .site-header .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 15px !important;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 750;
    color: var(--text-color) !important;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(229, 231, 235, .72);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
  }

  .site-header .nav-link:hover,
  .site-header .nav-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
    transform: translateX(4px);
  }

  .site-header .nav-link::before {
    font-family: "bootstrap-icons";
    margin-right: 10px;
    font-size: 17px;
    opacity: .9;
  }

  .site-header .navbar-nav .nav-item:nth-child(1) .nav-link::before {
    content: "\F425";
  }

  .site-header .navbar-nav .nav-item:nth-child(2) .nav-link::before {
    content: "\F4CA";
  }

  .site-header .navbar-nav .nav-item:nth-child(3) .nav-link::before {
    content: "\F194";
  }

  .site-header .navbar-nav .nav-item:nth-child(4) .nav-link::before {
    content: "\F586";
  }

  .site-header .navbar-nav .nav-item:nth-child(5) .nav-link::before {
    content: "\F1CC";
  }

  .site-header .navbar-collapse .d-lg-none {
    margin-top: 22px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--border-color) !important;
  }

  .site-header .navbar-collapse .d-lg-none .btn {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    padding: 11px 14px;
    font-weight: 750;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(5px);
    z-index: 1054;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .menu-overlay.show,
  .menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .burger-btn {
    position: relative;
    z-index: 1057;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    align-items: center;
    justify-content: center;
  }

  .burger-btn .burger-line {
    width: 21px;
    height: 2px;
    background: var(--text-color);
  }

  .burger-btn.open {
    background: var(--primary-color);
    border-color: var(--primary-color);
  }

  .burger-btn.open .burger-line {
    background: #fff;
  }

  .burger-btn.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger-btn.open .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger-btn.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (min-width: 992px) {
  .site-header .navbar-collapse {
    display: flex !important;
    position: static;
    height: auto;
    width: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0;
    background: transparent;
    border: none;
  }

  .site-header .navbar-collapse::before,
  .site-header .navbar-collapse::after,
  .menu-overlay {
    display: none !important;
  }
}