/* Global fixes: prevent horizontal page scrolling and use border-box sizing */
:root {
  /* default product/listing image height — adjust once for all product tiles */
  --product-image-height: 260px;
}

html,
body {
  /* prevent the whole page from showing a horizontal scrollbar
     while allowing internal horizontal scrollers (e.g. .promotions-list) */
  overflow-x: hidden;
  font-family: 'Montserrat', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body:has(.about-page) .navbar .fav-btn svg,
body:has(.about-page) .navbar .fav-btn svg path {
  fill: none !important;
  stroke: #000000 !important;
  stroke-width: 1.5 !important;
}

/* Styles pour le banner carousel */
.banner-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

.carousel-wrapper {
  position: relative;
  max-width: 100%;
}

.slides {
  position: relative;
  height: 70vh;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: scale(1.02);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-content {
  max-width: 720px;
  margin-left: 8%;
  color: #f5e8d6;
  text-shadow: 0 6px 24px #0008;
}

.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  margin: 0 0 12px 0;
  line-height: 1.02;
}

.slide-subtitle {
  font-size: 1.4rem;
  color: #e2c9a7;
  margin-bottom: 18px;
}

.slide-btn {
  display: inline-block;
  background: #231c17;
  /* dark button on white site */
  color: #f5e8d6;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(35, 28, 23, 0.65);
  color: #f5e8d6;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.carousel-control:hover {
  background: #bca98a;
  color: #231c17;
}

.carousel-control.prev {
  left: 18px;
}

.carousel-control.next {
  right: 18px;
}

.carousel-indicators {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
}

.indicator.active {
  background: #231c17;
}

/* Responsive */
@media (max-width: 900px) {
  .slides {
    height: 48vh;
  }

  .slide-title {
    font-size: 2.2rem;
  }

  .slide-content {
    margin-left: 6%;
    text-align: left;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .slide-content {
    margin-left: 5%;
  }

  .slide-title {
    font-size: 1.8rem;
  }

  .slide-subtitle {
    font-size: 1rem;
  }
}

/* New products section styles */
.new-products {
  background: #ffffff;
  padding: 56px 0;
}

.new-products .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.new-products .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #231c17;
  text-align: center;
  margin-bottom: 24px;
}

.products-grid {
  display: grid;
  /* make columns slightly wider and allow nice spacing */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  /* increased gap to separate cards more */
  align-items: start;
  justify-items: center;
  /* center cards inside their grid cells */
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  /* allow the grid to control card width; keep a max for visual balance */
  width: 100%;
  max-width: 360px;
  height: 380px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* keep layout stable by using a transparent border by default */
  border: 1px solid transparent;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  cursor: pointer;
}

/* Hover state: show a 1px black border and lift like promo-card */
.product-card:hover {
  border-color: #000000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
  cursor: pointer;
  /* show hand on hover */
}

.product-img {
  /* unified product tile image area for consistent sizing across lists */
  flex: 1 1 auto;
  height: var(--product-image-height);
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-img img.card-img-packaged {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 220ms ease, transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(0.75);
}

.product-card:hover .product-img img.card-img-packaged {
  opacity: 1;
  transform: scale(0.85);
}

.product-card:hover .product-img img.card-img-default {
  opacity: 0;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #231c17;
  margin: 0;
}

.product-price {
  font-weight: 700;
  color: #231c17;
}

@media (max-width: 600px) {
  .product-img {
    min-height: 160px;
  }
}

/* Collection page styles */
.collection-page .collection-hero {
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 80px; /* push content down below navbar */
}

/* Layout avec sidebar gauche et produits droite */
.collection-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  grid-template-areas: "sidebar products";
}

.filters-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #f7f7f9 55%, #eef1f5 100%);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 14px 45px rgba(10, 15, 30, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.07);
}

/* Bouton filtrer mobile */
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
}

.mobile-filter-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Backdrop pour le filtre mobile */
.filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-backdrop.active {
  opacity: 1;
}

.products-area {
  grid-area: products;
  width: 100%;
  min-width: 0;
}

.products-area .products-grid {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .collection-content {
    display: block;
  }

  .collection-toolbar .filter-row {
    flex-wrap: wrap;
  }

  /* Afficher le bouton filtrer sur mobile */
  .mobile-filter-btn {
    display: inline-flex;
  }

  /* Retirer la sidebar du flux et la positionner en fixed */
  .collection-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  /* Masquer la sidebar par défaut sur mobile */
  .filters-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    overflow-y: auto;
    z-index: 1600;
    transition: left 0.3s ease;
    border-radius: 0;
    margin: 0;
    grid-area: unset;
  }

  /* Les produits occupent toute la largeur */
  .products-area {
    width: 100% !important;
    grid-area: unset;
  }

  /* Grid des produits sur mobile */
  .collection-content .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    width: 100%;
  }

  /* Cartes produits adaptées au mobile */
  .collection-content .product-card {
    min-width: unset !important;
    max-width: unset !important;
    width: 100% !important;
  }

  /* Afficher la sidebar quand active */
  .filters-sidebar.active {
    left: 0;
  }

  /* Bouton fermer dans la sidebar mobile */
  .filter-close-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  }

  .filter-close-btn h3 {
    margin: 0;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    color: #231c17;
  }

  .filter-close-btn button {
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #231c17;
    padding: 0;
    line-height: 1;
  }

  .collection-layout {
    display: block;
  }
}

/* Small helper so the rest of the layout below the carousel doesn't jump */
body>.banner-carousel+* {
  margin-top: 0;
}

/* -----------------------------
   Collection page overrides
   ----------------------------- */
.filters-sidebar .filter-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: visible;
}

.filter-chip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.chip-dropdown .chip-body {
  width: 100%;
}

.chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  align-self: flex-start;
}

.chip-icon svg {
  width: 18px;
  height: 18px;
}

.chip-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
}

.chip-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7280;
}

.chip-trigger {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 12px 36px 12px 14px;
  background: linear-gradient(180deg, #ffffff, #f3f4f6);
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  position: relative;
}

.chip-trigger::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #0f172a;
  border-bottom: 2px solid #0f172a;
  transform: translateY(-50%) rotate(45deg);
}

.chip-trigger:focus {
  outline: none;
  border-color: rgba(79, 70, 229, 0.6);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.chip-dropdown.open .chip-trigger::after {
  transform: translateY(-50%) rotate(-135deg);
}

.chip-menu {
  list-style: none;
  margin: 10px 0 0 44px;
  padding: 6px 0;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 50;
  display: none;
  max-height: 240px;
  overflow-y: auto;
}

.chip-dropdown.open .chip-menu {
  display: block;
}

.chip-dropdown {
  position: relative;
  z-index: 1;
}

.chip-dropdown.open {
  z-index: 50;
}

.chip-menu li {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.chip-menu li:hover,
.chip-menu li.active {
  background: #0f172a;
  color: #fff;
}

.chip-menu li+li {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.filter-chip:focus-within {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.chip-trigger:hover {
  border-color: rgba(15, 23, 42, 0.35);
}

.filter-chip:hover {
  border-color: rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(15, 23, 42, 0.03);
  font-weight: 600;
  cursor: pointer;
  color: #0f172a;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.filter-pill-btn:hover {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.filter-pill-btn .chip-icon {
  background: rgba(15, 23, 42, 0.08);
}

.toolbar-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.toolbar-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toolbar-stats #resultsCount {
  font-weight: 600;
  color: #231c17;
}

.active-filters {
  font-size: 0.88rem;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.active-filters span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #231c17;
  color: #fff;
  font-weight: 700;
}

/* Collection grid: 3 colonnes avec la sidebar */
.collection-content .products-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  justify-items: stretch;
  align-items: start;
}

.collection-content {
  /* increase product image area for collection view */
  --product-image-height: 360px;
  /* larger images for a more prominent card */
}

/* Make product cards match the promo card sizing for visual parity */
.collection-content .product-card {
  /* match promo-card exact box dimensions */
  min-width: 320px;
  max-width: 320px;
  height: 350px;
  padding: 0 0 18px;
  width: 100%;
}

.collection-content .product-img {
  height: 250px;
}

.collection-content .product-name {
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.collection-content .product-price {
  font-size: 1.02rem;
  margin-top: 6px;
}

/* Badge for 'NOUVEAU' */
.product-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 16px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 14px;
  z-index: 10;
}

/* Product card positioning to allow badge centering */
.product-card {
  position: relative;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {

  /* 3 columns on medium-large screens */
  .collection-content .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) and (min-width: 901px) {

  /* Passer en layout vertical sur tablettes UNIQUEMENT */
  .collection-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sidebar"
      "products";
    gap: 24px;
  }

  .filters-sidebar {
    position: relative;
    top: 0;
  }

  .filters-sidebar .filter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .collection-content .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  /* Sur mobile: filtres au-dessus des produits */
  .collection-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .filters-sidebar {
    width: 100%;
    order: 1;
  }

  .products-area {
    order: 2;
  }

  .filters-sidebar .filter-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-chip {
    width: 100%;
    min-width: 0;
  }

  .filter-pill-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .filters-sidebar .filter-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .collection-toolbar {
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  }

  .collection-toolbar .filter-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .collection-toolbar .filter-chip {
    border-radius: 24px;
    padding: 12px 16px;
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  }

  .collection-toolbar .chip-trigger {
    border-color: rgba(15, 23, 42, 0.12);
    background: #f9fafb;
    padding: 12px 34px 12px 12px;
  }

  .collection-toolbar .chip-icon {
    width: 28px;
    height: 28px;
  }

  .collection-toolbar .chip-menu {
    left: 12px;
    right: 12px;
    margin-left: 36px;
  }

  .collection-toolbar .filter-pill-btn {
    width: 100%;
    justify-content: center;
  }

  .collection-content .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Hover overlay for product cards: eye + cart buttons */
.product-card .card-overlay {
  position: absolute;
  inset: 0;
  /* cover parent */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  z-index: 12;
}

.product-card:hover .card-overlay {
  opacity: 1;
  pointer-events: auto;
}

.overlay-btn {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
  color: #ffffff;
}

.overlay-btn:hover {
  transform: translateY(-4px);
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
}

.overlay-btn.overlay-fav svg {
  width: 20px;
  height: 20px;
}

.overlay-btn.overlay-fav.favorited {
  background: #bca98a;
  color: #000;
}

/* small badge for navbar favorites */
.nav-icons .fav-btn {
  position: relative;
}

/* Desktop: show small red numeric badge above fav icon (desktop nav) */

@media (min-width: 901px) {
  .nav-icons .fav-btn .fav-count {
    position: absolute;
    top: 8px;
    right: 6px;
    transform: translate(40%, -30%);
    background: #d9534f;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 6px;
    font-size: 12px;
    display: inline-block;
    text-align: center;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    pointer-events: none;
  }
}

/* Mobile: keep badge attached to the mobile-top-strip only (avoid duplicate badges in desktop nav) */
@media (max-width: 900px) {

  /* ensure desktop/nav favorite badge is visible (we manage visibility via JS) */
  .nav-icons .fav-btn .fav-count {
    display: inline-block !important;
  }
}

.overlay-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* Ensure overlay area also uses pointer on card hover (promo/best-seller variants included) */
.product-card:hover .card-overlay,
.promo-card:hover .card-overlay,
.best-seller-card:hover .card-overlay {
  cursor: pointer;
}


/* Contact page styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}

.contact-form {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
}

.contact-form .form-row {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #231c17;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-size: 0.95rem;
}

.contact-form .form-actions {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.contact-info .info-block {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* About page styles */
.about-content .about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: start;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #231c17;
  margin-bottom: 12px;
}

.about-text p,
.about-text ul {
  color: #5a534d;
  line-height: 1.6;
}

.about-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-gallery .gallery-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.about-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .about-content .about-grid {
    grid-template-columns: 1fr;
  }

  .about-gallery img {
    height: 180px;
  }
}

/* Soft, perfume-inspired theme for About page */
.about-page {
  background: linear-gradient(180deg, #fbf7f3 0%, #ffffff 60%);
}

.about-hero {
  padding: 72px 0 28px;
}

.about-hero .eyebrow {
  color: #bca98a;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem;
  color: #231c17;
  margin: 10px 0 8px;
  letter-spacing: 0.6px;
}

.about-hero p {
  color: #6b6058;
  font-size: 1.05rem;
  margin-top: 8px;
}

.about-content {
  padding: 18px 0 40px;
}

.about-text {
  background: transparent;
}

.about-text ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 18px 0;
}

.about-text ul li {
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
  color: #5a534d;
}

.about-text ul li:before {
  content: '';
  width: 6px;
  height: 6px;
  background: #bca98a;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.about-gallery .gallery-item {
  border-radius: 14px;
  overflow: hidden;
}

.about-gallery img {
  height: 300px;
  object-fit: cover;
  filter: saturate(0.98) contrast(0.98);
}

.about-cta .hero-btn {
  background: #231c17;
  color: #f5e8d6;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
}

.about-cta .hero-btn:hover {
  background: #bca98a;
  color: #000;
}

@media (max-width: 900px) {
  .about-hero h1 {
    font-size: 2.4rem;
  }

  .about-gallery img {
    height: 200px;
  }
}

/* Navbar base (fixed, black) and sticky behavior simplified */
.navbar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  padding: 12px 48px;
  min-height: 60px;
  position: relative;
  margin-top: -20px;
  margin-bottom: 70px;
  z-index: 300;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #000000;
  border-radius: 50px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

/* override size on collection page only */
body.home-style-nav .navbar {
  padding: 6px 48px 18px 48px !important;
  gap: 170px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  /* keep a subtle backdrop like other pages */
  background: rgba(255,255,255,0.8) !important;
  backdrop-filter: blur(6px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.navbar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #000000;
  white-space: nowrap;
}

.nav-links-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #000000;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 4px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #666666;
}

/* nudge links downward slightly on collection page */
body.home-style-nav .nav-links {
  transform: translateY(4px);
}

.nav-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 900px) {
  .navbar {
    padding: 12px 16px;
  }
}

/* Navbar icon buttons: black icons on transparent background */
.nav-icons .search-btn,
.nav-icons .fav-btn,
.nav-icons .cart-btn {
  background: transparent;
  color: #000000;
  border: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 8px;
}

.nav-icons .search-btn svg,
.nav-icons .fav-btn svg,
.nav-icons .cart-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.nav-icons .search-btn:hover,
.nav-icons .fav-btn:hover,
.nav-icons .cart-btn:hover {
  color: #666666;
}

/* Force heart icon in NAVBAR ONLY to be outlined (stroke) instead of filled on all pages */
nav.navbar .nav-icons .fav-btn {
  background: transparent !important;
  color: #000000 !important;
}

nav.navbar .nav-icons .fav-btn svg path {
  stroke: #000000 !important;
  fill: none !important;
  stroke-width: 1.5 !important;
}

.site-footer {
  background: #000000;
  color: #fff;
  font-size: 1rem;
  padding: 48px 0 0 0;
  margin-top: 64px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1800px;
  gap: 40px !important;
  /* slightly larger gap for breathing room */
  width: calc(100% - 80px);
}

.footer-location {
  font-size: 1.08rem;
}

.footer-socials {
  display: flex;
  gap: 22px;
}

.footer-icon {
  font-family: 'FontAwesome', Arial, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

/* ensure inline SVG icons inside .footer-icon inherit color/size */
.footer-icon svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.footer-icon:hover {
  color: #bca98a;
}

.footer-sep {
  border: none;
  border-top: 1px solid #333;
  margin: 24px 0;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-title {
  font-weight: bold;
  font-size: 1.08rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #bca98a;
}

.footer-made {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  text-align: center;
  padding: 18px 0 24px 0;
  font-size: 0.95rem;
}

/* -----------------------------

/* Product details styles moved to `homme/product.css` */


/* Modal product overlay styles (used by collection/index to show product page above current page) */
.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.product-modal[aria-hidden="false"] {
  display: flex;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.product-modal-content {
  position: relative;
  max-width: 1100px;
  width: 96%;
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
  z-index: 1210;
  padding: 18px;
}

.product-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #231c17;
}

.product-modal-body {
  padding-top: 36px;
  /* leave space for close button */
}

@media (max-width: 900px) {
  .product-modal-content {
    width: 96%;
    padding: 12px;
  }
}

/* Mobile footer fixes: center language + icons, enlarge tappable icons, and stack columns */
@media (max-width: 480px) {
  .footer-top {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 14px 12px;
  }

  .footer-location {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
  }

  .footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 8px 0;
  }

  .footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 6px;
  }

  .footer-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
    fill: currentColor;
  }

  .footer-sep {
    margin: 18px 0 16px 0 !important;
  }

  .footer-columns {
    padding: 0 18px !important;
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  .footer-col {
    width: 100% !important;
    min-width: 0 !important;
  }

  .footer-col ul {
    display: block;
    text-align: center;
  }

  .footer-col ul li {
    display: block;
  }

  .footer-col ul li a {
    display: inline-block;
    white-space: normal;
    word-break: break-word;
  }

  .footer-bottom {
    padding: 12px 0 22px 0 !important;
  }
}

/* Hide navbar when drawers/modal overlays are open */
.navbar.navbar-hidden {
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Cart drawer styles */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1400;
  pointer-events: none;
}

.cart-drawer .cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 240ms ease;
}

.cart-drawer .cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 380px;
  max-width: 96%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 300ms ease;
  box-shadow: -18px 0 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  pointer-events: auto;
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
}

.cart-close {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.cart-items {
  padding: 12px;
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: #fafafa;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.ci-body {
  flex: 1;
}

.ci-name {
  font-weight: 700;
}

.ci-meta {
  font-size: 0.9rem;
  color: #666;
  margin: 4px 0;
}

.ci-price {
  font-weight: 700;
}

.cart-footer {
  padding: 12px 16px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-btn {
  background: #231c17;
  color: #f5e8d6;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* cart item controls */
.ci-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.ci-btn {
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.ci-btn.ci-remove {
  background: transparent;
  color: #a00;
  border: none;
  font-size: 18px;
  padding: 4px 6px;
}

.ci-input {
  width: 56px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
}

/* Favorites drawer (similar to cart drawer) */
.fav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
}

.fav-drawer .fav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 240ms ease;
}

.fav-drawer .fav-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 380px;
  max-width: 96%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 300ms ease;
  box-shadow: -18px 0 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.fav-drawer.open {
  pointer-events: auto;
}

.fav-drawer.open .fav-backdrop {
  opacity: 1;
}

.fav-drawer.open .fav-panel {
  transform: translateX(0);
}

.fav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.fav-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
}

.fav-close {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.fav-items {
  padding: 12px;
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fav-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: #fafafa;
}

.fav-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.fi-body {
  flex: 1;
}

.fi-name {
  font-weight: 700;
}

.fi-brand {
  font-size: 0.9rem;
  color: #666;
  margin: 4px 0;
}

.fi-price {
  font-weight: 700;
}

.fi-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fi-addcart {
  background: #231c17;
  color: #f5e8d6;
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.fi-remove {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #a00;
  cursor: pointer;
}

.fav-footer {
  padding: 12px 16px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fav-empty {
  color: #666;
  padding: 18px;
  text-align: center;
}

/* Checkout Modal Styles */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-modal .checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 240ms ease;
}

.checkout-modal .checkout-panel {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  opacity: 0;
  transition: all 300ms ease;
  display: flex;
  flex-direction: column;
}

.checkout-modal.open {
  pointer-events: auto;
}

.checkout-modal.open .checkout-backdrop {
  opacity: 1;
}

.checkout-modal.open .checkout-panel {
  transform: scale(1);
  opacity: 1;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 2px solid #eee;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.checkout-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: #333;
}

.checkout-close {
  background: transparent;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.checkout-close:hover {
  color: #000;
}

.checkout-content {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.cart-summary-checkout {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.cart-summary-checkout h3 {
  margin: 0 0 16px 0;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
  color: #333;
}

.checkout-cart-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.checkout-cart-item:last-child {
  border-bottom: none;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #333;
  color: #000;
}

.checkout-form h3 {
  margin: 24px 0 16px 0;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
  color: #333;
}

.checkout-form h3:first-of-type {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row.full-width {
  grid-column: 1 / -1;
}

.form-row label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 0.95rem;
}

.form-row input,
.form-row textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #000;
}

.form-row textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.submit-btn {
  flex: 1;
  padding: 14px 24px;
  background: #000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #333;
}

.cancel-btn {
  padding: 14px 24px;
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cancel-btn:hover {
  background: #e0e0e0;
  border-color: #ccc;
}

.form-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .checkout-modal .checkout-panel {
    width: 95%;
    max-height: 95vh;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .checkout-content {
    padding: 16px;
  }

  .form-actions {
    flex-direction: column;
  }
}