
.scrolled .header-mid .Contact-btn .b-title {
    display: none;
}

/* Cache header-top sur mobile lors du scroll - même principe que desktop */
@media (max-width: 767px) {
    .main-header {
        position: sticky;
        z-index: 1000;
    }
    
    .scrolled {
        top: -60px; /* Hauteur approximative du header-top mobile */
        transition: all 0.5s ease-in-out;
    }
}

/* Cacher complètement les vrais inputs radio des options de paiement */
input[name="payment-option"].radio-input {
    display: none !important;
}

/* Style du custom radio pour les paiements */
.custom-radio {
    transition: all 0.3s ease;
}

.custom-radio.selected {
    background-color: var(--blaze-orange-600);
    border-color: var(--blaze-orange-600);
}
#search_filters_brands .swiper-slide {
  height: auto;
  display: flex;
}
.jms-megamenu > ul > li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-base--line-height));
  color: var(--color-cod-gray-400);
  --tw-tracking: 1px;
  letter-spacing: 1px;
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  --tw-leading: 100%;
  font-family: var(--font-KumbhSans);
}
.jms-megamenu > ul > li:first-child {
  border-right:1px solid var(--color-cod-gray-100);
  padding-right: 26px;
}
.product-btn-sticky.active .menu-open {
  display: block;
}
.product-btn-sticky.active .menu-close {
  display: none;
}
.arrow-right {
  background:url(../img/arrow-right.svg) no-repeat center center;
}
.group-hover\:bg-white {
    &:is(:where(.group):hover *) {
        @media (hover: hover) {
            &:is(:where(.group):hover *) {
                background:var(--color-white) url(../img/arrow-right-hover.svg) no-repeat center center;
            }
        }
    }
}
.manufacturer-link img {
  max-width: 140px;
}
.input-color {
  display: none; 
}

.color-label {
  cursor: pointer;
}

.color {
  display: inline-block;
  width: 100px;
  height: 30px;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.custom-select {
    background: #F3610C;
    text-align: center;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    width: 100px;
    height: 30px;
    color: white;
}

.input-color:checked + .color {
  border: 2px solid #f3610c;
  box-shadow: 0 0 0 2px #f3610c;
}
/* Ẩn radio gốc */
.attribute-radio__input {
  display: none;
}

/* Thiết lập nút hiển thị */
.attribute-radio__text {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #1c1c1c;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  user-select: none;
}

/* Hover effect */
.attribute-radio__label:hover .attribute-radio__text {
  border-color: #F3610C;
}

/* Trạng thái được chọn */
.attribute-radio__input:checked + .attribute-radio__text {
  background-color: #F3610C;
  color: #fff;
  border-color: #F3610C;
}
/*.form-select {
border: 1px solid #1c1c1c;
  border-radius: 4px;
  height: 33px;
  padding: 0px 20px;
}*/

.swiper-pagination-progressbar {
    position: static;
    background-color: #D1D1D1;
    height: 2px;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background-color: #F97916;
}
.swiper-pagination-lock {
    display: none;
}
.d-none {
    display: none;
}
@media (max-width: 639px) {
  .breadcrumb {
    display: none !important;
  }
}
#search_filters_wrapper .slide {
  display: block !important;
}
.page-title-section {
  font-size: 68px;
}
#checkout #wrapper > .bg-white{
  background-color: var(--color-cod-gray-50)!important;
}
input:-webkit-autofill {
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    color: var(--color-woodsmoke-200);
}
.form-validation input {
  outline-style: var(--tw-outline-style);
  outline-width: 0px;
  color: var(--color-woodsmoke-600);
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-lg);
  --tw-leading: 145%;
  line-height: 145%;
  font-family: var(--font-KumbhSans);
  padding: calc(var(--spacing) * 0);
  flex: 1;
  background-color: transparent;
  border:0px;
}
.form-validation select {
  flex: 1;
}
textarea.form-control {
    border: 1px solid var(--color-woodsmoke-1200);
}
.order-options .form-control {
  width: 100%;
  padding: 10px;
}
/*.payment__option .form-check-input {
  display: none!important;
}*/
.step--reachable {
  display: none;
}
.step--current.step--reachable {
  display: block;
}
.step-img-active {
  display: none;
}
.checkout__steps--success .step-img-active,
.checkout__steps--current .step-img-active {
  display: block!important;
}
.checkout__steps--success .step-img,
.checkout__steps--current .step-img {
  display: none!important;
}
.checkout__steps__number {
  color: var(--color-woodsmoke-600);
  background-color: var(--color-woodsmoke-1200);
}

.checkout__steps--success .checkout__steps__number,
.checkout__steps--current .checkout__steps__number {
  color: var(--color-white)!important;
  background-color: var(--color-blaze-orange-600)!important;
}

/* Animation des boutons avec transform:scale pour éviter le décalage du contenu */
.btn-hover-scale {
  cursor: pointer;
  transition: transform 0.25s ease-in-out;
}

.btn-hover-scale:hover {
  transform: scale(0.95);
}

/* Classes spécifiques pour remplacer les animations height/width problématiques */
.btn-animate-scale {
  cursor: pointer;
  transition: transform 0.25s ease-in-out;
}

.btn-animate-scale:hover {
  transform: scale(0.92);
}

/* Ajout du cursor pointer pour tous les boutons du projet */
button, .btn, input[type="button"], input[type="submit"], input[type="reset"] {
  cursor: pointer;
}

/* Password strength progress bar base styles */
.progress {
  position: relative;
  overflow: hidden;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  transition: width 0.3s ease;
}

/* Password strength progress bar colors */
.progress-bar.bg-danger {
  background-color: #ef4444 !important;
}

.progress-bar.bg-warning {
  background-color: #f59e0b !important;
}

.progress-bar.bg-info {
  background-color: #3b82f6 !important;
}

.progress-bar.bg-success {
  background-color: #10b981 !important;
}

/* Default red color for progress bar */
.progress-bar {
  background-color: #ef4444;
}

/* Password requirements validation states */
.password-requirements .text-success {
  color: #10b981 !important;
}

.password-requirements .text-danger {
  color: #ef4444 !important;
}

/* Password strength text styles */
.password-strength-text {
  min-height: 16px;
  display: block;
  font-weight: normal;
}

/* Conteneur pour éviter que le texte des conseils parte n'importe où */
.password-strength-feedback {
  position: relative;
  z-index: 1;
}

/* S'assurer que le texte des conseils apparaît dans le bon conteneur */
.password-strength-text:empty {
  min-height: 16px;
}

/* Masquer les popovers Bootstrap visuellement mais garder leur contenu */
.popover, [id*="popover"], [class*="popover"] {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  visibility: hidden !important;
}

/* Style moderne pour les informations de paiement */
.payment-info-content p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  font-family: var(--font-KumbhSans);
  font-weight: 400;
}

.payment-info-content p:last-child {
  margin-bottom: 0;
}

.payment-info-content dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px 20px;
  margin: 16px 0;
}

.payment-info-content dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-noir-black-1200);
  font-family: var(--font-KumbhSans);
}

.payment-info-content dd {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-woodsmoke-600);
  font-family: var(--font-KumbhSans);
  margin: 0;
  line-height: 1.4;
}

.payment-info-content h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-noir-black-1200);
  font-family: var(--font-KumbhSans);
  margin-bottom: 16px;
}

/* Style pour les modals Bootstrap dans les infos de paiement */
.payment-info-content .modal {
  display: none !important;
}
.account-menu__line {
  width: 100%;
  display: flex;
  border:1px solid var(--color-noir-black-1200);
  padding: 10px 20px;
  margin-bottom: 10px;
}
.page-header h1.h4 {
  font-size: 38px;
  color: black;
  margin-bottom: 20px;
}
.bg-cover .product-box .product-prices h4,
.bg-cover .product-box .product-name {
  color: #fff!important;
}
.bg-cover .product-box .product-short-desc {
  color: #b0b0b0!important;
}
/* blog style */
.nav-tabs {
  display: flex;
  gap: 10px;
  border-bottom: none;
}

.nav-tabs .nav-item {
  list-style: none;
}

.nav-tabs .nav-item a {
  display: inline-block;
  padding: 8px 25px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-tabs .nav-item a:hover {
  border-color: #aaa;
}

.nav-tabs .nav-item.active a {
  background-color: #f3610c;
  color: #fff;
  border-color: #f3610c;
}
.tab-pane {
  display: none;
  padding: 15px 0;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
  align-items: center;
  font-size: 14px;
  color: #666;
  font-style: italic;
}
.post-meta li {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.post-meta .category-name a {
    color: #f3610c;
    text-decoration: none;
}
.post-meta .created .day,
.post-meta .created .month {
    font-weight: 500;
}
.post-meta li:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: #999;
}
.blog-widget ul li a {
  color: #1c1c1c;
  font-size: 13px;
  font-family: var(--font-GothamBook);
}
.blog-readmore {
  float: right;
}
#cms .page-cms h1,
#module-jms_blog-post .blog-post h1 {
  font-size: 36px;
}
#cms .page-cms h2,
#module-jms_blog-post .blog-post h2 {
  font-size: 32px;
}
#cms .page-cms h3,
#module-jms_blog-post .blog-post h3 {
  font-size: 28px;
}
#cms .page-cms h4,
#module-jms_blog-post .blog-post h4 {
  font-size: 24px;
}
.post-thumb > a {
  width: 100%;
}
.post-thumb > a > img {
  width: 100%;
}

/* Custom styles for wishlist button */
.wishlist-button-add {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.5rem !important; /* 40px */
  height: 2.5rem !important; /* 40px */
  min-width: 2.5rem !important;
  background-color: var(--color-woodsmoke-900) !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all 0.5s ease-in-out !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  position: relative !important;
}

.wishlist-button-add:hover {
  background-color: var(--color-blaze-orange-400) !important;
  transform: scale(0.95) !important;
  opacity: 1 !important;
}

.wishlist-button-add:focus {
  outline: 0 !important;
}

.wishlist-button-add:active {
  transform: scale(0.95) !important;
}

/* Style pour l'icône Material Icons */
.wishlist-button-add i.material-icons {
  display: block !important;
  color: white !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
}

/* État actif - cœur orange */
.wishlist-button-add.is-active i.material-icons {
  color: var(--color-blaze-orange-600) !important;
}

/* Surcharge des modales wishlist pour style Steflo */
.wishlist-modal.modal.fade {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: transparent !important;
  transition: all 0.5s ease-in-out !important;
  display: none !important;
}

.wishlist-modal.modal.fade.show {
  display: flex !important;
  background: rgba(0, 0, 0, 0.25) !important;
  align-items: center !important;
  justify-content: center !important;
}

.wishlist-modal .modal-backdrop {
  display: none !important;
}

/* Centrage forcé de la modale */
.wishlist-modal .modal-window-inner {
  margin: 0 auto !important;
  position: relative !important;
  transform: none !important;
  max-width: 420px !important;
  width: 90% !important;
}

.right {
  float: right !important;
}

/* Pulse animation for variant selection emphasis */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(243, 97, 12, 0.7);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(243, 97, 12, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(243, 97, 12, 0);
  }
}

/* Force add-to-cart button to always be visible */
.product-actions__button.add,
.product-actions__button.add .add-to-cart,
[data-button-action="add-to-cart"] {
  display: flex !important;
  visibility: visible !important;
}

.product-actions__button.add {
  display: block !important;
}
