/**
 * PIXM Theme - Complete Fixed Version with All Improvements
 */

/* Prevent layout shift when mega menu opens */
#mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 50;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e5e7eb;
  height: 0;
  overflow: hidden;
  transition: height 0s;
  margin-top: 0;
  padding-top: 0;
}

#mega-menu:not(.hidden) {
  height: auto;
  transition: none;
}

nav.bg-primary, 
nav.bg-red-600 {
  position: relative;
  z-index: 51;
}

/* ========== COLOR FIXES ========== */
.side-nav-item a,
.side-nav-item a:hover,
#mega-menu a,
#mega-menu a:hover,
.category-content a,
.category-content a:hover {
  color: #333 !important;
}

.side-nav-item.active a,
.side-nav-item a:hover,
#mega-menu a:hover,
.category-content a:hover {
  color: #e7312f !important;
}

.product-card p,
.product-card .text-red-600 {
  color: #e7312f !important;
}

nav.bg-primary a,
nav.bg-red-600 a,
.nav-button,
.mega-menu-trigger {
  color: white !important;
}

/* ========== BRACKET HOVER EFFECTS ========== */
nav li a:hover,
.nav-item a:hover,
nav ul li a:hover {
  background-color: transparent !important;
}

/* Exclude mega-menu-trigger and nav-button from bracket effects */
.mega-menu-trigger:hover,
nav li button:hover,
.nav-button:hover {
  background-color: transparent !important;
}

/* Bracket effects ONLY for single link menu items (exclude mega/grid menu triggers and side nav) */
.nav-item > a::before,
nav.bg-primary li > a::before,
nav.bg-red-600 li > a::before {
  content: "[ " !important;
  margin: 0 0 0 -0.8em !important;
  opacity: 0 !important;
  position: absolute !important;
  color: white !important;
  padding-left: 8px;
}

.nav-item > a::after,
nav.bg-primary li > a::after,
nav.bg-red-600 li > a::after {
  content: " ]" !important;
  margin: 0 0 0 0.3em !important;
  opacity: 0 !important;
  position: absolute !important;
  color: white !important;
}

.nav-item > a:hover::before,
nav.bg-primary li > a:hover::before,
nav.bg-red-600 li > a:hover::before {
  margin: 0 0 0 -1.2em !important;
  opacity: 1 !important;
}

.nav-item > a:hover::after,
nav.bg-primary li > a:hover::after,
nav.bg-red-600 li > a:hover::after {
  margin: 0 0 0 0.3em !important;
  opacity: 1 !important;
}

/* Explicitly exclude buttons, mega menu triggers, and side nav from bracket effects */
.nav-item > button::before,
.nav-item > button::after,
.mega-menu-trigger::before,
.mega-menu-trigger::after,
.nav-button::before,
.nav-button::after {
  content: none !important;
  margin: 0 !important;
  opacity: 0 !important;
}

/* Extra strong exclusion for side navigation (main categories) */
.side-nav-item a::before,
.side-nav-item a::after,
#side-nav li a::before,
#side-nav li a::after,
.mega-menu-categories li a::before,
.mega-menu-categories li a::after {
  content: none !important;
  margin: 0 !important;
  opacity: 0 !important;
  display: none !important;
}

/* Bracket hover effect for mega menu items */
a.movingBrackets {
  position: relative;
  transition: all 0.3s ease;
  font-size: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  display: inline-block;
  padding: 0 6px;
}

a.movingBrackets::before {
  content: "[ ";
  margin: 0 0 0 -0.8em;
  opacity: 0;
  position: absolute;
  color: #e7312f !important;
  padding-left: 10px;
}

a.movingBrackets::after {
  content: " ]";
  margin: 0 0 0 0.3em;
  opacity: 0;
  position: absolute;
  color: #e7312f !important;
}

a.movingBrackets:hover {
  color: rgba(220, 38, 38, 1);
}

a.movingBrackets:hover::before {
  margin: 0 0 0 -1.2em;
  opacity: 1;
}

a.movingBrackets:hover::after {
  margin: 0 0 0 0.3em;
  opacity: 1;
}

/* ========== MEGA MENU STYLES ========== */
#side-nav {
  width: 100%;
  border-right: 1px solid #999;
}

.side-nav-item {
  transition: background-color 0.2s ease;
}

.side-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
 
  transition: color 0.2s;
}

.side-nav-item {
  border-bottom: 1px solid #999;
}

.side-nav-item:last-child {
  border-bottom: none;
}

.side-nav-item.active, 
.side-nav-item:hover {
  background-color: #f9f9f9;
}

.side-nav-item.active a {
  color: #e7312f !important;
  font-weight: 500;
}

.category-content {
  display: none;
  width: 100%;
}

.category-content.active {
  display: block;
}

.product-card {
  margin-bottom: 1.5rem;
}

.product-card img {
  width: 100%;
  height: 12rem;
  object-fit: contain;
}

.product-card h3 {
  margin-top: 0.5rem;
  font-weight: 500;
}

.product-card p {
  color: #e7312f;
  font-weight: 700;
}

.bg-primary, 
.bg-red-600,
nav.bg-primary,
nav.bg-red-600 {
  background-color: #e7312f;
}

/* ========== GRID MENU STYLES ========== */
#grid-menu-content {
  width: 100%;
  background-color: white;
}

.grid-menu-item {
  transition: all 0.3s ease;
}

.grid-menu-item:hover {
  transform: none;
}

.grid-menu-item a {
  display: block;
  text-decoration: none;
  color: #374151;
  transition: all 0.3s ease;
  background: white;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
}

/* Styles pour les brackets dans le menu grid */
.grid-menu-item a.movingBrackets {
  position: relative;
  transition: all 0.3s ease;
  font-size: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: center;
  display: inline-block;
  padding: 0 6px;
  color: #374151;
}

.grid-menu-item a.movingBrackets .bracket-text {
  position: relative;
  display: inline-block;

}

.grid-menu-item a.movingBrackets .bracket-left,
.grid-menu-item a.movingBrackets .bracket-right {
  opacity: 0;

  color: #e7312f;
  margin: 0 4px;
}

.grid-menu-item a.movingBrackets:hover {
  color: #e7312f;
}

.grid-menu-item a.movingBrackets:hover .bracket-left,
.grid-menu-item a.movingBrackets:hover .bracket-right {
  opacity: 1;
}


/* Hide sidebar for grid menus */
.mega-menu-sidebar.hidden {
  display: none !important;
}

/* ========== BRACKET BULLET STYLES ========== */
.woo-description ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.woo-description ul li {
    display: flex;
    align-items: start;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #1f2937;
}

.woo-description ul li::before {
    content: "[\00a0]";
    color: #e7312f;
    font-family: monospace;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: -0.05em;
    margin-right: 0.5rem;
}

.tab-content ul {
    list-style: none;
    padding-left: 0;
}

.tab-content ul li {
    display: flex;
    align-items: start;
    margin-bottom: 0.5rem;
}

.tab-content ul li::before {
    content: "[\00a0]";
    color: #e7312f;
    font-family: monospace;
    font-weight: 300;
    letter-spacing: -0.05em;
    margin-right: 0.5rem;
}

/* ========== MOBILE MENU IMPROVEMENTS - FIXED ========== */
#mobile-nav {
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  display: none !important; /* Start hidden with !important */
  height: auto !important; /* Ensure height is not constrained */
  min-height: auto !important;
}

/* Mobile menu visibility control - STRONG override */
#mobile-nav.mobile-open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 200px !important; /* Increased minimum height */
  max-height: calc(100vh - 100px) !important;
  overflow: visible !important;
  position: relative !important;
  width: 100% !important;
}

/* Override ALL Tailwind classes for mobile menu */
@media (max-width: 767px) {
  #mobile-nav {
    display: none !important;
    height: auto !important;
  }
  
  /* FORCE visibility when opened - strongest possible rule */
  #mobile-nav.mobile-open,
  div#mobile-nav.mobile-open,
  .md\:hidden#mobile-nav.mobile-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1000 !important;
    height: auto !important;
    min-height: 200px !important; /* Ensure substantial minimum height */
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
  }
  
  /* Remove any hidden classes when mobile-open is active */
  #mobile-nav.mobile-open.hidden {
    display: block !important;
    height: auto !important;
  }
}

/* FORCE ALL INTERNAL ELEMENTS TO BE VISIBLE */
#mobile-nav.mobile-open * {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

/* Specific overrides for accordion structure */
#mobile-nav.mobile-open .bg-gray-50,
#mobile-nav.mobile-open .accordion {
  display: block !important;
  height: auto !important;
  min-height: 100px !important;
  width: 100% !important;
}

#mobile-nav.mobile-open .accordion-item {
  display: block !important;
  height: auto !important;
  min-height: 50px !important;
  width: 100% !important;
  border-bottom: 1px solid #e5e7eb !important;
}

#mobile-nav.mobile-open .accordion-header {
  display: flex !important;
  height: auto !important;
  min-height: 50px !important;
  padding: 16px !important;
  width: 100% !important;
  background-color: white !important;
  cursor: pointer !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* ========== ACCORDION CONTENT - HIDDEN BY DEFAULT ========== */
.accordion-content {
  display: none !important; /* Force hidden by default */
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
  background-color: #f9fafb !important;
}

/* Show accordion content when not hidden */
.accordion-content:not(.hidden) {
  display: block !important;
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
}

/* Mobile menu accordion content overrides */
#mobile-nav.mobile-open .accordion-content:not(.hidden) {
  display: block !important;
  height: auto !important;
  min-height: auto !important;
  width: 100% !important;
  background-color: #f9fafb !important;
  opacity: 1 !important;
  overflow: visible !important;
}

#mobile-nav.mobile-open .accordion-content ul {
  display: block !important;
  padding: 8px 16px !important;
  height: auto !important;
}

#mobile-nav.mobile-open .accordion-content li {
  display: block !important;
  height: auto !important;
  min-height: 40px !important;
  padding: 8px 0 !important;
}

#mobile-nav.mobile-open .accordion-content a {
  display: block !important;
  height: auto !important;
  min-height: 32px !important;
  padding: 8px 0 !important;
  color: #374151 !important;
  text-decoration: none !important;
}

/* Override any hidden classes on internal elements when accordion is open */
#mobile-nav.mobile-open .accordion-content:not(.hidden) * {
  display: block !important;
}

/* Remove any height constraints from parent elements */
body.mobile-menu-open #mobile-nav.mobile-open {
  height: auto !important;
  max-height: calc(100vh - 150px) !important;
}

.accordion-item {
  border-bottom: 1px solid #e5e7eb;
}

.accordion-header {
  background-color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
}

.accordion-header:hover {
  background-color: #f3f4f6;
}

.accordion-header:active {
  background-color: #e5e7eb;
}

.accordion-content ul {
  max-height: 300px;
  overflow-y: auto;
}

.accordion-content a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.accordion-content a:hover {
  color: #e7312f;
  padding-left: 0.75rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.rotate-180 {
  transform: rotate(180deg);
}

/* ========== MOBILE MENU TOGGLE BUTTON FIXES ========== */
#mobile-menu-toggle {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  background-color: #e7312f !important;
  color: white !important;
  border: none !important;
  padding: 8px !important;
  border-radius: 0px !important;
}

#mobile-menu-toggle:hover {
  background-color: #e7312f !important;
  color: white !important;
}

#mobile-menu-toggle:active {
  background-color: #b91c1c !important;
  color: white !important;
}

/* Fix for hamburger staying white - ensure it reverts to normal state */
#mobile-menu-toggle:not(.mobile-menu-active) {
  background-color: #e7312f !important;
  color: white !important;
}

#mobile-menu-toggle.mobile-menu-active {
  background-color: #e7312f !important;
  color: white !important;
}

/* Ensure SVG icon stays white */
#mobile-menu-toggle svg {
  color: white !important;
  stroke: white !important;
}

/* ========== CART COUNT STYLING - FIXED ========== */
.cart-count {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  background-color: #e7312f !important;
  color: white !important;

  font-weight: bold !important;
  width: 16px !important;
  height: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  line-height: 1 !important;
  text-align: center !important;
  border: 2px solid white !important;
  box-sizing: border-box !important;
  min-width: 16px !important;
  min-height: 16px !important;
}

/* Hide cart count when it's 0 */
/* .cart-count[data-count="0"],
.cart-count:empty {
  display: none !important;
} */

/* Mobile cart count adjustments */
@media (max-width: 767px) {
  .cart-count {
    width: 14px !important;
    height: 14px !important;
    font-size: 9px !important;
    top: -3px !important;
    right: -3px !important;
  }
}

/* ========== RESPONSIVE & ANIMATIONS ========== */
@media (min-width: 768px) {
  #mega-menu {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
  }

  .category-content.active {
    animation: fadeIn 0.3s ease-in-out;
  }

  #grid-menu-content {
    animation: fadeIn 0.3s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Grid responsive columns */
  .grid {
    display: grid;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gap-4 {
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  #mega-menu .flex {
    flex-direction: column;
  }
  
  .w-64 {
    width: 100%;
  }

  /* Mobile grid menu improvements */
  #grid-menu-content .grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }


  /* Mobile accordion improvements */
  .accordion-content ul {
    padding: 0.5rem 1rem;
  }

  .accordion-content li {
    margin-bottom: 0.25rem;
  }

  .accordion-content a {
    padding: 0.5rem 0;
    display: block;
    font-size: 14px;
  }
}

.side-nav-item a svg,
.category-content a svg,
.accordion-header svg {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  position: static;
}

/* Exclude specific elements from bracket effects */
.product-card a::before,
.product-card a::after,
.logo-wrapper a::before,
.logo-wrapper a::after,
button a::before,
button a::after,
.flex-items-center a::before,
.flex-items-center a::after,
.grid-menu-item a::before,
.grid-menu-item a::after {
  content: none !important;
}

/* Strong exclusion for side navigation items (main categories in mega menu) */
.side-nav-item a::before,
.side-nav-item a::after,
#side-nav a::before,
#side-nav a::after,
.mega-menu-categories a::before,
.mega-menu-categories a::after {
  content: none !important;
  margin: 0 !important;
  opacity: 0 !important;
  display: none !important;
}

.nav-button {
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-button:focus {
  outline: none;
}

body.mega-menu-open {
  overflow: hidden;
}

body.mobile-menu-open {
  overflow: hidden;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

#mega-menu {
  top: 100%;
  left: 0;
  right: 0;
}

nav.bg-primary .container,
nav.bg-red-600 .container {
  position: relative;
}

.woocommerce p.price del,
.woocommerce p.price ins {
    display: block;
}



.woocommerce p.price ins {
    color: #e7312f; /* or use Tailwind: text-red-600 if using utility classes */
}

.woocommerce-error::before{background-image: none!important;}

.woocommerce-error {padding: 15px!important;}











/*
   SERVICES PAGE STYLES - SIMPLIFIED (NO MOBILE TOGGLE)
  */

/* Main Services Section */
.s-services {
	padding: 100px 0;
	position: relative;
}

.s-services .container {
	position: relative;
	z-index: 2;
}

/* Background Image */
.s-services .bg-services {
	position: absolute;
	width: 100%;
	height: 480px;
	top: 0;
	left: 0;
}

.s-services .bg-services::after {
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.7);
}

/* Layout Structure */
.s-services .row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.s-services .col-3.serv-wrap {
    flex: 0 0 320px;
    max-width: 320px;
}

.s-services .col {
    flex: 1;
    min-width: 0;
}

/* Sidebar */
.s-services .serv-menu {
	position: relative;
	padding: 20px 30px;
	background-color: #fff;
	width: 100%;
	margin-top: 20px;
	border: 1px solid #e4e4e4;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.s-services .serv-menu:hover {
	box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.s-services .serv-sticky {
    position: sticky;
    top: 20px;
}

/* Menu Header */
.s-services .serv-menu h3 {
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	margin: 0 0 10px 0;
	padding: 0;
	color: #333;
}

/* Menu List */
.s-services .serv-menu-list {
	list-style-type: none;
	display: block;
	margin: 0;
	padding: 0;
}

.serv-menu-list > li {
	margin: 6px 0;
	border-bottom: 1px solid #f1f1f1;
}

.serv-menu-list > li:last-child {
	border-bottom: none;
}

/* Menu Links */
.s-services .serv-menu-list .menu-link {
	display: block;
	font-size: 16px;
	font-weight: 500;
	color: #8c8c8c;
	padding: 6px 0;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	border-left: 4px solid transparent;
	margin-left: -30px;
	padding-left: 30px;
}

.s-services .serv-menu-list .menu-link:hover {
	color: #E7312F;
	background-color: #fdf2f2;
	border-left-color: #E7312F;
	padding-left: 35px;
	transform: translateX(5px);
	margin-left: -35px;
}

.s-services .serv-menu-list .current-menu-item .menu-link,
.s-services .serv-menu-list .current_page_item .menu-link {
	color: #E7312F;
	background-color: #fdf2f2;
	border-left-color: #E7312F;
	font-weight: 700;
	margin-left: -35px;
	padding-left: 35px;
}

.s-services .serv-menu-list .current-menu-item .menu-link::after,
.s-services .serv-menu-list .current_page_item .menu-link::after {
	position: absolute;
	right: 10px;
	color: #E7312F;
	font-size: 12px;
}

/* Service Title */
.serv-title {
	font-weight: 700;
	font-size: 56px;
	color: #fff;
	max-width: 600px;
	border-right: 10px solid #E7312F;
	position: relative;
	width: fit-content;	
	padding-top: 40px;
}

/* Service Main Content */
.serv-main {
	margin-top: 20px;
}

/* Service Top Section */
.serv-top {
	border-left: 10px solid #E7312F;
	position: relative;
	margin-bottom: 30px;
}

.serv-top::after, 
.serv-top::before {
	position: absolute;
	content: '';
	width: 40px;
	height: 10px;
	background-color: #E7312F;
	left: -10px;
}

.serv-top::before {
	top: -3px;
}

.serv-top::after {
	bottom: -3px;
}

.serv-top h1 {
	font-weight: 700;
	font-size: 56px;
	color: #fff;
	padding: 26px;
}

.serv-top h1::after, 
.serv-top h1::before {
	position: absolute;
	content: '';
	width: 40px;
	height: 10px;
	background-color: #E7312F;
	right: -10px;
}

.serv-top h1::before {
	top: -3px;
}

.serv-top h1::after {
	bottom: -3px;
}

/* ========================================================================
   CONTENT CARDS - FOCUSED STYLING
   ======================================================================== */

/* FIRST CARD: ACF Content Field */
.serv-top .serv-box {
	margin-top: 40px;
	background-color: #fff;
	padding: 40px;
	font-size: 18px;
	line-height: 28px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	border: 1px solid #f0f0f0;
	transition: all 0.3s ease;
}

.serv-top .serv-box:hover {
	box-shadow: 0 8px 30px rgba(0,0,0,0.15);
	transform: translateY(-3px);
}

.serv-box h2 {
	color: #E7312F;
	font-size: 28px;
	margin-bottom: 20px;
	font-weight: 700;
}

.serv-box h3 {
	color: #333;
	font-size: 24px;
	margin-bottom: 15px;
	font-weight: 600;
}

.serv-box p {
	color: #666;
	line-height: 28px;
	margin-bottom: 20px;
}

.serv-box ul {
	margin-bottom: 20px;
}

.serv-box ul li {
	color: #666;
	line-height: 24px;
	margin-bottom: 8px;
}


.serv-top .serv-box a {
    
    color: #E7312F;
 
}

.serv-top .serv-box a:hover {
text-decoration: underline;
}



./*serv-top .serv-box a {
    display: inline-block;
    font-size: 15px;
    color: #fff;
    padding: 15px 30px;
    margin-top: 20px;
    background-color: #E7312F;
    transition: all .3s ease-in-out;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(231, 49, 47, 0.3);
}

.serv-top .serv-box a:hover {
	background-color: #b92726;
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(231, 49, 47, 0.4);
}*/

/* SECOND CARD: WordPress Content Field */
.serv-content {
	margin-top: 30px;
	padding: 40px;
	background-color: #fff;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	border: 1px solid #f0f0f0;
	transition: all 0.3s ease;
}

.serv-content:hover {
	box-shadow: 0 8px 30px rgba(0,0,0,0.15);
	transform: translateY(-3px);
}

.serv-content h2 {
	color: #333;
	margin-bottom: 20px;
	font-size: 28px;
	font-weight: 700;
}

.serv-content h3 {
	color: #E7312F;
	margin-bottom: 15px;
	font-size: 22px;
	font-weight: 600;
}

.serv-content h4 {
	color: #333;
	margin-bottom: 12px;
	font-size: 18px;
	font-weight: 600;
}

.serv-content p {
	line-height: 28px;
	color: #666;
	margin-bottom: 20px;
}

.serv-content ul, .serv-content ol {
	margin-bottom: 20px;
	padding-left: 20px;
}

.serv-content ul li, .serv-content ol li {
	color: #666;
	line-height: 26px;
	margin-bottom: 8px;
}

.serv-content strong {
	color: #333;
	font-weight: 700;
}

/* Enhanced Table Styling */
.serv-content table {
	width: 100%;
	margin: 30px 0;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	border-collapse: collapse;
}

.serv-content table,
.serv-content td,
.serv-content th {
	border: none;
}

.serv-content .wp-block-button__link {
	font-weight: bold;
	padding: 12px 25px;
	background-color: #E7312F;
	color: white;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.serv-content .wp-block-button__link:hover {
	background-color: #b92726;
	transform: translateY(-2px);
}

.serv-content > figure {
	margin: 0 0 2rem;
}

.serv-content table,
.serv-content thead,
.serv-content tbody {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.serv-content thead {
	font-size: 16px;
	background-color: #f8f9fa;
	border-bottom: 2px solid #E7312F;
}

.serv-content thead tr {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	color: #333;
	font-weight: 700;
}

.serv-content thead tr th {
	width: 100%;
	max-width: 15%;
	text-align: right;
	padding: 20px 15px;
	border: none;
}

.serv-content thead tr th:nth-child(1) {
	width: 100%;
	min-width: 42%;
	text-align: left;
}

.serv-content tbody {
	font-size: 16px;
}

.serv-content tbody tr {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	font-weight: 500;
	color: #666;
	border-bottom: 1px solid #f1f1f1;
	transition: all 0.3s ease;
}

.serv-content tbody tr:hover {
	background-color: #fdf2f2;
	color: #333;
}

.serv-content tbody tr td {
	width: 100%;
	max-width: 19%;
	text-align: right;
	padding: 18px 15px;
	border: none;
}

.serv-content tbody tr td:nth-child(1) {
	width: 100%;
	min-width: 42%;
	text-align: left;
	font-weight: 600;
	color: #333;
}

/* Dark Services Section */
.serv-dark {
	padding-top: 75px;
	padding-bottom: 50px;
	margin-top: 60px;
	background-color: #000000;
}

.serv-dark .owl-carousel .owl-nav button.owl-next,
.serv-dark .owl-carousel .owl-nav button.owl-prev {
	color: #fff;
	border-color: #fff;
}

/* Service Banner */
.s-services .banner-home {
	margin-top: 60px;
}

.s-services .banner-home .row > div:nth-child(1) {
	max-width: 56%;
}

.s-services .banner-home .row > div:nth-child(2) {
	max-width: 44%;
}

.s-services .banner-home .label-yellow {
	color: #000;
}

/* Sticky Stopper */
.sticky-stopper {
	height: 100px;
}

/* ==========================================================================
   RESPONSIVE STYLES - SIMPLIFIED
   ========================================================================== */

@media (max-width: 768px) {
    /* HIDE SIDEBAR COMPLETELY ON MOBILE */
    .s-services .col-3.serv-wrap {
        display: none;
    }
    
    /* Full width content on mobile */
    .s-services .row {
        flex-direction: column;
        gap: 0;
    }
    
    .s-services .col {
        width: 100%;
        max-width: 100%;
    }
    
    /* Adjust content for mobile */
    .serv-top h1 {
        font-size: 36px;
        padding: 20px;
    }
    
    .serv-title {
        font-size: 32px;
    }
    
    .serv-top .serv-box {
        padding: 30px 20px;
        font-size: 16px;
        line-height: 24px;
        margin-top: 30px;
    }
    
    .serv-content {
        padding: 30px 20px;
        margin-top: 20px;
    }
    
    .serv-box h2, .serv-content h2 {
        font-size: 24px;
    }
    
    .serv-box h3, .serv-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) { 
	.serv-top h1 {
		font-size: 28px;
	}
	
	.serv-title {
		font-size: 28px;
	}
	
	.s-services {
		padding: 50px 0;
	}
	
	.serv-top .serv-box,
	.serv-content {
        padding: 20px 15px;
        font-size: 14px;
        line-height: 22px;
    }
    
    .serv-box h2, .serv-content h2 {
        font-size: 22px;
    }
}

.dgwt-wcas-open-pirx .dgwt-wcas-details-outside.dgwt-wcas-is-details .dgwt-wcas-suggestions-wrapp, .dgwt-wcas-open-pirx .dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion, .dgwt-wcas-open-pirx body.dgwt-wcas-details-left .dgwt-wcas-details-wrapp {

  border-left: 1px solid black;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input { border-radius: 0px;}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {height: 38px!important;}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
top: 14px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
 
    border: 1px solid transparent;
   
}


div.product-type-simple div.bg-gray-100 {    background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));}


div.product-type-simple div.bg-gray-100 img {
  mix-blend-mode: multiply;
}

.bracket-button {
    position: relative;
    background-color: #e7312f;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.bracket-button::before,
.bracket-button::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 16px;
  border: 4px solid #e7312f; /* now matches the button background */
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.bracket-button::before {
  left: 0;
  border-right: none;
  transform: translateY(-50%) translateX(-10px);
}

.bracket-button::after {
  right: 0;
  border-left: none;
  transform: translateY(-50%) translateX(10px);
}

.bracket-button:hover::before,
.bracket-button:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    border: 1px solid black;
}


.woocommerce-breadcrumb {padding-top: 20px; padding-bottom: 20px;}

div.product-item div.relative img, div.products div.product-item img{mix-blend-mode: multiply;}

.added {
    background-color: #2FB401 !important;
    border-color: #2fb400 !important;
    color: white !important;
}

form.cart a.added_to_cart{display: none!important;}

p ins, ins .woocommerce-Price-amount bdi{color: #ef4444!important; display: block;
font-weight: bold; text-decoration: none;}

/* Make only sale prices red */
ins .woocommerce-Price-amount bdi {
    color: #ee2e24 !important;
}

/* Keep original prices black everywhere */
.woocommerce-Price-amount bdi,
del .woocommerce-Price-amount bdi,
del .woocommerce-Price-amount,
.text-red-600 del {
    color: #000000;
    text-decoration-color: #000000;
}





.woocommerce-shipping-destination{padding-top:5px; padding-bottom:5px;}

.shipping-calculator-button, .shipping-calculator-form button {
  text-decoration: underline;
color:#e7312f;
}

.shipping-calculator-form .form-row {
    padding-top: 5px;
    padding-bottom: 5px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid black;

    border-radius: 0px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: black;
    line-height: 28px;
}

/* Change focus border and shadow */
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single:focus-visible,
.select2-container--default .select2-selection--single:focus-within {
    border-color: #e7312f !important;
    box-shadow: 0 0 0 2px rgba(231, 49, 47, 0.3) !important;
}

/* Change selected item background in the dropdown list */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #e7312f !important;
    color: white !important;
}

/* Optional: change the arrow icon on hover/focus */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #e7312f transparent transparent transparent !important;
}
#calc_shipping_city_field label, #calc_shipping_postcode_field label {
    display: block;
    margin-bottom: 0.25rem; /* spacing between label and input */
}

#calc_shipping_city_field input, #calc_shipping_postcode_field input {
    display: block;
    width: 100%;
  border: 1px solid black;
      display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 1280px) {
  .container {
    padding-left: 64px !important;
    padding-right: 64px !important;
  }
}




.trp-language-switcher {
    height: auto;
    display: flex;
  width : inherit;
}
.trp-language-switcher > div {
    box-sizing: border-box;
    padding: 0;
    border: inherit;
    border-radius: 0;
    background-image:inherit;
    background-repeat: no-repeat;
    background-position: inherit;
    background-size: inherit;
    background-repeat: inherit;
    background-color: inherit;
    color: white;
}
.trp-language-switcher > div > a {
    display: block;
    padding: 0;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    font-style: inherit;
    font-weight: inherit;
    font-size: inherit;
}


.trp-language-switcher:hover {margin-top: -8px;}

.trp-language-switcher > div > a:hover {
    background: inherit;
    border-radius: 0px;
  text-decoration: underline;
     
}


    .wc-bis-form-container {
        background: white!important;
        border-color: black!important;
        color: #fff!important;
    }

    .wc-bis-title {
        color: black!important;
    }

    .wc-bis-form-container {
    max-width: 400px;
    margin: 20px 0;
    background: #fff!important;
    border: 1px solid #000000!important;
    border-radius: 0px!important;
    padding: 20px;
    box-shadow: none!important;
}

    .wc-bis-email-input {
        background-color: white !important;
        border-color: black !important;
        color: black!important;
    }

    .wc-bis-email-input {
  
    border: 1px solid #000!important;
    border-radius: 0px!important;
    background-color: #fff!important;
   
}

.wc-bis-submit-btn {
   
    border-radius: 0px!important;
  }








body.page-template-services-template table,body.page-template-services-template td,body.page-template-services-template th {
    border: 1px solid black;
}

body.page-template-services-template table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.5em;
    width: 100%
}

body.page-template-services-template th {
    font-weight: 600
}

body.page-template-services-template td,body.page-template-services-template th {
    padding: .7em 1em;
    border-width: 0 1px 1px 0
}


body.page-template-services-template table tr a {
  font-size: 15px !important;
  color: #DF2F2D !important;
  padding: inherit !important;
  margin-top: inherit !important;
  background-color: inherit !important;
  transition: inherit !important;
  font-weight: bold !important;
  text-decoration: inherit !important;
  box-shadow: inherit !important;
  display: contents !important;
}










div.woo-description table, div.woo-description td, div.woo-description th {
    border: 1px solid black;
}

div.woo-description table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.5em;
    width: 100%
}

div.woo-description th {
    font-weight: 600
}

div.woo-description td, div.woo-description th {
    padding: .7em 1em;
    border-width: 0 1px 1px 0
}


div.woo-description table tr a {
  font-size: 15px !important;
  color: #DF2F2D !important;
  padding: inherit !important;
  margin-top: inherit !important;
  background-color: inherit !important;
  transition: inherit !important;
  font-weight: bold !important;
  text-decoration: inherit !important;
  box-shadow: inherit !important;
  display: contents !important;
}






/* Style label before (the brackets) in services pages*/
div.serv-box label::before {
    content: "[\00a0]";
    font-family: monospace;
    font-weight: 300;
    font-size: 0.875rem;
    letter-spacing: -0.05em;
    color: #e7312f;
    margin-right: 0.5rem;
    display: inline-block;
    width: 1.5em;
}
div.serv-box ul li::before {
    content: "[\00a0]";
    color: #e7312f;
    font-family: monospace;
    font-weight: 300;
    font-size: 0.875rem;
    letter-spacing: -0.05em;
    margin-right: 0.5rem;
}


div.serv-box ul li::before {
    content: "[\00a0]";
    color: #e7312f;
    font-family: monospace;
    font-weight: 300;
    letter-spacing: -0.05em;
    margin-right: 0.5rem;
}

.serv-box .acf-field input[type=text], .serv-box .acf-field input[type=password], .serv-box .acf-field input[type=date], .serv-box .acf-field input[type=datetime], .serv-box .acf-field input[type=datetime-local], .serv-box .acf-field input[type=email], .serv-box .acf-field input[type=month], .serv-box .acf-field input[type=number], .serv-box .acf-field input[type=search], .serv-box .acf-field input[type=tel], .serv-box .acf-field input[type=time], .serv-box .acf-field input[type=url], .serv-box .acf-field input[type=week], .serv-box .acf-field textarea, .serv-box .acf-field select {
    padding: 15px!important;
    border: 1px solid black!important;
    border-radius: 0px!important;
}

.serv-box .acf-fields>.acf-field {

    border-top: none!important;
}

.serv-box .acf-button, .serv-box .acf-tab-button {
    pointer-events: auto !important;
    --tw-bg-opacity: 1;
    background-color: rgb(231 49 47 / var(--tw-bg-opacity, 1));
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    font-weight: 700;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    background-color: #e7312f;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1;
}




ins {
  text-decoration: none !important;

}

.no-border-top {
  border-top: 0 !important;
  border-color: white!important;;
}




.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  background: #fff;
  padding: 0px !important;
  border-radius: 0px !important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg {

  display: none!important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-close:not(.dgwt-wcas-inner-preloader) {

  display: none!important;
}

.dgwt-wcas-open .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-inpu{
  border-radius: 0px!important;
}


.dgwt-wcas-open-pirx .dgwt-wcas-details-outside.dgwt-wcas-is-details .dgwt-wcas-suggestions-wrapp, .dgwt-wcas-open-pirx .dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion, .dgwt-wcas-open-pirx body.dgwt-wcas-details-left .dgwt-wcas-details-wrapp {

  margin-top: 29px;
 
}

.dgwt-wcas-open-pirx body.dgwt-wcas-details-right .dgwt-wcas-details-wrapp {
  border-radius: 0px !important;
  margin-top: 29px;
}

.dgwt-wcas-details-desc {

  display: none;
}

.dgwt-wcas-details-space .dgwt-wcas-details-hr, .dgwt-wcas-pd-addtc, .dgwt-wcas-stock.in-stock {
  display: none;
}

.dgwt-wcas-details-left .dgwt-wcas-details-main-image img, .dgwt-wcas-si img ,  .dgwt-wcas-tpd-image img{

  mix-blend-mode: multiply;
}

.dgwt-wcas-details-main-image, .dgwt-wcas-is-details .dgwt-wcas-si , .dgwt-wcas-tpd-image{
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}



 .dgwt-wcas-open-pirx body.dgwt-wcas-details-left .dgwt-wcas-details-wrapp {
  margin-top: 29px;
  border-radius: 0px !important;
  border: 1px solid black;
}

.dgwt-wcas-open-pirx .dgwt-wcas-details-outside.dgwt-wcas-is-details .dgwt-wcas-suggestions-wrapp, .dgwt-wcas-open-pirx body.dgwt-wcas-details-right .dgwt-wcas-details-wrapp {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  
}

.dgwt-wcas-details-right .dgwt-wcas-details-main-image img{
  mix-blend-mode: darken;
}

.dgwt-wcas-has-headings .dgwt-wcas-suggestion-headline .dgwt-wcas-st {
  border-bottom: 1px solid #000000;

}
.dgwt-wcas-open-pirx .dgwt-wcas-open .dgwt-wcas-suggestions-wrapp, .dgwt-wcas-open-pirx .dgwt-wcas-open.dgwt-wcas-nores .dgwt-wcas-suggestions-wrapp{
  border-radius: 0px !important;
}

.dgwt-wcas-stock.out-of-stock {
    display: none!important;
}

.dgwt-wcas-tpd-image, .dgwt-wcas-si img {
  border: none!important;
  border-radius: 0px!important;
  
}

.dgwt-wcas-open .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
  border-radius: 0px!important;
}

.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input, .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
  border: 1px solid black!important;
}

/* Make price white in savings badge */
.onsale .woocommerce-Price-amount,
.onsale .woocommerce-Price-amount bdi,
.onsale .woocommerce-Price-currencySymbol {
    color: white;
}

/* Styles pour le badge d'épargne */
.onsale .woocommerce-Price-amount,
.onsale .woocommerce-Price-amount bdi,
.onsale .woocommerce-Price-currencySymbol {
    color: white !important;
    font-family: 'Proxima Nova', sans-serif !important;
    font-weight: 700 !important;
}

/* Styles pour le badge d'épargne personnalisé */
.bg-\[\#e7312f\] .woocommerce-Price-amount,
.bg-\[\#e7312f\] .woocommerce-Price-amount bdi,
.bg-\[\#e7312f\] .woocommerce-Price-currencySymbol {
    color: white !important;
    font-family: 'Proxima Nova', sans-serif !important;
    font-weight: 700 !important;
}

/* Styles pour le badge d'épargne dans les options de produit */
.product-item .bg-\[\#ee2e24\] .woocommerce-Price-amount,
.product-item .bg-\[\#ee2e24\] .woocommerce-Price-amount bdi,
.product-item .bg-\[\#ee2e24\] .woocommerce-Price-currencySymbol {
    color: white !important;
    font-family: 'Proxima Nova', sans-serif !important;
    font-weight: 700 !important;
}

/* Couleur rouge principale */
:root {
    --color-red: #ee2e24;
}

/* Remplacer toutes les instances de text-red-600 */
.text-red-600,
.text-red-500,
.text-red-700,
.text-red-800,
.hover\:text-red-600:hover,
.hover\:text-red-700:hover,
.hover\:text-red-800:hover {
    color: var(--color-red) !important;
}

/* Remplacer les bordures rouges */
.border-red-400,
.border-red-500,
.border-red-600 {
    border-color: var(--color-red) !important;
}

/* Remplacer les fonds rouges */
.bg-red-50,
.bg-red-100,
.bg-red-500,
.bg-red-600 {
    background-color: var(--color-red) !important;
}

/* Remplacer les anneaux de focus */
.focus\:ring-red-500:focus,
.focus\:ring-red-600:focus {
    --tw-ring-color: var(--color-red) !important;
}

/* WooCommerce Notices Styling */
.woocommerce-notices-wrapper {
    width: 100%;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 2rem;
    align-items: center;
    text-align: center;
}

.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:focus {
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-message {
    background-color: #e8f5e6;
    color: #2fb400;
}

.woocommerce-info {
    background-color: #eff6ff;
    color: #1e40af;
}

.woocommerce-error {
    background-color: #fef2f2;
    color: #991b1b;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    margin-right: 0.5rem;
}

/* Style des boutons dans les notifications */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s;
    border: none;
    outline: none !important;
    text-decoration: none !important;
    margin-left: 1rem;
    white-space: nowrap;
}

.woocommerce-message .button:focus,
.woocommerce-info .button:focus,
.woocommerce-error .button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-message .button {
    background-color: #2fb400;
    color: white;
}

.woocommerce-message .button:hover {
    background-color: #2fb400;
}

.woocommerce-info .button {
    background-color: #2563eb;
    color: white;
}

.woocommerce-info .button:hover {
    background-color: #2563eb;
}

.woocommerce-error .button {
    background-color: #e7312f;
    color: white;
}

.woocommerce-error .button:hover {
    background-color: #e7312f;
}

/* Style des liens dans les notifications */
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
    color: currentColor;
    text-decoration: underline;
    outline: none !important;
}

.woocommerce-message a:not(.button):focus,
.woocommerce-info a:not(.button):focus,
.woocommerce-error a:not(.button):focus {
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-message a:not(.button):hover,
.woocommerce-info a:not(.button):hover,
.woocommerce-error a:not(.button):hover {
    text-decoration: none;
}

/* Style des icônes dans les notifications */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

/* Animation pour les notifications */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    transition: all 0.3s ease-in-out;
}

/* Style spécifique pour les messages de succès d'ajout au panier */
.woocommerce-message.added_to_cart {
    background-color: #e8f5e6;
    color: #2fb400;
}

/* Style pour les messages de stock */
.woocommerce-message.out-of-stock {
    background-color: #fefce8;
    color: #854d0e;
}

/* Style pour les messages de promotion */
.woocommerce-message.sale {
    background-color: #fef2f2;
    color: #991b1b;
}

/* Ajustement de l'espacement pour les notifications dans les pages d'archives */
.archive .woocommerce-notices-wrapper {
    margin-bottom: 1.5rem;
}

/* Ajustement de l'espacement pour les notifications dans les pages de produit */
.single-product .woocommerce-notices-wrapper {
    margin-bottom: 1.5rem;
}


div.af-success {background-color: #e8f5e6; padding:15px;}

div.af-success p{
	margin-bottom:0;
}

/* ==========================================================================
   CAROUSEL IMPROVEMENTS
   ========================================================================== */

/* Smooth transitions for all carousels */
.carousel-track,
.swiper-container,
[class*="carousel"] {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced carousel navigation buttons */
.carousel-nav-button {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.carousel-nav-button:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Improved carousel indicators */
.carousel-indicator {
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicator:hover {
    transform: scale(1.2);
}

.carousel-indicator.active {
    background-color: #e7312f !important;
    transform: scale(1.1);
}

/* Auto-play pause indicator */
.carousel-container[data-autoplay="paused"]::after {
    content: "⏸";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-container[data-autoplay="paused"]:hover::after {
    opacity: 1;
}

/* Smooth slide transitions */
.carousel-slide {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Enhanced focus states for accessibility */
.carousel-nav-button:focus-visible,
.carousel-indicator:focus-visible {
    outline: 2px solid #e7312f;
    outline-offset: 2px;
}

/* Loading states for carousel images */
.carousel-slide img {
    transition: opacity 0.3s ease;
}

.carousel-slide img[loading] {
    opacity: 0.7;
}

/* Responsive carousel improvements */
@media (max-width: 768px) {
    .carousel-nav-button {
        width: 40px;
        height: 40px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
}

/* Infinite scroll animation for logo slider */
@keyframes logoMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: logoMarquee 60s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .animate-marquee {
        animation-duration: 120s;
    }
    
    .carousel-track,
    .swiper-container,
    [class*="carousel"] {
        transition-duration: 0.3s;
    }
}

/* ==========================================================================
   RESPONSIVE STYLES - SIMPLIFIED
   ========================================================================== */

.carousel-track,
.carousel-slide {
    animation: none;
}

/* ========== VIDEO CONTAINER STYLES ========== */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========== MOBILE GALLERY SHOW MORE/LESS STYLES ========== */
.product-gallery-thumbnails .md\\:hidden .grid {
    transition: all 0.3s ease-in-out;
}

.product-gallery-thumbnails .md\\:hidden .grid > div {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.product-gallery-thumbnails .md\\:hidden .grid > div[x-show="showMoreImages"] {
    opacity: 0;
    transform: translateY(10px);
}

.product-gallery-thumbnails .md\\:hidden .grid > div[x-show="showMoreImages"]:not([x-show="false"]) {
    opacity: 1;
    transform: translateY(0);
}

/* Show more/less button styling */
.product-gallery-thumbnails button {
    transition: all 0.2s ease-in-out;
}

.product-gallery-thumbnails button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-gallery-thumbnails button:active {
    transform: translateY(0);
}

/* Show more/less link styling */
.product-gallery-thumbnails a {
    transition: all 0.2s ease-in-out;
    text-decoration: underline;
}

.product-gallery-thumbnails a:hover {
    text-decoration: none;
}