:root {
  --orange: #fe6d00;
  --dark: #222222;
}

.img-logo {
    width: 15%;
}

.img-banner {
    width: 55% !important;
}

.height-banner {
    height: 600px !important;
}

.margin-banner {
    margin-top: 180px;
}

.section_gap  {
    padding: 75px 0 !important;
}

.section_gap2  {
    padding-top: 75px;
}

.sidebar-categories .main-categories {
    padding: 0px 0px !important;
    background: #fff;
    box-shadow: 0 10px 10px rgba(153, 153, 153, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: 30px; 
    right: 30px; 
    background-color: #f39c12; 
    color: #fff; 
    border-radius: 50%; 
    width: 50px; 
    height: 50px; 
    text-align: center; 
    line-height: 50px; 
    font-size: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s, transform 0.3s; 
    z-index: 1000; 
    display: none; 
}

.back-to-top:hover {
    background-color: #e67e22; 
    transform: scale(1.1);
}

.single-prd-item {
    width: 555px;
    height: 600px;
}

.retour {
    line-height: 38px;
    padding: 0px 38px;
    text-transform: uppercase;
    margin-right: 10px;
    border-radius: 5px;
}



/*###### courrier ######*/
/* Style des options d'arrière-plan */
.image-option {
    position: relative;
}

.image-option label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Checkmark au-dessus de l'image */
.image-option .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #222222;
    border-radius: 0;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    transition: background 0.3s, border-color 0.3s;
}

/* Tick visible quand sélectionné */
.image-option input:checked + label .checkmark {
    background-color: #222222;
    border-color: #ff9600;
}

.image-option input:checked + label .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Images stylisées */
.image-option img {
    width: 140px;
    height: 170px;
    border-radius: 0;
    transition: transform 0.3s, border 0.3s;
    border: 3px solid transparent;
}

.image-option input:checked + label img {
    border-color: #222222;
    transform: scale(1.1);
}

/* Style de base pour le container et le label */
.custom-radio {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  /* Masquer l'apparence native du radio */
  .custom-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 18px;
    height: 18px;
    border: 2px solid #222222;
    border-radius: 0; /* carré */
    display: grid;
    place-content: center;
    cursor: pointer;
  }
  
  /* Lorsque le radio est sélectionné, affichage d'un indicateur */
  .custom-radio input[type="radio"]::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: transform 0.2s ease-in-out;
    background-color: #222222;
    border-radius: 0; /* carré */
  }
  
  /* Quand sélectionné, le pseudo-élément s'affiche */
  .custom-radio input[type="radio"]:checked::before {
    transform: scale(1);
  }
  
  /* Assurer que le label soit centré verticalement */
  .custom-radio label {
    margin-bottom: 0;
    cursor: pointer;
  }
  

  #centreControle {
    border: 2px solid #222222;
    transition: border-color 0.3s;
  }
  
  #centreControle:focus {
    border-color: #222222;
    box-shadow: 0 0 0 0.25rem rgba(255, 114, 0, 0.25);
  }
  
  .form-control {
    border: 2px solid #222222;
    border-radius: 4px;
    transition: border-color 0.3s;
  }
  
  .form-control:focus {
    border-color: #222222;
    box-shadow: 0 0 0 0.25rem rgba(255, 114, 0, 0.25);
  }
  
  /* offre personnalisé */
/* Personnalisation de la checkbox custom (pour harmoniser avec votre thème, par ex. #ff7200) */

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
  }
.custom-checkbox .form-check-input {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    margin: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #222222;
    border-radius: 0; /* carré */
    position: relative;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
  }
  
  .custom-checkbox .form-check-input::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #222222;
    top: 2px;
    left: 2px;
    transform: scale(0);
    transition: transform 0.2s ease-in-out;
  }
  
  .custom-checkbox .form-check-input:checked::before {
    transform: scale(1);
  }
  
  /* Optionnel : style pour la zone éditable */
  #textEditor {
    border: 2px solid #222222;
    border-radius: 4px;
    padding: 8px;
  }
  
  .btn-logo {
    background-color: #222222;
    color: white;
  }

  .btn-register {
    background-color: #fe6d00;
    color: white;
  }

  .custom-hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, #ff7200, #222222);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin: 40px auto;
    width: 80%;
    border-radius: 5px;
  }
  
  .btn-preview {
    background: linear-gradient(135deg, #ffb900, #ff7200);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    /* display: flex;
    align-items: center; */
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-preview:hover {
    background: linear-gradient(135deg, #ffb900, #ff7200);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.btn-preview i {
    font-size: 20px;
}

.courrier {
    color: #D30005;
}   

/* Style général des cartes */
.custom-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
    border: 1px solid;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
}

.custom-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.custom-card .card-text {
    font-size: 0.95rem;
    color: #6c757d;
}

.custom-btn {
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    width: 100%;
    padding: 10px;
}

.btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.btn-outline-primary, .btn-primary,
.btn-outline-success, .btn-success,
.btn-outline-danger, .btn-danger {
    border: none;
}

.custom-btn:hover {
    transform: scale(1.05);
}

.btn-outline-primary:hover, .btn-outline-success:hover, .btn-outline-danger:hover {
    background-color: #222222 !important;
    color: #f8f9fa !important;
}

.btn-outline-primary, .btn-outline-success, .btn-outline-danger {
    color: #e67e22 !important;
}

.text-a {
    color: #f8f9fa !important;
}

/* Personnalisation de la card */
.custom-card-cli {
  border: none;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card-cli:hover {
  box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
}

/* En-tête des cartes */
.custom-card-cli .card-header {
  padding: 15px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.card-header.livraison {
  background-color: var(--orange);
}

.card-header.facturation {
  background-color: var(--dark);
}

/* Corps de la card */
.custom-card-cli .card-body {
  padding: 20px;
  color: var(--dark);
}

.custom-card-cli .card-body p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.custom-retour {
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.custom-retour:hover {
  background-color: #444;
  transform: translateX(-3px);
}

.bi-bag-check {
  font-size: 1.5rem;
  color: #fe6d00; 
}

.bi-person {
  font-size: 1.5rem;
  color: #222222; 
}

.bi-envelope {
  font-size: 1.5rem;
  color: #fe6d00; 
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

/* MES COMMANDES */
.table-custom {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.table-hover tbody tr:hover {
  background-color: #f1f1f1;
}

.badge-paid {
  background-color: #28a745;
  color: white;
}

/* .badge-unpaid {
  background-color: #dc3545;
  color: white;
} */

.badge-pending {
  background-color: #ffc107;
  color: black;
}

.text-commande {
  color: #fe6d00;
}

.btn-primary {
  background-color: #fe6d00 ;
}
.btn-primary:hover {
  background-color: #444 ;
}

.pagination {
	margin-top: 10px;
	border-radius: 0px;
  border-left: 0 !important;
	a {
		width: 250px !important;
	}
}

.nav-item a[href="new.php"] {
  background: linear-gradient(45deg, #ff416c, #ff4b2b); /* Dégradé rouge/orange */
  color: white !important;
  padding: 8px 15px !important;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.nav-item a[href="new.php"]:hover {
  transform: scale(1.1); /* Effet d'agrandissement */
  box-shadow: 0px 6px 15px rgba(255, 75, 43, 0.8);
}

.bg-primary {
  background-color: #fe6d00 !important;
}

.text-infos {
  color: white !important;
}

.primary-btn {
  border-radius: 0 !important;
  border: 0 !important;
}

.primary-btn:hover{
  color: #fff;
}
.primary-btn:hover:before{
    left: 270px;
    opacity: .3;
}

.gray_btn2 {
    line-height: 50px;
    background: #e8f0f2;
    border: 1px solid #eeeeee;
    padding: 6px 40px;
    display: inline-block;
    color: #222222;
    text-transform: uppercase;
    font-weight: 500;
}

.a-footer {
  color: #777777 !important;
}

b, sup, sub, u, del {
  color: black !important; 
}


/*########### RESPONSIVE ###########*/
@media only screen and (max-width: 768px) {
  .login_box_img{
    margin-right: 0px !important;
    position: relative;
  }

  /*### PANIER ###*/
  /* .bottom_button .gray_btn {
    width: 100% !important;
    text-align: center;
    margin: 8px 0;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    display: block;
}

.bottom_button .gray_btn, 
.out_button_area .gray_btn, 
.out_button_area .primary-btn {
    width: 100% !important;
    font-size: 16px;
    padding: 12px;
    text-align: center;
    margin-top: 8px;
    border-radius: 8px;
    display: block;
}

.checkout_btn_inner a {
    width: 100% !important;
    margin-top: 10px;
}

.product_count {
    flex-direction: column;
    align-items: flex-start;
}

.table-responsive {
    overflow-x: auto;
}

.product_count input.qty {
    width: 100%;
    margin-bottom: 8px;
}

.product_count button {
  display: none;
}

.media {
    flex-direction: column;
    align-items: flex-start;
}

.media .d-flex {
    margin-bottom: 8px;
}

.media img {
    height: 70px;
}

.table thead th, .table tbody td {
    font-size: 14px;
    padding: 10px;
    text-align: center;
}

.out_button_area .checkout_btn_inner {
    flex-direction: column;
    gap: 10px;
}

.breadcrumb-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.breadcrumb-banner .col-first h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.breadcrumb-banner nav a {
    font-size: 14px;
}

.table th, .table td {
    font-size: 14px;
    padding: 8px;
}

.cart_area .container {
    padding: 10px;
}

.media-body p {
    font-size: 14px;
}

#grand-total {
    font-size: 18px;
}

.checkout_btn_inner {
    flex-direction: column;
    gap: 10px;
} */

.cart-item {
  flex-direction: column !important;
  align-items: flex-start !important;
}
.product_count {
  width: 100%;
}
.checkout_btn_inner a {
  width: 100%;
  text-align: center;
}

/*### MENU ###*/
    .header_area .main_menu {
      position: relative;
  }

  .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 15px;
  }

  .navbar .navbar-brand {
      display: flex;
      align-items: center;
      margin-right: auto;
  }

  .img-logo {
      max-width: 260px;
      height: auto;
  }

  .navbar-toggler {
      border: none;
      background: transparent;
      padding: 0;
  }

  .icon-bar {
      background-color: #333;
      height: 3px;
      margin: 3px auto;
      width: 25px;
  }

  .navbar-collapse {
      width: 100%;
      text-align: right; 
  }

  .nav-item {
      margin-left: 15px;
  }

  .nav-link {
      font-size: 14px;
      color: #333;
  }

  .nav-link:hover {
      color: #007bff;
  }

  .search {
      font-size: 18px;
      color: #333;
      background: none;
      border: none;
  }

  .search .lnr-magnifier {
      font-size: 18px;
  }

  .search_input {
      display: none; 
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      background: white;
      z-index: 999;
      padding: 10px 15px;
  }

  .search_input form {
      display: flex;
      justify-content: space-between;
  }

  .search_input input {
      width: 85%;
      margin-right: 10px;
  }

  .search_input button {
      width: 15%;
  }

  .navbar-toggler {
      display: block;
  }

  .search_input.active {
      display: block;
  }

  .menu_nav.ml-auto {
      display: flex;
      flex-direction: column;
      margin-top: 10px;
  }

  .menu_nav.ml-auto .nav-item {
      text-align: left;
  }

  .search_input input,
  .search_input button {
      width: 100%;
  }

  .nav-item a {
      font-size: 14px;
      padding: 10px;
  }

  .banner-area .fullscreen {
    height: 350px !important;
}

/*### PAGE BOUTIQUE ###*/
    .filter-bar .pagination {
      display: flex;
      flex-direction: column;
      align-items: center; 
      width: 100%;   
  }

  .pagination a {
      display: inline-block;
      padding: 10px 20px;
      font-size: 16px;
      text-align: center;
      background-color: #007bff;
      color: #fff;
      text-decoration: none;
      width: 100%; 
      box-sizing: border-box; 
      margin: 5px 0;
  }

  .pagination a:hover {
      background-color: #0056b3;
  }
  .pagination .active {
      background-color: #28a745;
  }

  /*### PRODUIT SEUL  ###*/
      .breadcrumb-banner {
        display: block;
        text-align: center;
    }

    .product_image_area {
        padding: 15px;
    }

    .s_product_inner {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .single-prd-item img {
        max-width: 100%;
        height: auto;
    }

    .col-lg-6, .col-lg-5 {
        width: 100%;
        margin-bottom: 20px; 
    }

    .s_product_text h3 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 10px;
    }

    .s_product_text h2 {
        font-size: 18px;
        text-align: center;
        margin-bottom: 20px;
    }

    .s_product_text p {
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 20px;
    }

    .product_count {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px; 
    }

    .product_count input.qty {
        width: 50%;
        padding: 10px;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .product_count button {
      display: none;
    }

    .card_area {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .primary-btn {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }

    .retour {
        display: block;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .single-prd-item {
      width: 100%;
      height: 100%;
  }

  .primary-btn {
    padding: 6px 20px !important;
    font-size: 16px;
    margin-top: 8px;
  }

  .pan {
    display: none;
  }

  .checkout_btn_inner .custom-btn {
    max-width: 100% !important;
  }  
}

.checkout_btn_inner .custom-btn {
  min-width: 200px;
  max-width: 260px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

/*####### PROMO #######*/
.price {
  margin-top: 10px;
}

.promo-price {
  color: #ffab00;
  font-weight: bold;
  font-size: 1.4em;
  padding: 4px 8px;
  border-radius: 6px;
}

.promo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e63946;
  color: white;
  padding: 5px 10px;
  font-size: 0.8em;
  border-radius: 5px;
  font-weight: bold;
  z-index: 10;
}

.single-product {
  position: relative;
}

.promo-link {
  color: #e60023 !important;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.promo-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #e60023;
  transition: all 0.3s ease;
}

.promo-link:hover {
  color: #ffab00 !important;
}

.promo-link:hover::after {
  height: 4px;
  background-color: #b3001b;
}

.old-price {
  text-decoration: line-through;
  color: #333;
  font-size: 15px;
  margin-right: 5px;
}

.normal-price {
  color: #ff506e;
  font-weight: 600;
  font-size: 15px;
}

.single-prd-item {
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 450px;
  /* border: 1px solid #eee; */
}

.single-prd-item img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.single-prd-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.promo-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 10px;
  animation: pulse 2s infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 4px 12px rgba(255,75,43,0.3);
  text-transform: uppercase;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

.single-product img {
  border-radius: 10px;
  transition: transform 0.6s ease, filter 0.5s ease;
  transform: scale(1);
  filter: brightness(98%) contrast(103%);
  position: relative;
  z-index: 1;
}

/* Zoom + lumière au survol */
.single-product:hover img {
  transform: scale(1.06);
  filter: brightness(102%) contrast(107%);
}

/* Reflet glossy sur l’image uniquement */
.single-product .img-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.single-product .img-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(255, 255, 255, 0.05) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.8s ease;
  z-index: 2;
}

.single-product:hover .img-container::before {
  left: 125%;
}


/* --- Menu latéral Classy Luxe --- */
.classy-sidebar {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 24px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  border: 1px solid #eaeaea;
}
.classy-sidebar:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.classy-sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  border-left: 4px solid #828bb3;
  padding-left: 10px;
  color: #333;
}
.classy-sidebar .category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.classy-sidebar .category-list li {
  margin-bottom: 12px;
}
.classy-sidebar .category-list li a {
  text-decoration: none;
  font-size: 15px;
  color: #444;
  padding: 6px 10px;
  display: block;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.classy-sidebar .category-list li a:hover {
  background: #fff3e5;
  color: #ffab00;
  font-weight: 500;
  transform: translateX(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.container-fluid {
  width: 70% !important;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 767.98px) {
  .container-fluid {
    width: 100% !important;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 1440px) {
  .container-fluid {
    width: 88% !important;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.single-product img {
  margin-bottom: 10px !important;
  width: 85%;
  display: flex;
  margin: auto;
}

/*##### Loader Style #####*/
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); 
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loader {
  width: 70px;
  height: 70px;
  border: 5px solid #fff; 
  border-radius: 50%;
  border-top: 5px solid #fe6d00; 
  animation: spin 1.2s linear infinite, fadeIn 1.5s ease-in-out forwards;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

.bg-success, .btn-success {
  background-color: #ffab00 !important;
}