/* ============================================================
   karma-enhance.css - Additive enhancements for China Shop
   ? NEVER modifies existing classes - only adds new ones
   ============================================================ */

/* ----- DARK MODE (CSS Custom Properties) ----- */
[data-theme="dark"] {
  --bg-primary: #0f0f1a;
  --bg-secondary: #161625;
  --bg-card: #1c1c30;
  --bg-input: #252540;
  --text-primary: #e8e8f0;
  --text-secondary: #b0b0c0;
  --text-heading: #ffffff;
  --border-color: #2e2e4a;
  --shadow-color: rgba(0,0,0,0.5);
}
[data-theme="dark"] body {
  background: var(--bg-primary);
  color: var(--text-primary);
}
/* Navbar */
[data-theme="dark"] .header_area .main_menu .main_box,
[data-theme="dark"] .navbar,
[data-theme="dark"] .main_menu { background: var(--bg-secondary) !important; }
[data-theme="dark"] .nav-link,
[data-theme="dark"] .navbar .nav-link,
[data-theme="dark"] .main_menu .nav-link { color: #e8e8f0 !important; }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .navbar .nav-link:hover,
[data-theme="dark"] .main_menu .nav-link:hover { color: #ffba00 !important; }
[data-theme="dark"] .dropdown-menu { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
[data-theme="dark"] .dropdown-item { color: #e8e8f0 !important; }
[data-theme="dark"] .dropdown-item:hover { background: rgba(255,186,0,0.12) !important; color: #ffba00 !important; }
[data-theme="dark"] .dropdown-divider { border-color: var(--border-color) !important; }
/* Headings */
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
[data-theme="dark"] .section-title h1 { color: #ffffff !important; }
/* Paragraphs & text */
[data-theme="dark"] p, [data-theme="dark"] span, [data-theme="dark"] label,
[data-theme="dark"] .product-details h6,
[data-theme="dark"] .price h6,
[data-theme="dark"] .text-muted { color: var(--text-secondary) !important; }
[data-theme="dark"] a { color: #e8e8f0; }
[data-theme="dark"] a:hover { color: #ffba00; }
/* Products */
[data-theme="dark"] .single-product { background: var(--bg-card); border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
[data-theme="dark"] .single-product .product-details { padding: 0 15px 15px; }
[data-theme="dark"] .single-product h6 { color: #e8e8f0 !important; }
[data-theme="dark"] .features-inner { background: var(--bg-card); }
[data-theme="dark"] .single-features { color: var(--text-primary); }
/* Footer */
[data-theme="dark"] .footer-area { background: #080812 !important; }
[data-theme="dark"] .footer-area p { color: var(--text-secondary) !important; }
[data-theme="dark"] .footer-area h4, [data-theme="dark"] .footer-area h5 { color: #ffffff !important; }
[data-theme="dark"] .footer-area a { color: var(--text-secondary) !important; }
[data-theme="dark"] .footer-area a:hover { color: #ffba00 !important; }
/* Sidebar & widgets */
[data-theme="dark"] .left_widgets { background: var(--bg-card); }
[data-theme="dark"] .l_w_title { background: var(--bg-secondary); }
[data-theme="dark"] .product_top_bar { background: var(--bg-secondary); }
[data-theme="dark"] .check_title h2 { background: var(--bg-secondary); }
/* Order box & tables */
[data-theme="dark"] .order_box { background: var(--bg-secondary); }
[data-theme="dark"] .order_box h2, [data-theme="dark"] .order_box h4 { color: #ffffff !important; }
[data-theme="dark"] .order_box li a { color: var(--text-primary) !important; }
[data-theme="dark"] .order_details_table { background: var(--bg-secondary); }
[data-theme="dark"] .billing_details .contact_form .form-group input,
[data-theme="dark"] .login_form .form-group input,
[data-theme="dark"] .cupon_area input { background: var(--bg-input); color: var(--text-primary); border-color: var(--border-color); }
[data-theme="dark"] .table { color: var(--text-primary); }
[data-theme="dark"] .table td, [data-theme="dark"] .table th { border-color: var(--border-color) !important; color: var(--text-primary) !important; }
[data-theme="dark"] .table thead { background: var(--bg-secondary) !important; }
[data-theme="dark"] .table thead th { color: #ffffff !important; }
[data-theme="dark"] .social-info span { background: var(--text-secondary); }
[data-theme="dark"] .single-footer-widget input { background: var(--bg-input); color: var(--text-primary); }
/* Banners */
[data-theme="dark"] .banner-area, [data-theme="dark"] .organic-breadcrumb { filter: brightness(0.55); }
[data-theme="dark"] .prd-bottom .social-info .hover-text { color: var(--text-primary) !important; }
[data-theme="dark"] .cart_area .cart_inner .table tbody tr td h5 { color: var(--text-heading); }
[data-theme="dark"] .nav.navbar-nav.navbar-right li span { color: var(--text-primary); }
/* Account & Admin */
[data-theme="dark"] .account-card { background: var(--bg-card); border: 1px solid var(--border-color); }
[data-theme="dark"] .account-card h4, [data-theme="dark"] .account-card h5 { color: #ffffff !important; }
[data-theme="dark"] .account-sidebar { background: var(--bg-card); border: 1px solid var(--border-color); }
[data-theme="dark"] .account-nav li a { color: var(--text-primary) !important; }
[data-theme="dark"] .account-nav li a:hover,
[data-theme="dark"] .account-nav li.active a { color: #ffba00 !important; background: rgba(255,186,0,0.08); }
[data-theme="dark"] .account-user h5 { color: #ffffff !important; }
[data-theme="dark"] .account-user p { color: var(--text-secondary) !important; }
[data-theme="dark"] .admin-sidebar { background: var(--bg-card); border: 1px solid var(--border-color); }
[data-theme="dark"] .admin-content { color: var(--text-primary); }
[data-theme="dark"] .admin-content h3, [data-theme="dark"] .admin-content h4,
[data-theme="dark"] .admin-content h5 { color: #ffffff !important; }
[data-theme="dark"] .admin-nav li a { color: var(--text-primary) !important; }
[data-theme="dark"] .admin-nav li a:hover,
[data-theme="dark"] .admin-nav li.active a { color: #ffba00 !important; }
/* Breadcrumb */
[data-theme="dark"] .breadcrumb-banner h1 { color: #ffffff !important; }
[data-theme="dark"] .breadcrumb-banner a { color: var(--text-secondary) !important; }
[data-theme="dark"] .section_gap { background: var(--bg-primary); }
[data-theme="dark"] .banner-area { background: var(--bg-secondary); }
/* Blog */
[data-theme="dark"] .blog-sidebar .single_sidebar_widget { background: var(--bg-card); }
[data-theme="dark"] .blog_details { background: var(--bg-card); }
[data-theme="dark"] .comment-form textarea,
[data-theme="dark"] .comment-form input { background: var(--bg-input); color: var(--text-primary); border-color: var(--border-color); }
/* Forms */
[data-theme="dark"] .form-control { background: var(--bg-input) !important; color: var(--text-primary) !important; border-color: var(--border-color) !important; }
[data-theme="dark"] .form-control:focus { border-color: #ffba00 !important; }
[data-theme="dark"] textarea, [data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"], [data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="password"], [data-theme="dark"] input[type="number"] {
  background: var(--bg-input) !important; color: var(--text-primary) !important; border-color: var(--border-color) !important;
}
/* Buttons */
[data-theme="dark"] .gray_btn { background: var(--bg-input) !important; color: var(--text-primary) !important; border-color: var(--border-color) !important; }
[data-theme="dark"] .gray_btn:hover { background: var(--border-color) !important; color: #ffffff !important; }
[data-theme="dark"] .btn-outline-primary { color: #ffba00 !important; border-color: #ffba00 !important; }
[data-theme="dark"] .btn-outline-primary:hover { background: #ffba00 !important; color: #000 !important; }
[data-theme="dark"] .btn-outline-danger { color: #dc3545 !important; border-color: #dc3545 !important; }
/* Alerts */
[data-theme="dark"] .alert-success { background: rgba(40,167,69,0.15) !important; color: #5dd879 !important; border-color: rgba(40,167,69,0.3) !important; }
[data-theme="dark"] .alert-danger { background: rgba(220,53,69,0.15) !important; color: #f87171 !important; border-color: rgba(220,53,69,0.3) !important; }
[data-theme="dark"] .alert-warning { background: rgba(255,186,0,0.15) !important; color: #ffba00 !important; border-color: rgba(255,186,0,0.3) !important; }
/* Status badges */
[data-theme="dark"] .badge { color: #fff !important; }
/* Cart & checkout */
[data-theme="dark"] .cart_area { background: var(--bg-primary); }
[data-theme="dark"] .cart_inner h4, [data-theme="dark"] .cart_inner h5 { color: #ffffff !important; }
[data-theme="dark"] .checkout_area { background: var(--bg-primary); }
[data-theme="dark"] .billing_details h3 { color: #ffffff !important; }
/* Select */
[data-theme="dark"] select { background: var(--bg-input) !important; color: var(--text-primary) !important; border-color: var(--border-color) !important; }
[data-theme="dark"] .nice-select { background: var(--bg-input) !important; color: var(--text-primary) !important; border-color: var(--border-color) !important; }
[data-theme="dark"] .nice-select .list { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
[data-theme="dark"] .nice-select .list li { color: var(--text-primary) !important; }
[data-theme="dark"] .nice-select .list li:hover,
[data-theme="dark"] .nice-select .list li.selected { background: rgba(255,186,0,0.12) !important; color: #ffba00 !important; }
/* Wishlist page */
[data-theme="dark"] .promo-badge { color: #fff !important; }
/* Icons */
[data-theme="dark"] .lnr { color: inherit; }
[data-theme="dark"] .ti-bag, [data-theme="dark"] .lnr-heart,
[data-theme="dark"] .lnr-move, [data-theme="dark"] .lnr-cross { color: var(--text-primary); }
/* Theme toggle */
[data-theme="dark"] .theme-toggle { color: #e0e0e0; }
[data-theme="dark"] .theme-toggle:hover { color: #ffba00; }
/* Search */
[data-theme="dark"] .search-popup { background: var(--bg-primary); }
[data-theme="dark"] .search-popup input { background: var(--bg-input); color: var(--text-primary); }
/* Coupon */
[data-theme="dark"] .coupon-applied { background: rgba(255,186,0,0.1); border-color: #ffba00; }
/* Terms */
[data-theme="dark"] .term-box { color: var(--text-primary); }
/* Error page */
[data-theme="dark"] .error-404-area .error-content h1 { color: #ffffff !important; }
[data-theme="dark"] .error-404-area .error-content p { color: var(--text-secondary) !important; }

/* Dark Mode Toggle Button */
.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 0 8px;
  line-height: 1;
  color: #222;
  transition: color 0.3s;
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
}
.theme-toggle:hover { color: #ffba00; }
[data-theme="dark"] .theme-toggle { color: #e0e0e0; }
[data-theme="dark"] .theme-toggle:hover { color: #ffba00; }

/* ----- TOAST NOTIFICATIONS ----- */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.toast.show { transform: translateX(0); }
.toast-success { background: linear-gradient(135deg, #28a745, #20c997); }
.toast-error { background: linear-gradient(135deg, #dc3545, #e74c3c); }
.toast-warning { background: linear-gradient(135deg, #ffc107, #fd7e14); }
.toast-info { background: linear-gradient(135deg, #17a2b8, #0dcaf0); }
.toast .toast-icon { font-size: 20px; flex-shrink: 0; }
.toast .toast-text { flex: 1; }
.toast .toast-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  line-height: 1;
}
.toast .toast-close:hover { color: #fff; }

/* ----- WISHLIST BUTTON ANIMATION ----- */
.wishlist-btn.active span { color: #e74c3c !important; }
.wishlist-btn.active span:after { opacity: 1 !important; visibility: visible !important; }
.wishlist-btn .lnr-heart { transition: transform 0.3s; }
.wishlist-btn:hover .lnr-heart { transform: scale(1.2); }
.wishlist-btn.active .lnr-heart { animation: wishlistPulse 0.4s; }

.wishlist-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.wishlist-nav-link .lnr-heart { transition: transform 0.3s; }
.wishlist-nav-link:hover .lnr-heart { transform: scale(1.2); color: #ffba00; }
@keyframes wishlistPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.navbar-right .nav-item { position: relative; }
navbar-right .cart { position: relative; }

/* ----- COUPON APPLIED BADGE ----- */
.coupon-applied {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}
.coupon-applied .coupon-remove {
  background: none;
  border: none;
  color: #2e7d32;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  line-height: 1;
}
.coupon-applied .coupon-remove:hover { color: #c62828; }

/* ----- ADMIN SIDEBAR ----- */
.admin-wrapper { display: flex; min-height: calc(100vh - 200px); }
.admin-sidebar {
  width: 260px;
  background: #222;
  color: #fff;
  flex-shrink: 0;
  padding: 30px 0;
}
.admin-sidebar .admin-profile {
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.admin-sidebar .admin-profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.admin-sidebar .admin-profile h5 { color: #fff; font-size: 16px; margin-bottom: 2px; }
.admin-sidebar .admin-profile p { color: #aaa; font-size: 12px; margin: 0; }
.admin-sidebar .admin-nav { list-style: none; padding: 0; margin: 0; }
.admin-sidebar .admin-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: #ccc;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s;
  text-decoration: none;
}
.admin-sidebar .admin-nav li a:hover,
.admin-sidebar .admin-nav li.active a {
  background: rgba(255,186,0,0.15);
  color: #ffba00;
}
.admin-sidebar .admin-nav li a i { width: 20px; text-align: center; }
.admin-content { flex: 1; padding: 30px; background: #f9f9ff; }

/* ----- ACCOUNT DASHBOARD ----- */
.account-sidebar {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  border-radius: 8px;
  overflow: hidden;
}
.account-sidebar .account-user {
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, #ffba00, #ff6c00);
  color: #fff;
}
.account-sidebar .account-user img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.account-sidebar .account-user h5 { color: #fff; margin-bottom: 2px; }
.account-sidebar .account-user p { color: rgba(255,255,255,0.8); font-size: 13px; margin: 0; }
.account-nav { list-style: none; padding: 0; margin: 0; }
.account-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: #555;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s;
  text-decoration: none;
}
.account-nav li:last-child a { border-bottom: none; }
.account-nav li a:hover,
.account-nav li.active a {
  color: #ffba00;
  background: #fffbf0;
}
.account-nav li a i { width: 18px; text-align: center; }
.account-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

/* ----- PRICE RANGE DISPLAY ----- */
.price-range-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #777;
  font-family: 'Roboto', sans-serif;
  margin-top: 10px;
}

/* ----- SEARCH RESULTS GRID ----- */
.search-stats { margin-bottom: 20px; font-size: 14px; color: #777; }
.search-stats strong { color: #222; }

/* ----- FAQ STYLES ----- */
.faq-search-box {
  max-width: 600px;
  margin: 0 auto 40px;
}
.faq-search-box .form-control {
  height: 54px;
  border-radius: 27px;
  border: 2px solid #eee;
  padding: 0 30px;
  font-size: 15px;
}
.faq-search-box .form-control:focus { border-color: #ffba00; box-shadow: none; }
.faq-category-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s;
  margin-bottom: 30px;
}
.faq-category-card:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.faq-category-card .faq-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffba00, #ff6c00);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: #fff;
  font-size: 24px;
}
.faq-category-card h6 { font-size: 16px; margin-bottom: 5px; }
.faq-category-card p { font-size: 13px; color: #777; margin: 0; }
.faq-accordion .card { border: 1px solid #eee; border-radius: 8px; margin-bottom: 10px; }
.faq-accordion .card-header {
  background: #fff;
  border-bottom: none;
  padding: 0;
}
.faq-accordion .card-header h5 { margin: 0; }
.faq-accordion .card-header button {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}
.faq-accordion .card-header button:hover { color: #ffba00; }
.faq-accordion .card-header button i { transition: transform 0.3s; font-size: 12px; }
.faq-accordion .card-header button[aria-expanded="true"] i { transform: rotate(180deg); }

/* ----- WISHLIST PAGE ----- */
.wishlist-share { display: flex; align-items: center; gap: 10px; }
.wishlist-share span { font-size: 14px; color: #777; }
.wishlist-share .social-icons a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: all 0.3s;
}
.wishlist-share .social-icons a:hover { background: #ffba00; color: #fff; }

/* ----- 404 PAGE ----- */
.error-404-area .error-content { text-align: center; padding: 80px 0; }
.error-404-area .error-content h1 {
  font-size: 160px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffba00, #ff6c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}
.error-404-area .error-content h3 { font-size: 28px; color: #222; margin-bottom: 15px; }
.error-404-area .error-content p { color: #777; max-width: 500px; margin: 0 auto 30px; }

/* ----- LANGUAGE SWITCHER ----- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 15px;
}
.lang-switcher .lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  color: #999;
  transition: all 0.3s;
  line-height: 1;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-switcher .lang-btn:hover { color: #ffba00; }
.lang-switcher .lang-btn.active { color: #222; }
.lang-switcher .lang-btn .flag-icon {
  font-size: 16px;
  line-height: 1;
}
.lang-switcher .lang-divider {
  color: #ddd;
  font-size: 14px;
}
[data-theme="dark"] .lang-switcher .lang-btn { color: #888; }
[data-theme="dark"] .lang-switcher .lang-btn.active { color: #fff; }
[data-theme="dark"] .lang-switcher .lang-divider { color: #444; }

/* ----- NOTIFICATION BELL (Admin Header) ----- */
.notification-item { position: relative; }
.notification-bell {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 20px;
  color: #555;
  text-decoration: none;
  line-height: 80px;
  transition: color 0.3s;
}
.notification-bell:hover { color: #ffba00; }
.notification-badge {
  position: absolute;
  top: 12px;
  right: 4px;
  background: #dc3545;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  font-family: 'Roboto', sans-serif;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(220,53,69,0.3);
  animation: notifPulse 2s infinite;
}
@keyframes notifPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.notif-sidebar-count {
  margin-left: auto;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-family: 'Roboto', sans-serif;
}
[data-theme="dark"] .notification-bell { color: #e0e0e0; }
[data-theme="dark"] .notification-bell:hover { color: #ffba00; }

/* ----- NOTIFICATION LIST (Admin Page) ----- */
.notification-list { display: flex; flex-direction: column; }
.notification-list .notification-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}
.notification-list .notification-item:hover { background: #f5f5ff; }
.notification-list .notification-item.unread {
  background: #fffbf0;
  border-left: 3px solid #ffba00;
}
.notification-list .notification-item + .notification-item { margin-top: 6px; }
.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffba00, #ff6c00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.notification-item.unread .notif-icon { background: linear-gradient(135deg, #ff6c00, #e74c3c); }
.notif-content { flex: 1; }
.notif-content .notif-text {
  font-size: 14px;
  color: #333;
  margin: 0 0 4px;
  line-height: 1.5;
}
.notif-content .notif-text a { color: #ffba00; font-weight: 600; }
.notif-content .notif-text a:hover { text-decoration: underline; }
.notif-content .notif-meta {
  font-size: 12px;
  color: #999;
  margin: 0;
}
.notif-content .notif-time { font-weight: 500; }
.notif-content .notif-type { color: #bbb; }
.notif-dismiss {
  background: none;
  border: none;
  color: #ccc;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.3s;
}
.notif-dismiss:hover { color: #dc3545; }
[data-theme="dark"] .notification-list .notification-item:hover { background: var(--bg-card); }
[data-theme="dark"] .notification-list .notification-item.unread { background: rgba(255,186,0,0.08); }
[data-theme="dark"] .notif-content .notif-text { color: var(--text-primary); }

/* ----- INVOICE PRINT STYLES ----- */
.invoice-wrapper { max-width: 800px; margin: 0 auto; }
.invoice-wrapper .invoice-title {
  font-size: 32px;
  font-weight: 800;
  color: #222;
  margin-bottom: 4px;
}
.invoice-wrapper .invoice-number { font-size: 15px; color: #ffba00; margin-bottom: 2px; }
.invoice-wrapper .invoice-date { font-size: 13px; color: #777; margin: 0; line-height: 1.6; }
.invoice-wrapper .invoice-company-info {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
  margin-top: 8px;
}
.invoice-wrapper .invoice-table thead th {
  background: #222;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border: none;
}
.invoice-wrapper .invoice-table tbody td {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.invoice-wrapper .invoice-totals td { font-size: 14px; }
[data-theme="dark"] .invoice-wrapper .invoice-title { color: var(--text-heading); }
[data-theme="dark"] .invoice-wrapper .invoice-table thead th { background: var(--bg-secondary); }
[data-theme="dark"] .invoice-wrapper .invoice-table tbody td { border-color: var(--border-color); }

@media print {
  .header_area, .footer-area, .banner-area, .search_input,
  .theme-toggle, .lang-switcher, .notification-bell,
  .admin-sidebar, .admin-wrapper > .admin-sidebar,
  .primary-btn, #downloadInvoiceBtn, .row.mb-3 {
    display: none !important;
  }
  .invoice-wrapper {
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    background: #fff !important;
  }
  .account-card { box-shadow: none !important; padding: 0 !important; }
  body { background: #fff !important; color: #000 !important; }
  .invoice-wrapper .invoice-title { color: #000 !important; }
  .invoice-wrapper .invoice-number { color: #000 !important; }
  .invoice-wrapper .invoice-table thead th { background: #333 !important; -webkit-print-color-adjust: exact; }
  .invoice-wrapper .invoice-table tbody td { border-color: #ddd !important; }
  .section_gap { padding: 20px 0 !important; }
  @page { margin: 15mm; }
}

/* ============================================================
   MOBILE HEADER ICONS (visible outside hamburger menu)
   ============================================================ */
.mobile-header-icons {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 10px;
}
.mobile-header-icons button,
.mobile-header-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  color: #555;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  line-height: 1;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.mobile-header-icons button:hover,
.mobile-header-icons a:hover {
  background: rgba(255,186,0,0.12);
  color: #ffba00;
}
.mobile-header-icons .wishlist-count,
.mobile-header-icons .cart-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: #ff6c00;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 2px 4px rgba(255,108,0,0.3);
  pointer-events: none;
  z-index: 2;
  border: 1.5px solid #fff;
}
[data-theme="dark"] .mobile-header-icons button,
[data-theme="dark"] .mobile-header-icons a { color: var(--text-primary); }
[data-theme="dark"] .mobile-header-icons button:hover,
[data-theme="dark"] .mobile-header-icons a:hover { background: rgba(255,186,0,0.15); color: #ffba00; }
[data-theme="dark"] .mobile-header-icons .wishlist-count,
[data-theme="dark"] .mobile-header-icons .cart-badge { border-color: var(--bg-secondary); }

@media (max-width: 991px) {
  .navbar-right { display: none !important; }
  .mobile-header-icons { display: flex; }
}
@media (min-width: 992px) {
  .mobile-header-icons { display: none !important; }
}

/* ============================================================
   HEADER BADGE INDICES (wishlist + cart counts)
   ============================================================ */
.header_area .navbar .nav.navbar-nav.navbar-right .wishlist-count,
.header_area .navbar .nav.navbar-nav.navbar-right .cart-badge {
  position: absolute;
  top: 6px;
  right: -12px;
  background: #ff6c00;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1 !important;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 2px 6px rgba(255,108,0,0.35);
  pointer-events: none;
  z-index: 2;
  border: 1.5px solid #fff;
}
[data-theme="dark"] .header_area .navbar .nav.navbar-nav.navbar-right .wishlist-count,
[data-theme="dark"] .header_area .navbar .nav.navbar-nav.navbar-right .cart-badge {
  border-color: var(--bg-secondary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ============================================================
   ORDER SUCCESS MODAL
   ============================================================ */
.order-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.order-modal-overlay.active { display: flex; }
.order-modal {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: modalPop 0.3s ease-out;
}
@keyframes modalPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.order-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745, #20c997);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 36px;
  color: #fff;
}
.order-modal h2 { font-size: 24px; color: #222; margin-bottom: 8px; }
.order-modal-msg { color: #555; margin-bottom: 20px; }
.order-modal-details {
  background: #f9f9ff;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
  text-align: left;
}
.order-modal-details p { margin-bottom: 6px; font-size: 14px; color: #555; }
.order-modal-details p:last-child { margin-bottom: 0; }
.order-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.order-modal-actions .primary-btn { width: 100%; text-align: center; }
[data-theme="dark"] .order-modal { background: var(--bg-card); }
[data-theme="dark"] .order-modal h2 { color: var(--text-heading); }
[data-theme="dark"] .order-modal-msg { color: var(--text-secondary); }
[data-theme="dark"] .order-modal-details { background: var(--bg-secondary); }
[data-theme="dark"] .order-modal-details p { color: var(--text-secondary); }

/* ============================================================
   CHECKOUT CAMEROUN STYLES
   ============================================================ */
.billing_details h3 i { margin-right: 6px; }

/* ============================================================
   PRODUCT DISPLAY IMPROVEMENTS
   ============================================================ */
.single-product {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 12px;
}
.single-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.single-product .img-fluid {
  transition: transform 0.5s ease;
}
.single-product:hover .img-fluid {
  transform: scale(1.05);
}
.single-product .product-details h6 {
  transition: color 0.3s ease;
}
.single-product:hover .product-details h6 {
  color: #ffba00;
}
.single-product .price h6 {
  font-weight: 700;
}
.single-product .price h6.l-through {
  opacity: 0.6;
  font-weight: 400;
}
.single-related-product {
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 8px;
}
.single-related-product:hover {
  background: rgba(255,186,0,0.05);
  transform: translateX(4px);
}
.single-related-product .desc a.title {
  font-weight: 600;
}
.account-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}
.account-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.product_image_area {
  border-radius: 12px;
  overflow: hidden;
}
.s_product_text h3 {
  font-weight: 700;
  margin-bottom: 10px;
}
.s_product_text h2 {
  color: #ffba00;
  font-weight: 700;
  font-size: 28px;
}
.s_product_text .card_area .primary-btn {
  transition: all 0.3s ease;
}
.s_product_text .card_area .primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,186,0,0.3);
}
.features-area .single-features {
  transition: all 0.3s ease;
  border-radius: 12px;
}
.features-area .single-features:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Product grid spacing */
.lattest-product-area .single-product {
  margin-bottom: 30px;
}
.category-list .single-product {
  margin-bottom: 30px;
}

/* Order table improvements */
.order_details_table .table thead th {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none !important;
  padding: 14px 16px;
}

.order_details_table .table td {
  padding: 12px 16px;
  vertical-align: middle;
  border-color: #f0f0f0 !important;
}

.order_details_table .table tbody tr {
  transition: background 0.2s ease;
}

.order_details_table .table tbody tr:hover {
  background: #fffbf0;
}

[data-theme="dark"] .order_details_table .table thead th {
  background: linear-gradient(135deg, #2d2d44 0%, #3d3d5c 100%) !important;
}

[data-theme="dark"] .order_details_table .table tbody td {
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

/* Wishlist page improvements */
.wishlist_area .table td,
.cart_area .cart_inner .table thead th {
  vertical-align: middle;
}

.cart_area .cart_inner .table thead th {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none !important;
  padding: 14px 16px;
}

.cart_area .cart_inner .table tbody td {
  padding: 14px 12px;
  vertical-align: middle;
  border-color: #f0f0f0 !important;
}

.cart_area .cart_inner .table tbody tr:hover {
  background: #fffbf0;
}

[data-theme="dark"] .cart_area .cart_inner .table thead th {
  background: linear-gradient(135deg, #2d2d44 0%, #3d3d5c 100%) !important;
}

[data-theme="dark"] .cart_area .cart_inner .table tbody td {
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}
.wishlist_area .media .media-body p {
  font-weight: 600;
}

/* Cart page improvements */
.cart_area .table td {
  vertical-align: middle;
}
.cart_summary {
  border-top: 2px solid #eee;
  padding-top: 20px;
}

/* ============================================================
   LOGIN / REGISTRATION — responsive & compact
   ============================================================ */
.login_box_area .row {
  min-height: auto;
}
.login_box_area.section_gap {
  padding: 60px 0;
}
@media (max-width: 991px) {
  .login_box_area.section_gap {
    padding: 40px 0;
  }
}
.login_box_area .login_box_img {
  margin-right: 0;
  height: 100%;
  min-height: 320px;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}
.login_box_area .login_box_img img {
  height: 100%;
  object-fit: cover;
}
.login_box_area .login_box_img .hover {
  padding: 20px;
}
.login_box_area .login_box_img .hover h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.login_box_area .login_box_img .hover p {
  max-width: 320px;
  font-size: 14px;
  margin-bottom: 16px;
}
.login_box_area .login_box_img .hover .primary-btn {
  line-height: 34px;
  font-size: 13px;
  padding: 0 24px;
}
@media (max-width: 767px) {
  .login_box_area .login_box_img {
    display: none;
  }
}

.login_form_inner {
  padding-top: 40px !important;
  padding-bottom: 36px;
  padding-left: 30px;
  padding-right: 30px;
  height: auto !important;
  border-radius: 0 12px 12px 0;
}
@media (max-width: 767px) {
  .login_form_inner {
    border-radius: 12px;
    padding: 28px 20px !important;
  }
}
.login_form_inner h3 {
  font-size: 16px !important;
  margin-bottom: 20px !important;
}
.login_form_inner .login_form {
  max-width: 320px;
}
.login_form .form-group {
  margin-bottom: 14px;
}
.login_form .form-group input {
  height: 42px !important;
  font-size: 13px;
  padding: 0 4px;
}
.login_form .form-group .creat_account {
  margin-bottom: 0;
}
.login_form .form-group .primary-btn {
  line-height: 38px;
  font-size: 13px;
  padding: 0 28px;
}

.creat_account input[type="checkbox"] {
  display: inline-block;
  width: auto;
  height: auto;
  margin-right: 6px;
  vertical-align: middle;
  position: static;
  opacity: 1;
  pointer-events: auto;
}
.creat_account label {
  display: inline;
  vertical-align: middle;
  font-size: 13px;
}
.creat_account label a {
  display: inline;
  white-space: nowrap;
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  color: #999;
  font-size: 13px;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #eee;
}
.login-divider span {
  padding: 0 16px;
}
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.google-btn:hover {
  border-color: #bbb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
[data-theme="dark"] .google-btn {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-primary);
}
[data-theme="dark"] .google-btn:hover {
  border-color: var(--text-secondary);
}

/* ============================================================
   AOS CUSTOM FIXES
   ============================================================ */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}
[data-aos].aos-animate {
  opacity: 1;
}

/* ----- RESPONSIVE ENHANCEMENTS ----- */
@media (max-width: 991px) {
  .admin-wrapper { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .lang-switcher { margin-left: 0; }
}
@media (max-width: 575px) {
  .toast { min-width: auto; max-width: calc(100vw - 40px); }
  .error-404-area .error-content h1 { font-size: 100px; }
  .lang-switcher .lang-btn { font-size: 11px; padding: 2px 4px; }
}

/* ============================================================
   ANIMATED POPUP / MODAL
   ============================================================ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: popupFadeIn 0.3s ease forwards;
}
.popup-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.5) translateY(30px);
  animation: popupBounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  position: relative;
}
.popup-box .popup-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  color: #fff;
}
.popup-box .popup-icon.success { background: linear-gradient(135deg, #28a745, #20c997); }
.popup-box .popup-icon.error { background: linear-gradient(135deg, #dc3545, #e83e8c); }
.popup-box .popup-icon.info { background: linear-gradient(135deg, #17a2b8, #6f42c1); }
.popup-box .popup-icon.warning { background: linear-gradient(135deg, #ffba00, #ff6c00); }
.popup-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.popup-box p {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}
.popup-box .popup-close {
  background: linear-gradient(135deg, #ffba00, #ff6c00);
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.popup-box .popup-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,186,0,0.4);
}
.popup-box .popup-check {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745, #20c997);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popupCheckPop 0.5s ease 0.3s both;
}
.popup-box .popup-check svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: popupCheckDraw 0.4s ease 0.5s forwards;
}
@keyframes popupFadeIn {
  to { opacity: 1; }
}
@keyframes popupBounceIn {
  to { transform: scale(1) translateY(0); }
}
@keyframes popupCheckPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@keyframes popupCheckDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes popupFadeOut {
  to { opacity: 0; }
}
@keyframes popupBounceOut {
  to { transform: scale(0.5) translateY(30px); opacity: 0; }
}

/* Dark mode popup */
[data-theme="dark"] .popup-box {
  background: var(--bg-card);
}
[data-theme="dark"] .popup-box h4 {
  color: var(--text-heading);
}
[data-theme="dark"] .popup-box p {
  color: var(--text-secondary);
}

/* ============================================================
   CHINA PRODUCT CARDS - Soft, modern design
   ============================================================ */
.china-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  margin-bottom: 24px;
  border: 1px solid #f0f0f0;
}
.china-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: #ffba00;
}
.china-product-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #fafafa;
}
.china-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.china-product-card:hover .china-product-img-wrap img {
  transform: scale(1.06);
}
/* Badges */
.china-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 2;
}
.china-badge-success { background: #28a745; color: #fff; }
.china-badge-warning { background: #ffba00; color: #fff; }
.china-badge-danger { background: #dc3545; color: #fff; }
/* Info area */
.china-product-info {
  padding: 14px 16px 16px;
}
.china-product-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  margin-bottom: 4px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.china-product-name:hover { color: #ffba00; }
.china-product-category {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.china-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.china-price-main {
  font-size: 17px;
  font-weight: 700;
  color: #ffba00;
}
.china-price-old {
  font-size: 13px;
  color: #bbb;
  text-decoration: line-through;
}
/* Stock indicator */
.china-product-stock {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.stock-available { background: #28a745; }
.stock-unavailable { background: #dc3545; }
/* Action buttons */
.china-product-actions {
  display: flex;
  gap: 8px;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}
.china-btn-cart, .china-btn-wish, .china-btn-view {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  color: #555;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.china-btn-cart:hover { background: #ffba00; color: #fff; border-color: #ffba00; }
.china-btn-wish:hover { background: #ff4757; color: #fff; border-color: #ff4757; }
.china-btn-view:hover { background: #333; color: #fff; border-color: #333; }

/* Dark mode overrides */
[data-theme="dark"] .china-product-card {
  background: var(--bg-card, #1c1c30);
  border-color: var(--border-color, #2e2e4a);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
[data-theme="dark"] .china-product-card:hover {
  border-color: #ffba00;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
[data-theme="dark"] .china-product-img-wrap { background: #161625; }
[data-theme="dark"] .china-product-name { color: #e8e8f0; }
[data-theme="dark"] .china-product-name:hover { color: #ffba00; }
[data-theme="dark"] .china-product-category { color: #888; }
[data-theme="dark"] .china-product-actions { border-color: var(--border-color, #2e2e4a); }
[data-theme="dark"] .china-btn-cart,
[data-theme="dark"] .china-btn-wish,
[data-theme="dark"] .china-btn-view {
  background: var(--bg-input, #252540);
  border-color: var(--border-color, #2e2e4a);
  color: var(--text-secondary, #b0b0c0);
}

/* ============================================================
   HERO BANNER IMPROVEMENTS
   ============================================================ */
.banner-area {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 80px 0 40px;
}
.banner-area .fullscreen {
  min-height: 520px;
}
.banner-area .banner-content {
  padding: 40px 20px 40px 30px;
}
.banner-area .banner-content h1 {
  font-size: 48px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
  margin-bottom: 20px !important;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.banner-area .banner-content p {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #555 !important;
  margin-bottom: 8px !important;
  max-width: 480px;
}
.banner-area .add-bag {
  margin-top: 28px !important;
}
.banner-area .add-bag .add-btn {
  width: 56px !important;
  height: 56px !important;
  line-height: 58px !important;
  font-size: 18px;
  background: linear-gradient(135deg, #ffba00, #ff8c00) !important;
  box-shadow: 0 6px 20px rgba(255, 186, 0, 0.35);
  transition: all 0.3s ease;
}
.banner-area .add-bag .add-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(255, 186, 0, 0.5);
}
.banner-area .add-bag .add-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #333;
  margin-left: 14px;
}
.banner-area .banner-img img {
  max-height: 420px;
  object-fit: contain;
}
@media (max-width: 991px) {
  .banner-area { min-height: auto; padding: 40px 0 20px; }
  .banner-area .fullscreen { min-height: auto; }
  .banner-area .banner-content h1 { font-size: 32px !important; line-height: 40px !important; }
  .banner-area .banner-content p { font-size: 14px !important; }
}
@media (max-width: 575px) {
  .banner-area .banner-content h1 { font-size: 26px !important; line-height: 34px !important; }
  .banner-area .banner-content p { font-size: 13px !important; }
}

/* Dark mode hero */
[data-theme="dark"] .banner-area .banner-content h1 {
  background: linear-gradient(135deg, #ffba00 0%, #ff8c00 50%, #ffba00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .banner-area .banner-content p {
  color: #b0b0c0 !important;
}
[data-theme="dark"] .banner-area .add-bag .add-text {
  color: #e0e0e0;
}

/* ============================================================
   PASSWORD TOGGLE STYLES
   ============================================================ */
.password-wrapper .password-toggle:hover {
  color: #ffba00 !important;
}
.lnr-eye-hidden::before {
  content: "\e901";
}

/* ============================================================
   FOOTER — BOUTON CONTACT
   ============================================================ */
.footer-contact-widget .footer-contact-text {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  border-radius: 50px;
  text-decoration: none !important;
  background: linear-gradient(135deg, #ffba00 0%, #ff8c00 100%);
  color: #1a1a2e !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(255, 186, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 2px solid transparent;
}

.footer-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 186, 0, 0.45);
  background: linear-gradient(135deg, #ffc933 0%, #ff9a1a 100%);
  color: #1a1a2e !important;
}

.footer-contact-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(26, 26, 46, 0.12);
  font-size: 16px;
  flex-shrink: 0;
}

.footer-contact-btn__label {
  flex: 1;
  white-space: nowrap;
}

.footer-contact-btn__arrow {
  display: flex;
  align-items: center;
  font-size: 14px;
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.footer-contact-btn:hover .footer-contact-btn__arrow {
  transform: translateX(4px);
}

[data-theme="dark"] .footer-contact-btn {
  color: #1a1a2e !important;
  box-shadow: 0 6px 24px rgba(255, 186, 0, 0.25);
}

@media (max-width: 767px) {
  .footer-contact-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ============================================================
   ADMIN — BARRE DE FILTRE TABLEAUX
   ============================================================ */
.admin-table-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff9ee 0%, #fff 100%);
  border: 1px solid #ffe8b3;
  border-radius: 12px;
}

.admin-table-toolbar__search {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.admin-table-toolbar__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffba00;
  font-size: 16px;
  pointer-events: none;
}

.admin-table-toolbar__input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}

.admin-table-toolbar__input:focus {
  outline: none;
  border-color: #ffba00;
  box-shadow: 0 0 0 3px rgba(255, 186, 0, 0.2);
}

.admin-table-toolbar__perpage {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-table-toolbar__perpage label {
  font-size: 12px;
  color: #666;
  margin: 0;
  white-space: nowrap;
}

.admin-table-toolbar__select {
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
  min-width: 72px;
}

.admin-table-toolbar__count {
  font-size: 12px;
  font-weight: 600;
  color: #ff8c00;
  white-space: nowrap;
  padding: 6px 12px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ffe8b3;
}

.admin-table-stock-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 16px;
  background: #fff8f0;
  border: 1px solid #ffe0b2;
  border-radius: 10px;
}

.admin-table-stock-filter__label {
  font-size: 13px;
  font-weight: 600;
  color: #e65100;
  margin: 0;
  white-space: nowrap;
}

.admin-table-stock-filter__controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-table-stock-filter__input {
  width: 72px;
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.admin-table-stock-filter__apply {
  padding: 8px 16px;
  background: linear-gradient(135deg, #ffba00, #ff8c00);
  color: #1a1a2e;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-table-stock-filter__reset {
  padding: 8px 14px;
  background: #f0f0f0;
  color: #333;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

.admin-table-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.admin-table-pagination__btn {
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  background: #fff;
  color: #333;
  transition: all 0.2s;
}

.admin-table-pagination__btn:hover:not(:disabled) {
  border-color: #ffba00;
  color: #ff8c00;
}

.admin-table-pagination__btn--active {
  background: linear-gradient(135deg, #ffba00, #ff8c00) !important;
  border-color: #ffba00 !important;
  color: #1a1a2e !important;
  font-weight: 700;
}

.admin-table-pagination__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.admin-table-pagination__dots {
  font-size: 12px;
  color: #999;
  padding: 0 4px;
}

.admin-table-meta {
  font-size: 16px;
  font-weight: 400;
  color: #999;
}

.admin-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
}

/* Tableaux admin + compte (filtres, listes, commandes) */
.admin-table {
  margin-bottom: 0;
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table thead th {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none !important;
  padding: 14px 16px;
  white-space: nowrap;
  vertical-align: middle;
}

.admin-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-color: #f0f0f0 !important;
  border-top: 1px solid #f0f0f0;
  font-size: 14px;
  color: #333;
}

.admin-table tbody tr:hover {
  background: #fffbf0;
}

.admin-table tbody tr.admin-table-row--unread {
  background: #fffbeb;
}

.admin-table tbody tr.admin-table-row--unread:hover {
  background: #fff8e1;
}

.admin-table--meta tbody td,
.admin-table--meta tbody th {
  border: none !important;
  padding: 6px 0;
  font-size: 14px;
}

.admin-table--meta tbody td:first-child {
  color: #777;
  width: 42%;
}

.admin-table__thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.admin-table__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.admin-table__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none !important;
  color: #fff !important;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.admin-table__btn:hover {
  opacity: 0.9;
  color: #fff !important;
}

.admin-table__btn--view { background: #17a2b8; }
.admin-table__btn--invoice { background: #ffba00; color: #1a1a2e !important; }
.admin-table__btn--download { background: #28a745; }
.admin-table__btn--danger { background: #dc3545; }
.admin-table__btn--edit { background: #ffba00; color: #1a1a2e !important; line-height: 24px; padding: 0 10px; font-size: 11px; }

.table-badge--admin { background: #dc3545; }
.table-badge--client { background: #17a2b8; }
.table-badge--role { background: #6c757d; }

.invoice-wrapper .invoice-table.admin-table thead th {
  background: #1a1a2e;
}

.table-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.table-badge--pending { background: #ffba00; }
.table-badge--progress { background: #17a2b8; }
.table-badge--shipping { background: #007bff; }
.table-badge--success { background: #28a745; }
.table-badge--danger { background: #dc3545; }
.table-badge--muted { background: #6c757d; }
.table-badge--active { background: #28a745; }
.table-badge--inactive { background: #dc3545; }

.admin-table__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffba00;
  display: inline-block;
}

[data-theme="dark"] .admin-table-toolbar {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .admin-table-toolbar__input,
[data-theme="dark"] .admin-table-toolbar__select {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border-color);
}

[data-theme="dark"] .admin-table-stock-filter {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .admin-table-wrap {
  border-color: var(--border-color);
  background: var(--bg-card);
}

[data-theme="dark"] .admin-table {
  background: var(--bg-card);
}

[data-theme="dark"] .admin-table thead th {
  background: linear-gradient(135deg, #2d2d44 0%, #3d3d5c 100%) !important;
  color: #fff !important;
}

[data-theme="dark"] .admin-table tbody td {
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] .admin-table tbody tr:hover,
[data-theme="dark"] .admin-table tbody tr.admin-table-row--unread {
  background: rgba(255, 186, 0, 0.1) !important;
}

[data-theme="dark"] .admin-categories-table__name {
  color: var(--text-heading);
}

[data-theme="dark"] .admin-categories-table__slug {
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.admin-categories-table__thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-categories-table__thumb-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffba00, #ff8c00);
  color: #1a1a2e;
  font-weight: 800;
  font-size: 18px;
}

.admin-categories-table__name {
  color: #1a1a2e;
  font-size: 15px;
}

.admin-categories-table__slug {
  font-size: 11px;
  padding: 4px 8px;
  background: #f5f5f5;
  border-radius: 6px;
  color: #666;
}

.admin-categories-table__order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff3cd;
  color: #856404;
  font-weight: 700;
  font-size: 12px;
}

.admin-categories-table__parent {
  font-size: 13px;
  color: #555;
}

.admin-categories-table__parent--root {
  color: #ff8c00;
  font-weight: 600;
}

.admin-categories-table__actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  align-items: center;
}

.admin-table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.admin-table-action:hover {
  transform: translateY(-2px);
}

.admin-table-action--view {
  background: #e8eaf6;
  color: #3949ab;
}

.admin-table-action--edit {
  background: #fff8e1;
  color: #f57c00;
}

.admin-table-action--delete {
  background: #ffebee;
  color: #c62828;
}

.admin-table-action-form {
  display: inline;
  margin: 0;
}

.admin-table-empty {
  text-align: center;
  padding: 40px 20px !important;
  color: #888;
  font-size: 14px;
}

.admin-table-empty a {
  color: #ff8c00;
  font-weight: 600;
}

/* Produits similaires — fiche produit */
.china-related-products {
  padding-top: 20px;
}

.china-related-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.china-related-card .china-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.china-product-actions--center {
  justify-content: center;
  margin-top: auto;
  padding-top: 10px;
}

.cat-dropdown--invalid .cat-dropdown-selected {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

/* Tableaux responsive (mobile) */
@media (max-width: 767px) {
  .admin-table-wrap,
  .table-responsive.admin-table-wrap {
    overflow: visible;
    border: none;
    background: transparent;
  }

  .admin-table,
  .order_details_table .admin-table,
  .order_details_table .table,
  .cart_area .cart_inner .admin-table,
  .invoice-wrapper .admin-table {
    display: block;
    background: transparent;
  }

  .admin-table thead,
  .order_details_table .table thead,
  .cart_area .cart_inner .admin-table thead {
    display: none;
  }

  .admin-table tbody,
  .order_details_table .table tbody,
  .cart_area .cart_inner .admin-table tbody {
    display: block;
  }

  .admin-table tbody tr,
  .order_details_table .table tbody tr,
  .cart_area .cart_inner .admin-table tbody tr {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 12px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .admin-table tbody tr:hover {
    background: #fff;
  }

  .admin-table tbody td,
  .order_details_table .table tbody td,
  .cart_area .cart_inner .admin-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0 !important;
    border: none !important;
    border-bottom: 1px solid #f3f3f3 !important;
    text-align: right !important;
    font-size: 13px;
  }

  .admin-table tbody td:last-child,
  .order_details_table .table tbody td:last-child {
    border-bottom: none !important;
  }

  .admin-table tbody td::before,
  .order_details_table .table tbody td::before,
  .cart_area .cart_inner .admin-table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: left;
    flex: 0 0 42%;
    max-width: 48%;
  }

  .admin-table tbody td.admin-table-empty,
  .admin-table tbody td[colspan] {
    display: block;
    text-align: center !important;
  }

  .admin-table tbody td.admin-table-empty::before,
  .admin-table tbody td[colspan]::before {
    display: none;
  }

  .admin-table__actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .admin-table--meta tbody td {
    display: table-cell;
    text-align: left !important;
  }

  .admin-table--meta tbody td::before {
    display: none;
  }

  [data-theme="dark"] .admin-table tbody tr,
  [data-theme="dark"] .order_details_table .table tbody tr {
    background: var(--bg-card);
    border-color: var(--border-color);
  }

  [data-theme="dark"] .admin-table tbody td {
    border-color: var(--border-color) !important;
  }
}

/* Pages d'erreur */
.error-page {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  text-align: center;
}

.error-page__card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.error-page__code {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ffba00, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.error-page__title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.error-page__text {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.error-page__btn-secondary {
  display: inline-block;
  line-height: 42px;
  padding: 0 24px;
  border-radius: 6px;
  border: 2px solid #ffba00;
  color: #1a1a2e;
  font-weight: 600;
  text-decoration: none !important;
}

[data-theme="dark"] .error-page__card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .error-page__title {
  color: #fff;
}

[data-theme="dark"] .error-page__text {
  color: var(--text-secondary);
}

/* Validation formulaires */
.form-control:invalid:not(:placeholder-shown),
.form-control.is-invalid {
  border-color: #dc3545 !important;
}

.form-control:valid:not(:placeholder-shown) {
  border-color: #28a745;
}

.form.was-validated :invalid,
select:invalid,
textarea:invalid {
  border-color: #dc3545 !important;
}

.cat-dropdown--invalid .cat-dropdown-selected {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12) !important;
}

.image-upload--invalid {
  border-color: #dc3545 !important;
  background: #fff5f5;
}

/* ——— Stock / rupture ——— */
.china-product-card--out-of-stock {
  opacity: 0.82;
  border-color: #f5c6cb !important;
  background: #fff5f5;
}

.china-product-card--out-of-stock .china-product-img-wrap img {
  filter: grayscale(0.35);
}

.china-product-card--out-of-stock:hover {
  transform: none;
  box-shadow: 0 2px 12px rgba(220, 53, 69, 0.12);
}

.product-out-of-stock-alert {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.cart-stock-alert {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.cart-stock-alert ul {
  margin: 8px 0 12px 18px;
  padding: 0;
}

.cart-stock-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.cart-stock-badge--out {
  background: #f8d7da;
  color: #721c24;
}

.cart-stock-badge--low {
  background: #fff3cd;
  color: #856404;
}

.cart-stock-badge--ok {
  background: #d4edda;
  color: #155724;
}

.cart-row--stock-issue {
  background: #fff5f5 !important;
}

.admin-table__row--rupture {
  background: #fff5f5 !important;
}

.admin-table__row--rupture td {
  border-top-color: #f5c6cb !important;
}

.admin-stock-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.admin-stock-badge--rupture {
  background: #dc3545;
  color: #fff;
}

.admin-stock-badge--low {
  background: #ff9800;
  color: #fff;
}

.admin-stock-badge--ok {
  background: #28a745;
  color: #fff;
}

.admin-table__actions .admin-table-action-form {
  display: inline;
  margin: 0;
}

.admin-table__actions .admin-table__btn--danger {
  padding: 5px 8px;
  min-width: 32px;
}

.primary-btn--disabled {
  pointer-events: none;
}

/* Panier — saisie de grandes quantités */
.cart_area .cart-qty-field {
  margin-bottom: 0;
}

.cart_area .cart-qty-input {
  width: 120px;
  min-width: 100px;
  max-width: 180px;
  height: 40px;
  padding: 8px 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: none;
}

.cart_area .cart-qty-input:focus {
  border-color: #ffba00;
  outline: none;
}

.cart_area .cart-qty-input:disabled {
  background: #f8f9fa;
  cursor: not-allowed;
}

/* Retirer le padding thème (prévu pour les boutons +/- absents ici) */
.cart_area .cart-qty-field .cart-qty-input {
  padding-left: 12px;
}

/* Fiche produit — quantité jusqu'à 4 chiffres et plus */
.s_product_text .product-qty-field {
  margin-bottom: 24px;
}

.s_product_text .product-qty-field .product-qty-input {
  width: 130px;
  min-width: 120px;
  max-width: 180px;
  height: 44px;
  padding: 8px 36px 8px 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: none;
}

.s_product_text .product-qty-field .product-qty-input:focus {
  border-color: #ffba00;
  outline: none;
}

.s_product_text .product-qty-field .increase,
.s_product_text .product-qty-field .reduced {
  right: 4px;
}

/* ============================================================
   MOBILE: 2 PRODUCTS PER LINE + CLEAN SPACING
   ============================================================ */
@media (max-width: 767px) {
  .china-product-card {
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .china-product-img-wrap {
    aspect-ratio: 4/3;
  }
  .china-product-info {
    padding: 10px 12px 12px;
  }
  .china-product-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .china-product-category {
    font-size: 10px;
    color: #888;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .china-price-main {
    font-size: 15px;
    font-weight: 700;
  }
  .china-price-old {
    font-size: 11px;
  }
  .china-product-price {
    margin-bottom: 6px;
  }
  .china-product-stock {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .stock-dot {
    width: 6px;
    height: 6px;
  }
  .china-product-actions {
    gap: 6px;
    padding-top: 10px;
  }
  .china-btn-cart, .china-btn-wish, .china-btn-view {
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
    flex: 1;
  }
  .china-badge {
    font-size: 9px;
    padding: 3px 8px;
    top: 8px;
    left: 8px;
    border-radius: 4px;
  }
}

/* ============================================================
   MOBILE CATEGORY PAGE LAYOUT
   ============================================================ */
@media (max-width: 767px) {
  .lattest-product-area.category-list .row,
  .single-product-slider .row,
  .related-product-area .row,
  .section_gap .row {
    margin-left: -6px;
    margin-right: -6px;
  }
  .lattest-product-area.category-list .row > [class*="col-"],
  .single-product-slider .row > [class*="col-"],
  .related-product-area .row > [class*="col-"],
  .section_gap .row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }
  .sidebar-categories .head {
    font-size: 14px;
    padding: 12px 16px;
    font-weight: 600;
  }
  .sidebar-categories .main-categories li a {
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* ============================================================
   CATEGORY TOGGLE BUTTON (mobile)
   ============================================================ */
.category-toggle-btn {
  display: none;
  width: 100%;
  padding: 14px 20px;
  margin-top: 16px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffba00, #ff8c00);
  color: #1a1a2e;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 186, 0, 0.35);
  letter-spacing: 0.3px;
}
.category-toggle-btn i.lnr-chevron-down {
  transition: transform 0.3s ease;
  font-size: 12px;
}
.category-toggle-btn.active i.lnr-chevron-down {
  transform: rotate(180deg);
}
.category-toggle-btn:hover {
  box-shadow: 0 6px 20px rgba(255, 186, 0, 0.45);
}

@media (max-width: 767px) {
  .category-toggle-btn {
    display: flex;
  }
  .sidebar-categories-wrapper {
    display: none;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .sidebar-categories-wrapper.show {
    display: block;
  }
  .sidebar-categories {
    margin-bottom: 20px;
  }
  .sidebar-categories .head {
    border-radius: 10px 10px 0 0;
  }
  .sidebar-categories .main-categories {
    border-radius: 0 0 10px 10px;
  }
}
.sidebar-categories .main-nav-list a.active {
  color: #ffba00;
  font-weight: 600;
  background: #fffbe6;
}

