body.dark[class*="tk-shop-group-"],
body.dark[class*="tk-shop-group-"].tk-shop-theme3 {
  color-scheme: dark;
  --ink: #e5e7eb;
  --ink-soft: #cbd5e1;
  --muted: #a8b3c2;
  --surface: #17212f;
  --app-bg: #0b1220;
  --line: #334155;
  --app-outline: rgba(203, 213, 225, .16);
  --brand-25: #172b29;
  --brand-50: #1b332e;
  --brand-100: #24443a;
  background-color: var(--app-bg) !important;
  color: var(--ink);
}

body.dark.tk-shop-theme3 {
  --bg: #0f1c17;
  --bg-panel: #152722;
  --forest: #15372c;
  --sage-light: #d2ded7;
  --gold-light: #3d3423;
  --ink-soft: #b7c7c0;
  --line: #33463c;
  --th3-field-bg: #152722;
  --th3-field-border: #40564a;
}

body.dark.tk-shop-theme-bloom {
  --bloom-bg: #0b1220;
  --bloom-fg: #e5e7eb;
  --bloom-muted: #17212f;
  --bloom-muted-fg: #a8b3c2;
  --bloom-border: #334155;
  --bloom-accent: #3d3423;
}

body.dark[class*="tk-shop-group-"] [class*="text-green-"],
body.dark[class*="tk-shop-group-"] [class*="text-emerald-"],
body.dark[class*="tk-shop-group-"] [class*="text-teal-"],
body.dark[class*="tk-shop-group-"] [class*="text-lime-"],
body.dark[class*="tk-shop-group-"] .text-success,
body.dark.tk-profile-mode [class*="text-green-"],
body.dark.tk-profile-mode [class*="text-emerald-"],
body.dark.tk-profile-mode [class*="text-teal-"],
body.dark.tk-profile-mode [class*="text-lime-"],
body.dark.tk-profile-mode .text-success {
  color: #fff !important;
}

body.dark.tk-shop-theme3 :is(
  h1,
  h2,
  h3,
  .serif,
  .category-picker__option,
  .nav-cta,
  .tag,
  .strip-item h3,
  .sec-head h2,
  .cat-card .leaf,
  .cat-card h3,
  .why-item h3,
  .why-icon
) {
  color: #fff !important;
}

body.dark.tk-shop-theme3 .brand-title,
body.dark.tk-shop-theme3 .brand-sub,
body.dark.tk-shop-theme3 .prod-price .now,
body.dark.tk-shop-theme3 .prod-price-main,
body.dark.tk-shop-theme3 .tk-bloom-product-detail__price,
body.dark.tk-shop-theme3 .tk-shop-product-card__price,
body.dark.tk-shop-theme3 .tk-bloom-product-card__price {
  color: #fff !important;
}

body.dark.tk-shop-theme3 .tk-product-search__form {
  border-color: #475569 !important;
  background: #17212f !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .28) !important;
}

body.dark.tk-shop-theme3 .tk-product-search__input {
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.dark.tk-shop-theme3 .tk-product-search__input::placeholder {
  color: #cbd5e1 !important;
  opacity: 1;
}

body.dark.tk-shop-theme3 .tk-product-search__loupe,
body.dark.tk-shop-theme3 .tk-product-search__camera {
  color: #cbd5e1 !important;
}

body.dark.tk-shop-theme3 .tk-product-search__camera:hover {
  background: #263747 !important;
  color: #fff !important;
}

body.dark.tk-shop-theme3 .nav-right-actions .nav-auth-btn {
  border: 1px solid #40564a !important;
  background: #15372c !important;
  color: #fff !important;
}

body.dark.tk-shop-theme3 .nav-right-actions .nav-auth-btn:hover {
  border-color: #6b8f79 !important;
  background: #1d493b !important;
  color: #fff !important;
}

body.dark.tk-shop-theme3 .nav-mobile-btn {
  border-color: #40564a;
  background: #152722;
  color: #edf3ef;
}

body.dark.tk-shop-theme3 .nav-mobile-btn:hover,
body.dark.tk-shop-theme3 .nav-mobile-btn:focus-visible {
  border-color: #6b9279;
  background: #1e382d;
  color: #fff;
}

body.dark.tk-shop-theme3 #categories .sec-head > div > span,
body.dark.tk-shop-theme3 #categories .sec-head h2,
body.dark.tk-shop-theme3 #categories .sec-head p,
body.dark.tk-shop-theme3 #categories .sec-head .see-all,
body.dark.tk-shop-theme3 #categories .cat-card,
body.dark.tk-shop-theme3 #categories .cat-card h3,
body.dark.tk-shop-theme3 #categories .cat-card .leaf {
  color: #fff !important;
}

body.dark.tk-shop-theme3 #categories .cat-card,
body.dark.tk-shop-theme3 #categories .cat-card:hover,
body.dark.tk-shop-theme3 #categories .cat-card:focus-visible {
  border-color: #334d42 !important;
  background: #142820 !important;
}

body.dark.tk-shop-theme3 #categories .cat-card .leaf,
body.dark.tk-shop-theme3 #categories .cat-card:hover .leaf {
  background: #294638 !important;
}

body.dark.tk-shop-theme3 #temoignages .tk-testimonial-section-eyebrow,
body.dark.tk-shop-theme3 #temoignages .tk-testimonial-section-title,
body.dark.tk-shop-theme3 #temoignages .tk-shop-link {
  color: #fff !important;
}

body.dark.tk-shop-theme3 #temoignages .tk-testimonial,
body.dark.tk-shop-theme3 #temoignages .tk-testimonial-slide {
  border-color: #334155 !important;
  background: #17212f !important;
  color: #fff !important;
}

body.dark.tk-shop-theme3 #temoignages .tk-testimonial p,
body.dark.tk-shop-theme3 #temoignages .tk-testimonial footer,
body.dark.tk-shop-theme3 #temoignages .tk-testimonial footer span {
  color: #fff !important;
}

body.dark.tk-shop-theme3 #temoignages .tk-testimonial > div {
  color: #fb923c !important;
}

body.dark.tk-shop-theme3 .tk-site-footer,
body.dark.tk-shop-theme3 footer.tk-site-footer {
  border-color: #33463c !important;
  background: #10251f !important;
  color: #fff !important;
}

body.dark.tk-shop-theme3 .tk-site-footer :is(
  .tk-site-footer__brand-name,
  .tk-site-footer__heading,
  .tk-site-footer__links a,
  .tk-site-footer__desc,
  .tk-site-footer__contact-label,
  .tk-site-footer__contact-value,
  .tk-site-footer__bottom,
  .tk-site-footer__bottom-links a,
  .tk-site-footer__copyright,
  .tk-site-footer__copyright strong,
  .tk-site-footer__copyright span
) {
  color: #fff !important;
}

body.dark.tk-shop-theme3 .tk-site-footer .tk-site-footer__contact-icon,
body.dark.tk-shop-theme3 .tk-site-footer .tk-site-footer__social-btn,
body.dark.tk-shop-theme3 .tk-site-footer .tk-site-footer__cta-btn--light {
  border-color: #40564a !important;
  background: #1b332b !important;
  color: #fff !important;
}

body.dark.tk-shop-theme3 .tk-site-footer a:hover {
  color: #fff !important;
}

body.dark.tk-shop-theme3 .category-picker summary,
body.dark.tk-shop-theme3 .category-picker__menu {
  border-color: #40564a !important;
  background: #172722 !important;
  color: #fff !important;
}

body.dark.tk-shop-theme3 .category-picker__option,
body.dark.tk-shop-theme3 .category-picker__option:hover,
body.dark.tk-shop-theme3 .category-picker__option:focus-visible {
  background: transparent !important;
  color: #e5e7eb !important;
}

body.dark.tk-shop-theme3 .category-picker__option.is-active {
  background: #294638 !important;
  color: #fff !important;
}

body.dark.tk-shop-theme3 #pourquoi .why-item h3,
body.dark.tk-shop-theme3 #pourquoi .why-item p,
body.dark.tk-shop-theme3 #pourquoi .why-item .why-icon,
body.dark.tk-shop-theme3 #pourquoi .why-visual .row,
body.dark.tk-shop-theme3 #pourquoi .why-visual .row span,
body.dark.tk-shop-theme3 #pourquoi .why-visual .row b {
  color: #fff !important;
}

body.dark.tk-shop-theme3 #pourquoi .why-visual {
  border-color: #334d42 !important;
  background: #142820 !important;
}

body.dark.tk-shop-theme3 #pourquoi .why-visual .row {
  border-color: #334d42 !important;
}

body.dark.tk-shop-theme3 #pourquoi .why-icon {
  background: #294638 !important;
}

body.dark.tk-shop-theme3 .hero-delivery-card {
  border-color: #334d42 !important;
  background: #142820 !important;
  color: #fff !important;
}

body.dark.tk-shop-theme3 .hero-delivery-card h2,
body.dark.tk-shop-theme3 .hero-delivery-card li,
body.dark.tk-shop-theme3 .hero-delivery-location,
body.dark.tk-shop-theme3 .hero-delivery-time {
  color: #fff !important;
}

body.dark.tk-shop-theme3 .hero-delivery-card li,
body.dark.tk-shop-theme3 .hero-delivery-location span {
  border-color: #334d42 !important;
}

body.dark.tk-shop-theme3 .hero-delivery-location span {
  color: #cbd5e1 !important;
}

body.dark[class*="tk-shop-group-"] a:not([class*="bg-"]):not(.btn),
body.dark[class*="tk-shop-group-"] .text-dark,
body.dark[class*="tk-shop-group-"] .text-body,
body.dark[class*="tk-shop-group-"] .text-gray-900,
body.dark[class*="tk-shop-group-"] .text-gray-800,
body.dark[class*="tk-shop-group-"] .text-gray-700,
body.dark[class*="tk-shop-group-"] .text-slate-900,
body.dark[class*="tk-shop-group-"] .text-slate-800,
body.dark[class*="tk-shop-group-"] .text-slate-700,
body.dark.tk-shop-theme3 a:not([class*="bg-"]):not(.btn),
body.dark.tk-shop-theme3 .text-dark,
body.dark.tk-shop-theme3 .text-body,
body.dark.tk-shop-theme3 .text-gray-900,
body.dark.tk-shop-theme3 .text-gray-800,
body.dark.tk-shop-theme3 .text-gray-700,
body.dark.tk-shop-theme3 .text-slate-900,
body.dark.tk-shop-theme3 .text-slate-800,
body.dark.tk-shop-theme3 .text-slate-700 {
  color: var(--ink) !important;
}

body.dark[class*="tk-shop-group-"] .text-muted,
body.dark[class*="tk-shop-group-"] .text-secondary,
body.dark[class*="tk-shop-group-"] .text-gray-600,
body.dark[class*="tk-shop-group-"] .text-gray-500,
body.dark[class*="tk-shop-group-"] .text-slate-600,
body.dark[class*="tk-shop-group-"] .text-slate-500,
body.dark[class*="tk-shop-group-"] .text-secondary-emphasis,
body.dark.tk-shop-theme3 .text-muted,
body.dark.tk-shop-theme3 .text-secondary,
body.dark.tk-shop-theme3 .text-gray-600,
body.dark.tk-shop-theme3 .text-gray-500,
body.dark.tk-shop-theme3 .text-slate-600,
body.dark.tk-shop-theme3 .text-slate-500 {
  color: var(--muted) !important;
}

body.dark[class*="tk-shop-group-"] .bg-white,
body.dark[class*="tk-shop-group-"] .bg-gray-50,
body.dark[class*="tk-shop-group-"] .bg-gray-100,
body.dark[class*="tk-shop-group-"] .bg-slate-50,
body.dark[class*="tk-shop-group-"] .bg-slate-100,
body.dark.tk-shop-theme3 .bg-white,
body.dark.tk-shop-theme3 .bg-gray-50,
body.dark.tk-shop-theme3 .bg-gray-100,
body.dark.tk-shop-theme3 .bg-slate-50,
body.dark.tk-shop-theme3 .bg-slate-100 {
  background-color: var(--surface) !important;
}

body.dark[class*="tk-shop-group-"] .card,
body.dark[class*="tk-shop-group-"] .modal-content,
body.dark[class*="tk-shop-group-"] .dropdown-menu,
body.dark[class*="tk-shop-group-"] .offcanvas,
body.dark[class*="tk-shop-group-"] .accordion-item,
body.dark[class*="tk-shop-group-"] .tk-shop-product-card,
body.dark[class*="tk-shop-group-"] .tk-shop-feature-card,
body.dark[class*="tk-shop-group-"] .tk-shop-testimonial-card,
body.dark[class*="tk-shop-group-"] .product-card,
body.dark[class*="tk-shop-group-"] .product-item,
body.dark[class*="tk-shop-group-"] .tk-org-cat-card,
body.dark[class*="tk-shop-group-"] .tk-org-cart-card,
body.dark[class*="tk-shop-group-"] .tk-bloom-product-card,
body.dark[class*="tk-shop-group-"] .tk-bloom-feature,
body.dark[class*="tk-shop-group-"] .tk-bloom-content-card,
body.dark[class*="tk-shop-group-"] .tk-bloom-features-panel,
body.dark[class*="tk-shop-group-"] .car__item,
body.dark[class*="tk-shop-group-"] .tk-hvac-form,
body.dark[class*="tk-shop-group-"] .tk-hvac-testimonial,
body.dark[class*="tk-shop-group-"] .tk-hvac-cart-card,
body.dark[class*="tk-shop-group-"] .property-wrap,
body.dark[class*="tk-shop-group-"] .tk-eco-form,
body.dark[class*="tk-shop-group-"] .tk-eco-cart-card,
body.dark[class*="tk-shop-group-"] .tk-pharma-testimonial {
  border-color: var(--line);
  background-color: var(--surface);
  color: var(--ink);
}

body.dark[class*="tk-shop-group-"] input:not([type="checkbox"]):not([type="radio"]),
body.dark[class*="tk-shop-group-"] select,
body.dark[class*="tk-shop-group-"] textarea,
body.dark.tk-shop-theme3 main input:not([type="checkbox"]):not([type="radio"]),
body.dark.tk-shop-theme3 main select,
body.dark.tk-shop-theme3 main textarea {
  color-scheme: dark;
  border-color: var(--line);
  background-color: var(--surface);
  color: var(--ink);
}

body.dark[class*="tk-shop-group-"] input::placeholder,
body.dark[class*="tk-shop-group-"] textarea::placeholder,
body.dark.tk-shop-theme3 input::placeholder,
body.dark.tk-shop-theme3 textarea::placeholder {
  color: #a8b3c2;
  opacity: 1;
}

body.dark[class*="tk-shop-group-"] table,
body.dark[class*="tk-shop-group-"] th,
body.dark[class*="tk-shop-group-"] td,
body.dark.tk-shop-theme3 table,
body.dark.tk-shop-theme3 th,
body.dark.tk-shop-theme3 td {
  border-color: var(--line);
  color: var(--ink);
}

body.dark[class*="tk-shop-group-"] hr,
body.dark.tk-shop-theme3 hr {
  border-color: var(--line);
  opacity: 1;
}

body.dark[class*="tk-shop-group-"] .form-control:focus,
body.dark[class*="tk-shop-group-"] .form-select:focus,
body.dark.tk-shop-theme3 main input:focus,
body.dark.tk-shop-theme3 main select:focus,
body.dark.tk-shop-theme3 main textarea:focus {
  border-color: var(--brand-400, #34d399);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .2);
}

body.dark[class*="tk-shop-group-"] .tk-shop-shell .app-nav,
body.dark[class*="tk-shop-group-"] .tk-org-header,
body.dark[class*="tk-shop-group-"] .header,
body.dark[class*="tk-shop-group-"] .navbar,
body.dark.tk-shop-theme3 header {
  border-color: var(--line);
  background-color: rgba(15, 23, 42, .96);
  color: var(--ink);
}

body.dark.tk-shop-group-groupea .tk-shop-home .tk-shop-main,
body.dark.tk-shop-group-groupea .tk-shop-home .tk-shop-section,
body.dark.tk-shop-group-groupea .tk-shop-home .tk-shop-section--alt,
body.dark.tk-shop-group-groupea .tk-shop-home .tk-shop-section--muted {
  background: var(--app-bg);
  color: var(--ink);
}

body.dark.tk-shop-group-groupea .tk-shop-home .tk-shop-section--dark {
  background: linear-gradient(145deg, #111c2c, #123b36);
}

body.dark[class*="tk-shop-group-"] .tk-menu-popover,
body.dark[class*="tk-shop-group-"] .tk-app-menu-sheet,
body.dark.tk-shop-theme3 .tk-menu-popover,
body.dark.tk-shop-theme3 .tk-app-menu-sheet {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

body.dark[class*="tk-shop-group-"] .tk-menu-popover-header,
body.dark.tk-shop-theme3 .tk-menu-popover-header {
  border-color: var(--line);
  background: #1d2b39;
}

body.dark[class*="tk-shop-group-"] .tk-menu-popover-item,
body.dark.tk-shop-theme3 .tk-menu-popover-item {
  color: var(--ink);
}

body.dark[class*="tk-shop-group-"] .tk-menu-popover-item:hover,
body.dark.tk-shop-theme3 .tk-menu-popover-item:hover {
  background: #263747;
}

body.dark.tk-shop-theme3 .tk-app-menu-sheet {
  border-color: #334d42;
  background: #152722;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .42);
}

body.dark.tk-shop-theme3 .tk-app-menu-sheet-header {
  border-color: #334d42;
  background: linear-gradient(145deg, #1e382d, #152722);
}

body.dark.tk-shop-theme3 .tk-app-menu-sheet-title {
  color: #edf3ef;
}

body.dark.tk-shop-theme3 .tk-app-menu-close {
  border-color: #40564a;
  background: #20382d;
  color: #edf3ef;
}

body.dark.tk-shop-theme3 .tk-app-menu-close:hover {
  border-color: #6b9279;
  background: #2a4a39;
  color: #fff;
}

body.dark.tk-shop-theme3 .tk-app-menu-tile {
  border-color: #334d42;
  background: #1b3026;
  color: #dcebe1;
}

body.dark.tk-shop-theme3 .tk-app-menu-tile:hover,
body.dark.tk-shop-theme3 .tk-app-menu-tile.active {
  border-color: #6b9279;
  background: #294638;
  color: #fff;
}

body.dark.tk-shop-theme3 .tk-app-menu-tile-icon {
  border-color: #40564a;
  background: #152722;
  color: #b9e8c9;
  box-shadow: none;
}

body.dark.tk-shop-theme3 .tk-app-menu-tile:hover .tk-app-menu-tile-icon,
body.dark.tk-shop-theme3 .tk-app-menu-tile.active .tk-app-menu-tile-icon {
  background: #3d805c;
  color: #fff;
}

body.dark.tk-shop-theme3 .tk-app-menu-currency label {
  color: #bdcbc4;
}

body.dark.tk-shop-theme3 .tk-app-menu-currency select {
  border-color: #40564a;
  background: #101e18;
  color: #edf3ef;
}

body.dark.cn-auth-body,
body.dark.tk-profile-mode {
  color-scheme: dark;
  --cn-navy: #e5e7eb;
  --cn-muted: #a8b3c2;
  --cn-border: #334155;
  background: #0b1220;
  color: #e5e7eb;
}

body.dark.cn-auth-body .cn-auth-panel,
body.dark.cn-auth-body .cn-auth-form-flat--shop {
  border-color: #334155;
  background: #111c2d;
}

body.dark.cn-auth-body .cn-auth-title,
body.dark.cn-auth-body .cn-label {
  color: #e5e7eb;
}

body.dark.cn-auth-body .cn-auth-lead,
body.dark.cn-auth-body .cn-auth-footer-link,
body.dark.cn-auth-body .text-slate-500 {
  color: #a8b3c2;
}

body.dark.cn-auth-body .cn-input,
body.dark.cn-auth-body .phone-input-wrapper input,
body.dark.cn-auth-body select {
  border-color: #405064;
  background: #172536;
  color: #f1f5f9;
}

body.dark.cn-auth-body .cn-input::placeholder {
  color: #a8b3c2;
}

body.dark.tk-shop-theme3.cn-auth-body .cn-auth-fullpage--shop {
  background:
    radial-gradient(ellipse at 86% 12%, rgba(180, 128, 42, .14), transparent 32%),
    linear-gradient(135deg, #0f1c17 0%, #11241d 52%, #17231d 100%);
  color: var(--ink);
}

body.dark.tk-shop-theme3.cn-auth-body .cn-auth-panel,
body.dark.tk-shop-theme3.cn-auth-body .cn-auth-form-flat--shop {
  border-color: #334d42;
  background: #152722;
}

body.dark.tk-shop-theme3.cn-auth-body .cn-auth-title,
body.dark.tk-shop-theme3.cn-auth-body .cn-label {
  color: #edf3ef;
}

body.dark.tk-shop-theme3.cn-auth-body .cn-auth-lead,
body.dark.tk-shop-theme3.cn-auth-body .cn-auth-footer-link,
body.dark.tk-shop-theme3.cn-auth-body .text-slate-500 {
  color: #bdcbc4;
}

body.dark.tk-shop-theme3.cn-auth-body .cn-input,
body.dark.tk-shop-theme3.cn-auth-body .phone-input-wrapper input,
body.dark.tk-shop-theme3.cn-auth-body select {
  border-color: #40564a;
  background: #101e18;
  color: #edf3ef;
}

body.dark.tk-shop-theme3 .th3-register-confirmation .bg-white,
body.dark.tk-shop-theme3 .th3-register-confirmation .bg-gray-50 {
  background-color: #152722 !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation .bg-green-50,
body.dark.tk-shop-theme3 .th3-register-confirmation .bg-emerald-50,
body.dark.tk-shop-theme3 .th3-register-confirmation .bg-teal-50 {
  background-color: #173126 !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation .bg-blue-50 {
  background-color: #162c43 !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation .bg-yellow-50 {
  background-color: #352d17 !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation .border-gray-200,
body.dark.tk-shop-theme3 .th3-register-confirmation .border-gray-300 {
  border-color: #40564a !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation .border-green-200,
body.dark.tk-shop-theme3 .th3-register-confirmation .border-green-300,
body.dark.tk-shop-theme3 .th3-register-confirmation .border-emerald-200,
body.dark.tk-shop-theme3 .th3-register-confirmation .border-emerald-300,
body.dark.tk-shop-theme3 .th3-register-confirmation .border-teal-200 {
  border-color: #3d7053 !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation .border-blue-200 {
  border-color: #3b638c !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation .border-yellow-200 {
  border-color: #7b6430 !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation :is(.text-gray-900, .text-gray-700, .text-gray-600) {
  color: #edf3ef !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation :is(.text-green-900, .text-green-800, .text-green-700, .text-emerald-900, .text-emerald-700, .text-teal-900, .text-teal-700) {
  color: #c8efd5 !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation :is(.text-blue-900, .text-blue-800) {
  color: #c9e5ff !important;
}

body.dark.tk-shop-theme3 .th3-register-confirmation :is(.text-yellow-700, .text-yellow-600) {
  color: #fde68a !important;
}

body.dark.tk-profile-mode .cn-profile-page,
body.dark.tk-profile-mode .cn-profile-sidebar,
body.dark.tk-profile-mode .cn-profile-card {
  border-color: #334155;
  background-color: #111c2d;
  color: #e5e7eb;
}

body.dark.tk-profile-mode .cn-profile-page h1,
body.dark.tk-profile-mode .cn-profile-page h2,
body.dark.tk-profile-mode .cn-profile-page h3,
body.dark.tk-profile-mode .cn-profile-page label {
  color: #e5e7eb;
}

body.dark.tk-profile-mode .cn-profile-page p,
body.dark.tk-profile-mode .cn-profile-page small {
  color: #a8b3c2;
}

body.dark.tk-profile-mode .bg-white,
body.dark.tk-profile-mode .bg-gray-50,
body.dark.tk-profile-mode .bg-slate-50 {
  background-color: #111c2d !important;
}

body.dark.tk-profile-mode .text-gray-900,
body.dark.tk-profile-mode .text-slate-900,
body.dark.tk-profile-mode .text-gray-800,
body.dark.tk-profile-mode .text-slate-800 {
  color: #e5e7eb !important;
}

body.dark.tk-profile-mode .text-gray-600,
body.dark.tk-profile-mode .text-slate-600,
body.dark.tk-profile-mode .text-gray-500,
body.dark.tk-profile-mode .text-slate-500 {
  color: #a8b3c2 !important;
}

.tk-shop-color-mode-toggle {
  position: fixed;
  z-index: 11000;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, .18);
  border-radius: 999px;
  background: #fff;
  color: #17212f;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .2);
  font: 600 13px/1.2 system-ui, sans-serif;
  cursor: pointer;
}

.tk-shop-color-mode-toggle:hover {
  transform: translateY(-1px);
}

body.dark .tk-shop-color-mode-toggle {
  border-color: #475569;
  background: #17212f;
  color: #f8fafc;
}

.tk-shop-color-mode-toggle:focus-visible {
  outline: 3px solid #34d399;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  body.dark[class*="tk-shop-group-"] *,
  body.dark.tk-shop-theme3 * {
    transition-duration: .01ms !important;
  }
}

body.dark.tk-shop-theme3 .tk-solutions-page {
  --th3-pack-surface: #152722;
  --th3-pack-bg: #0f1c17;
  --th3-pack-text: #edf3ef;
  --th3-pack-muted: #bdcbc4;
  --th3-pack-border: #33463c;
  --th3-pack-accent: #dcebe1;
  --th3-pack-accent-soft: #1e382d;
}

body.dark.tk-shop-theme3 .tk-solutions-heading .tk-shop-eyebrow {
  color: #a7d2b5;
}

body.dark.tk-shop-theme3 .tk-solutions-heading h1,
body.dark.tk-shop-theme3 .tk-pack-intro__title,
body.dark.tk-shop-theme3 .tk-solution-pack-card__title,
body.dark.tk-shop-theme3 .tk-solution-pack-card:hover .tk-solution-pack-card__title,
body.dark.tk-shop-theme3 .tk-solutions-empty h2,
body.dark.tk-shop-theme3 .tk-pack-product__name {
  color: var(--th3-pack-text) !important;
}

body.dark.tk-shop-theme3 .tk-solutions-heading__link,
body.dark.tk-shop-theme3 .tk-solutions-back {
  border-color: var(--th3-pack-border);
  background: var(--th3-pack-surface);
  color: var(--th3-pack-text) !important;
}

body.dark.tk-shop-theme3 .tk-solutions-heading__link:hover,
body.dark.tk-shop-theme3 .tk-solutions-back:hover {
  border-color: #668a75;
  background: #1e382d;
}

body.dark.tk-shop-theme3 .tk-solution-pack-card,
body.dark.tk-shop-theme3 .tk-solutions-empty,
body.dark.tk-shop-theme3 .tk-pack-intro,
body.dark.tk-shop-theme3 .tk-pack-product__select,
body.dark.tk-shop-theme3 .tk-pack-product__quantity {
  border-color: var(--th3-pack-border);
  background: linear-gradient(150deg, #152722, #172c23);
  color: var(--th3-pack-text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

body.dark.tk-shop-theme3 .tk-solution-pack-card:hover,
body.dark.tk-shop-theme3 .tk-solution-pack-card:focus-visible,
body.dark.tk-shop-theme3 .tk-pack-product__select:hover {
  border-color: #6b9279;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
}

body.dark.tk-shop-theme3 .tk-solution-pack-card__icon,
body.dark.tk-shop-theme3 .tk-solution-pack-card__count-icon,
body.dark.tk-shop-theme3 .tk-solutions-empty__icon,
body.dark.tk-shop-theme3 .tk-pack-product__placeholder {
  border-color: #365344;
  background: #1e382d !important;
  color: #d5eadc !important;
}

body.dark.tk-shop-theme3 .tk-solution-pack-card__discount-note,
body.dark.tk-shop-theme3 .tk-pack-discount__note {
  color: #fda4af;
}

body.dark.tk-shop-theme3 .tk-solution-pack-card__footer {
  border-color: var(--th3-pack-border);
}

body.dark.tk-shop-theme3 .tk-solution-pack-card__count,
body.dark.tk-shop-theme3 .tk-solution-pack-card__description,
body.dark.tk-shop-theme3 .tk-solutions-empty p,
body.dark.tk-shop-theme3 .tk-pack-intro__description,
body.dark.tk-shop-theme3 .tk-pack-product__old-price,
body.dark.tk-shop-theme3 .tk-pack-product__discount-note,
body.dark.tk-shop-theme3 .tk-pack-product__stock,
body.dark.tk-shop-theme3 .tk-pack-product__quantity label,
body.dark.tk-shop-theme3 .tk-pack-summary__hint {
  color: var(--th3-pack-muted) !important;
}

body.dark.tk-shop-theme3 .tk-pack-discount__value {
  border-color: #8d394c;
  background: #762b3e;
  color: #fff;
}

body.dark.tk-shop-theme3 .tk-pack-rule {
  border-color: #665637;
  background: #302918;
  color: #f2e6ca !important;
}

body.dark.tk-shop-theme3 .tk-pack-rule strong {
  color: #fff3d4;
}

body.dark.tk-shop-theme3 .tk-pack-rule a {
  color: #c7eed3 !important;
}

body.dark.tk-shop-theme3 .tk-pack-product__select:has(.pack-select-cb:checked) {
  border-color: #7ab18d;
  background: #1c382b !important;
  box-shadow: inset 0 0 0 1px #7ab18d;
}

body.dark.tk-shop-theme3 .tk-pack-product__image img,
body.dark.tk-shop-theme3 .tk-pack-product__quantity input {
  border-color: #3d5749;
  background: #101e18 !important;
  color: var(--th3-pack-text) !important;
}

body.dark.tk-shop-theme3 .tk-pack-product__price {
  color: #bce6c9 !important;
}

body.dark.tk-shop-theme3 .tk-pack-product__quantity label {
  color: var(--th3-pack-muted) !important;
}

body.dark.tk-shop-theme3 .tk-pack-rule strong {
  color: #fff3d4 !important;
}

body.dark.tk-shop-theme3 .tk-pack-rule a {
  color: #c7eed3 !important;
}

body.dark.tk-shop-theme3 .tk-pack-product__stock--empty {
  color: #fda4af !important;
}

body.dark.tk-shop-theme3 .tk-pack-product__stock--empty {
  color: #fda4af !important;
}

body.dark.tk-shop-theme3 .tk-pack-summary {
  border-color: #3b5547;
  background: rgba(17, 35, 27, .94);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .35);
}

body.dark.tk-shop-theme3 .tk-pack-summary__button,
body.dark.tk-shop-theme3 .tk-solution-pack-card__action,
body.dark.tk-shop-theme3 .tk-solutions-action {
  background: #2e674a;
  color: #fff !important;
}

body.dark.tk-shop-theme3 .tk-pack-summary__button:not(:disabled):hover,
body.dark.tk-shop-theme3 .tk-solution-pack-card:hover .tk-solution-pack-card__action,
body.dark.tk-shop-theme3 .tk-solutions-action:hover {
  background: #3d805c;
}

body.dark.tk-shop-theme3 .tk-solutions-empty--warning .tk-solutions-empty__icon {
  background: #453719;
  color: #f7d68a;
}

/* Theme 3 commerce and informational pages retain Tailwind utility classes. */
body.dark.tk-shop-theme3 .th3-text-strong,
body.dark.tk-shop-theme3 :is(
  .prod-card h4,
  .prod-btn-details,
  .cart-item h3,
  .cart-summary h3,
  .th3-order-detail-page > .flex:first-child > div > p:nth-child(2),
  .th3-order-detail-page > .flex:first-child > a,
  .th3-order-card h2,
  .th3-order-card h3,
  .th3-order-callout h3,
  .th3-order-row > div:first-child p:nth-child(2),
  .th3-order-row > div:last-child > p,
  .th3-confirmation-sheet h3,
  .th3-register-confirmation__hero h1,
  .th3-register-confirmation__card h2,
  .th3-register-confirmation__card .info-card p,
  .th3-register-confirmation__card .info-card h3,
  .th3-policy-content .tk-legal-default h2,
  .th3-policy-content .tk-legal-default h3
) {
  color: #edf3ef !important;
}

body.dark.tk-shop-theme3 :is(
  .cart-item,
  .cart-summary,
  .th3-form-panel,
  .th3-order-card,
  .th3-confirmation-sheet,
  .th3-orders-list,
  .th3-policy-document,
  .th3-register-confirmation__card
) {
  border-color: #334d42 !important;
  background: #152722 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18) !important;
}

body.dark.tk-shop-theme3 :is(
  .th3-order-detail-page > .flex:first-child,
  .th3-orders-heading,
  .th3-order-callout,
  .th3-checkout .th3-form-panel--shipping label,
  .th3-register-confirmation,
  .th3-register-confirmation__card .info-card
) {
  border-color: #334d42 !important;
  background: linear-gradient(145deg, #152722, #193126) !important;
}

body.dark.tk-shop-theme3 .th3-checkout .th3-form-panel--shipping label:has(input:checked) {
  border-color: #6b9279 !important;
  background: #1e382d !important;
}

body.dark.tk-shop-theme3 :is(
  .th3-order-page,
  .th3-order-page .text-gray-600,
  .th3-order-page .text-gray-500,
  .th3-checkout .text-gray-600,
  .th3-checkout .text-gray-500,
  .th3-policy-content,
  .th3-policy-content .tk-legal-custom,
  .th3-policy-content .tk-legal-default,
  .th3-register-confirmation__hero > p
) {
  color: #bdcbc4 !important;
}

body.dark.tk-shop-theme3 :is(
  .bg-blue-50,
  .bg-blue-100,
  .bg-indigo-100
) {
  background-color: #162d45 !important;
}

body.dark.tk-shop-theme3 :is(
  .bg-green-50,
  .bg-green-100,
  .bg-emerald-50,
  .bg-emerald-100,
  .bg-teal-50,
  .bg-teal-100
) {
  background-color: #173126 !important;
}

body.dark.tk-shop-theme3 :is(
  .bg-yellow-50,
  .bg-yellow-100,
  .bg-amber-50,
  .bg-amber-100
) {
  background-color: #352d17 !important;
}

body.dark.tk-shop-theme3 :is(
  .bg-purple-50,
  .bg-purple-100
) {
  background-color: #2b2344 !important;
}

body.dark.tk-shop-theme3 .bg-gray-300 {
  background-color: #40564a !important;
}

body.dark.tk-shop-theme3 :is(
  .bg-red-100,
  .bg-orange-100
) {
  background-color: #442329 !important;
}

body.dark.tk-shop-theme3 :is(
  .border-blue-100,
  .border-blue-200,
  .border-indigo-100
) {
  border-color: #3b638c !important;
}

body.dark.tk-shop-theme3 :is(
  .border-green-100,
  .border-green-200,
  .border-green-300,
  .border-emerald-200,
  .border-emerald-300,
  .border-teal-200
) {
  border-color: #3d7053 !important;
}

body.dark.tk-shop-theme3 :is(
  .border-yellow-200,
  .border-amber-200
) {
  border-color: #7b6430 !important;
}

body.dark.tk-shop-theme3 :is(
  .border-purple-100,
  .border-purple-200,
  .border-purple-600
) {
  border-color: #66528e !important;
}

body.dark.tk-shop-theme3 :is(
  .text-blue-900,
  .text-blue-800,
  .text-blue-700,
  .text-blue-600
) {
  color: #c9e5ff !important;
}

body.dark.tk-shop-theme3 :is(
  .text-green-900,
  .text-green-800,
  .text-green-700,
  .text-green-600,
  .text-emerald-900,
  .text-emerald-700,
  .text-emerald-600,
  .text-teal-900,
  .text-teal-700,
  .text-teal-600
) {
  color: #c8efd5 !important;
}

body.dark.tk-shop-theme3 :is(
  .text-yellow-700,
  .text-yellow-600,
  .text-yellow-800,
  .text-amber-700
) {
  color: #fde68a !important;
}

body.dark.tk-shop-theme3 :is(
  .text-red-800,
  .text-red-500,
  .text-orange-800,
  .text-orange-600
) {
  color: #fecaca !important;
}

body.dark.tk-shop-theme3 :is(
  .text-purple-800,
  .text-purple-700,
  .text-purple-600,
  .text-indigo-800
) {
  color: #dbcaff !important;
}

body.dark.tk-shop-theme3 .th3-confirmation-actions a:nth-child(2) {
  border-color: #668a75 !important;
  background: #152722 !important;
  color: #edf3ef !important;
}

body.dark.tk-forum-body.tk-shop-theme3 {
  --forest: #edf3ef;
  --sage: #9bc9aa;
  --sage-light: #1e382d;
  --bg: #0f1c17;
  --bg-panel: #152722;
  --gold: #e2bd76;
  --ink: #edf3ef;
  --ink-soft: #bdcbc4;
  --line: #334d42;
  background: var(--bg);
  color: var(--ink);
}


/* ==========================================================================
   TEKANAYO UNIVERSAL DARK MODE (ADMIN, PORTAL, VENDEURS, CAISSE, LIVREURS)
   ========================================================================== */

:root.dark, body.dark {
  color-scheme: dark;
  --bg: #0b1220;
  --bg-elev: #131d2e;
  --sidebar: #091122;
  --sidebar-hover: #16243d;
  --text: #f1f5f9;
  --text-soft: #94a3b8;
  --card: #131d2e;
  --border: #223249;
  --accent: #10b981;
  --accent-2: #34d399;
  --ink: #f1f5f9;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --surface: #131d2e;
  --app-bg: #0b1220;
  --app-outline: rgba(148, 163, 184, 0.18);
  --app-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

/* --- Boutons de bascule clair/sombre universels --- */
.tk-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-elev, #ffffff);
  border: 1px solid var(--border, #dfe5f2);
  color: var(--text, #1f2937);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.tk-theme-toggle:hover {
  transform: translateY(-1px);
  border-color: #6366f1;
}
body.dark .tk-theme-toggle {
  background: #1a2638 !important;
  border-color: #2d4059 !important;
  color: #f8fafc !important;
}
body.dark .tk-theme-toggle i {
  color: #f59e0b !important;
}

/* --- 1. PLATEFORME ADMIN (Tableau de bord, Trafic, Produits, Commandes, etc.) --- */
body.dark.tk-admin-body,
body.dark .main-content {
  background-color: #0b1220 !important;
  color: #f1f5f9 !important;
}

body.dark .admin-topbar {
  background: #111c2e !important;
  border-bottom: 1px solid #223249 !important;
  color: #f8fafc !important;
}

body.dark .admin-title,
body.dark .main-content h1,
body.dark .main-content h2,
body.dark .main-content h3,
body.dark .main-content h4 {
  color: #f8fafc !important;
}

body.dark .soft-text,
body.dark .text-gray-500,
body.dark .text-slate-500,
body.dark .text-gray-600,
body.dark .text-slate-600 {
  color: #94a3b8 !important;
}

body.dark .text-gray-700,
body.dark .text-slate-700,
body.dark .text-gray-800,
body.dark .text-slate-800,
body.dark .text-gray-900,
body.dark .text-slate-900 {
  color: #e2e8f0 !important;
}

/* Sidebar en mode sombre */
body.dark .sidebar.tk-admin-sidebar,
body.dark .sidebar.theme1-sidebar {
  background: linear-gradient(180deg, #091122 0%, #060b17 100%) !important;
  border-right: 1px solid #19273c !important;
}
body.dark .sidebar nav a:hover {
  background: #16243d !important;
}
body.dark .sidebar nav a.bg-purple-600 {
  background: #1e293b !important;
  color: #60a5fa !important;
  border: 1px solid #3b82f6 !important;
}

/* Cartes, surfaces et conteneurs */
body.dark .card-surface,
body.dark .main-content .bg-white,
body.dark .main-content .bg-slate-50,
body.dark .main-content .bg-gray-50 {
  background-color: #131d2e !important;
  border-color: #223249 !important;
  color: #f1f5f9 !important;
}

body.dark .search-shell {
  background: #172437 !important;
  border-color: #2d4059 !important;
  color: #f8fafc !important;
}
body.dark .search-shell input {
  color: #f8fafc !important;
}
body.dark .search-shell input::placeholder {
  color: #64748b !important;
}

body.dark .currency-select,
body.dark .toggle-btn {
  background: #172437 !important;
  border-color: #2d4059 !important;
  color: #f8fafc !important;
}
body.dark .currency-select select {
  color: #f8fafc !important;
  background: #172437 !important;
}
body.dark .currency-select select option {
  background: #131d2e !important;
  color: #f8fafc !important;
}

/* Menus déroulants et popovers admin */
body.dark .menu-panel,
body.dark .tk-menu-popover,
body.dark .tk-popover-panel {
  background: #131d2e !important;
  border-color: #223249 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5) !important;
  color: #f1f5f9 !important;
}
body.dark .menu-panel a,
body.dark .tk-menu-popover a {
  color: #cbd5e1 !important;
}
body.dark .menu-panel a:hover,
body.dark .tk-menu-popover a:hover {
  background: #1c2b42 !important;
  color: #ffffff !important;
}

/* Tables admin (Produits, Commandes, Clients, Vendeurs) */
body.dark table {
  border-color: #223249 !important;
}
body.dark thead,
body.dark thead tr,
body.dark th {
  background-color: #172437 !important;
  color: #cbd5e1 !important;
  border-color: #223249 !important;
}
body.dark tbody tr {
  background-color: #131d2e !important;
  border-color: #223249 !important;
}
body.dark tbody tr:hover {
  background-color: #1a283e !important;
}
body.dark td {
  color: #e2e8f0 !important;
  border-color: #223249 !important;
}

/* Badges & Pills */
body.dark .role-pill {
  background: #1a273e !important;
  border-color: #2f4568 !important;
  color: #93c5fd !important;
}
body.dark span.bg-gray-100,
body.dark span.bg-slate-100 {
  background: #1e293b !important;
  color: #cbd5e1 !important;
}
body.dark span.bg-emerald-50,
body.dark span.bg-green-100,
body.dark span.bg-emerald-100 {
  background: #064e3b !important;
  color: #6ee7b7 !important;
}
body.dark span.bg-red-50,
body.dark span.bg-red-100 {
  background: #7f1d1d !important;
  color: #fca5a5 !important;
}
body.dark span.bg-amber-50,
body.dark span.bg-yellow-100,
body.dark span.bg-amber-100 {
  background: #78350f !important;
  color: #fcd34d !important;
}
body.dark span.bg-blue-50,
body.dark span.bg-blue-100 {
  background: #1e3a8a !important;
  color: #93c5fd !important;
}
body.dark span.bg-purple-50,
body.dark span.bg-purple-100 {
  background: #581c87 !important;
  color: #d8b4fe !important;
}

/* Formulaires et champs de saisie */
body.dark input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body.dark select,
body.dark textarea {
  background-color: #172437 !important;
  border-color: #2d4059 !important;
  color: #f8fafc !important;
}
body.dark input:focus,
body.dark select:focus,
body.dark textarea:focus {
  border-color: #3b82f6 !important;
  outline: none !important;
}

/* KPI Widgets */
body.dark .sd-kpi {
  background: #131d2e !important;
  border: 1px solid #223249 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
body.dark .sd-kpi-value {
  color: #f8fafc !important;
}
body.dark .sd-kpi-label {
  color: #94a3b8 !important;
}
body.dark .sd-kpi-hint {
  color: #64748b !important;
}

/* Section Héro Dashboard & Admin */
body.dark .sd-hero--admin {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4) !important;
}
body.dark .sd-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4) !important;
}
body.dark .sd-hero-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}
body.dark .sd-hero-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}
body.dark .sd-hero-btn--solid {
  background: #ffffff !important;
  color: #0b1220 !important;
}

/* Page Trafic Hetzner spécifique */
body.dark .traffic-stat-box,
body.dark article.sd-kpi {
  background: #131d2e !important;
  border-color: #223249 !important;
}
body.dark div[class*="border"][class*="rounded"] {
  border-color: #223249 !important;
}

/* --- 2. PORTAIL PLATFORME (Page d'accueil, À propos, Boutique, etc.) --- */
body.dark.tk-body {
  background: #0b1220 !important;
  color: #f1f5f9 !important;
}
body.dark .tk-nav-fixed {
  background: rgba(11, 18, 32, 0.94) !important;
  border-bottom: 1px solid #1e293b !important;
}
body.dark .tk-nav-fixed .tk-nav-link {
  color: #cbd5e1 !important;
}
body.dark .tk-nav-fixed .tk-nav-link:hover {
  color: #34d399 !important;
}
body.dark .app-bottom-nav {
  background: rgba(15, 23, 42, 0.94) !important;
  border-color: #1e293b !important;
}
body.dark .app-bottom-item {
  color: #94a3b8 !important;
}
body.dark .app-bottom-item.active,
body.dark .app-bottom-item:hover {
  background: #1e293b !important;
  color: #34d399 !important;
}

body.dark section.bg-white,
body.dark section.bg-gray-50,
body.dark div.bg-white,
body.dark div.bg-gray-50,
body.dark div.bg-emerald-50 {
  background-color: #131d2e !important;
  color: #f1f5f9 !important;
  border-color: #223249 !important;
}

body.dark .tk-site-footer,
body.dark footer {
  background: #070d18 !important;
  border-top: 1px solid #1e293b !important;
  color: #94a3b8 !important;
}

/* --- 3. ESPACE CAISSIER --- */
body.dark.cashier-workspace {
  background: #0b1220 !important;
  color: #f8fafc !important;
}
body.dark .cashier-topbar {
  background: #111c2e !important;
  border-bottom: 1px solid #223249 !important;
}
body.dark .cashier-brand__logo {
  background: #1e293b !important;
  color: #34d399 !important;
}
body.dark .cashier-panel,
body.dark .cashier-cart-box,
body.dark .cashier-product-card {
  background: #131d2e !important;
  border-color: #223249 !important;
  color: #f8fafc !important;
}
body.dark .cashier-product-card:hover {
  border-color: #34d399 !important;
  background: #162438 !important;
}
body.dark .cashier-summary,
body.dark .cashier-numpad button {
  background: #172437 !important;
  border-color: #2d4059 !important;
  color: #f8fafc !important;
}

/* --- 4. ESPACE LIVREUR --- */
body.dark.dl-page {
  background: #0b1220 !important;
  color: #f8fafc !important;
}
body.dark .dl-sidebar {
  background: #091122 !important;
  border-right: 1px solid #1e293b !important;
}
body.dark .dl-topbar {
  background: #111c2e !important;
  border-bottom: 1px solid #223249 !important;
  color: #f8fafc !important;
}
body.dark .dl-card,
body.dark .dl-order-card,
body.dark .dl-panel {
  background: #131d2e !important;
  border-color: #223249 !important;
  color: #f8fafc !important;
}

/* --- 5. MODALES ET DIALOGUES UNIVERSELS --- */
body.dark .modal-content,
body.dark .dialog-content,
body.dark div[role="dialog"] {
  background-color: #131d2e !important;
  border-color: #223249 !important;
  color: #f1f5f9 !important;
}


/* ==========================================================================
   ADAPTATION COMPLÈTE DU PORTAIL & DES CARTES (MODE SOMBRE & MODE CLAIR)
   ========================================================================== */

/* --- MODE SOMBRE : PORTAIL & CARTES --- */
body.dark {
  --tk-surface: #131d2e !important;
  --tk-surface-alt: #1a2638 !important;
  --tk-border: #223249 !important;
  --tk-navy: #f8fafc !important;
  --tk-navy-soft: #cbd5e1 !important;
  --tk-muted: #94a3b8 !important;
  --tk-orange-soft: #232018 !important;
  --cn-navy: #f8fafc !important;
  --cn-border: #223249 !important;
}

body.dark .tk-section {
  background-color: #0b1220 !important;
  color: #f1f5f9 !important;
}

body.dark .tk-section-alt {
  background-color: #0f172a !important;
  border-color: #1e293b !important;
  color: #f1f5f9 !important;
}

/* Cartes fonctionnalités et conteneurs portail en mode sombre */
body.dark .tk-card,
body.dark article.tk-card,
body.dark div.tk-card {
  background-color: #131d2e !important;
  border: 1px solid #223249 !important;
  color: #f1f5f9 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45) !important;
}

body.dark .tk-card:hover {
  border-color: #3b82f6 !important;
  background-color: #162438 !important;
}

/* Textes et titres dans les cartes */
body.dark .tk-card h1,
body.dark .tk-card h2,
body.dark .tk-card h3,
body.dark .tk-card h4,
body.dark .tk-card .font-bold,
body.dark .tk-card .font-semibold {
  color: #f8fafc !important;
}

body.dark .tk-card p,
body.dark .tk-card .text-slate-500,
body.dark .tk-card .text-slate-400,
body.dark .tk-card .text-slate-600,
body.dark .tk-card .text-xs {
  color: #94a3b8 !important;
}

/* Icônes dans les cartes fonctionnalités */
body.dark .tk-feature-icon {
  background-color: #232018 !important;
  color: #fb923c !important;
  border: 1px solid rgba(251, 146, 60, 0.25) !important;
}

/* 4 Étapes */
body.dark .tk-step-num {
  background: #1e293b !important;
  color: #60a5fa !important;
  border: 1px solid #334155 !important;
}

/* Boutons contours (ex: Voir toutes les fonctionnalités) */
body.dark .cn-btn-outline {
  background-color: #172437 !important;
  border: 2px solid #2d4059 !important;
  color: #f8fafc !important;
}

body.dark .cn-btn-outline:hover {
  background-color: #1e2f47 !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}

/* Navbar fixe en mode sombre */
body.dark .tk-nav-fixed {
  background: rgba(11, 18, 32, 0.96) !important;
  border-bottom: 1px solid #223249 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

body.dark .tk-nav-fixed .tk-brand-name {
  color: #f8fafc !important;
}

body.dark .tk-nav-fixed .tk-nav-link {
  color: #cbd5e1 !important;
}

body.dark .tk-nav-fixed .tk-nav-link:hover {
  color: #34d399 !important;
}

body.dark .tk-nav-fixed form {
  background-color: #172437 !important;
  border-color: #2d4059 !important;
  color: #f8fafc !important;
}

body.dark .tk-nav-fixed form select {
  color: #f8fafc !important;
  background: transparent !important;
}

/* Titres globaux portail */
body.dark .tk-display,
body.dark h1.tk-display,
body.dark h2.tk-display,
body.dark h3.tk-display {
  color: #f8fafc !important;
}

body.dark .text-slate-500,
body.dark .text-slate-600,
body.dark .text-slate-400 {
  color: #94a3b8 !important;
}

body.dark .text-blue-600,
body.dark .text-blue-700 {
  color: #60a5fa !important;
}

/* Cartes de prix et témoignages */
body.dark .tk-price-card {
  background-color: #131d2e !important;
  border-color: #223249 !important;
  color: #f8fafc !important;
}

body.dark .tk-testimonial {
  background: linear-gradient(135deg, #131d2e, #172437) !important;
  border-color: #223249 !important;
  color: #f8fafc !important;
}
body.dark .tk-testimonial-section-title {
  color: #f8fafc !important;
}

/* Cartes de promos */
body.dark .tk-promo-card {
  background-color: #131d2e !important;
  border-color: #223249 !important;
  color: #f8fafc !important;
}
body.dark .tk-promo-card .bg-slate-100 {
  background-color: #1a2638 !important;
}

/* Cartes produits boutique */
body.dark .tk-product-card {
  background-color: #131d2e !important;
  border-color: #223249 !important;
  color: #f8fafc !important;
}
body.dark .tk-product-card a.text-slate-900 {
  color: #f8fafc !important;
}
body.dark .tk-product-card .border-slate-200 {
  border-color: #334155 !important;
  color: #f8fafc !important;
  background-color: #172437 !important;
}

/* Barre de recherche massive */
body.dark .tk-massive-search .tk-product-search__form {
  background-color: #131d2e !important;
  border-color: #223249 !important;
}
body.dark .tk-massive-search .tk-product-search__input {
  color: #f8fafc !important;
}


/* --- MODE CLAIR GARANTI : RESTAURATION NETTE DES COULEURS CLAIRES --- */
body:not(.dark) {
  --tk-surface: #ffffff !important;
  --tk-surface-alt: #f8fafc !important;
  --tk-border: #e2e8f0 !important;
  --tk-navy: #0a1628 !important;
  --tk-navy-soft: #132238 !important;
  --tk-muted: #64748b !important;
  --tk-orange-soft: #ffedd5 !important;
  --cn-navy: #0a1628 !important;
  --cn-border: #e2e8f0 !important;
}

body:not(.dark) .tk-section {
  background-color: #f8fafc !important;
  color: #0a1628 !important;
}

body:not(.dark) .tk-section-alt {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0a1628 !important;
}

body:not(.dark) .tk-card,
body:not(.dark) article.tk-card,
body:not(.dark) div.tk-card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0a1628 !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06) !important;
}

body:not(.dark) .tk-card h1,
body:not(.dark) .tk-card h2,
body:not(.dark) .tk-card h3,
body:not(.dark) .tk-card h4,
body:not(.dark) .tk-card .font-bold,
body:not(.dark) .tk-card .font-semibold {
  color: #0a1628 !important;
}

body:not(.dark) .tk-card p,
body:not(.dark) .tk-card .text-slate-500,
body:not(.dark) .tk-card .text-slate-600 {
  color: #64748b !important;
}

body:not(.dark) .tk-feature-icon {
  background-color: #ffedd5 !important;
  color: #ea580c !important;
}

body:not(.dark) .cn-btn-outline {
  background-color: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  color: #0a1628 !important;
}

body:not(.dark) .tk-nav-fixed {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.06) !important;
}

body:not(.dark) .tk-nav-fixed .tk-brand-name {
  color: #0a1628 !important;
}

body:not(.dark) .tk-nav-fixed .tk-nav-link {
  color: #475569 !important;
}

body:not(.dark) .tk-nav-fixed form {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

body:not(.dark) .tk-display,
body:not(.dark) h1.tk-display,
body:not(.dark) h2.tk-display,
body:not(.dark) h3.tk-display {
  color: #0a1628 !important;
}


/* ==========================================================================
   HARMONISATION UNIVERSELLE : TOUS LES THÈMES ET TOUTES LES BOUTIQUES
   (GROUPES A, B, C, D, E, F - THÈMES 1, 2, 3 - CAISSE - LIVREUR - VENDEUR)
   ========================================================================== */

/* --- 1. MODE SOMBRE POUR TOUS LES THÈMES BOUTIQUES CLIENTS --- */
body.dark[class*="tk-shop-group-"],
body.dark.tk-shop-theme3,
body.dark.tk-shop-theme-bloom,
body.dark.theme-classic {
  --surface: #131d2e !important;
  --app-bg: #0b1220 !important;
  --ink: #f1f5f9 !important;
  --ink-soft: #cbd5e1 !important;
  --muted: #94a3b8 !important;
  --line: #223249 !important;
  --app-outline: rgba(148, 163, 184, 0.16) !important;
  background-color: #0b1220 !important;
  color: #f1f5f9 !important;
}

/* En-têtes et barres de navigation de tous les thèmes en mode sombre */
body.dark[class*="tk-shop-group-"] header,
body.dark[class*="tk-shop-group-"] .tk-shop-header,
body.dark[class*="tk-shop-group-"] .tk-org-header,
body.dark[class*="tk-shop-group-"] .header_section,
body.dark[class*="tk-shop-group-"] .tk-hvac-header,
body.dark[class*="tk-shop-group-"] .tk-cosm-header,
body.dark[class*="tk-shop-group-"] .tk-furn-header,
body.dark[class*="tk-shop-group-"] .tk-bloom-header,
body.dark[class*="tk-shop-group-"] .th3-header {
  background-color: #111c2e !important;
  border-bottom: 1px solid #223249 !important;
  color: #f8fafc !important;
}

/* Titres de marques de tous les thèmes */
body.dark[class*="tk-shop-group-"] .tk-brand-name,
body.dark[class*="tk-shop-group-"] .tk-org-brand-name,
body.dark[class*="tk-shop-group-"] .navbar-brand,
body.dark[class*="tk-shop-group-"] .tk-hvac-brand-name,
body.dark[class*="tk-shop-group-"] .tk-cosm-brand,
body.dark[class*="tk-shop-group-"] .tk-furn-brand,
body.dark[class*="tk-shop-group-"] .tk-bloom-brand,
body.dark[class*="tk-shop-group-"] .th3-brand {
  color: #f8fafc !important;
}

/* Liens de navigation de tous les thèmes */
body.dark[class*="tk-shop-group-"] .tk-nav-link,
body.dark[class*="tk-shop-group-"] .tk-org-nav-link,
body.dark[class*="tk-shop-group-"] .nav-link,
body.dark[class*="tk-shop-group-"] .tk-hvac-nav-link,
body.dark[class*="tk-shop-group-"] .tk-cosm-nav-link,
body.dark[class*="tk-shop-group-"] .tk-furn-nav-link,
body.dark[class*="tk-shop-group-"] .tk-bloom-nav-link,
body.dark[class*="tk-shop-group-"] .th3-nav-link {
  color: #cbd5e1 !important;
}
body.dark[class*="tk-shop-group-"] .tk-nav-link:hover,
body.dark[class*="tk-shop-group-"] .tk-org-nav-link:hover,
body.dark[class*="tk-shop-group-"] .nav-link:hover,
body.dark[class*="tk-shop-group-"] .tk-bloom-nav-link:hover,
body.dark[class*="tk-shop-group-"] .th3-nav-link:hover {
  color: #34d399 !important;
}

/* Toutes les cartes produits de tous les thèmes */
body.dark[class*="tk-shop-group-"] .tk-product-card,
body.dark[class*="tk-shop-group-"] .tk-shop-product-card,
body.dark[class*="tk-shop-group-"] .tk-org-product-card,
body.dark[class*="tk-shop-group-"] .filters-content .box,
body.dark[class*="tk-shop-group-"] .tk-hvac-product-card,
body.dark[class*="tk-shop-group-"] .tk-cosm-product-card,
body.dark[class*="tk-shop-group-"] .tk-furn-product-card,
body.dark[class*="tk-shop-group-"] .tk-bloom-product-card,
body.dark[class*="tk-shop-group-"] .th3-product-card,
body.dark[class*="tk-shop-group-"] .product-card,
body.dark[class*="tk-shop-group-"] .product-item {
  background-color: #131d2e !important;
  border: 1px solid #223249 !important;
  color: #f1f5f9 !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4) !important;
}

body.dark[class*="tk-shop-group-"] .tk-product-card:hover,
body.dark[class*="tk-shop-group-"] .tk-bloom-product-card:hover,
body.dark[class*="tk-shop-group-"] .th3-product-card:hover {
  border-color: #3b82f6 !important;
  background-color: #162438 !important;
}

/* Titres de produits dans tous les thèmes */
body.dark[class*="tk-shop-group-"] .product-title,
body.dark[class*="tk-shop-group-"] .product-name,
body.dark[class*="tk-shop-group-"] .tk-product-name,
body.dark[class*="tk-shop-group-"] .tk-bloom-product-card__title,
body.dark[class*="tk-shop-group-"] .th3-product-card__title,
body.dark[class*="tk-shop-group-"] .filters-content .box h5,
body.dark[class*="tk-shop-group-"] .product-item h3 {
  color: #f8fafc !important;
}

/* Conteneurs images produits */
body.dark[class*="tk-shop-group-"] .product-img-wrap,
body.dark[class*="tk-shop-group-"] .img-box,
body.dark[class*="tk-shop-group-"] [data-tk-product-media],
body.dark[class*="tk-shop-group-"] .tk-product-card .bg-slate-50,
body.dark[class*="tk-shop-group-"] .tk-product-card img.bg-white {
  background-color: #1a2638 !important;
  border-color: #223249 !important;
}

/* Tiroir panier (Cart Drawer) dans tous les thèmes */
body.dark .tk-cart-drawer,
body.dark .tk-cart-sidebar,
body.dark .cart-drawer,
body.dark #tkCartDrawer {
  background-color: #131d2e !important;
  border-left: 1px solid #223249 !important;
  color: #f8fafc !important;
}

body.dark .tk-cart-drawer h2,
body.dark .tk-cart-drawer h3,
body.dark .tk-cart-drawer p {
  color: #f8fafc !important;
}

body.dark .tk-cart-item {
  background-color: #172437 !important;
  border-color: #223249 !important;
  color: #f8fafc !important;
}

/* Détail produit de tous les thèmes */
body.dark[class*="tk-shop-group-"] .product-detail-container,
body.dark[class*="tk-shop-group-"] .tk-product-detail,
body.dark[class*="tk-shop-group-"] .th3-product-detail,
body.dark[class*="tk-shop-group-"] .tk-bloom-product-detail {
  background-color: #131d2e !important;
  border-color: #223249 !important;
  color: #f8fafc !important;
}

body.dark[class*="tk-shop-group-"] .product-detail-container h1,
body.dark[class*="tk-shop-group-"] .tk-product-detail h1 {
  color: #f8fafc !important;
}

body.dark[class*="tk-shop-group-"] .product-description,
body.dark[class*="tk-shop-group-"] .tk-product-detail-desc {
  color: #cbd5e1 !important;
}

/* Sélecteur de quantité & options de variantes */
body.dark[class*="tk-shop-group-"] .quantity-selector,
body.dark[class*="tk-shop-group-"] .quantity-btn,
body.dark[class*="tk-shop-group-"] .variant-option {
  background-color: #172437 !important;
  border-color: #2d4059 !important;
  color: #f8fafc !important;
}

/* Pieds de page de tous les thèmes */
body.dark[class*="tk-shop-group-"] footer,
body.dark[class*="tk-shop-group-"] .tk-shop-footer,
body.dark[class*="tk-shop-group-"] .footer_section,
body.dark[class*="tk-shop-group-"] .tk-site-footer {
  background: #070d18 !important;
  border-top: 1px solid #1e293b !important;
  color: #94a3b8 !important;
}

body.dark[class*="tk-shop-group-"] footer h4,
body.dark[class*="tk-shop-group-"] footer h5,
body.dark[class*="tk-shop-group-"] footer .footer-title {
  color: #f8fafc !important;
}

body.dark[class*="tk-shop-group-"] footer a {
  color: #cbd5e1 !important;
}

body.dark[class*="tk-shop-group-"] footer a:hover {
  color: #34d399 !important;
}

/* Modales d'authentification et profils */
body.dark.cn-auth-body,
body.dark .cn-auth-card,
body.dark .cn-profile-card,
body.dark .profile-shell {
  background-color: #131d2e !important;
  border-color: #223249 !important;
  color: #f8fafc !important;
}

body.dark .cn-auth-card h1,
body.dark .cn-auth-card h2,
body.dark .cn-auth-card p {
  color: #f8fafc !important;
}


/* --- 2. RESTAURATION NETTE DU MODE CLAIR POUR TOUS LES THÈMES --- */
body:not(.dark)[class*="tk-shop-group-"] {
  --surface: #ffffff !important;
  --app-bg: #ffffff !important;
  --ink: #1f2937 !important;
  --ink-soft: #4b5563 !important;
  --muted: #6b7280 !important;
  --line: #e5e7eb !important;
  background-color: #ffffff !important;
  color: #1f2937 !important;
}

body:not(.dark)[class*="tk-shop-group-"] header,
body:not(.dark)[class*="tk-shop-group-"] .tk-shop-header,
body:not(.dark)[class*="tk-shop-group-"] .tk-org-header,
body:not(.dark)[class*="tk-shop-group-"] .tk-hvac-header,
body:not(.dark)[class*="tk-shop-group-"] .tk-cosm-header,
body:not(.dark)[class*="tk-shop-group-"] .tk-furn-header,
body:not(.dark)[class*="tk-shop-group-"] .tk-bloom-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
  color: #1f2937 !important;
}

body:not(.dark)[class*="tk-shop-group-"] .tk-brand-name,
body:not(.dark)[class*="tk-shop-group-"] .tk-org-brand-name,
body:not(.dark)[class*="tk-shop-group-"] .navbar-brand {
  color: #1f2937 !important;
}

body:not(.dark)[class*="tk-shop-group-"] .tk-nav-link,
body:not(.dark)[class*="tk-shop-group-"] .nav-link {
  color: #4b5563 !important;
}

body:not(.dark)[class*="tk-shop-group-"] .tk-product-card,
body:not(.dark)[class*="tk-shop-group-"] .tk-org-product-card,
body:not(.dark)[class*="tk-shop-group-"] .tk-bloom-product-card,
body:not(.dark)[class*="tk-shop-group-"] .th3-product-card {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #1f2937 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

body:not(.dark)[class*="tk-shop-group-"] .product-title,
body:not(.dark)[class*="tk-shop-group-"] .product-name {
  color: #1f2937 !important;
}

body:not(.dark)[class*="tk-shop-group-"] footer {
  background: #f8fafc !important;
  border-top: 1px solid #e5e7eb !important;
  color: #6b7280 !important;
}
