/* -------------------------------------------------- */
/* All  */
/* -------------------------------------------------- */

/* Remove tap highlight on mobile (Safari, Chrome on Android) */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Remove blue focus outline on buttons, links, inputs */
button,
a,
input,
textarea,
select {
  outline: none;
  /*-webkit-appearance: none;*/
  box-shadow: none;
}

/* Optional: Also remove inner border for input fields in some browsers */
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
  box-shadow: none;
}

/* -------------------------------------------------- */
/* Root  */
/* -------------------------------------------------- */

:root {
  --primary-color: #0D4A8A;
  --secondary-color: #F3F4F6;

  --text-color-1: #FFFFFF;
  --text-color-2: #6B7280;

  --background-color-1: #0D4A8A;
  --background-color-2: #F3F4F6;




  --font-family-1: 'inter-sem-medium-500';
  --font-family-2: 'inter-semi-bold-600';
  --font-family-3: 'inter-regular-400';
  --font-family-4: 'barlow-bold-700';


  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* -------------------------------------------------- */
/* FONT FACE - Import Poppins from Local Font Folder  */
/* -------------------------------------------------- */

@font-face {
  font-family: 'inter-sem-medium-500';
  src: url('../../webfonts/inter/Inter_24pt-Medium.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'inter-semi-bold-600';
  src: url('../../webfonts/inter/Inter_18pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'inter-regular-400';
  src: url('../../webfonts/inter/Inter_28pt-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'barlow-bold-700';
  src: url('../../webfonts/barlow/Barlow-Bold.ttf') format('truetype');
  font-weight: 700;
}

/* -------------------------------------------------- */
/* GLOBAL STYLES                                      */
/* -------------------------------------------------- */

body {
  font-family: 'inter-semi-bold-600';
  margin: 0;
  padding: 0;
  background-color: rgb(255, 255, 255);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------------------------- */
/* Preloader                                          */
/* -------------------------------------------------- */

#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

#preloader img {
  max-width: 30vw;
  width: 5%;
  height: auto;
}

@media (max-width: 767px) {
  #preloader img {
    width: 20%;
    /* bigger width on phones */
    max-width: none;
    /* override max-width for phones */
  }
}

/* -------------------------------------------------- */
/* Mobile menu                                           */
/* -------------------------------------------------- */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 10000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: block;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 10px 10px;
}

.mobile-menu.active {
  transform: translateX(0);
}

.close-btn {
  width: 36px;
  height: 36px;
  background-color: var(--background-color-2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.close-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.close-btn:active {
  background-color: rgba(0, 0, 0, 0.15);
}

.close-btn img {
  width: 24px;
  height: 24px;
}


/* -------------------------------------------------- */
/* Top Bar                                            */
/* -------------------------------------------------- */

.header {
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: var(--background-color-1);
  padding: 13px 0;
  font-size: 12px;
}

.top-bar span {
  white-space: normal;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  user-select: none;
}

.animated-text {
  position: relative;
  display: flex;
  flex-direction: column;
  animation: slideText 15s infinite;
}

.text-item {
  height: 20px;
  text-align: center;
  user-select: none;
}

@keyframes slideText {
  0% {
    transform: translateY(0%);
  }

  33.33% {
    transform: translateY(-100%);
  }

  66.66% {
    transform: translateY(-200%);
  }

  100% {
    transform: translateY(0%);
  }
}


.top-bar-links {
  font-size: 12px;
  border-bottom: 1px solid #E5E7EB;
}

.top-bar-links .container-links {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  user-select: none;
}

.top-links a,
.top-settings a {
  text-decoration: none;
  color: var(--text-color-2);
  font-family: var(--font-family-1);
  user-select: none;
}

.top-links,
.top-settings {
  display: flex;
  gap: 17px;
  align-items: center;
}

.top-links span {
  color: var(--text-color-2);
  user-select: none;
}

.top-links span strong {
  color: var(--primary-color);
  font-family: var(--font-family-2);
}

.main-bar .container-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 0;
}

.main-bar.fixed {
  position: fixed;
  padding: 0 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 1);
  /* semi-transparent */
  z-index: 9999;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}


.main-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}

.left-section {
  display: flex;
  gap: 35px;
  align-items: center;
}

.logo {
  height: 50px;
  user-select: none;
}

.store-location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-icon {
  width: 24px;
  height: 24px;
  user-select: none;
  opacity: 90%;
}

.location-text .label {
  font-size: 11px;
  color: #030712;
  font-family: var(--font-family-3);
  opacity: 70%;
  user-select: none;
}

.location-text .city {
  font-size: 13px;
  font-family: var(--font-family-2);
  color: #030712;
  opacity: 90%;
  user-select: none;
}

.search-section {
  flex-grow: 1;
  display: flex;
  margin: 0 20px;
}

.search-section input {
  width: 100%;
  padding: 15px;
  border: 0px solid #ffffff;
  background-color: #F3F4F6;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  outline: none;
  color: #6B7280;
  font-size: 14px;
  font-family: var(--font-family-1);
  user-select: none;
}

.search-section input::placeholder {
  color: #9CA3AF;
  font-size: 14px;
  font-family: var(--font-family-3);
}

.search-section button {
  background-color: #F3F4F6;
  border: 0px solid #F3F4F6;
  border-left: none;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  padding: 6px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.search-icon {
  width: 20px;
  height: 20px;
  user-select: none;
  opacity: 70%;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.account-user {
  position: relative;
  padding: 11px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 24px;
  overflow: hidden;
  /* Prevent overflow from the animation */
  z-index: 1;
}

/* The animated background circle */
.account-user::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background-color: var(--background-color-2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
  z-index: 0;
}

.account-icon {
  width: 24px;
  height: 24px;
  margin-right: 6px;
  pointer-events: none;
  user-select: none;
  opacity: 90%;
}

.account-text {
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.account-text .label {
  font-size: 11px;
  color: #030712;
  font-family: var(--font-family-3);
  opacity: 70%;
}

.account-text .label-compte {
  font-size: 13px;
  font-family: var(--font-family-2);
  color: #030712;
  opacity: 90%;
}

.account-icon,
.account-text {
  position: relative;
  z-index: 1;
}

.account-user:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.account-user:active {
  transform: scale(0.94);
  /* Shrinks a bit on click */
  transition: transform 0.5s ease;
}

.wishlist-user {
  position: relative;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.wishlist-icon {
  opacity: 90%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  color: #FEF2F2;
  font-size: 10px;
  font-weight: bold;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  text-align: center;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-2);
}

.wishlist-user:hover {
  transform: scale(0.97);
  transition: transform 0.5s ease;
}

.cart-shopping-user {
  position: relative;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.cart-icon-shopping {
  opacity: 90%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.cart-shopping-user:hover {
  transform: scale(0.97);
  transition: transform 0.5s ease;
}

.mobile-nav-toggle {
  cursor: pointer;
  display: none;
  align-items: center;
}

.mobile-icon {
  width: 24px;
  height: 24px;
}

.container-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}

.sidebar {
  width: 300px;
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
}

.item-list-last {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.item-list-last:hover {
  background-color: var(--background-color-2);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  user-select: none;
}

.sidebar-header:hover {
  background-color: var(--background-color-2);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.sidebar-header.is-closed:hover {
  border-radius: 12px;
  background-color: var(--background-color-2);
}

.sidebar-header h3 {
  flex: 1;
  font-size: 15px;
  font-family: var(--font-family-2);
  margin: 0 25px;
  color: #333;
}

.sidebar-header .icon-left {
  width: 20px;
  height: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
  color: #030712;
  user-select: none;
}

.sidebar ul li:hover {
  background-color: var(--background-color-2);
}

.sidebar ul li:active {
  transform: scale(0.995);
  transition: transform 0.5s ease;
}

.item-left {
  display: flex;
  align-items: center;
  flex-grow: 1;
  /* Push chevron to the right */
}

.item-left img {
  width: 20px;
  height: 20px;
}

.item-left .text {
  text-align: left;
  margin: 0 25px;
  font-family: var(--font-family-1);
  font-size: 14px;
}

.main-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-left: 12px;
}

.navbar {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-list {
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-group {
  display: flex;
  gap: 18px;
  padding: 0;
  font-family: var(--font-family-2);
}

.nav-group.second {
  margin-left: auto;
}

.nav-bar li {
  padding: 13px 0;
  font-size: 14px;
  cursor: pointer;
  color: #030712;
  transition: color 0.2s ease;
  height: auto;
}

.nav-bar li:hover {
  color: #0D4A8A;
}

.nav-group .active {
  font-family: var(--font-family-2);
  color: #0D4A8A;
  border-bottom: 2px solid #0D4A8A;
}

.nav-group .highlighted {
  color: #0D4A8A;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-group .badge-sale {
  background: red;
  color: #fff;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 2px;
}

.promo {
  display: none;
  position: relative;
  width: 100%;
  padding: 30px 30px;
  border-radius: 12px;
  margin-top: 0;
  /* no gap between .nav-bar and .promo */
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease, z-index 0s linear 0.6s;
  box-sizing: border-box;
  /* ensures padding doesn't break layout */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.promo.active {
  display: flex;
  user-select: none;
  margin-top: 12px;
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}



.promo-1 {
  background-image: url('../../upload/2025/01/slider-01.png');
  background-size: cover;
  /* Ensures image covers full area */
  background-position: center;
  /* Centers the image */
  background-repeat: no-repeat;
  /* Prevents tiling */
}


.promo-2 {
  background-image: url('../../upload/2025/01/slider-01.png');
  background-size: cover;
  /* Ensures image covers full area */
  background-position: center;
  /* Centers the image */
  background-repeat: no-repeat;
  /* Prevents tiling */
}

.promo-texts {
  flex: 1;
  min-width: 280px;
  position: relative;
  max-width: 500px;
  max-height: 900px;
}


.promo-text {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.badge-blue {
  font-family: var(--font-family-2);
  font-size: 13px;
  margin: 12px 0;
  color: #204A75;
}

.promo-text h1 {
  font-family: var(--font-family-2);
  font-size: 42px;
  margin: 12px 0;
  color: #0D4A8A;
  line-height: -1.4;
}

.promo-text p {
  font-size: 16px;
  color: #030712;
  font-family: var(--font-family-1);
  margin: 0;
  margin-bottom: 7px;
}


.promo-text .price {
  margin-top: 36px;
  font-size: 28px;
}

.promo-text .price .current {
  font-family: var(--font-family-4);
  color: red;
  line-height: 0.2;
}

.promo-text .price .old {
  font-size: 19.6px;
  text-decoration: line-through;
  color: #111827;
  font-weight: normal;
  margin-left: 8px;
  line-height: 0.2;
}

.price-description {
  font-family: var(--font-family-1);
  font-size: 11px;
  opacity: 50%;
  color: #030712;
}

.promo-text button {
  font-family: var(--font-family-2);
  color: #0d4a8a;
  border: none;
  padding: 12px 12px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 12px;
  transition: background-color 0.3s ease;
  border: 2px solid #0d4a8a;
}

.promo-text button:hover {
  background-color: #0d4a8a;
  color: #fff;
}

.promo-img {
  flex: 1;
  position: relative;
  min-width: 300px;
  max-width: 500px;
}

.slide {
  display: none;
  width: 100%;
  border-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  display: block;
  position: relative;
}

.nav-dots {
  display: none;
  justify-content: center;
  /* Center the container horizontally */
  align-items: center;
  /* Center vertically if needed */
  width: 100%;
}

.nav-dots.active {
  display: none;
}

.dots-container {
  display: flex;
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
  background-color: #FFFFFF;
  padding: 1px 12px;
  gap: 2px;
  border-radius: 30px;
  height: 21px;
  /* Optional: controls vertical space */
  inline-size: fit-content;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 1px;
  background-color: #E5E7EB;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
}

.slide-in-left,
.slide-out-left {
  animation: none !important;
}

.main-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 0;
}

.info-section {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #E5E7EB;
  padding: 20px 0;
  margin: 0;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 5px;
  /* space between icon and text */
  padding: 5px;
  margin: 0;
}

.info-icon img {
  width: 40px;
  /* adjust size as needed */
  height: auto;
}

.info-text h3 {
  font-size: 16px;
  margin: 0 0 4px 0;
  color: #030712;
  max-width: 220px;
}

.info-text p {
  font-size: 13px;
  margin: 0;
  color: #6B7280;
}

.offers-section {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  gap: 10px;
}

.offer-box {
  flex: 1;
  color: #111827;
  padding: 15px 30px;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
  position: relative;
}


.offer-box h1 {
  font-size: 22px;
  font-family: var(--font-family-2);
  margin: 10px 0;
}

.offer-box p {
  font-size: 13px;
  font-family: var(--font-family-3);
  color: #6B7280;
  margin-bottom: 20px;
}

.offer-box button {
  background: var(--background-color-2);
  color: #212529;
  border: 1px solid #E5E7EB;
  font-family: var(--font-family-1);
  font-size: 12px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 30px;
  width: fit-content;
}

.offer-box button i {
  margin-left: 2px;
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.offer-box button:hover i {
  transform: translateX(2px);
  /* Move the icon to the right */
}

.badge-offre {
  color: #0D4A8A;
  font-family: var(--font-family-1);
  font-size: 12px;
  padding: 2px 0px;
  display: inline-block;
  margin-bottom: 2px;
}

.badge-offre.blue {
  background: #0D4A8A;
}

.badge-offre.lightblue {
  background: #0D4A8A;
}

.new-products-section {
  padding: 2px 0px;
}

.new-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.new-products-header h2 {
  font-size: 18px;
  font-family: var(--font-family-3);
  font-weight: bold;
  color: #030712;
}

.new-products-header p {
  flex: 1 1 auto;
  color: #9CA3AF;
  font-size: 13px;
  font-family: var(--font-family-3);
  margin-left: 15px;
}

.view-all-button button {
  gap: 5px;
  background: transparent;
  color: #212529;
  border: 1px solid #E5E7EB;
  font-family: var(--font-family-1);
  font-size: 12px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 30px;
  width: fit-content;
}

.view-all-button button i {
  margin-left: 2px;
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.view-all-button button:hover i {
  transform: translateX(2px);
  /* Move the icon to the right */
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 5px 0;
}

.product-card {
  width: auto;
  min-width: 165px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  position: relative;
  background: transparent;
  text-align: center;
  transition: transform 0.2s ease;
  margin: 2px 1px;
}

.product-list-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  /* space between cards */
  justify-content: left;
  /* or flex-start */
}

.product-card-filter {
  width: 180px;
  /* fixed width */
  min-width: unset;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  position: relative;
  background: transparent;
  text-align: center;
  transition: transform 0.2s ease;
  margin: 2px 1px;
}

.discount-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  font-family: var(--font-family-2);
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 14px;
}

.wishlist-icon-product {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #030712;
  font-size: 16px;
  cursor: pointer;
}

.product-image {
  width: 100%;
  height: auto;
  margin: 20px 0 10px;
}

.product-image-filter {
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: cover;
}

.product-name {
  font-size: 12px;
  font-family: var(--font-family-2);
  color: #030712;
  margin: 1px 0;
  text-align: left;
  height: 60px;
  letter-spacing: 0.7px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.product-reviews {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 5px;
  margin: 5px 0;
}

.stars {
  font-size: 12px;
}

.star.full {
  color: gold;
  /* Full stars */
}

.star.empty {
  color: grey;
  /* Empty stars */
}

.star.half {
  color: gold;
  /* You can make half special later */
}


.review-count {
  font-size: 11px;
  font-family: var(--font-family-1);
  color: #6B7280;
}

.product-prices {
  display: flex;
  justify-content: left;
  align-items: left;
  margin: 10px 0;
}

.price-new {
  font-weight: bold;
  font-family: var(--font-family-2);
  color: red;
  font-size: 20px;
  margin-right: 5px;
}

.price-old {
  text-decoration: line-through;
  font-family: var(--font-family-2);
  color: #999;
  font-size: 12px;
}

.add-to-cart {
  background-color: transparent;
  color: #0D4A8A;
  font-family: var(--font-family-1);
  border: 1px solid #0D4A8A;
  padding: 8px 16px;
  border-radius: 15px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.plus-icon {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.add-to-cart:hover i {
  transform: translateX(2px);
  /* Move the icon to the right */
}

.offers-section-horizontal {
  padding: 40px 0;
}

.offers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.offers-header h3 {
  font-size: 18px;
  font-family: var(--font-family-3);
  font-weight: bold;
  color: #030712;
}

.offers-header p {
  flex: 1 1 auto;
  color: #9CA3AF;
  font-size: 13px;
  font-family: var(--font-family-3);
  margin-left: 15px;
}

.offers-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 15px;
}

.offer-card {
  background-size: cover;
  background-position: top center;
  border-radius: 12px;
  padding: 20px;
  color: #111827;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.badge-offre {
  color: #0D4A8A;
  font-family: var(--font-family-1);
  font-size: 12px;
  padding: 2px 0px;
  display: inline-block;
  margin-bottom: 2px;
}

.offer-card h1 {
  font-size: 22px;
  font-family: var(--font-family-2);
  margin: 10px 0 5px;
}

.offer-card p {
  font-size: 13px;
  font-family: var(--font-family-3);
  color: #6B7280;
  margin-bottom: 10px;
}

.offer-card button {
  background: var(--background-color-2);
  color: #212529;
  border: 1px solid #E5E7EB;
  font-family: var(--font-family-1);
  font-size: 12px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 30px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.offer-card button i {
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.offer-card button:hover i {
  transform: translateX(2px);
}

footer {
  background: var(--background-color-2);
}

.footer-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  flex-wrap: wrap;
  gap: 20px;
  text-align: left;
}

.news-label {
  flex: 1 1 50%;
}

.footer-top h4 {
  font-size: 20px;
  color: #111827;
  font-family: var(--font-family-2);
  margin-bottom: 8px;
}

.footer-top p {
  color: #6B7280;
  font-size: 13px;
  margin-bottom: 15px;
  font-family: var(--font-family-1);
}

.newsletter {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: right;
}

.newsletter-form {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2px;
  flex-wrap: wrap;
  padding: 0;
}

.newsletter-form input {
  padding: 12px;
  width: 280px;
  border: 1px solid #D1D5DB;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  background-color: #F3F4F6;
  outline: none;
  color: #6B7280;
  font-size: 14px;
  font-family: var(--font-family-1);
  user-select: none;
}

.newsletter-form input::placeholder {
  color: #9CA3AF;
  font-size: 14px;
  font-family: var(--font-family-3);
}

.newsletter-form button {
  background: var(--background-color-1);
  color: white;
  font-family: var(--font-family-2);
  padding: 10px 20px;
  border: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  cursor: pointer;
}

.newsletter-feedback {
  font-size: 11px;
  margin: 0;
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.newsletter-feedback.success,
.newsletter-feedback.error {
  opacity: 1;
  max-height: 50px;
  /* adjust as needed */
  font-family: var(--font-family-1);
  text-align: left;
}

.newsletter-feedback.success {
  color: green;
}

.newsletter-feedback.error {
  color: red;
}

.newsletter-feedback.resetting {
  opacity: 0 !important;
  max-height: 0 !important;
}

.newsletter small {
  color: #6B7280;
  font-size: 11px;
  font-family: var(--font-family-1);
  text-align: left;
}

.newsletter small a {
  text-decoration: none;
  color: var(--background-color-1)
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: #030712;
  font-family: var(--font-family-3);
  font-weight: 400;
}

.breadcrumb a {
  text-decoration: none;
  color: #030712;
  transition: color 0.2s;
}

.breadcrumb a span strong {
  color: #030712;
  font-family: var(--font-family-3);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--primary-color);
  /* darker on hover */
}

.breadcrumb a span strong:hover {
  color: var(--primary-color);
  /* darker on hover */
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  padding: 40px 0px;
  margin: auto;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h5 {
  font-size: 14px;
  color: #111827;
  margin-bottom: 15px;
  font-family: var(--font-family-2);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
  color: #6B7280;
  font-family: var(--font-family-1);
  font-size: 13px;

}

.footer-column ul li a {
  text-decoration: none;
  color: #6B7280;
  display: block;
  padding: 5px 0;
}

.footer-column ul li a:hover {
  color: var(--background-color-1);
}

.footer-column p {
  color: #6B7280;
  font-family: var(--font-family-1);
  font-size: 13px;
}

.footer-column p strong {
  color: var(--primary-color);
  font-family: var(--font-family-1);
  font-size: 13px;
}

.footer-column a {
  color: var(--primary-color);
  font-family: var(--font-family-2);
  font-size: 13px;
  text-decoration: none;
}

.social-icons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--background-color-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.social-icon:hover {
  background-color: #d1d5db;
}

.social-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}



.footer-legal {
  padding: 20px;
  font-size: 12px;
  color: #6B7280;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family-2);
  padding: 25px 0;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--background-color-1);
  margin: 0 3px;
  font-size: 12px;
  font-family: var(--font-family-2);
  text-decoration: none;
}

/* WhatsApp Button */
.whatsapp-button-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  animation: slideInUp 0.8s ease-out, bounce 2s ease-in-out 2s infinite;
}

.whatsapp-button:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
  transform: scale(0.95);
}

.whatsapp-button svg {
  width: 30px;
  height: 30px;
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--background-color-2);
  color: var(--text-color-2);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-family: var(--font-family-2);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.whatsapp-button-container:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tooltip-arrow {
  position: absolute;
  top: 100%;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--background-color-2);
}

.pulse-ring {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid #25D366;
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

.pulse-ring-2 {
  animation-delay: 0.5s;
}





.login-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Login box styling */
.login-box {
  padding: 40px 0px;
  /* You can increase padding if you want */
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

/* Logo image container */


.logo-login img {
  max-width: 70px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.login-box h2 {
  font-size: 22px;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--primary-color);
  font-family: var(--font-family-1);
}

.login-box p {
  color: var(--text-color-2);
  font-family: var(--font-family-3);
  font-weight: 100;
  margin-bottom: 25px;
  font-size: 16px;
}



.input-login {
  width: 100%;
  padding: 0 10px;
}

.input-group {
  text-align: left;
  margin-bottom: 20px;

}

.input-group label {
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-family-2);
  font-weight: 100;
  color: var(--text-color-2);
}

.input-group input {
  box-sizing: border-box;
  width: 100%;
  font-family: var(--font-family-3);
  font-weight: 100;
  padding: 12px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}


.input-group input::placeholder {
  font-family: var(--font-family-3);
  font-weight: 100;
}

/* Disabled or read-only input text */
.input-group input:disabled,
.input-group input[readonly] {
  font-family: var(--font-family-3);
  font-weight: 100;
}



.btn-main {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  font-family: var(--font-family-3);
  font-weight: 100;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;

}

.btn-main:hover {
  background-color: var(--primary-color);
}





.forgot-link {
  display: block;
  margin: 10px 0;
  font-size: 15px;
  font-family: var(--font-family-3);
  font-weight: 100;
  color: var(--primary-color);
  text-decoration: none;
}





.social-login {
  margin-top: 20px;
  padding: 0 20px;
}

.btn-facebook {
  background-color: #1877f2;
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: var(--font-family-3);
  font-weight: 100;
  transition: background-color 0.3s ease;
}

.btn-facebook:hover {
  background-color: #145dbf;
}

.btn-google {
  background-color: white;
  color: #333;
  border: 1px solid var(--text-color-2);
  width: 100%;
  font-family: var(--font-family-3);
  font-weight: 100;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


/* Shared icon style for both buttons */
.btn-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}




.register-text {
  margin-top: 20px;
  font-family: var(--font-family-3);
  font-weight: 100;
  font-size: 14px;
}

.register-text a {
  color: var(--primary-color);
  font-family: var(--font-family-3);
  font-weight: 100;
  text-decoration: none;
  font-weight: 600;
}



.email-box {
  margin-bottom: 5px;
  text-align: left;
}


.email-box input {
  box-sizing: border-box;
  width: 100%;
  font-family: var(--font-family-3);
  font-weight: 100;
  padding: 12px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}


.email-box input::placeholder {
  font-family: var(--font-family-3);
  font-weight: 100;
}

/* Disabled or read-only input text */
.email-box input:disabled,
.email-box input[readonly] {
  font-family: var(--font-family-3);
  font-weight: 100;
}


.notif-text {
  font-size: 13px;
  padding: 0 8px;
  color: #777;
  margin-bottom: 12px;
  text-align: left;
  width: 100%;
  display: block;
}




.layout {
  display: flex;
  margin-bottom: 50px;
}

.sidebar-user {
  width: 220px;
  border-right: 1px solid #eee;
  color: #030712;
  font-size: 14px;
  font-family: var(--font-family-3);
  font-weight: 200;
}

.sidebar-user ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-user li {
  padding: 10px;
  cursor: pointer;
}

.sidebar-user li:hover {
  background-color: #ebf6ff;
  border-left: 3px solid var(--primary-color);
  font-weight: 400;
}

.sidebar-user li.active {
  background-color: #ebf6ff;
  border-left: 3px solid var(--primary-color);
  font-weight: 400;
}

.content {
  flex: 1;
  padding-left: 20px;
  padding-top: 10px;
}



.profile-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.profile-header-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-header-name h2 {
  margin: 0;
  font-size: 20px;
  color: #030712;
  font-family: var(--font-family-2);
}

.edit-icon {
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.profile-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat {
  text-align: center;
  min-width: 80px;
}

.stat-number {
  font-size: 14px;
  font-family: var(--font-family-1);
  font-weight: 400;
  color: #030712;
}

.stat-label {
  font-size: 11px;
  font-family: var(--font-family-1);
  font-weight: 400;
  color: var(--text-color-2);
}

.divider {
  height: 20px;
  width: 1px;
  background-color: #82828232;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.profile-header .avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.privacy-note {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #82828232;
  color: green;
  gap: 10px;
  font-family: var(--font-family-3);
  font-size: 12px;
  padding: 4px 0;
  font-weight: 400;
}

.privacy-note p {
  line-height: 1.4;
  text-align: left;
  white-space: normal;
}

.privacy-note .privacy-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.empty-review {
  text-align: center;
  margin-top: 50px;
  color: #030712;
  font-family: var(--font-family-3);
  font-size: 13px;
  font-weight: 400;
}

.empty-review img {
  width: 50px;
  opacity: 0.4;
  margin-bottom: 15px;
}

.review-button {
  background-color: var(--background-color-1);
  color: white;
  padding: 10px 20px;
  border: none;
  margin-top: 10px;
  border-radius: 22px;
  cursor: pointer;
  font-size: 16px;
  font-family: var(--font-family-3);
  font-size: 13px;
  font-weight: 400;
}

@keyframes zoomInCenter {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.edit-profile-form {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
  animation: zoomInCenter 0.4s ease forwards;
}


.avatar-container {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Avatar Image - 18x18 */
.avatar-container .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

/* Camera Icon - 8x8 positioned at bottom-right */
.avatar-container .camera-icon {
  position: absolute;
  width: 14px;
  height: 14px;
  bottom: -5px;
  /* slightly under */
  left: 42px;
  /* to the right of avatar (tweak if needed) */
  background: white;
  border-radius: 50%;
  padding: 4px;
  border: 0.5px solid #ccc;
}


/* Input and buttons */
.edit-profile-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.edit-profile-form label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  color: #030712;
  font-family: var(--font-family-3);
}

.edit-profile-form input[type="text"] {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-family-3);
  width: auto;
  transition: border-color 0.2s
}



.measurements-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.measurements-section label {
  font-weight: 600;
  font-size: 14px;
  color: #030712;
  font-family: var(--font-family-3);
}

.measurements-section .settings-button {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.measurements-section .settings-button:hover {
  background-color: #e0e0e0;
}



#saveProfileBtn {
  background-color: var(--background-color-1);
  /* Orange color */
  border: none;
  color: white;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: fit-content;
  font-family: var(--font-family-1);
  align-self: flex-start;
  /* Align to the left */
}

#saveProfileBtn:hover {
  background-color: #0a3767;
}


.footer-note {
  color: #888;
  font-family: var(--font-family-1);
  font-size: 12px;
  text-align: left;
  line-height: 1.4;
  margin-top: 10px;
}



.review-header {
  padding-bottom: 15px;
  color: #030712;
  margin-bottom: 10px;
}

.review-header h3 {
  margin: 0;
  font-family: var(--font-family-1);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  line-height: 1.4;
}

.review-header p {
  margin: 5px 0 0;
  color: #666;
  font-family: var(--font-family-1);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  line-height: 1.4;
}




.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 10px;
}

.review-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-bottom: 1px solid #eee;
  background: #fff;
  border-radius: 8px;
}

.product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-sub {
  font-size: 12px;
  color: #888;
}

.review-btn {
  background-color: var(--background-color-1);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.2s ease;
}

.review-btn:hover {
  background-color: #0a3767;
}



.ajouter-avie-form {
  padding: 0 20px;
}


.ajouter-avie-form h2 {
  margin-bottom: 20px;
  font-size: 14px;
  font-family: var(--font-family-2);
  color: #000000;
}



.form-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Left side - product info */
.product-info-add-review {
  flex: 1;
  min-width: 200px;
}

.product-img-add {
  width: 100%;
  height: auto;
  max-height: auto;
  border-radius: 8px;
}

.product-info-add-review p {
  margin: 0;
  margin-top: 5px;
  margin-bottom: px;
  font-family: var(--font-family-3);
  font-weight: 300;
  font-size: 14px;
  color: #000000;
}

/* Right side - review content */
.review-content {
  flex: 2;
  width: 100%;
}

.review-content label {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  font-family: var(--font-family-2);
  color: #000000;
}

.textarea-wrapper {
  max-width: auto;
  /* Control max width */
  width: auto;
}

.review-text {
  width: 100%;
  height: 180px;
  /* Fixed height */
  overflow-y: scroll;
  /* Enable vertical scrolling */
  scrollbar-width: none;
  /* Firefox: hide scrollbar */
  -ms-overflow-style: none;
  /* IE/Edge: hide scrollbar */
  box-sizing: border-box;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: none;
  font-size: 14px;
  font-family: var(--font-family-1);
  color: #030712;
}

/* Chrome, Safari, Opera: hide scrollbar */
.review-text::-webkit-scrollbar {
  display: none;
}

.char-count {
  text-align: right;
  font-size: 11px;
  color: #666;
  margin-top: 5px;
  font-family: var(--font-family-1);
}

/* Media/Photo/Video upload boxes */
.media-upload {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.upload-box {
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 5px;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Vertical center */
  align-items: center;
  /* Horizontal center */
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

.upload-box:hover {
  background-color: #f9f9f9;
  border-color: #999;
}

.upload-box img {
  width: 21px;
  height: 21px;
}

.input-photo {
  display: none;
}

.media-preview img {
  max-width: 100px;
  max-height: 100px;
  margin: 5px;
  border-radius: 5px;
}




/* Rating section container */
.rating-section {
  margin-top: 16px;
  padding: 16px 0;
  /* مسافة داخلية */
  font-family: var(--font-family-1);
  display: flex;
  align-items: left;
  justify-content: left;
  flex-direction: column;
  user-select: none;
}

/* Group for stars and rating text */
.rating-stars-group {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  font-size: 24px;
  user-select: none;
}

/* Individual stars */
.rating-stars-group span[data-value] {
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s ease;
}

/* Active (selected) stars */
.rating-stars-group span.selected {
  color: orange;
}

/* Rating text */
.rating-stars-group .rating-text {
  font-size: 14px;
  font-weight: 500;
  color: orange;
  /* أبيض لتباين مع الخلفية الداكنة */
  margin-left: 12px;
  user-select: none;
}




/* Fit radio buttons */
.fit-section {
  margin-top: 10px;
  color: orange;
  font-size: 14px;
  font-family: var(--font-family-1);
}


.fit-section label {
  color: #030712;
  font-size: 11;
  font-family: var(--font-family-1);
}

.fit-section input[type="radio"] {
  accent-color: var(--background-color-1);
  margin: 0;
  margin-right: 5px;
}

/* Guidelines text */
.guidelines {
  font-size: 12px;
  color: #000000;
  margin-top: 30px;
  font-family: var(--font-family-1);
}

.guidelines a {
  font-size: 12px;
  text-decoration: none;
  color: var(--primary-color);
  margin-top: 30px;
  font-family: var(--font-family-1);
}

/* Submit button */
.submit-btn {
  margin-top: 15px;
  background: var(--background-color-1);
  border: none;
  font-family: var(--font-family-1);
  font-weight: 100;
  color: white;
  padding: 12px 24px;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #0a3767;
}

/* Hide profile checkbox */
.hide-profile {
  margin-top: 30px;
}

.hide-profile label {
  margin-top: 30px;
  color: #000000;

  font-family: var(--font-family-1);
  font-weight: 100;
  font-size: 12px;
  margin: 0;
  padding: 0;

}

.hide-profile input[type="checkbox"] {
  margin-right: 5px;
  accent-color: var(--background-color-1);
}


.user-reviews-list {
  padding: 0 5px;
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  font-family: var(--font-family-1);
  font-weight: 100;
}

.user-reviews-list h3 {
  font-size: 15px;
  font-weight: 100;
  margin-bottom: 15px;
  font-family: var(--font-family-1);
  font-weight: 100;
  color: #333;
}

.user-review-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px dashed #ccc;
  padding: 10px 0;
  margin-bottom: 15px;
}

.review-left .review-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.review-right {
  flex: 1;
}

.review-right p {
  margin: 6px 0;
  color: #444;
  font-size: 13px;
}


.addresses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.addresses-title h2 {
  color: #000000;
  margin: 0;
  font-family: var(--font-family-1);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  line-height: 1.4;
}

.secured-text {
  color: green;
  margin: 4px 0 0;
  font-family: var(--font-family-1);
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  line-height: 1.4;
}

.add-address-btn {
  background-color: var(--background-color-1);
  font-family: var(--font-family-1);
  font-size: 13px;
  font-weight: 400;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-address-btn:hover {
  background-color: #0a3767;
}

.address-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}

.address-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 8px;
  font-family: var(--font-family-1);
  font-size: 12px;
  font-weight: 300;
  color: #000000;
}

.recently-used {
  background-color: var(--background-color-1);
  font-family: var(--font-family-1);
  font-size: 12px;
  font-weight: 400;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}

.phone-number {
  font-family: var(--font-family-1);
  font-size: 13px;
  font-weight: 400;
  margin-left: auto;
  color: #333;
}

.address-details p {
  font-family: var(--font-family-1);
  color: #333;
  font-size: 13px;
  font-weight: 300;
  margin: 4px 0;
}

.address-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.default-tag {
  font-family: var(--font-family-1);
  font-size: 13px;
  font-weight: 200;
  color: #555;
}

.default-tag i {
  color: var(--background-color-1);
  margin-right: 5px;
}

.actions a {
  margin: 0 4px;
  font-family: var(--font-family-1);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  color: var(--primary-color);
}

.actions a:hover {
  color: #0a3767;
}


.dot-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 6px;
}



#add-address-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}


#address-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}

@keyframes zoomOutCenter {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.7);
  }
}

.modal-content {
  background: #fff;
  animation: zoomInCenter 0.6s ease forwards;
  padding: 30px 25px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: var(--font-family-1);
  font-size: 10px;
  font-weight: 300;
}

/* New helper classes */
.modal-content.zoom-in {
  animation: zoomInCenter 0.6s ease forwards;
}

.modal-content.zoom-out {
  animation: zoomOutCenter 0.6s ease forwards;
}

.modal-content h3 {
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 8px;
  text-align: center;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px 14px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  box-sizing: border-box;
  transition: border-color 0.3s;

  font-family: var(--font-family-3);
  font-weight: 100;
}

.modal-content input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.modal-content .button-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  /* Optional: space between buttons */
  margin-top: 20px;
}


.button-row button {
  background-color: var(--primary-color);
}


.button-row button:hover {
  background-color: #0a3767;
}

.modal-content .cancel-btn,
.modal-content .save-btn {
  flex: 1;
  padding: 12px 0;
  font-size: 15px;
  font-family: var(--font-family-3);
  font-size: 16px;
  font-weight: 100;
  border-radius: 4px;
  color: var(--secondary-color);
  border: none;
}

body.modal-open {
  overflow: hidden;
}


select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  padding: 6px 25px 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;

  background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="6" viewBox="0 0 10 6" width="10" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 10,0 5,6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
}

select:focus {
  outline: none;
  border-color: #666;
}


.header-protection {
  margin-top: 25px;
}

.header-protection h1 {
  font-size: 20px;
  font-family: var(--font-family-1);
  font-weight: 200;
  color: #000000;
}

.header-protection .subtitle {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-family-1);
  color: #212529;
  opacity: 0.9;
}


.content-protection {
  color: #000000;
  font-weight: 400;
  font-family: var(--font-family-1);
  padding: 10px 0;
  margin-bottom: 25px;
}

.content-protection p {
  opacity: 0.7;
  margin-bottom: 5px;
  text-align: justify;
  line-height: 1.5;
}

.content-protection h2 {
  color: var(--primary-color);
  margin-top: 30px;
  font-weight: 700;
  font-family: var(--font-family-1);
  margin-bottom: 15px;
  font-size: 1.4rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 10px;
}

.content-protection ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.content-protection ul li {
  list-style: none;
  padding-left: 0;
  margin-bottom: 8px;
}

.content-protection a {
  color: var(--background-color-1);
  text-decoration: none;
}

.content-protection a:hover {
  color: #0a3767;
}

.content-protection p strong {
  color: #222;
}

.store-filter {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.filters {
  width: 280px;
  padding: 15px;
  border-radius: 8px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding: 15px 15px;
}

.price-filter {
  width: 100%;
  padding: 0;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.price-bubble {
  position: absolute;
  top: -25px;
  background: var(--background-color-1);
  color: #fff;
  font-family: var(--font-family-1);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}

#bubble-min {
  left: 0;
}

#bubble-max {
  right: 0;
}


.slider-container {
  position: relative;
  height: 30px;
  width: 100%;
}

.slider-container input[type=range] {
  position: absolute;
  width: 100%;
  top: 10px;
  pointer-events: none;
  -webkit-appearance: none;
  background: none;
}

.slider-container input[type=range]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: var(--background-color-1);
  cursor: pointer;
}

.slider-container input[type=range]::-moz-range-thumb {
  pointer-events: auto;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: var(--background-color-1);
  cursor: pointer;
}

.slider-track {
  position: absolute;
  height: 4px;
  background: var(--background-color-1);
  top: 16px;
  left: 0;
  right: 0;
  z-index: -1;
}

.input-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.input-row div {
  color: #000000;
  font-family: var(--font-family-1);
  font-size: 14px;
  font-weight: 500;
  flex: 1;
}

.input-row input {
  width: 100%;
  padding: 5px;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: var(--font-family-3);
  font-size: 13px;
  font-weight: 200;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #fff;
  transition: all 0.3s ease;
}

.input-row input:focus {
  border-color: #ccc;
  outline: none;
}

.input-row input:disabled {
  border-color: #ccc;
  outline: none;
  cursor: not-allowed;
}

.filter-section h3 {
  font-family: var(--font-family-2);
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.filter-section input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  margin-right: 8px;
  cursor: pointer;
  vertical-align: middle;
  transition: all 0.2s ease;
}

.filter-section input[type="checkbox"]:checked {
  background-color: var(--background-color-1);
  border-color: var(--background-color-1);
}

.filter-section input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-section input[type="checkbox"]:hover {
  border-color: var(--background-color-1);
}

.filter-section label {
  font-family: var(--font-family-3);
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

.filter-section input[type="number"] {
  width: 100%;
  padding: 6px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


.no-products-message {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  animation: fadeInUp 0.5s ease forwards;
  margin: 20px 0;
  opacity: 1;
  transform: translateY(0);
}


.top-bar-breadcrumb {
  width: 100%;
  background: var(--background-color-1);
  padding: 0;
  color: white;
}

.breadcrumb-2 {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-family: var(--font-family-2);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.breadcrumb-2 a,
.breadcrumb-2 span {
  padding: 12px 0;
  text-decoration: none;
  cursor: pointer;
  color: white;
}

.breadcrumb-2 a.active {
  border-bottom: 2px solid var(--secondary-color);
  padding: 12px 0;
}

.shopping-cart {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.product-list-panier {
  flex: 2;
}

.product-list-panier table {
  width: 100%;
  font-size: 11px;
  font-family: var(--font-family-1);
  font-weight: 500;
  color: var(--text-color-2);
}

.product-list-panier th,
.product-list-panier td {
  padding: 12px 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
  text-align: left;
}

.product-list-panier th {
  font-weight: 500;
  font-size: 15px;
  font-family: var(--font-family-1);
  color: var(--text-color-2);
}

.product-info-panier {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.product-img-panier {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.remove-btn {
  position: absolute;
  left: -25px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--text-color-2);
  cursor: pointer;
  transition: color 0.2s;
}

.remove-btn:hover {
  color: #e74c3c;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.qty-btn {
  background-color: #eee;
  border: none;
  padding: 3px;
  /* Adjusted padding for square buttons */
  cursor: pointer;
  user-select: none;
  border-radius: 3px;
  transition: background-color 0.2s;
  display: flex;
  /* center SVG inside */
  align-items: center;
  justify-content: center;
  width: 25px;
  /* fixed width & height for square buttons */
  height: 25px;
}

.qty-btn:hover {
  background-color: #ccc;
}

.qty-btn svg {
  width: 8px;
  height: 8px;
  fill: #333;
  pointer-events: none;
}

.quantity-controls input[type=number] {
  width: 40px;
  text-align: center;
  font-size: 12px;
  padding: 4px 6px;
  border: 1px solid #ccc;
  font-family: var(--font-family-3);
  border-radius: 3px;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
}

.quantity-controls input[type=number]::-webkit-inner-spin-button,
.quantity-controls input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}



.cart-summary {
  flex: 1;
  border-radius: 4px;
  border: 1px solid #eee;
  padding: 20px 30px;
  font-size: 14px;
  font-family: var(--font-family-1);
  font-weight: 600;
  letter-spacing: 0.04em;
  position: sticky;
  top: 80px;
  height: fit-content;
  background: #fff;

}

.cart-summary h2 {
  margin-top: 0;
  font-size: 17px;
  font-family: var(--font-family-1);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  color: var(--primary-color);
}

.summary-item {
  font-family: var(--font-family-1);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 13px;
  color: #555;
}

.summary-item strong {
  font-family: var(--font-family-1);
  font-weight: 700;
}

/* New style for the coupon input area */
.summary-item.coupon {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #555;
}

.summary-item.coupon label {
  font-weight: 700;
  font-size: 13px;
}

.summary-item.coupon input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: var(--font-family-1);
  box-sizing: border-box;
  color: #2c3e50;
  font-family: var(--font-family-1);
  font-weight: 500;
}

.summary-item.coupon button {
  margin-top: 6px;
  padding: 12px 16px;
  color: white;
  border: none;
  font-family: var(--font-family-1);
  font-weight: 500;
  background-color: var(--background-color-1);
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  align-self: stretch;
}

.summary-item.coupon button:hover {
  background-color: #0a3767;
}

.summary-item.total {
  font-size: 18px;
  color: var(--background-color-1);
  border-top: 1px solid #eee;
  padding-top: 18px;
  margin-top: 18px;
}

.checkout-btn {
  font-family: var(--font-family-1);
  font-weight: 500;
  background-color: var(--background-color-1);
  color: white;
  border: none;
  width: 100%;
  padding: 14px 0;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.checkout-btn:hover {
  background-color: #0a3767;
}

.summary-item span a {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}

.summary-item span a:hover {
  color: #0a3767;
}

.coupon-applied {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-weight: bold;
}

.coupon-applied span {
  font-family: var(--font-family-1);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-out-up {
  animation: fadeOutUp 0.5s ease forwards;
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-30px);
  }
}


/* Animations */

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-5px);
  }

  60% {
    transform: translateY(-3px);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}





/* -------------------------------------------------- */
/* Responsive                                           */
/* -------------------------------------------------- */











@media (max-width: 1200px) {



  .product-info-panier {
    position: relative;
    padding-left: 40px;
    /* optional, adjust if needed */
  }

  .remove-btn {
    position: absolute;
    top: 5px;
    /* distance from top */
    left: 5px;
    /* distance from left */
    font-size: 22px;
    /* bigger tap target */
    color: #e74c3c;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 3px;
    transition: color 0.2s;
    transform: none;
    /* remove translate */
  }

  .remove-btn:hover {
    color: #c0392b;
  }

  .shopping-cart {
    flex-direction: column;
    gap: 30px;
  }

  .product-list-panier {
    flex: 2 1 0;
    /* grow:2, shrink:1, basis:0 */
    min-width: 0;
    /* prevents overflow */
  }

  .cart-summary {
    flex: 1 1 300px;
    /* grow:1, shrink:1, basis:300px (or any preferred width) */
    min-width: 0;
    /* prevent overflow */
    max-width: 100%;
    /* don't exceed container */
  }


  .cart-summary {
    position: relative;
    /* remove sticky for smaller screens */
    top: auto;
  }

  .quantity-controls input[type=number] {
    width: 50px;
  }

  .qty-btn {
    width: 28px;
    height: 28px;
  }

  .qty-btn svg {
    width: 10px;
    height: 10px;
  }

  .store-filter {
    flex-direction: column;
    padding: 10px 15px;
  }

  .filters {
    width: 100%;
    order: 2;
  }

  .product-list-filter {
    justify-content: left;
  }

  .product-card-filter {
    width: 200px;
  }

  .content-protection {
    padding: 10px 15px;
  }

  .breadcrumb {
    padding: 0 10px;
  }

  .main-bar .container-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 13px 10px;
  }

  .container-main {
    flex-direction: column;
    padding: 0 16px;
  }

  .sidebar {
    display: none;
  }

  .main-dashboard {
    padding-left: 0;
    width: 100%;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 10px;
  }

  .info-section {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px;
  }

  .info-box {
    flex: 1 1 calc(50% - 20px);
    /* Two per row */
    justify-content: flex-start;
    max-width: 320px;
  }


  .offers-section {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 10px;
    gap: 0;
    margin: 0;
  }

  .offer-box {
    flex: 1 1 calc(50% - 10px);
    /* Two per row with gap */
    margin-bottom: 15px;
  }

  .footer-section {
    padding: 0 10px;
  }

  .offers-section-horizontal {
    padding: 0 10px;
  }

  .offers-container {
    padding: 0 10px;
  }

  .new-products-section {
    padding: 2px 10px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
  }

  .footer-bottom {
    gap: 7px;
  }

  .newsletter {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .newsletter small {
    text-align: left;
    display: block;
  }
}


@media (max-width: 810px) {


  .main-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
  }

  .top-bar {
    font-size: 11px;
    padding: 8px 0;
  }

  .top-bar .container {
    padding: 0 10px;
  }

  .top-bar-links {
    display: none;
  }
}



@media (max-width: 768px) {


  .product-info-panier {
    position: relative;
    padding-left: 40px;
    /* optional, to avoid overlap */
  }

  .remove-btn {
    position: absolute;
    top: -5px;
    /* 5px from top */
    left: -5px;
    /* 5px from left */
    font-size: 22px;
    color: #e74c3c;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 3px;
    transition: color 0.2s;
    transform: none;
    /* no vertical centering */
  }

  .remove-btn:hover {
    color: #c0392b;
  }

  .shopping-cart {
    gap: 20px;
  }

  .product-list-panier table {
    font-size: 10px;
  }

  .product-list-panier th,
  .product-list-panier td {
    padding: 8px 6px;
  }

  .product-img-panier {
    width: 40px;
    height: 40px;
  }

  .quantity-controls input[type=number] {
    width: 40px;
    font-size: 11px;
    padding: 3px 5px;
  }

  .qty-btn {
    width: 24px;
    height: 24px;
    padding: 2px;
  }

  .qty-btn svg {
    width: 8px;
    height: 8px;
  }

  .cart-summary {
    padding: 15px 20px;
    font-size: 13px;
  }

  .cart-summary h2 {
    font-size: 16px;
  }

  .summary-item {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .summary-item.coupon input[type="text"] {
    padding: 6px 8px;
    font-size: 12px;
  }

  .summary-item.coupon button {
    padding: 10px;
    font-size: 13px;
  }

  .checkout-btn {
    padding: 12px 0;
    font-size: 13px;
  }

  .summary-item.total {
    font-size: 16px;
    padding-top: 14px;
    margin-top: 14px;
  }

  .store-filter {
    flex-direction: column;
    justify-content: left;
  }

  .filters {
    width: 100%;
    order: 2;
  }

  .product-list-filter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 5px 0;
  }

  .product-card-filter {
    width: auto;
    min-width: 165px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    background: transparent;
    text-align: center;
    transition: transform 0.2s ease;
    margin: 2px 1px;
  }

  .product-name {
    height: auto;
    /* Let product names wrap */
  }



  .content-protection {
    padding: 10px 15px;
  }

  .product-name {
    font-size: 14px;
    font-family: var(--font-family-2);
    color: #030712;
    margin: 1px 0;
    text-align: left;
    height: 60px;
    letter-spacing: 0.7px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .modal-content {
    margin: 0 10px;
    width: 95%;
    /* Make it wider relative to smaller screen */
    padding: 20px 15px;
    /* Reduce padding */
    font-size: 9px;
    /* Slightly smaller font */
  }


  .addresses-header {
    padding: 0 10px;
    font-size: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .address-card {
    padding: 12px;
    margin: 0 10px;
    margin-bottom: 12px;
  }

  .add-address-btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 8px;
    box-sizing: border-box;
  }


  .address-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 14px;
  }

  .recently-used {
    font-size: 11px;
    padding: 1px 4px;
  }

  .phone-number {
    margin-left: 0;
    font-size: 12px;
  }

  .address-details p {
    font-size: 12px;
    margin: 3px 0;
  }

  .address-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
  }

  .default-tag {
    font-size: 12px;
  }

  .actions a {
    font-size: 12px;
    margin: 0 6px 0 0;
    display: inline-block;
  }




  .user-review-item {

    align-items: center;
    justify-content: center;
    text-align: left;

    gap: 10px;
  }


  .review-right p {
    font-size: 13px;
  }

  .form-container {
    flex-direction: column;
    gap: 20px;
  }

  .product-info-add-review,
  .review-content {
    width: 100%;
    flex: 1 1 100%;
  }

  .media-upload {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
  }

  .upload-box {
    width: 70px;
    height: 70px;
    padding: 5px;
  }

  .upload-box img {
    width: 18px;
    height: 18px;
  }

  .review-text {
    height: 140px;
    font-size: 13px;
  }

  .submit-btn {
    width: 100%;
    padding: 10px 0;
  }

  .fit-section,
  .rating-section,
  .guidelines,
  .hide-profile {
    font-size: 12px;
  }

  .fit-section label,
  .guidelines a,
  .char-count {
    font-size: 11px;
  }

  .ajouter-avie-form {
    padding: 0 10px;
  }


  .review-header {
    padding: 0 10px;
  }

  .review-list {
    padding: 0 5px;
  }

  .review-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }


  .product-img {
    width: 100%;
    height: auto;
    max-height: auto;
    border-radius: 8px;
  }


  .product-info {
    width: 100%;
    margin-top: 8px;
  }

  .product-title {
    font-size: 13px;
  }

  .product-sub {
    font-size: 11px;
  }

  .review-btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    margin-top: 8px;
  }

  .review-header h3 {
    font-size: 15px;
  }

  .review-header p {
    font-size: 11px;
  }

  .layout {
    flex-direction: column;
  }

  .input-group {
    padding: 0 10px;
  }


  #saveProfileBtn {
    margin-left: 10px;
  }

  .footer-note {
    padding: 0 10px;
  }

  .avatar-container {
    padding: 0 10px;
  }

  .measurements-section {
    padding: 0 10px;
  }

  .sidebar-user {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0;
    border-bottom: 1px solid #ddd;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
  }

  .content {
    flex: 1;
    padding-left: 0;
    padding-top: 30px;

  }

  .edit-profile-form {
    padding-top: 15px;
  }


  .sidebar-user ul {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0;
  }

  .sidebar-user li {
    display: inline-block;
    padding: 8px 12px;
    background-color: #fff;
    font-size: 13px;
    white-space: nowrap;
  }

  .sidebar-user li:hover {
    background-color: #ebf6ff00;
    border-left: none;
    border-bottom: 2px solid var(--primary-color);
    font-weight: bold;
  }

  .sidebar-user li.active {
    background-color: #ebf6ff00;
    border-left: none;
    font-weight: bold;
    border-bottom: 2px solid var(--background-color-1);
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .profile-info {
    align-items: center;
  }

  .profile-header-name {
    flex-direction: column;
    align-items: center;
  }

  .profile-stats {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }


  .privacy-note {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Vertical center */
    justify-content: center;
    /* Horizontal center */
    gap: 8px;
    /* Space between icon and text */
    font-size: 11.5px;
    padding: 10px;
    text-align: center;
    /* In case it overflows on mobile */
  }

  .empty-review {
    padding: 20px 10px;
    text-align: center;
  }

  .review-button {
    width: 100%;
    max-width: 250px;
  }

  .mobile-nav-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
  }

  .wishlist-user {
    display: none;
  }

  .cart-shopping-user {
    display: none;
  }

  .search-section {
    display: none;
  }

  .promo {
    padding: 30px 15px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .promo-texts {
    flex: 1;
    min-width: 250px;
    position: relative;
    max-width: 280px;
    max-height: 900px;
  }

  .nav-group {
    display: none;
  }

  .whatsapp-button-container {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
  }

  .whatsapp-button svg {
    width: 24px;
    height: 24px;
  }

  .pulse-ring {
    width: 50px;
    height: 50px;
  }
}




/* Mobile (480px and below) */

@media (max-width: 480px) {


  .content-protection {
    padding: 10px 15px;
  }

  .content-protection p {
    opacity: 0.7;
    margin-bottom: 5px;
    text-align: justify;
    line-height: 1.5;
  }

  .content-protection h2 {
    color: var(--primary-color);
    margin-top: 30px;
    font-weight: 700;
    font-family: var(--font-family-1);
    margin-bottom: 15px;
    font-size: 1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
  }


  .product-name {
    font-size: 16px;
    font-family: var(--font-family-2);
    color: #030712;
    margin: 1px 0;
    text-align: left;
    height: 50px;
    letter-spacing: 0.7px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .location-text .label {
    font-size: 10px;
    color: #030712;
    font-family: var(--font-family-3);
    opacity: 70%;
    user-select: none;
  }

  .location-text .city {
    font-size: 12px;
    font-family: var(--font-family-2);
    color: #030712;
    opacity: 90%;
    user-select: none;
  }

  .account-text .label {
    font-size: 10px;
    color: #030712;
    font-family: var(--font-family-3);
    opacity: 70%;
  }

  .account-text .label-compte {
    font-size: 11px;
    font-family: var(--font-family-2);
    color: #030712;
    opacity: 90%;
  }

  .main-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .sidebar-header h3 {
    font-size: 14px;
    margin: 0 10px;
  }

  .item-left .text {
    font-size: 13px;
    margin: 0 12px;
  }

  .promo-text h1 {
    font-size: 24px;
  }

  .promo-text p {
    font-size: 14px;
  }

  .promo-text .price {
    font-size: 22px;
  }

  .promo-text .price .old {
    font-size: 16px;
  }

  .promo-text button {
    font-size: 13px;
    padding: 10px 10px;
  }

  .info-section {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
    gap: 10px;
  }

  .info-box {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0;
  }

  .info-text h3 {
    font-size: 15px;
  }

  .info-text p {
    font-size: 12px;
  }

  .top-bar {
    font-size: 10px;
    padding: 8px 2px;
  }

  .top-bar span {
    display: block;
    line-height: 1.5;
  }

  .offers-section {
    flex-direction: column;
    padding: 20px 10px;
  }

  .offer-box {
    flex: 1 1 100%;
    padding: 20px;
    margin-bottom: 15px;
  }

  .offer-box h1 {
    font-size: 18px;
  }

  .offer-box p {
    font-size: 12px;
  }

  .offer-box button {
    font-size: 11px;
    padding: 8px 12px;
  }

  .whatsapp-button-container {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-tooltip {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    bottom: 60px;
  }

  .tooltip-arrow {
    right: 15px;
  }

  .product-card {
    width: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    background: transparent;
    text-align: center;
    margin: 2px 1px;
    transition: transform 0.2s ease;
  }
}