/* ===== FONTS & BASE STYLES ===== */
:root {
  --hover-green: rgba(122, 243, 9, 0.88) ;
  --hover-red: rgb(243, 67, 67);
  --hover-yallow:rgb(236, 192, 18);
  --hover-orange: #ffa500;
  --jm-color-orange:#ffa500;
  --jm-color-white:white;
   --jm-color-red:red;
   --jm-color-green:#08f30b;
}
@font-face {
  font-family: 'Romanovsky';
  src: url('../fonts/romanovsky.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Romanovsky', sans-serif !important;
}
@font-face {
  font-family: 'Montserrat-ThinItalic';
  src: url('../fonts/Montserrat-ExtraLightItalic.ttf') format('opentype');
  font-weight: normal;
  font-style: italic;
}
.font-Montserrat-ThinItalic {
   font-family: 'Montserrat-ExtraLightItalic', sans-serif !important;
}
/*===== disponibilité product and add to cart */
.action-btn {
    width: 100% !important;
    background-color: var(--web-primary);
    border: none;
    border-radius: 0 !important;
    color: var(--jm-color-white);
}

.hover-up {
    transition: all 0.25s cubic-bezier(.02,.01,.47,1);
}
.hover-up:hover {
    transform: translateY(-5px);
    
}
.btn-soft-danger:hover {
    background-color: var(--hover-red)  !important;
    color: var(--jm-color-white)  !important;
}

a:hover {
    color: var(--hover-yallow) ;
}
button:hover {
    color: var(--jm-color-white);
    background-color:var(--hover-green) !important;
}
.btn--primary:hover {
    color:var(--jm-color-white);
    background-color: var(--hover-green)  !important;
    border-color: var(--hover-green)  !important;
}
.instock:hover {
    color: var(--jm-color-white);
    background-color: var(--hover-green)  !important;
}
.outstock:hover {
    color: var(--jm-color-white);
    background-color:var(--hover-red)  !important;
}
/* common */

.ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
}
.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #2980b9;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 15px 0;
  background-color: #3498db;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  /*font: 700 18px/1 'Lato', sans-serif;*/
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  /* text-transform: uppercase; */
  text-align: center;
  z-index: 20;
}

/* top left*/
.ribbon-top-left {
  top: -10px;
  left: -10px;
}
.ribbon-top-left::before,
.ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}
.ribbon-top-left::before {
  top: 0;
  right: 0;
}
.ribbon-top-left::after {
  bottom: 0;
  left: 0;
}
.ribbon-top-left span {
  right: -25px;
  top: 30px;
  transform: rotate(-45deg);
}



.in_stock, .out_stock {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    font-weight: 100;
}

.tooltip-btn {
    position: relative;
}
.tooltip-btn .tooltip-text {
    visibility: hidden;
    background-color: var(--jm-color-green);
    color: var(--jm-color-white);
    text-align: center;
    border-radius: 4px;
    padding: 4px 8px;
    position: absolute !important;
    z-index: 9999;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}
.tooltip-btn:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.out-of-stock-btn {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

/* Blinking circle indicator */
.stock-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
    animation: blink 1s infinite;
}
.stock-indicator.available {
    background-color: green;
}
.stock-indicator.unavailable {
    background-color: var(--jm-color-red);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

li a:hover {
  color: rgb(5, 243, 5) !important;
}
/* ===== GLOBAL COMPONENTS ===== */
.jmbgcolor_blue {
  background-color: var(--web-primary);
  height: 40px;
  color: white !important;
}

.social-btn svg, 
.social-btn i {
  color: white !important;
  fill: white !important;
}

.uppercase-text {
  text-transform: uppercase !important;
font-size: small;
  
}
.lowercase-text {
  text-transform: lowercase !important;

  
}

.jm-border-2 {
  border: 2px double #120e01 !important;
}
.___mega-nav {
    width: auto !important;
}
.jm-home-icone{
  background-color: #ffa500;
 
  color: white;

}
/* ===== HEADER SECTION ===== */
.bg-header-menu {
  background-color: var(--web-primary);
}

._jm-logo {
  height: 90px !important;
  width: auto;
 /* padding-left: 90px !important;*/
}

.navbar-stuck-menu {
  background-color: var(--white) !important;
}



.mega-nav {
  background-color: var(--web-primary) !important;
}

.mega-nav .nav-item .nav-link {
  color: white ;
  background-color: white ;
}
.topbar .topbar-text > i, .topbar .topbar-link > i {
    margin-right: 0.375rem;
    font-size: 1.85em !important;
    vertical-align: middle;
}

/* ===== BUTTONS & LINKS ===== */
.reseller-button {
  color: white !important;
  padding: 8px 15px;
  text-transform: lowercase;
  position: relative;
  text-decoration: none;
  border: none;
}

.reseller-button::before,
.reseller-button::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 100%;
  position: absolute;
  top: 0;
  color: white !important;
}

.reseller-button::before { left: -20px; }
.reseller-button::after { right: -20px; }

.quote-button {
  color: white !important;
  padding: 8px 15px;
  text-transform: lowercase;
}

.discount-button {
  color: white !important;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.discount-button:hover {
  background-color: #ffa500;
  color: #fff;
}
/* .in_stock {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100% !important;
    padding: 10px 5px;
    background-color: rgba(5, 189, 26, 0.7);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    text-transform: capitalize;
    line-height: 1;
} */
 .page-footer{background-color: var(--web-footer-color) !important;}
   .page-footer .form-control {
  
    height: unset !important;
}    
 
/* ===== SPECIAL COMPONENTS ===== */
.category-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 5px 0;

}

.category-separator::before,
.category-separator::after {
  content: "";
  flex: 1;
  border-bottom: 9px double #ffa500;
  margin: 0 5px;
}

.category-separator span {
  background-color: #ffa500;
  color: var(--jm-color-white);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: bold;
  white-space: nowrap;
  min-width: 30%;
}

.__img {
 
  
  box-shadow: 0 0 4px #027afd !important;
 /* background: white !important;*/
}
.scroll-200 {
  max-height: 200px;
  overflow-y: auto;
}

.discount-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.tiktok-svg {
  border-radius: 50%;
  height: 2rem;
  width: 2rem;
  fill: #ffffff;
  display: block;
  margin: auto;
}
.font-footer-jm{
 font-family:'Romanovsky' !important;
 color: #fff !important;
text-transform: uppercase;
}
.font-footer-jm:hover{
   color: rgb(5, 243, 5) !important;
}
.topbar-link:hover{
  color: var(--hover-green) !important;

}
.input-group-overlay {
  position: relative;
}

.phone-number {
  color: white;
  display: flex;
  align-items: center;
}

.phone-number span {
  letter-spacing: 2px;
}
.__brand-item {
   
    border-radius: unset !important;
    border:unset !important;
  
}
.__pt-5 {
    padding-top: 5px;
}

.__m-5-r {
    margin: 5px 5px -5px 5px;
}
.clignotant {
  font-size: smaller;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
/* ===== LAYOUT UTILITIES ===== */
.jm-padding {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.topbar {
  color: white !important;
  background-color: var(--web-primary);
}

.topbar a {
  color: white !important;
}
 
 .svg-size {
  width: 21px;
  height: 21px;
}
#mainBannerCarousel {
    width: 100%;
    height: 100%; /* Full height viewport */
    overflow: hidden;
}
/* This moves the dropdown menu to the left of the toggle button */
.category-menu-toggle-btn {

    justify-content: unset !important;
    
}
.for-discount-value-null {
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    z-index: 3;
    border-radius: 4px !important;
    white-space: nowrap;
    color: white;
    border-radius: 0 5px;
    font-size: small;
    display: inline-block;
}
/* Add this to your CSS file */
.company-reliability {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reliability-item {
    padding: 20px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.reliability-item:hover {
    transform: translateY(-5px);
}

.icon-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f3f4f6;
}
.shipping-method-system img {
    object-fit: contain;
}

.border.rounded.p-3 {
    transition: transform 0.3s ease;
}

.border.rounded.p-3:hover {
    transform: translateY(-5px);
}
.border-top {
    border-top: 2px double #0d47a1 !important;
}
.company-reliability-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 5px 0;
}

.company-reliability-separator::before,
.company-reliability-separatorr::after {
  content: "";
  flex: 1;
  border-bottom: 9px double #071cff;
  margin: 0 5px;
}
.svg-white {
    filter: brightness(0) invert(1); /* Makes SVG appear white */
}
  .footer-link {
        @apply relative transition-colors duration-300 hover:text-sky-400;
    }

    .footer-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background-color: #38bdf8; /* Tailwind sky-400 */
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .footer-link:hover::after {
        transform: scaleX(1);
    }

  .footer-link {
    position: relative;
    transition: color 0.3s ease;
    color: white;
  }

  .footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 100%;
    background: #38bdf8; /* Tailwind's sky-400 */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .footer-link:hover {
    color: #38bdf8;
  }

  .footer-link:hover::after {
    transform: scaleX(1);
  }



.btn-circle {
  width: 40px;
  height: 40px;
  background-color: white;
  border: 2px solid #0056b3;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0056b3;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-circle:hover {
  background-color: #0056b3;
  color: white;
}

.bg-web-primary{
  background-color: var(--web-primary) !important;
  color: white;
}

.wishlist_icon_active {
    background-color: rgb(26, 237, 26) !important;
    color: red !important;
}
.fs-0{
  font-size: 0.75rem !important;
  font-family: 'Montserrat-ExtraLightItalic', sans-serif !important;
}
.fs-1{
  font-size: 1.0rem !important;
  font-family: 'Montserrat-ExtraLightItalic', sans-serif !important;
}
/* .product-single-hover .single-product-details a {
      -webkit-box-orient: horizontal !important;
      text-align: center !important;
      min-height: 100px !important;
 
} */
.owl-item .active {
  width: 200px !important;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
/* Mobile (default styles) */
@media (max-width: 767px) {
  ._jm-logo {
    padding-left: 20px !important;
    height: 70px !important;
  }
  
  .input-group-overlay {
    width: 100% !important;
    margin-top: 10px;
  }
  
  .discount-container {
    justify-content: center;
  }
  
  .category-separator span {
    min-width: 77%;
    
    font-size: 0.9rem;
    
  }
}
  .lh-1   { line-height: 1; }
  .lh-15  { line-height: 1.5; }
  .lh-2   { line-height: 2; }
/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  ._jm-logo {
    padding-left: 50px !important;
  }
  
  .input-group-overlay {
    width: 60% !important;
  }
  
  .category-separator span {
    min-width: 10%;
  }
  
}

/* Desktop (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .jm-padding {
    max-width: 1200px;
  }
  
  .input-group-overlay {
    width: 50% !important;
  }
  .jm-height{
  height: 150px !important;
  }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
  .__top-slider-images {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 calc(100% - 254px);
  }
  
  .jm-padding,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1280px;
  }
  
  .pl-xl-2,
  .px-xl-2 {
    padding-left: 0.0rem !important;
  }
  
  .input-group-overlay {
    width: 40% !important;
  }
  .jm-height{
  height: 150px !important;
}
.navbar-tool-icon {
  font-size: 2.25rem !important ;
}

.navbar-tool-icon-box {
  width: 3.2rem !important;
  height: 3.2rem !important;
}
}

/* Specific Large Screen Adjustment */
@media (min-width: 1200px) {
  .jm-padding {
    max-width: 1290px;
  }
  .jm-height{
  height: 150px !important;
}
}



@media (max-width: 575.98px) { /* Smartphone (xs) */
  .svg-size {
    width: 21px;
    height: 21px;
  }
  .navbar-tool-icon {
  font-size: 1.25rem !important ;
}

.navbar-tool-icon-box {
  width: 1.2rem !important;
  height: 1.2rem !important;
}
.jm-category{
  color: black;
  
}
}

@media (min-width: 768px) { /* Tablet and up */
 .svg-size {
    width: 36px;
    height: 36px;
  }
    .navbar-tool-icon {
  font-size: 1.25rem  ;
}

.navbar-tool-icon-box {
  width: 1.2rem ;
  height: 1.2rem ;
}
.jm-category{
  color: black;
  
}
}


.jm-mini-description {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #28a745;
     border-right: 4px solid #28a745;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    direction: ltr; /* Ensures 'right' stays right */
     font-family: 'Times New Roman', Times, serif !important;
     color: #120e01 !important;
}
.jm-mini-description:hover{
   border-left: 4px solid var(--hover-orange);
     border-right: 4px solid var(--hover-orange);
}

.jm-mini-description .mini-desc {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    font-family: 'Times New Roman', Times, serif !important;
}

.jm-mini-description .mini-desc a {
    color: #120e01 !important;;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.jm-mini-description .mini-desc a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #28a745;
    transition: width 0.3s;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.jm-mini-description .mini-desc a:hover {
    color: #28a745;
}

.jm-mini-description .mini-desc a:hover::after {
    width: 100%;
}

.jm-mini-description .product-ref {
    font-size: 1rem;
    font-weight: 500;
     color: #120e01 !important;
    position: relative;
    padding-left: 25px;
}

.jm-mini-description .product-ref::before {
    content: "🔖";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
}
.voir-plus-link {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 5;
    direction: ltr;
    color: #007bff;
    text-decoration: none;
    /*display: inline-flex;*/
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.voir-plus-link i {
    transition: transform 0.3s ease;
}

.voir-plus-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #007bff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.voir-plus-link:hover {
    color: #28a745; /* Green on hover */
}

.voir-plus-link:hover i {
    transform: translateX(4px);
}

.voir-plus-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.bottom-div{
     position: absolute;
    bottom: 0;
    width: 100%;
}


.a:hover{
  color: var(--hover-green) !important;
}
.close {
    float: right;
    font-size: 3.5rem !important;
   
   }
.close:hover{
   background-color: transparent !important;
    color: var(--hover-red) !important;
}
.modal-header .close {
    padding: unset;}


.sidebar {
      overflow: hidden;
      transition: width 0.5s ease;
      background-color: #f1f1f1;
      height: 100vh;
      position: relative;
    }

    .sidebar.collapsed {
      width: 0;
    }

    .sidebar.expanded {
      width: 25%;
      min-width: 200px;
    }

    .toggle-arrow {
      position: absolute;
      top: 10px;
      right: -15px;
      background-color: #ddd;
      border: 1px solid #bbb;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      transition: transform 0.3s;
    }

    .arrow-icon {
      font-size: 16px;
      transition: transform 0.3s;
    }

    .collapsed .arrow-icon {
      transform: rotate(180deg);
    }
    #arrowToggle {
    cursor: pointer;
}
/* Container to hold both sidebar and main content */
#autoSidebar {
    transition: all 0.4s ease;
    overflow: hidden;
}

#main-content {
    transition: all 0.4s ease;
}

#arrowToggle {
    cursor: pointer;
}
.checkbox-alphanumeric {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* space between boxes */
  padding-left: 0; /* reset padding if using <ul> */
  list-style: none; /* remove bullets */
}
.span-variante{
  min-width: 80px !important;
  max-width: 100px !important;
}
.nav--tabs li a, .nav--tabs li .tab_link {
  color: var(--hover-red ) !important;
}




.offline_payment_button {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.offline_payment_button input:checked + span,
.offline_payment_button input:checked {
    border: 1px solid #007bff;
    background-color: #e9f2ff;
    color: #007bff;
}

/* Updated CSS */
.page-header.breadcrumb-wrap {
  background-color: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breadcrumb-item {
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  position: relative;
  padding: 4px 8px;
  border-radius: 4px;
}

.breadcrumb-item:hover {
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.1);
  text-decoration: none;
}

.breadcrumb-separator {
  margin: 0 4px;
  color: #adb5bd;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}

/* Updated separator using SVG icon */
.breadcrumb-separator::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 24 24'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
  display: inline-block;
  margin: 0 6px;
  vertical-align: middle;
}

.breadcrumb .current {
  font-weight: 600;
  color: #495057;
  pointer-events: none;
  padding: 4px 8px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 6px 12px;
  }
  
  .breadcrumb-item {
    font-size: 13px;
    padding: 3px 6px;
  }
  
  .breadcrumb-separator::before {
    margin: 0 4px;
  }
}
.hover-card {
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.hover-card:hover {
    background-color: #f1f1f1; /* gris clair */
    transform: translateY(-5px); /* petit effet flottant */
}
.text-capitalize {
    text-transform: unset !important;
}
.input-group-overlay-brand {
    position: relative;
    width: 100%;
}
.gap-70 {
    gap: 70px;
}
/* Adjust for smartphones (screen width <= 768px) */
@media (max-width: 768px) {
    .gap-70 {
        gap: 20px; /* Adjust this value as needed */
    }
}
@media (max-width: 768px) {
    .cz-image-zoom-pane {
        display: none !important;
    }

    .cz-image-zoom {
        pointer-events: none !important;
        cursor: default !important;
    }
}
