@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* color combos: bg: #ebebdf - text: #1a1264
https://www.realtimecolors.com/?colors=070808-f9fbfb-50a8b4-94d8e0-55d4e2&fonts=Inter-Inter */
/* ============================================
   CSS VARIABLES
============================================ */
:root {
  --primary-50:  #fdf6ea;
  --primary-100: #faecd4;
  --primary-200: #f5d9a9;
  --primary-300: #f0c77e;
  --primary-400: #ebc474;
  --primary-500: #e0a838;
  --primary-600: #c08a2c;
  --primary-700: #946821;
  --primary-800: #634516;
  --primary-900: #32230b;
  --primary-950: #191105;

  --accent-50:  #fef9ec;
  --accent-100: #fdf1d2;
  --accent-200: #fbe3a5;
  --accent-300: #f9d579;
  --accent-400: #f7c74c;
  --accent-500: #f0b020;
  --accent-600: #c08f1a;
  --accent-700: #906c13;
  --accent-800: #60480d;
  --accent-900: #302406;

  --bg-main:       #121110; 
  --bg-card:       #1c1917; 
  --bg-card-hover: #262320;
  --border:        #5a4419;
  --text-muted:    #b89a5c;
}

[data-theme="light"] {
  --bg-main:       #fcf6ea;
  --bg-card:       #ffffff;
  --bg-card-hover: #f7ecd4;
  --border:        #e3d0a0;
  --text-muted:    #9a7d3f;

  --primary-300: #c08a2c;
  --primary-600: #946821;
  --primary-700: #634516;
  --accent-300:  #c08f1a;
  --accent-700:  #906c13;
}

[data-theme="light"] body {
  background-color: var(--bg-main);
  color: #32230b;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: #191105;
}

[data-theme="light"] .text-light {
  color: #191105 !important;
}

[data-theme="light"] .text-warning {
  color: rgb(206, 154, 0) !important;
}

[data-theme="light"] .color-effect {
  background: linear-gradient(120deg, #946821, #906c13);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] #neubar {
  background-color: rgba(252, 246, 234, 0.95);
  border-bottom-color: var(--border);
}

[data-theme="light"] .nav-link {
  color: #634516 !important;
}

[data-theme="light"] .nav-link:hover {
  color: #946821 !important;
}

[data-theme="light"] .card {
  background-color: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .product-card:hover {
  background-color: var(--bg-card-hover);
  border-color: #946821;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .order-card {
  background-color: var(--bg-card);
  border-color: var(--border);
}

[data-theme="light"] .order-card:hover {
  border-color: #946821;
}

[data-theme="light"] .trust-badge {
  background-color: var(--bg-card);
  border-color: var(--border);
}

[data-theme="light"] .trust-badge:hover {
  border-color: #946821;
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
  background-color: #f7ecd4;
  border-color: var(--border);
  color: #32230b;
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus {
  background-color: #ffffff;
  border-color: #c08a2c;
  color: #32230b;
  box-shadow: 0 0 0 3px rgba(192, 138, 44, 0.15);
}

[data-theme="light"] .form-control::placeholder {
  color: #b89a5c;
}

[data-theme="light"] .form-label {
  color: #634516;
}

[data-theme="light"] .table {
  color: #32230b;
  border-color: var(--border);
}

[data-theme="light"] .table th {
  background-color: #f5d9a9;
  border-color: var(--border);
  color: #634516;
}

[data-theme="light"] .table td {
  border-color: var(--border);
}

[data-theme="light"] .table tbody tr:hover {
  background-color: #f9e8c4;
}

[data-theme="light"] footer {
  background-color: #f5d9a9;
  border-top-color: var(--border);
}

[data-theme="light"] .footer-link {
  color: #9a7d3f !important;
}

[data-theme="light"] .footer-link:hover {
  color: #946821 !important;
}

[data-theme="light"] .text-muted {
  color: var(--text-muted) !important;
}

[data-theme="light"] code {
  background-color: #f5d9a9;
  color: #634516;
}

[data-theme="light"] .guide-content {
  color: #32230b;
}

[data-theme="light"] .guide-content h1,
[data-theme="light"] .guide-content h2,
[data-theme="light"] .guide-content h3,
[data-theme="light"] .guide-content h4 {
  color: #191105;
}

[data-theme="light"] .guide-content h2 {
  border-bottom-color: var(--border);
}

[data-theme="light"] .guide-content a {
  color: #946821;
}

[data-theme="light"] .guide-content blockquote {
  border-left-color: #c08a2c;
  background: rgba(192, 138, 44, 0.07);
  color: #634516;
}

[data-theme="light"] .guide-content pre {
  background: #f5d9a9;
  border-color: var(--border);
}

[data-theme="light"] .guide-content code:not(pre code) {
  background: #f5d9a9;
  color: #634516;
}

[data-theme="light"] .guide-content table th {
  background: #f5d9a9;
  color: #634516;
}

[data-theme="light"] .guide-content table th,
[data-theme="light"] .guide-content table td {
  border-color: var(--border);
}

[data-theme="light"] .attachment-link {
  color: #634516;
}

[data-theme="light"] .attachment-link:hover {
  color: #191105;
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border);
}

[data-theme="light"] .what-you-get {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--border);
}

[data-theme="light"] .btn-outline-light {
  color: #634516;
  border-color: #e3d0a0;
}

[data-theme="light"] .btn-outline-light:hover {
  background-color: #f5d9a9;
  color: #191105;
  border-color: #d4ba80;
}

[data-theme="light"] .alert-danger {
  background-color: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.25);
  color: #b91c1c;
}

[data-theme="light"] .alert-success {
  background-color: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
  color: #15803d;
}

[data-theme="light"] .navbar-toggler {
  border-color: var(--border);
}

[data-theme="light"] .navbar-toggler-icon {
  filter: invert(1) brightness(0.3);
}

[data-theme="light"] .border-secondary {
  border-color: var(--border) !important;
}

[data-theme="light"] #toast-container > div {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-toggle:hover {
  border-color: var(--primary-600);
  color: var(--primary-300);
}

[data-theme="light"] .theme-toggle {
  color: #634516;
  border-color: #e3d0a0;
}

[data-theme="light"] .theme-toggle:hover {
  border-color: #946821;
  color: #946821;
}



/* ============================================
   BASE
============================================ */
* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  font-family: 'Inter', sans-serif;
  color: #f5d9a9;
  line-height: 1.6;
}

::selection {
  background: var(--primary-700);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-700);
  border-radius: 3px;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #f0f7ff;
}

.color-effect {
  background: linear-gradient(120deg, var(--primary-300), var(--accent-300));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   NAVBAR
============================================ */
#neubar {
  border-bottom: 1px solid var(--border);
  background-color: rgba(10, 15, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  font-size: 15px;
  color: #85adad !important;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary-300) !important;
}

.navbar-toggler {
  border-color: var(--border);
}

@media (max-width: 768px) {
  .navbar-collapse {
    border-top: 1px solid var(--border);
    margin-top: 0.8rem;
    padding-top: 0.8rem;
  }
}

/* ============================================
   BUTTONS
============================================ */
.btn-ff {
  background-color: var(--primary-700);
  border: 1px solid var(--primary-700);
  color: white;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-ff:hover {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(46, 100, 107, 0.4);
}

.btn-ff-small {
  background-color: var(--primary-700);
  border: 1px solid var(--primary-700);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 0.35rem 1rem;
  transition: all 0.2s;
}
.btn-ff-small:hover {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  color: white;
}

.btn-ss {
  background-color: var(--accent-700);
  border: 1px solid var(--accent-700);
  color: white;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-ss:hover {
  background-color: var(--accent-600);
  border-color: var(--accent-600);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(22, 120, 131, 0.4);
}

.btn-ss-small {
  background-color: var(--accent-700);
  border: 1px solid var(--accent-700);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 0.35rem 1rem;
  transition: all 0.2s;
}
.btn-ss-small:hover {
  background-color: var(--accent-600);
  border-color: var(--accent-600);
  color: white;
}

.btn-aa {
  background-color: var(--primary-700);
  border: 1px solid var(--primary-700);
  color: white;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-aa:hover {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  color: white;
}

/* ============================================
   CARDS
============================================ */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
}

.product-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--primary-700);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.product-card .card-footer {
  background-color: transparent;
  border-top: 1px solid var(--border);
  padding: 1rem;
}

.product-img {
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.order-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.order-card:hover {
  border-color: var(--primary-700);
}

/* ============================================
   BADGES
============================================ */
.bg-ff2 {
  background-color: var(--primary-700) !important;
  color: white;
}

.bg-ss {
  background-color: var(--accent-700) !important;
  color: white;
}

/* ============================================
   TRUST BADGES (homepage)
============================================ */
.trust-badge {
  padding: 2rem 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
}

.trust-badge:hover {
  border-color: var(--primary-700);
  transform: translateY(-2px);
}

.trust-badge h6 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ============================================
   FORMS
============================================ */
.form-control,
.form-select {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  color: #c8d0d0;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--bg-card);
  border-color: var(--primary-600);
  color: #c8d0d0;
  box-shadow: 0 0 0 3px rgba(61, 133, 143, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #a0bfcf;
  margin-bottom: 0.4rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   TABLES
============================================ */
.table {
  color: #c8d0d0;
  border-color: var(--border);
}

.table th {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: #85adad;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  border-color: var(--border);
  vertical-align: middle;
  font-size: 14px;
}

.table tbody tr:hover {
  background-color: var(--bg-card-hover);
}

/* ============================================
   FOOTER
============================================ */
footer {
  margin-top: 5rem;
  padding: 3rem 0 1.5rem 0;
  border-top: 1px solid var(--border);
  background-color: var(--bg-card);
}

.footer-link {
  font-size: 14px;
  color: var(--text-muted) !important;
  transition: color 0.2s;
  line-height: 2;
}

.footer-link:hover {
  color: var(--primary-300) !important;
}

/* ============================================
   ALERTS
============================================ */
.alert-danger {
  background-color: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.3);
  color: #fca5a5;
  border-radius: 8px;
}

.alert-success {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
  border-radius: 8px;
}

/* ============================================
   CODE ELEMENTS
============================================ */
code {
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--primary-300);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 13px;
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(24, 89, 129, 0.12) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   PRODUCT DETAIL PAGE
============================================ */
.product-detail-img {
  border-radius: 12px;
  border: 1px solid var(--border);
  width: 100%;
  object-fit: cover;
  max-height: 380px;
}

.what-you-get {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
}

/* ============================================
   ADMIN DASHBOARD
============================================ */
.admin-stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}

.admin-stat-card:hover {
  border-color: var(--primary-700);
}

/* ============================================
   PAGINATION
============================================ */
.pagination .page-link {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: #a0bfcf;
  transition: all 0.2s;
}

.pagination .page-link:hover {
  background-color: var(--primary-800);
  border-color: var(--primary-700);
  color: white;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
  color: white;
}

.pagination .page-item.disabled .page-link {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: var(--text-muted);
}

/* ============================================
   SEARCH INPUT GROUP
============================================ */
.input-group .form-control {
  border-right: none;
}

.input-group .btn {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* ============================================
   GUIDE CONTENT (read page)
============================================ */
.guide-content {
  font-size: 16px;
  line-height: 1.8;
  color: #c8d0d0;
}

.guide-content h1,
.guide-content h2,
.guide-content h3,
.guide-content h4 {
  color: #e4e7e7;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.guide-content h2 {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.guide-content p {
  margin-bottom: 1.2rem;
}

.guide-content ul,
.guide-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.guide-content li {
  margin-bottom: 0.4rem;
}

.guide-content a {
  color: var(--primary-300);
  text-decoration: underline;
}

.guide-content a:hover {
  color: var(--primary-200);
}

.guide-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid var(--border);
}

.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.guide-content table th,
.guide-content table td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.9rem;
  text-align: left;
}

.guide-content table th {
  background: var(--bg-card);
  color: #a0bfcf;
  font-size: 13px;
  text-transform: uppercase;
}

.guide-content blockquote {
  border-left: 3px solid var(--primary-600);
  padding: 0.5rem 1rem;
  margin: 1.2rem 0;
  background: rgba(46, 100, 107, 0.15);
  border-radius: 0 8px 8px 0;
  color: #85adad;
}

.guide-content pre {
  background: #0a0f0f;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.2rem 0;
}

.guide-content code:not(pre code) {
  background: rgba(255,255,255,0.08);
  color: var(--primary-300);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 14px;
}

/* Guide sidebar */
.guide-sidebar {
  position: sticky;
  top: 5rem;
}

/* Attachment links */
.attachment-link {
  color: #a0bfcf;
  text-decoration: none;
  font-size: 14px;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.attachment-link:hover {
  color: white;
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
}

/* ============================================
   LOADER
============================================ */
#loader {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* ============================================
   UTILITIES
============================================ */
.rounded-3 {
  border-radius: 12px !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.border-secondary {
  border-color: var(--border) !important;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .product-img {
    height: 150px;
  }

  .trust-badge {
    padding: 1.5rem 1rem;
  }

  footer {
    text-align: center;
  }

  footer .text-start {
    text-align: center !important;
  }
}

/* ============================================
   HERO SLIDESHOW — full viewport height
============================================ */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s ease, transform 8s ease;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 17, 26, 0.55) 0%,
    rgba(4, 17, 26, 0.75) 60%,
    rgba(4, 17, 26, 0.92) 100%
  );
  z-index: 2;
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 15, 15, 0.45) 0%,
    rgba(10, 15, 15, 0.65) 60%,
    rgba(10, 15, 15, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
  animation: heroFadeIn 1.2s ease both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtext {
  color: #d8e6ef;
  font-size: 18px;
  max-width: 600px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* Slide indicator dots */
.hero-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
  background: var(--primary-300);
  width: 28px;
  border-radius: 6px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-subtext {
    font-size: 15px;
  }
  .hero-dots {
    bottom: 2rem;
  }
}

/* ============================================
   MOBILE NAVBAR — offcanvas menu
============================================ */
@media (min-width: 992px) {
  .theme-toggle-mobile { display: none !important; }
}

.theme-toggle-mobile {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s;
}

.theme-toggle-mobile:hover {
  border-color: var(--primary-600);
  color: var(--primary-300);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  background: var(--bg-card);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(235, 196, 116, 0.2);
}

.mobile-offcanvas {
  background-color: var(--bg-main);
  border-left: 1px solid var(--border);
  width: 300px;
  max-width: 85vw;
}

.offcanvas-header {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-close-custom {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.btn-close-custom:hover {
  border-color: var(--primary-600);
  color: var(--primary-300);
  background: var(--bg-card-hover);
}

.offcanvas-body {
  padding: 1.5rem;
}

.mobile-user-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.mobile-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.mobile-nav-list {
  margin: 0;
  padding: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  color: #f5d9a9;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 0.2rem;
}

.mobile-nav-link i:first-child {
  width: 20px;
  text-align: center;
  color: var(--primary-300);
  font-size: 16px;
}

.mobile-nav-link span {
  flex: 1;
}

.mobile-nav-arrow {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  background: var(--bg-card-hover);
  color: var(--primary-200);
  padding-left: 1.1rem;
}

.mobile-nav-link:hover .mobile-nav-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.mobile-nav-admin {
  background: rgba(235, 196, 116, 0.08);
  border: 1px solid rgba(235, 196, 116, 0.2);
}

.mobile-nav-admin i:first-child {
  color: #ffc107;
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.mobile-nav-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  margin-top: 1rem;
}

/* Light theme adjustments */
[data-theme="light"] .mobile-offcanvas {
  background-color: var(--bg-main);
}

[data-theme="light"] .mobile-nav-link {
  color: #32230b;
}

[data-theme="light"] .mobile-nav-link:hover {
  background: var(--bg-card-hover);
  color: #634516;
}

[data-theme="light"] .theme-toggle-mobile {
  border-color: #e3d0a0;
  color: #634516;
}

[data-theme="light"] .btn-close-custom {
  border-color: #e3d0a0;
  color: #634516;
}

[data-theme="light"] .navbar-toggler {
  background: var(--bg-card);
  border-color: #e3d0a0;
}

/* Offcanvas backdrop blur */
.offcanvas-backdrop.show {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0.6;
}

/* Smooth slide animation override (Bootstrap default is fine, just ensure timing) */
.offcanvas.offcanvas-end {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}