/*
Theme Name: thingstodointaghazout
Theme URI: https://www.thingstodointaghazout.com/wp-content/themes/thingstodointaghazout
Author: thingstodointaghazout
Author URI: https://www.thingstodointaghazout.com/
Text Domain: thingstodointaghazout
*/

@import url("https://fonts.googleapis.com/css2?family=Georama:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat&display=swap");
/* SPAN */

* {
  list-style: none;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

:root {
  --cl-navy: #8d4fb7;
  --cl-hover: #bf8de0;
  --cl-white: #ffffff;
}
html,
body {
  font-family: "Georama", sans-serif;
  max-width: 100% !important;
  /* max-width: 1420px; */
  overflow-x: hidden !important;
  color: var(--cl-navy);
  font-size: 1rem;
  /* padding: 0 2rem; */
  margin-top: 1rem;
  -webkit-user-select: none; /* For Safari */
  -moz-user-select: none; /* For Firefox */
  -ms-user-select: none; /* For Internet Explorer/Edge */
  user-select: none; /* Standard syntax */
}


h1,
h2,
h3 {
  /* font-family: "Raleway", sans-serif; */
  /* font-family: "Bebas Neue", sans-serif; */
  /* font-family: "Montserrat", sans-serif; */

  font-family: "Bebas Neue", sans-serif;
}
li {
  padding: 0 !important;
}
a {
  color: var(--cl-navy);
  text-decoration: none !important;
}

.btn-book {
  background-color: var(--cl-white);
  color: var(--cl-navy) !important;
  width: 7rem;
  height: 2.5rem;
  border: none;
  outline: none;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 0.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  display: inline-block;
  text-decoration: none;
}
.btn-book a {
  color: var(--cl-navy) !important;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

/* SECTIION TOP */
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  text-transform: capitalize;
}
.section-top h1 {
  color: var(--cl-navy);
  font-size: 2rem;
  margin-top: 0.5rem;
}
.section-top .btn-book {
  background: var(--cl-navy);
  color: var(--cl-white) !important;
}

.section-top .btn-book:hover {
  background: var(--cl-white);
  color: var(--cl-navy) !important;
  border: 0.1rem solid var(--cl-navy);
}
/* NAVBAR */
.navbar {
  background-color: transparent !important;
  padding: 0 1rem !important;
  /* margin: 1rem 3rem; */
}
.container-fluid {
  padding: 0.2rem 1rem !important;
}
.navbar-brand {
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: var(--cl-white) !important;
  transition: color 0.3s;
}

.navbar-brand div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cl-navy);
}
.navbar-brand div h1 {
  line-height: 0.4;
}
.navbar-brand div h5 {
  font-size: 0.8rem;
}
.navbar .logo {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.3rem;
  /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 3px; */
  /* border: 0.2rem solid var(--cl-white);
  background-color: var(--cl-white); */
  object-fit: cover;
}
.navbar .logo:hover {
  scale: 0.9;
  transition: scale 0.5s ease-in-out;
}
.navbar-toggler {
  font-size: 1rem;
  color: var(--cl-navy) !important;
}
.btn-close {
  filter: invert(15);
}

/* Modifier les liens */
.navbar-nav .nav-link {
  color: var(--cl-navy);
  /* font-weight: 800; */
  transition: color 0.3s;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.navbar-nav .nav-link.active {
  color: var(--cl-navy) !important;
  border-radius: 5px;
  transition: color 0.3s;
}
.navbar-nav .nav-item {
  color: var(--cl-navy);
}
/* CART & WISHLIST */
.navbar-icons .nav-icon {
  background-color: var(--cl-navy);
  color: var(--cl-white);
  width: 38px;
  height: 38px;
  /* border-radius: 10rem .2rem 10rem 10rem; */
  border-radius: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease;
}

.navbar-icons .nav-icon:hover {
  opacity: 0.8;
}

.cart-count {
  background-color: var(--cl-white);
  color: var(--cl-navy) !important;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px;
  border-radius: 50%;
  border: 2px solid var(--cl-navy);
}
.navbar.scrolled .navbar-icons .nav-icon {
  background-color: var(--cl-white);
  color: var(--cl-navy);
  transition: opacity 0.3s ease;
}

.navbar.scrolled .navbar-icons .nav-icon:hover {
  opacity: 0.8;
}

.navbar.scrolled .cart-count {
  background-color: var(--cl-navy);
  color: var(--cl-white) !important;
  border: 2px solid var(--cl-white);
}
/* CART DROPDOWN */
.cart-dropdown-wrapper {
  position: relative;
}
.cart-empty {
  text-align: center;
  color: var(--cl-navy);
  font-size: 0.9rem;
  padding: 1rem 0;
}

.cart-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: var(--cl-white);
  color: var(--cl-navy);
  border: 1px solid var(--cl-navy);
  border-radius: 0.5rem;
  width: 22rem;
  padding: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 1000;
}

.cart-dropdown h6 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 20rem;
  overflow-y: auto;

  /* Hide scrollbar */
  scrollbar-width: none; /* Firefox */
}
.cart-items::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Each item */
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cl-white);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  gap: 0.75rem;
}

/* Product image */
.cart-item-img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 0.2rem solid var(--cl-navy);
}

/* Info section */
.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Product name */
.cart-item-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cl-navy);
  line-height: 1.2;
}

/* Price */
.cart-item-price {
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
}

/* Quantity controls */
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-item-qty button {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50% 10% 50% 50%;
  background: var(--cl-navy);
  color: var(--cl-white);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s;
}
.cart-item-qty button:hover {
  background: #6c3f92; /* darker navy */
}

/* Remove button */
.cart-item-remove {
  border: none;
  background: transparent;
  color: #d9534f;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-item-remove:hover {
  color: #b52b27;
}

.cart-items li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.cart-total {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.cart-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.btn-cart,
.btn-checkout {
  flex: 1;
  margin: 0 0.25rem;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.85rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
}
.btn-cart {
  background: var(--cl-navy);
  color: var(--cl-white);
}

.btn-checkout {
  background: var(--cl-navy);
  color: var(--cl-white);
}
/* WISHLIST */
.wishlist-dropdown-wrapper {
  position: relative;
}

.wishlist-dropdown {
  position: absolute;
  top: 3rem;
  right: 0;
  width: 22rem;
  background: var(--cl-navy);
  color: var(--cl-white);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  padding: 1rem;
  z-index: 99;
  border: 0.1rem solid var(--cl-white);
}

.wishlist-dropdown.active {
  display: flex;
}

.wishlist-dropdown h6 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: bold;
}

.wishlist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}

.wishlist-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.wishlist-item img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  margin-right: 10px;
  object-fit: cover;
}

.wishlist-item-info {
  flex: 1;
}

.wishlist-item-info h6 {
  font-size: 10px;
  margin: 0;
  color: var(--cl-white);
}

.wishlist-item-info span {
  font-size: 13px;
  opacity: 0.9;
}

.wishlist-actions {
  margin-top: 10px;
}

.btn-view-all {
  width: 10rem !important;
  height: auto;
  font-size: 1rem;
  background-color: var(--cl-white);
  color: var(--cl-navy);
}
.wishlist-remove {
  border: none;
  background: transparent;
  color: var(--cl-white);
  font-size: 0.7rem;
  cursor: pointer;
  transition: color 0.2s;
}
/* ================= CHECKOUT POPUP ================= */
.checkout-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7); /* dark navy overlay */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.checkout-content {
  background: var(--cl-white);
  padding: 2rem;
  border-radius: 1.5rem;
  max-width: 70rem;
  position: relative;
  animation: popupFade 0.35s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  font-family: "Segoe UI", Roboto, sans-serif;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
  transition: transform 0.2s ease, color 0.2s ease;
}
.checkout-close:hover {
  transform: rotate(90deg);
  color: var(--cl-navy);
}

/* Cart Items */
.checkout-cart-items {
  max-width: 25rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  max-height: 220px;
  overflow-y: auto;
}
.checkout-cart-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  background: #f9fafb;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  transition: background 0.2s;
}
.checkout-cart-items li:hover {
  background: #f1f5f9;
}
.checkout-cart-items img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  margin-right: 1rem;
  border-radius: 0.8rem;
}

/* Total */
.checkout-total {
  font-weight: 700;
  margin: 1.5rem 0;
  font-size: 1.3rem;
  text-align: right;
  color: var(--cl-navy);
}

/* Inputs */
#checkoutForm {
  max-width: 25rem;
}
#checkoutForm input {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.6rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: #fff;
}
#checkoutForm input:focus {
  border-color: var(--cl-navy);
  box-shadow: 0 0 0 3px rgba(141, 79, 183, 0.2);
  outline: none;
}

/* Date Input Styling */
#checkoutForm input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg fill='%238d4fb7' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10h5v5H7zM3 4h1V2h2v2h10V2h2v2h1c1.103 0 2 .897 2 2v14c0 1.103-.897 2-2 2H3c-1.103 0-2-.897-2-2V6c0-1.103.897-2 2-2zm0 16h18V8H3v12z'/%3E%3C/svg%3E")
    no-repeat right 1rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}

/* Button */
.checkout-btn {
  width: 14rem;
  padding: .5rem 2rem;
  background: var(--cl-navy);
  color: var(--cl-white);
  border: none;
  border-radius: 10rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.checkout-btn:hover {
  background: #702f92;
  box-shadow: 0 6px 15px rgba(141, 79, 183, 0.3);
}

/* ============== INLINE POPUP MESSAGE (INSIDE CHECKOUT) ============== */
.popup-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  text-align: center;
  z-index: 1500;
  animation: fadeInScale 0.3s ease;
  min-width: 220px;
}

.popup-message.success {
  border: 2px solid #10b981;
  color: #065f46;
  background: #ecfdf5;
}

.popup-message.error {
  border: 2px solid #ef4444;
  color: #7f1d1d;
  background: #fef2f2;
}

.popup-message.info {
  border: 2px solid var(--cl-navy);
  color: var(--cl-navy);
  background: #f5f3ff;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}



/* Animation */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 768px) {
  .checkout-content {
    background: var(--cl-white);
    padding: 2rem 0.5rem;
    margin: 1rem;
  }
}
/* When scrolled, show background with dimming */
.navbar.scrolled {
  background-color: var(--cl-navy) !important;
  transition: background-color 0.3s ease;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .navbar-brand div h1,
.navbar.scrolled .navbar-brand div h5,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-item,
.navbar.scrolled .navbar-toggler {
  color: var(--cl-white) !important;
}
.dropdown {
  display: flex;
  justify-content: center;
  color: var(--cl-navy);
}
.dropdown-toggle {
  color: var(--cl-navy);
  font-size: 1rem;
}
.dropdown-menu {
  background-color: var(--cl-navy);
  height: auto;
  z-index: 2;
}
.dropdown-item {
  font-size: 0.6rem;
  color: var(--cl-navy);
}
.dropdown-item:hover {
  background-color: var(--cl-navy);
}
.offcanvas {
  background-color: var(--cl-navy);
}
.offcanvas-body {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
/* HERO */
.hero {
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: 1rem !important;
  background-color: var(--cl-navy);
  padding: 0.3rem;
}

/* Colonne gauche */
.hero-left {
  width: 50%;
  height: auto;
  color: var(--cl-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0.5rem 1rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  /* line-height: 0.8; */
  text-transform: uppercase;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 90%;
}

/* Barre de recherche */
.hero-search {
  display: flex;
  max-width: 36rem;
  margin-top: 2rem;
  background-color: var(--cl-white);
  border-radius: 10rem;
  font-size: 0.8rem;
  z-index: 1000 !important;
  padding: 0.3rem 0.5rem;
}

.hero-search input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  outline: none;
  border-radius: 10rem;
  z-index: 1000 !important;
}

.hero-search button {
  background-color: var(--cl-navy);
  color: var(--cl-white);
  border: none;
  padding: 0.6rem 1rem;
  width: 5rem;
  border-radius: 0 10rem 10rem 10rem;
  cursor: pointer;
  border: 0.1rem solid var(--cl-white);
  z-index: 1000 !important;
}

/* Colonne droite */
.hero-right {
  width: 50%;
  height: 25rem;
  border-radius: 1rem !important;
}
.hero-right .swiper {
  width: 100%;
  height: 100%;
}

.hero-right .swiper-slide-bg {
  width: 100%;
  height: 25rem;
  overflow: hidden;
  border-radius: 1rem !important;
}
.hero-right .swiper-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10rem 1rem 1rem 1rem !important;
}

/* SEARCH */

/* Popup Container */
.search-results {
  max-height: 40rem; /* or whatever height you want */
  overflow-y: scroll; /* enables vertical scroll */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer / Edge */
}

/* Hide scrollbar for Chrome, Safari, and Opera */
.search-results::-webkit-scrollbar {
  display: none;
}

.search-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 5rem;
  z-index: 1100;
  padding: 5rem 1rem;
}

/* Popup Box */
.search-box {
  background: var(--cl-white);
  border-radius: 1rem;
  width: 90%;
  max-width: 600px;
  padding: 2rem;
  position: relative;
  animation: popupFade 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  max-height: 70vh;
  overflow-y: auto;
}

/* Close */
.search-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  background-color: var(--cl-white);
  color: var(--cl-navy);
  width: 2rem;
  height: 2rem;
  border-radius: 5rem 0.5rem 5rem 5rem;
}
.search-close:hover {
  transform: rotate(90deg);
  color: var(--cl-navy);
  background-color: var(--cl-navy);
  color: var(--cl-white);
}

/* Results */
.search-results h3 {
  margin: 1rem 0 0.5rem;
  color: var(--cl-navy);
  font-size: 1.1rem;
  font-weight: 600;
}

.search-results ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.search-results li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 0.5rem;
}
.search-results li:hover {
  background: var(--cl-navy);
}

.search-results img {
  width: 45px;
  height: 45px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.search-empty {
  text-align: center;
  color: #777;
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* Animation */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* CATEGROEIES */ /* Swiper wrapper */
.category-swiper .swiper-wrapper {
  display: flex;
}

/* Each slide */
.category-swiper .swiper-slide {
  width: 15rem;
  height: 15rem;
  flex-shrink: 0;
  border-radius: 10rem 1rem 10rem 10rem;
  border: 0.3rem solid var(--cl-navy);
  position: relative;
  overflow: hidden; /* ensures img + title stay clipped inside */
}

/* Image inside category card */
.our-categories-section .category-card img {
  width: 15rem;
  height: 15rem;
  object-fit: cover; /* keep aspect ratio and cover the area */
  border-radius: inherit; /* matches parent slide radius */
  display: block;
  transition: transform 0.6s ease-in-out;
}

/* Title overlay */
.our-categories-section .category-title {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  transform: translate(0%);
  background-color: var(--cl-navy);
  color: #ffffff;
  padding: 0.2rem 1rem;
  border-radius: 0.2rem;
  font-size: 1.4rem;
  z-index: 5;
}

/* Hover effect */
.category-swiper .category-card:hover img {
  transform: scale(1.1);
}

/* PRODUCTS */
.products-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center; /* centre le bloc produits */
  align-items: center;
  overflow-x: hidden;
}

.products-before {
  flex: 1;
  color: var(--cl-white);
  /* padding: 1rem; */
  background-color: var(--cl-navy);
  width: 18rem !important;
  height: 100%;
  z-index: 1000;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0.6rem;
}
.products-before h1 {
  color: var(--cl-white);
  font-size: 2rem;
}
.products-before .btn-book {
  width: 7rem !important;
}
.products {
  flex: 3;
  position: relative;
  width: 100%;
}
.products .swiper-wrapper {
  width: 100%;
}
.products .swiper-slide {
  width: 13rem;
  height: auto;
  text-align: center;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  gap: 1rem;
}

.products .swiper-slide-bg {
  margin-top: .5rem;
  position: relative;
  width: 13rem;
  height: 13rem !important;
  overflow: hidden;
  border: 0.2rem solid var(--cl-navy);
  border-radius: 1.5rem 1.5rem 7rem 1.5rem;
}

.products .swiper-slide-bg img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: rgba(0, 0, 0, 0.171) 2px 2px 2px;
  transition: all 0.4s ease-in-out;
}

.products .swiper-slide-bg img:hover {
  transform: scale(1.1);
}
.products .swiper-slide-content {
  width: 100%;
  height: auto !important;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 0.2rem;
  border-radius: 0.3rem;
  /* padding: 0.5rem; */
}

.product-city {
  font-size: 0.7rem;
  color: var(--cl-navy);
  margin: 0;
  background-color: var(--cl-white);
  border-radius: 10rem;
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  padding: 0.3rem 0.5rem;
}
.products .swiper-slide-content h1 {
  font-size: 0.9rem;
  text-transform: uppercase;
  text-align: start;
  font-family: "Georama", sans-serif;
  margin-bottom: 0 !important;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--cl-navy); /* gold star */
}
.product-rating span {
  color: var(--cl-navy);
  font-weight: 500;
}
.product-rating div {
  display: flex;
}
.fa-star {
  font-size: 0.7rem;
}
.slide-actions {
  position: absolute;
  top: -1rem;
  right: 0.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
  padding-top: 1rem;
}

.products .wishlist-add {
  height: 3rem;
  border-radius: 1rem 1rem 1rem 10rem;
  z-index: 10;
  padding: 1rem 0;
}

.products .cancellation {
  font-size: 0.7rem !important;
  text-align: start;
  /* padding: .5rem 1rem 1rem 0 !important; */
}
.products .footer-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -1rem;
}

.products .swiper-slide h3 {
  color: var(--cl-navy);
  font-size: 2rem;
  border-radius: 0.2rem;
  margin-top: 1rem;
}

.btn-icon {
  background: var(--cl-navy);
  color: var(--cl-white);
  border: 0.1rem solid var(--cl-navy);
  border-radius: 0.2rem;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-icon:hover {
  background: var(--cl-white);
  color: var(--cl-navy);
}

@media (max-width: 768px) {
  .products .swiper-slide {
    width: 11rem;
    height: auto;
    text-align: center;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
  }

  .products .swiper-slide-bg {
    margin-top: 1rem;
    position: relative;
    width: 10rem;
    height: 10rem !important;
    overflow: hidden;
    border: 0.2rem solid var(--cl-navy);
    border-radius: 1rem 1rem 5rem 1rem;
  }

  .products .swiper-slide-bg img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.171) 2px 2px 2px;
    transition: all 0.4s ease-in-out;
  }

  .products .swiper-slide-bg img:hover {
    transform: scale(1.1);
  }
  .products .swiper-slide-content {
    width: 100%;
    height: auto !important;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 0.2rem;
    border-radius: 0.3rem;
    padding: 0.5rem;
  }

  .product-city {
    font-size: 0.7rem;
    color: var(--cl-navy);
    margin: 0;
    background-color: var(--cl-white);
    border-radius: 10rem;
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    padding: 0.3rem 0.5rem;
  }
  .products .swiper-slide-content h1 {
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: start;
    font-family: "Georama", sans-serif;
    margin-bottom: 0 !important;
  }

  .product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: var(--cl-navy); /* gold star */
  }
  .product-rating span {
    color: var(--cl-navy);
    font-weight: 500;
  }
  .product-rating div {
    display: flex;
  }
  .fa-star {
    font-size: 0.7rem;
  }
  .slide-actions {
    position: absolute;
    top: -1rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    padding-top: 1rem;
  }

  .products .wishlist-add {
    height: 3rem;
    border-radius: 1rem 1rem 1rem 10rem;
    z-index: 10;
    padding: 1rem 0;
  }

  .products .cancellation {
    font-size: 0.7rem !important;
    text-align: start;
    /* padding: .5rem 1rem 1rem 0 !important; */
  }
  .products .footer-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -1rem;
  }

  .products .swiper-slide h3 {
    color: var(--cl-navy);
    font-size: 2rem;
    border-radius: 0.2rem;
    margin-top: 1rem;
  }

  .btn-icon {
    background: var(--cl-navy);
    color: var(--cl-white);
    border: 0.1rem solid var(--cl-navy);
    border-radius: 0.2rem;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
  }

  .btn-icon:hover {
    background: var(--cl-white);
    color: var(--cl-navy);
  }
}
/* PRODUCT DETAILS */
.product-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(176, 117, 216, 0.85); */
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem 1rem 1rem 0;
}

.product-popup.active {
  display: flex;
  justify-content: center;
  align-content: center;
}

.product-popup .popup-content-container {
  background: var(--cl-white);
  color: var(--cl-navy);
  padding: 0.5rem;
  border-radius: 0.7rem;
  width: 55rem;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: start;
  position: relative;
  box-shadow: 0 8px 20px rgba(141, 79, 183, 0.3);
  animation: fadeInUp 0.3s ease;
  border-radius: 1rem 7rem 1rem 1rem;
}

.product-popup .product-rating {
  display: flex;
  justify-content: start;
  align-items: center;
}
.product-popup .product-rating i {
  font-size: 0.7rem;
}
.product-popup .popup-close {
  position: absolute;
  top: 0rem;
  right: 0rem;
  font-size: 0.9rem;
  background: none;
  border: none;
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--cl-navy);
  color: var(--cl-white);
  cursor: pointer;
  border-radius: 50% 50% 0.1rem 50%;
  border: 0.1rem solid var(--cl-white);
}

.product-popup .popup-content {
  width: 25rem !important;
  height: 25rem !important;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.product-popup .popup-content h2 {
  font-size: 1.5rem;
}
.product-popup .popup-main-image {
  width: 25rem !important;
  height: 25rem !important;
  object-fit: cover;
  border-radius: 1rem 1rem 50% 1rem;
  border: 1px solid var(--cl-navy) !important;
}
.image-thumbs {
  display: flex;
  gap: 0.5rem;
}
.popup-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* justify-content: center; */
}
.popup-thumbs img {
  width: 4rem !important;
  height: 4rem !important;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s ease;
  border: 1px solid var(--cl-navy) !important;
}
.popup-thumbs img:hover {
  border: 2px solid var(--cl-navy);
}

#popup-description {
  font-size: 0.6rem;
}
.popup-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--cl-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-qty {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
}

.popup-qty button {
  width: 1.3rem;
  height: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10rem 0.2rem 10rem 10rem;
  background: var(--cl-navy);
  color: var(--cl-white);
  border: none;
  cursor: pointer;
}

.popup-qty span {
  font-size: 1.1rem;
  color: var(--cl-navy);
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .product-popup {
    padding: 0 !important;
    display: flex;
    justify-content: start !important;
    align-items: flex-start !important;
    height: auto;
  }
  .product-popup.active {
    display: flex;
    flex-direction: column;
  }

  .product-popup .popup-content-container {
    padding: 0 !important;
    width: 100%;
    height: 50rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    background-color: none !important;
  }
  .product-popup .popup-content {
    width: 30rem !important;
    color: var(--cl-white) !important;
    position: relative;
    margin-top: -5rem;
    max-height: 30rem !important;
    padding: 5rem 5rem 2rem 5rem;
    z-index: 6;
    bottom: 0;

    /* Scroll caché */
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE / Edge */
    border-radius: 40% 40% 0 0;
    background-color: var(--cl-navy);
  }

  .product-popup .popup-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  .product-popup .popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }

  .product-popup .popup-description {
    font-size: 0.5rem !important;
    max-width: 22rem !important;
  }
  .product-popup .product-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6;
  }
  .product-popup .product-rating i {
    font-size: 1rem;
    z-index: 6;
    color: var(--cl-white) !important;
  }

  .product-popup .popup-main-image {
    width: 25rem !important;
    height: 30rem !important;

    border: none !important;
    border-radius: 0 !important;
  }

  .popup-price {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: var(--cl-white) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 6;
  }

  .popup-qty {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 6;
  }

  .popup-qty button {
    padding: 0.3rem 0.8rem;
    background: var(--cl-white);
    color: var(--cl-navy);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
  }

  .popup-qty span {
    font-size: 1.3rem;
    color: var(--cl-white) !important;
  }

  .popup-thumbs {
    display: flex;
    justify-content: center !important;
    flex-direction: row !important;
    margin-top: -8rem;
    z-index: 8 !important;
  }
  .image-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ✅ Responsive Design */

/* Tablet */
@media (max-width: 992px) {
  .category-slide {
    width: 12rem;
  }

  .category-card {
    height: 6rem;
    gap: 0.3rem;
  }

  .category-card img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .category-card h3 {
    font-size: 1rem;
  }

  .products-grid {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .mySwiper-categories .category-slide {
    margin-top: 1rem;
    width: 8rem;
    height: 8rem;
    flex-shrink: 0;
    border-radius: 10rem 1rem 10rem 10rem;
    border: 0.3rem solid var(--cl-navy);
    position: relative;
    overflow: hidden; /* ensures img + title stay clipped inside */
  }

  /* Card */
  .mySwiper-categories .category-card {
    width: 100%;
    height: 100%;
  }
  .mySwiper-categories .category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keep aspect ratio and cover the area */
    border-radius: inherit; /* matches parent slide radius */
    display: block;
    transition: transform 0.6s ease-in-out;
  }

  .mySwiper-categories .category-card:hover img {
    width: 8rem;
    height: 8rem;
    object-fit: cover; /* keep aspect ratio and cover the area */
    border-radius: inherit; /* matches parent slide radius */
    display: block;
    transition: transform 0.6s ease-in-out;
  }
  /* Title */
  .mySwiper-categories .category-card h3 {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    transform: translate(0%);
    background-color: var(--cl-navy);
    color: #ffffff;
    padding: 0.3rem;
    border-radius: 0.2rem;
    font-size: 0.8rem;
  }
}

/*  PROMO SECTION */
.promo-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
}

.promo-item {
  position: relative;
  flex: 1 1 50%;
  height: 30rem;
  overflow: hidden;
  animation: fadeZoom 1.2s ease-in-out;
}

.promo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
  filter: saturate(200%);
}

.promo-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
  filter: saturate(200%);
}
.promo-item:hover img {
  transform: scale(1.1);
}

.promo-text {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;

  /* background: rgba(0, 0, 0, 0.247); */
}

.promo-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  animation: fadeUp 1.2s ease forwards;
}

.promo-text p {
  font-size: 1rem;
  margin-bottom: 15px;
  animation: fadeUp 1.5s ease forwards;
  text-align: center;
}

.promo-text li {
  font-size: 0.9rem;
  animation: fadeUp 1.5s ease forwards;
  text-align: justify;
}

.promo-section .btn-book {
  background: var(--cl-navy);
  color: #fff !important;
  border-radius: 0.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.promo-section .btn-book:hover {
  background: var(--cl-white);
  color: var(--cl-navy) !important;
}

/* 🔥 Keyframes animations */
@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* blog */

.blog-container {
  width: 100%;
  position: relative;
}

.blog .swiper {
  width: 100%;
  height: auto;
}

.blog .swiper-wrapper {
  width: 100%;
  position: relative;
}

.blog .swiper-slide {
  width: 24rem;
  height: auto;
  text-align: center;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.4s ease-in-out;
  gap: 1rem;
}

.blog .swiper-slide-bg {
  width: 22rem;
  height: 22rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.6rem;
  border: 0.2rem solid var(--cl-navy);
}

.blog .swiper-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}

.blog .swiper-slide-bg:hover img {
  transform: scale(1.1);
}

.blog .swiper-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  width: 22rem;
}

.blog .swiper-slide-content span {
  font-size: 0.7rem;
}

.blog .swiper-slide-content h1 {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--cl-navy);
  font-weight: 800;
  text-align: start;
}

.blog .swiper-slide-content p {
  font-size: 0.9rem;
}

.blog .btn-book {
  color: var(--cl-navy) !important;
  text-transform: uppercase;
  background-color: transparent;
  width: 8rem;
  height: 0;
  padding: 0;
}

/* FOOTER */
.footer-careau {
  height: 17rem;
  color: var(--cl-white) !important;
  padding: 1rem;
  border-radius: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: justify;
}
.footer-careau li {
  color: var(--cl-white) !important;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer .navbar-brand {
  width: 3rem;
  height: 3rem;
  border-radius: 50% 0.2rem 50% 50%;
  border: 0.2rem solid var(--cl-white);
  margin-bottom: 1rem;
  background-color: var(--cl-white);
}
.footer .navbar-brand img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
}
.footer .container ul {
  width: 22rem;
}
.footer .container h1 {
  color: var(--cl-navy);
  font-size: 1.5rem;
  font-weight: 800;
}
.footer .container li {
  color: var(--cl-white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer .container a {
  color: var(--cl-white);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.footer .container i {
  color: var(--cl-white) !important;
  font-size: 0.9rem;
}
.footer .footer-media {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 0.1rem solid var(--cl-white);
  max-width: 5rem;
}
.oqbani li {
  color: var(--cl-white) !important;
}
.oqbani a {
  color: var(--cl-white) !important;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .promo-item {
    flex: 1 1 100%;
    min-height: 300px;
  }

  .promo-text h2 {
    font-size: 1.6rem;
  }

  .promo-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .container-fluid {
    padding: 0.5rem 0rem !important;
  }
  .products-container {
    flex-direction: column; /* ✅ passe en colonne */
    align-items: stretch; /* ✅ prend toute la largeur */
  }

  .products-before {
    width: 100% !important; /* ✅ occupe toute la largeur */
    height: auto;
    position: relative; /* ✅ enlève le absolute */
    inset: unset;
    text-align: start;
    padding: 0.5rem;
  }

  .products-before span {
    font-size: 3rem !important; /* plus petit sur mobile */
  }

  .products-before {
    display: flex;
    flex-direction: row;
    justify-content: space-between !important;
    align-items: center;
  }
  .products-before h1 {
    margin-top: 0.5rem;
  }

  .products-before p {
    display: none;
  }
  .products-before .btn-book {
    width: 6.5rem !important;
    font-size: 0.7rem;
    padding: 0.5rem !important;
  }

  .products {
    width: 100%;
    margin-top: 1rem;
  }
  /* shopping cart */

  .cart-dropdown {
    position: absolute;
    top: 2.5rem;
    right: -2rem;
    width: 20rem;
  }
  .wishlist-dropdown {
    position: absolute;
    top: 2.5rem;
    right: -4rem;
    width: 20rem;
  }
}
/* ================== RESPONSIVE ================== */

/* Tablettes */
@media (max-width: 991px) {
  html,
  body {
    padding: 0 0.25rem !important;
    margin-top: 0.5rem;
  }
  .hero {
    flex-direction: column;
    height: auto;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    height: auto;
    padding: 0.5rem;
  }

  .hero-left {
    padding: 2rem;
    text-align: center;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.95rem;
    max-width: 100%;
  }
  .hero-search {
    width: 100% !important;
    margin: 1.5rem auto 0;
  }

  .hero-right {
    height: 25rem;
  }
  /* blog */

  .blog .swiper-slide {
    width: 22rem;
    height: auto;
  }
  .blog .swiper-slide-bg {
    width: 20rem;
    height: 13rem;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .navbar {
    padding: 0 0.5rem !important;
    display: flex;
    align-items: center;
  }
  .navbar-brand div h1 {
    font-size: 1.3rem;
    line-height: 0.4;
  }
  .navbar-brand div h5 {
    font-size: 0.7rem;
  }
  .navbar .logo {
    width: 40px;
    height: 40px;
  }

  .offcanvas .nav-item,
  .offcanvas .nav-link {
    color: var(--cl-white) !important;
  }
  /* CART & WISHLIST */
  .navbar-icons .nav-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .navbar-icons .nav-icon:hover {
    opacity: 0.8;
  }

  .cart-count {
    font-size: 0.7rem;
  }

  /* SECTIION TOP */
  .section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    text-transform: capitalize;
  }
  .section-top h1 {
    color: var(--cl-navy);
    font-size: 1.5rem;
    margin-top: 0.5rem;
  }
  .section-top .btn-book {
    font-size: 0.7rem;
    background: var(--cl-navy);
    color: var(--cl-white) !important;
    padding: 0.3rem 0.5rem;
    height: 1.8rem;
    width: 6rem;
  }

  .section-top .btn-book:hover {
    background: var(--cl-white);
    color: var(--cl-navy) !important;
    border: 0.1rem solid var(--cl-navy);
  }
  /* HERO */
  .hero {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 !important;
    border-radius: 1rem !important;
    background-color: var(--cl-navy);
    /* margin: 0 0.25rem !important; */
  }
  .hero-left {
    width: 100%;
    height: 20rem;
    border-radius: 1rem !important;
    padding: 0.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-search input {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .hero-search button {
    padding: 0.5rem 0.8rem;
  }

  .hero-right {
    width: 100%;
    height: 20rem;
    border-radius: 1rem !important;
  }
  .hero-right .swiper-slide-bg {
    width: 100%;
    height: 20rem;
    border-radius: 1rem !important;
    overflow: hidden;
  }
  .hero-right .swiper-slide-bg img {
    border-radius: 1rem !important;
  }
  /* CATEGORIES */

  /* Each slide */
  .category-swiper .swiper-slide {
    margin-top: 1rem;
    width: 8rem;
    height: 8rem;
    flex-shrink: 0;
    border-radius: 10rem 1rem 10rem 10rem;
    border: 0.3rem solid var(--cl-navy);
    position: relative;
    overflow: hidden; /* ensures img + title stay clipped inside */
  }

  /* Image inside category card */
  .our-categories-section .category-card img {
    width: 8rem;
    height: 8rem;
    object-fit: cover; /* keep aspect ratio and cover the area */
    border-radius: inherit; /* matches parent slide radius */
    display: block;
    transition: transform 0.6s ease-in-out;
  }

  /* Title overlay */
  .our-categories-section .category-title {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    transform: translate(0%);
    background-color: var(--cl-navy);
    color: #ffffff;
    padding: 0.3rem;
    border-radius: 0.2rem;
    font-size: 0.8rem;
  }
}
