/*
Theme Name: Affaire
Theme URI: https://theaffaire.in
Author: Sajith
Description: Custom luxury theme for A’FFAIRE
Version: 1.0
*/

/* =========================
   GLOBAL BASE
========================= */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #000;
  color: #c9a24d;
  font-family: "Playfair Display", serif;
}

/* =========================
   GLOBAL LAYOUT SYSTEM
========================= */
.header-inner,
.footer-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 48px;
}

/* =========================
   GLOBAL HEADER 
========================= */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
}

/* LOGO */
.site-logo img {
  width: 220px;
}

/* NAV */
.main-nav .menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #c9a24d;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  opacity: 1;
}
/* =========================
   GLOBAL HEADER LAYOUT (BASE)
========================= */

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 72px;
}

/* NAV FIX (THIS FIXES YOUR BULLET ISSUE) */
.main-nav .menu {
  display: flex;
  gap: 42px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* REMOVE BULLETS FORCEFULLY */
.main-nav .menu li {
  list-style: none;
}

/* LINK STYLE */
.main-nav a {
  text-decoration: none;
  color: #c9a24d;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
/* =========================
   GLOBAL FOOTER (OVERLAY BASE)
========================= */

.site-footer {
  position: relative; /* 🔴 FIX */
  width: 100%;
  background: transparent;
  z-index: 10;
}

/* =========================
   HOME FOOTER OVERLAY ONLY
========================= */

.home .site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
}

.site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 40px 72px;
}

/* NAV */
.footer-nav .footer-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #c9a24d;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social img {
  max-width: 44px;   /* 🔴 controls actual icon inside */
  max-height: 44px;
  object-fit: contain;
  opacity: 0.9;
}

.footer-copyright {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.6;

}


/* =========================
   HOME HEADER (OVERLAY)
========================= */
.overlay-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
 
}

.home .header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
  pointer-events: auto;
}

.overlay-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  background: transparent !important; /* 🔴 remove black */
  z-index: 100;
}

.home .main-nav {
  margin-top: 0;
  transform: translateY(-174px);
}


/* LOGO */
.home .site-logo img {
  width: 450px;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: translateY(-30%);
}

/* NAV */
.home .main-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 48px;
}

.home .main-nav a {
  color: #c9a24d;
  text-decoration: none;
  font-size: 19px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.85;
}

.home .main-nav a:hover {
  opacity: 1;
}

/* =========================
   HOME HERO
========================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("/wp-content/themes/affaire/assets/images/hero.jpg") center /
    cover no-repeat;
}

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0) 30%),
    radial-gradient(ellipse at center, rgba(0,0,0,0.1), rgba(0,0,0,0.8));

}

/* =========================
   HOME FOOTER 
========================= */
.home .site-footer {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
}

.home .site-footer * {
  pointer-events: auto;
}
.overlay-footer .footer-inner {
  background: transparent;
}
/* LAYOUT */
.home .site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 72px;
}
/* =========================
   FOOTER NAV = HEADER STYLE
========================= */

.overlay-footer .footer-nav .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.home .footer-nav .footer-menu li {
  margin-bottom: 0;           /* 🔴 REMOVE vertical stacking */
}

.overlay-footer .footer-nav a {
  color: #c9a24d;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.overlay-footer .footer-nav a:hover {
  opacity: 1;
}

/* =========================
   SOCIAL (CLEAN + CONSISTENT)
========================= */

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px; /* more breathing */
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a img {
  max-width: 44px;   /* 🔴 controls actual icon inside */
  max-height: 44px;
  object-fit: contain;
  opacity: 0.9;
}

/* hover */
.footer-social a:hover img {
  transform: translateY(-3px);
  opacity: 1;
}

/* =========================
        COPYRIGHT 
========================= */
.home .site-footer .footer-copyright {
 position: absolute; 
  left: 50%; 
 transform: translateX(-50%); 
 font-size: 13px; 
 color: #c9a24d; 
 opacity: 0.9; 
 text-align: center; 
    
}

/* =========================
   BOUTIQUE PAGE
========================= */

/* =========================================================
   BOUTIQUE PAGE — BASE HEADER
========================================================= */

.page-template-page-boutique .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

.page-template-page-boutique .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 72px;
}

.page-template-page-boutique .site-logo img {
  width: 220px;
}

/* NAVIGATION */

.page-template-page-boutique .main-nav .menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-template-page-boutique .main-nav a {
  color: #c9a24d;
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
font-size: 16px;
  opacity: 0.85;
  text-shadow: none;
  transition: all 0.35s ease;
}

.page-template-page-boutique .main-nav a:hover {
  opacity: 1;

  text-shadow:
    0 0 8px rgba(201,162,77,0.45),
    0 0 18px rgba(201,162,77,0.18);
}


/* =========================================================
   HERO SECTION
========================================================= */

.boutique-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  z-index: 2;
}

/* SLIDES */

.boutique-hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.boutique-hero .hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* HERO OVERLAY */

.boutique-hero .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.85) 70%
  );
}


/* =========================================================
   HERO SLIDE IMAGES
========================================================= */

.page-template-page-boutique .hero-lingerie {
  background-image: url("/wp-content/themes/affaire/assets/images/boutique-hero-lingerie.jpg");
}

.page-template-page-boutique .hero-jewellery {
  background-image: url("/wp-content/themes/affaire/assets/images/boutique-hero-jewellery.jpg");
}

.page-template-page-boutique .hero-cosmetics {
  background-image: url("/wp-content/themes/affaire/assets/images/boutique-hero-cosmetics.jpg");
}

.page-template-page-boutique .hero-perfume {
  background-image: url("/wp-content/themes/affaire/assets/images/boutique-hero-perfume.jpg");
}


/* =========================================================
   HERO TEXT ELEMENTS
========================================================= */

/* Whisper Line */

.boutique-slide-line {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #c9a24d;
  opacity: 0;
  transition: opacity 1.8s ease 1.2s;
  white-space: nowrap;
}

.hero-slide.active .boutique-slide-line {
  opacity: 0.55;
}

/* CTA — ALL COLLECTIONS */

.hero-collections {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);

  font-size: 20px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
   text-shadow: 0 0 8px rgba(201,162,77,0.25);
  text-decoration: none;   /* 🔴 remove underline */
  color: rgba(201,162,77,0.75);
  opacity: 1;              /* 🔴 FIX: always visible */
  transition: all 0.4s ease;
  z-index: 5;              /* 🔴 above slide + overlay */
}

.hero-collections::after {
  content: "";
  display: block;
  width: 0%;
  height: 1px;
  margin-top: 6px;
  background: rgba(201,162,77,0.7);
  transition: width 0.4s ease;
}

.hero-collections:hover {
  opacity: 1;
  letter-spacing: 0.45em;   /* very slight expansion */
}

.hero-collections:hover::after {
  width: 100%;
}

/* =========================================================
   INTRO SECTION
========================================================= */

.boutique-intro {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 24px;
  color: rgba(201,162,77,0.75);
}

.boutique-intro h1 {
  font-size: 34px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.boutique-intro p {
  font-size: 15px;
  letter-spacing: 0.32em;
  font-style: italic;
  opacity: 0.75;
}


/* =========================================================
   GRID LAYOUT
========================================================= */

.boutique-grid {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(201,162,77,0.22);
}

.boutique-grid::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(201,162,77,0.08);
  pointer-events: none;
}


/* =========================================================
   PANELS
========================================================= */

.boutique-panel {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.6s ease;
}

/* divider line */

.boutique-panel:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6%;
  right: 0;
  width: 1px;
  height: 88%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(201,162,77,0.45),
    transparent
  );
  z-index: 4;
}

/* overlay */

.boutique-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.55) 55%,
    rgba(0,0,0,0.92) 100%
);
  z-index: 1;
  transition: opacity 0.6s ease;
}


/* =========================================================
   PANEL CONTENT
========================================================= */

.boutique-panel .section-text {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 80%;
  text-align: center;
}

.boutique-panel h2 {
  font-size: 22px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.85;
  transition: all 0.5s ease;
}

.boutique-panel p {
  font-size: 14px;
  font-style: italic;
  opacity: 0.65;
  margin-bottom: 14px;
  transition: all 0.5s ease;
}

/* CTA */

.boutique-panel .explore {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #c9a24d;
  text-decoration: none;
  opacity: 0.5;
  transition: all 0.5s ease;
}

.boutique-panel .explore::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: rgba(201,162,77,0.7);
  transition: width 0.4s ease;
}


/* =========================================================
   HOVER EFFECTS
========================================================= */

.boutique-panel:hover {
  transform: translateY(-4px);
}

.boutique-panel:hover::before {
  opacity: 0.75;
}

.boutique-panel:hover h2,
.boutique-panel:hover p {
  text-shadow: 0 0 16px rgba(201,162,77,0.25);
}

.boutique-panel:hover .explore {
  opacity: 1;
  letter-spacing: 0.26em;
}

.boutique-panel:hover .explore::after {
  width: 100%;
}

.boutique-panel:hover h2 {
  letter-spacing: 0.28em;
  opacity: 1;
}

.boutique-panel:hover p {
  opacity: 0.85;
}

.boutique-panel:hover .explore {
  opacity: 1;
  letter-spacing: 0.26em;
}

/* =========================================================
   PANEL BACKGROUNDS
========================================================= */

.panel-lingerie {
  background-image: url("/wp-content/themes/affaire/assets/images/boutique-section-lingerie.jpg");
}

.panel-jewellery {
  background-image: url("/wp-content/themes/affaire/assets/images/boutique-section-jewellery.jpg");
}

.panel-cosmetics {
  background-image: url("/wp-content/themes/affaire/assets/images/boutique-section-cosmetics.jpg");
}

.panel-perfume {
  background-image: url("/wp-content/themes/affaire/assets/images/boutique-section-perfume.jpg");
}

/* =========================
   BOUTIQUE FOOTER
========================= */

.page-template-page-boutique .site-footer {
  padding: 80px 72px 60px;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.page-template-page-boutique .site-footer .footer-inner {
  width: 100%;
 
  margin: 0 auto;
   padding: 40px 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-template-page-boutique .footer-social {
  display: flex;
  margin-left: -70px;
  gap: 14px; /* tighter = luxury */
}

.page-template-page-boutique .footer-social a {
  opacity: 0.7;
  
  transition: all 0.4s ease;
}

.page-template-page-boutique .footer-nav a:hover {
  opacity: 1;
  letter-spacing: 0.22em;

  text-shadow:
    0 0 6px rgba(201,162,77,0.35),
    0 0 16px rgba(201,162,77,0.2);
}

.page-template-page-boutique .footer-nav .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: nowrap;
white-space: nowrap;
  justify-content: flex-end;
margin-right: 70px;
    
}

.page-template-page-boutique .footer-nav a {
  color: #c9a24d;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: all 0.35s ease;
  
}

.page-template-page-boutique .footer-nav a:hover {
   opacity: 1;
  text-shadow:
    0 0 6px rgba(201,162,77,0.35),
    0 0 14px rgba(201,162,77,0.15);
}

.page-template-page-boutique .footer-copyright {
  width: 100%;
  max-width: 1120px;
  margin: 30px auto 0;

  text-align: center;

  font-size: 12px;
  letter-spacing: 0.22em;
  color: #c9a24d;
  opacity: 0.5;
}

.page-template-page-boutique .footer-nav a:link,
.page-template-page-boutique .footer-nav a:visited,
.page-template-page-boutique .footer-nav a:hover,
.page-template-page-boutique .footer-nav a:active {
  text-decoration: none;
  color: #c9a24d;
}


/* =========================================================
   SHOP PAGE — HEADER + HERO
   REFINED VERSION
   DO NOT MOVE HERO INTO header.php
========================================================= */


/* ---------------------------------------------------------
   SHOP HEADER
--------------------------------------------------------- */

body.woocommerce-shop .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

body.woocommerce-shop .site-header .header-inner {
    width: 100%;
    max-width: none;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 0;
    padding: 30px 72px;
}

body.woocommerce-shop .site-logo img {
    width: 220px;
    height: auto;
    display: block;
}

body.woocommerce-shop .main-nav .menu {
    display: flex;
    align-items: center;
    gap: 42px;

    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-shop .main-nav .menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-shop .main-nav a {
    color: #c9a24d;
    text-decoration: none;

    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   SHOP HERO
--------------------------------------------------------- */

body.woocommerce-shop .shop-hero {
    position: relative;
    width: 100%;
    min-height: 460px;

    box-sizing: border-box;
    overflow: hidden;

    background-image: url("/wp-content/themes/affaire/assets/images/woocommerce-shop-hero.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* Dark luxury overlay */

body.woocommerce-shop .shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.42);

    z-index: 1;
}


/* Hero content above overlay */

body.woocommerce-shop .shop-hero-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1280px;

    min-height: 460px;

    margin: 0 auto;
    box-sizing: border-box;

    padding: 178px 72px 72px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


/* ---------------------------------------------------------
   BREADCRUMB
--------------------------------------------------------- */

body.woocommerce-shop .shop-breadcrumb {
    margin-bottom: 30px;

    font-size: 15px;
    line-height: 1.4;

    letter-spacing: 0.08em;
}

body.woocommerce-shop .shop-breadcrumb a {
    color: #c9a24d;
    text-decoration: none;
}

body.woocommerce-shop .shop-breadcrumb .woocommerce-breadcrumb {
    color: #c9a24d;
}


/* ---------------------------------------------------------
   HERO COPY
--------------------------------------------------------- */

body.woocommerce-shop .shop-hero-copy {
    max-width: 100%;
}


/* THE COLLECTION */

body.woocommerce-shop .shop-eyebrow {
    display: block;

    margin-bottom: 16px;

    color: #c9a24d;

    font-size: 16px;
    line-height: 1.3;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* INTIMATE LUXURY */

body.woocommerce-shop .shop-title {
    margin: 0 0 16px;

    color: #c9a24d;

    font-size: clamp(42px, 4vw, 62px);
    line-height: 0.98;

    letter-spacing: 0.005em;

    font-weight: 500;
}


/* SUBTITLE */

body.woocommerce-shop .shop-subtitle {
    margin: -10px 0 0 800px;

    max-width: 700px;

    color: #c9a24d;

    font-size: 17px;
    font-style: italic;
    line-height: 1.5;

    letter-spacing: 0.01em;
}



/* ---------------------------------------------------------
   SHOP NAV — BELOW HERO
--------------------------------------------------------- */

body.woocommerce-shop .shop-nav {
    position: relative;
    z-index: 20;
    width: 100%;
    margin: 0;
    padding: 22px 0;
    background: #000;
    border - none;
    box-sizing: border-box;
}


body.woocommerce-shop .shop-nav::before,
body.woocommerce-shop .shop-nav::after {
    content: "";
    position: absolute;
    left: 52px;
    right: 52px;
    height: 1px;
    background: rgba(201, 162, 77, 0.22);
}

body.woocommerce-shop .shop-nav::before {
    top: 0;
}

body.woocommerce-shop .shop-nav::after {
    bottom: 0;
}


body.woocommerce-shop .shop-nav .nav-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 52px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* CATEGORIES */

body.woocommerce-shop .shop-nav .categories {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
    min-width: 0;
}

body.woocommerce-shop .shop-nav .shop-category {
        position: relative;
    display: inline-block;
    flex-shrink: 0;

    padding: 0 0 10px;
    margin: 0;

    background: transparent;
    border: 0;
    color: #A5A5A8;

    font-family: "Playfair Display", serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;
    transition: color 0.2s ease;
}

/* ACTIVE TAB — GOLD TEXT + FINE GOLD UNDERLINE */

body.woocommerce-shop .shop-nav .shop-category.current {
    color: #C9A24D;
}

body.woocommerce-shop .shop-nav .shop-category.current::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;
    background: #C9A24D;
}

/* INACTIVE TAB HOVER */

body.woocommerce-shop .shop-nav .shop-category:hover {
    color: #F5EBDD;
}

body.woocommerce-shop .shop-nav .shop-category:hover {
    color: #efd49a;
}

/* NAV ACTIONS */

body.woocommerce-shop .shop-nav .nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    background: #000;
}

body.woocommerce-shop .shop-nav .sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* SORT LABEL */

body.woocommerce-shop .shop-nav .sort-label {
    color: #c9a24d;
    font-family: "Playfair Display", serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.06em;
}

/* CURATE SELECT */

body.woocommerce-shop #custom-order {
    min-width: 220px;
    min-height: 42px;
    padding: 0 14px;

    background: #000;
    color: #c9a24d;

    border: 1px solid rgba(201,162,77,0.45);
    border-radius: 0;
    box-shadow: none;

    font-family: "Playfair Display", serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;

    cursor: pointer;
}

body.woocommerce-shop #custom-order option {
    background: #000;
    color: #c9a24d;
}

/* VERTICAL SEPARATOR */

body.woocommerce-shop .shop-nav .divider {
    display: block;
    flex: 0 0 1px;
    width: 1px;
    height: 24px;
    background: rgba(201,162,77,0.35);
}

/* FILTER / PERSONALISE CONTROL */

body.woocommerce-shop .shop-nav .filter-toggle {
    min-height: 42px;
    padding: 0 20px;

    background: #000;
    border: 1px solid rgba(201,162,77,0.55);
    border-radius: 0;
    box-shadow: none;

    color: #c9a24d;
    font-family: "Playfair Display", serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

body.woocommerce-shop .shop-nav .filter-toggle:hover {
    background: #000;
    border-color: #d9b86c;
    color: #efd49a;
}


/* =========================================================
   A’FFAIRE PERSONALISE — MODAL
   CLEAN REBUILD — MATCH REFERENCE LAYOUT
   ========================================================= */


/* ---------------------------------------------------------
   1. FULL SCREEN OVERLAY
--------------------------------------------------------- */

body.woocommerce-shop .filter-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.woocommerce-shop .filter-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ---------------------------------------------------------
   2. MODAL SHELL
   Desktop intentionally remains 30% / 70%.
--------------------------------------------------------- */

body.woocommerce-shop .shop-filter-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(94vw, 1550px);
    height: calc(100vh - 40px);
max-height: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 27% 73%;
    background: #050504;
    border: 1px solid #c9a24d;
    transform: translate(-50%, -50%) scale(0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

body.woocommerce-shop .shop-filter-panel.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}


/* ---------------------------------------------------------
   3. LEFT VISUAL PANEL
--------------------------------------------------------- */

body.woocommerce-shop .personalise-modal-visual {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    background-color: #0b0805;
    background-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.02) 0%,
            rgba(0,0,0,0.12) 48%,
            rgba(0,0,0,0.42) 100%
        ),
        url("/wp-content/themes/affaire/assets/images/woo-shop-personalize-modal.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-right: 1px solid rgba(201,162,77,0.30);
}

body.woocommerce-shop .personalise-modal-visual img {
    display: none;
}

body.woocommerce-shop .personalise-visual-branding {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 38px;

    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform: translateY(-115px);
    text-align: center;
    pointer-events: none;
}


/* ---------------------------------------------------------
   A'FFAIRE LOGO
--------------------------------------------------------- */

body.woocommerce-shop .personalise-visual-logo {
    margin-bottom: 16px;

    display: flex;
    align-items: center;
    justify-content: center;
}

body.woocommerce-shop .personalise-visual-logo img {
    display: block;
    width: 300px;
    height: auto;
    max-width: 100%;
    transform: translateY(-165px);
}


/* ---------------------------------------------------------
   PERSONALISE TITLE
--------------------------------------------------------- */

body.woocommerce-shop .personalise-visual-title {
    color: #f0d58b;

    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 5px;

    line-height: 1.15;

    text-transform: uppercase;

    text-shadow:
        0 2px 12px rgba(0,0,0,0.75);
}


/* ---------------------------------------------------------
   DECORATIVE LINE
--------------------------------------------------------- */

body.woocommerce-shop .personalise-visual-line {
    width: 72px;
    height: 1px;

    margin: 13px 0 11px;

    background: rgba(216,183,101,0.75);
}


/* ---------------------------------------------------------
   TAGLINE
--------------------------------------------------------- */

body.woocommerce-shop .personalise-visual-tagline {
    max-width: 280px;

    color: rgba(239,215,157,0.88);

    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;

    letter-spacing: 0.4px;
    line-height: 1.5;

    text-shadow:
        0 1px 8px rgba(0,0,0,0.8);
}

/* ---------------------------------------------------------
   4. RIGHT CONTENT SHELL
--------------------------------------------------------- */

body.woocommerce-shop .personalise-modal-content {
    position: relative;

    min-width: 0;
    min-height: 0;

    width: 100%;
    height: 100%;

    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    flex-direction: column;

    background: #050504;

    overflow: hidden;
}



/* ---------------------------------------------------------
   5. HEADER / CLOSE BUTTON
--------------------------------------------------------- */

body.woocommerce-shop .filter-panel-header {
    position: absolute;
    top: 0;
    right: 0;

    width: 100%;
    height: 58px;
    padding: 0 12px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    background: transparent;

    z-index: 20;
    pointer-events: none;
}

body.woocommerce-shop .filter-panel-title {
    display: none;
}

body.woocommerce-shop .filter-close {
    width: 32px;
    height: 32px;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;
    color: #e1bd62;

    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 200;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: auto;

    transition: color 0.2s ease, transform 0.2s ease;
}

body.woocommerce-shop .filter-close:hover {
    color: #f0d58a;
    transform: scale(1.04);
}


/* ---------------------------------------------------------
   6. BODY / SCROLL AREA
--------------------------------------------------------- */

body.woocommerce-shop .filter-panel-body {
    position: relative;

    width: 100%;
    flex: 1 1 auto;

    min-width: 0;
    min-height: 0;
    height: auto;

    margin: 0;
    padding: 32px 24px 12px;

    box-sizing: border-box;

    overflow: visible;

    background: #050504;
    z-index: 1;
    
    overflow-y: auto;
    overflow-x: hidden;

    /* Hide scrollbar — Firefox */
    scrollbar-width: none;

    /* Hide scrollbar — IE / old Edge */
    -ms-overflow-style: none;
}

/* Hide scrollbar — Chrome / Edge / Safari */
.filter-panel-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* ---------------------------------------------------------
   7. FILTER GROUP BASE
--------------------------------------------------------- */

body.woocommerce-shop .filter-group {
    position: relative;

    width: 100%;

    margin: 0;
    padding: 0 0 20px;
}

body.woocommerce-shop .filter-group::after {
    content: "";

    display: block;

    width: 72%;

    height: 1px;

    margin-top: 12px;
     margin-left: auto;
    margin-right: auto;

    background: linear-gradient(
    to right,
    rgba(201,162,77,0.05) 0%,
    rgba(201,162,77,0.18) 30%,
    rgba(201,162,77,0.38) 50%,
    rgba(201,162,77,0.18) 70%,
    rgba(201,162,77,0.05) 100%
);
}

body.woocommerce-shop .filter-group + .filter-group {
    margin-top: 18px;
}


/* ---------------------------------------------------------
   8. GROUP TITLES
--------------------------------------------------------- */

body.woocommerce-shop .filter-group-title {
    display: flex;
    align-items: center;

    width: 60%;

    margin: 0 0 14px;

    color: #d8b765;

    font-family: "Playfair Display", serif;
    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.04em;
    text-transform: uppercase;

    line-height: 1.2;
}



/* ---------------------------------------------------------
   9. CATEGORY GRID
--------------------------------------------------------- */

body.woocommerce-shop .personalise-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}


/* ---------------------------------------------------------
   10. CATEGORY CARD
--------------------------------------------------------- */

body.woocommerce-shop .personalise-category {
    position: relative;
    min-width: 0;
    height: 130px;
    padding: 0;
    box-sizing: border-box;
    background: #090806;
    border: none;
    color: #d8b765;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-shop .personalise-category:hover {
    border-color: #d8b765;
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   11. CATEGORY IMAGE
--------------------------------------------------------- */

body.woocommerce-shop .personalise-category-image {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.90;
}

body.woocommerce-shop .personalise-category-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.04),
            rgba(0,0,0,0.58)
        );
}


/* ---------------------------------------------------------
   12. CATEGORY IMAGE POSITIONS
--------------------------------------------------------- */

body.woocommerce-shop
.personalise-category[data-category="lingerie"]
.personalise-category-image {
    background-image:
        url("/wp-content/themes/affaire/assets/images/woo-shop-per-intmates-card.png");
    background-position: 50% center;
}

body.woocommerce-shop
.personalise-category[data-category="jewellery"]
.personalise-category-image {
    background-image:
        url("/wp-content/themes/affaire/assets/images/woo-shop-per-jewellery-card.png");
    background-position: 50% center;
}

body.woocommerce-shop
.personalise-category[data-category="cosmetics"]
.personalise-category-image {
    background-image:
        url("/wp-content/themes/affaire/assets/images/woo-shop-per-cosmetics-card.png");
    background-position: 50% center;
}

body.woocommerce-shop
.personalise-category[data-category="perfume"]
.personalise-category-image {
    background-image:
        url("/wp-content/themes/affaire/assets/images/woo-shop-per-perfume-card.png");
    background-position: 50% center;
}



/* ---------------------------------------------------------
   14. ACTIVE CATEGORY
--------------------------------------------------------- */

/* Normal state — no box outline */
body.woocommerce-shop .personalise-category {
    border: none;
    box-shadow: none;
}


/* Active category */
body.woocommerce-shop .personalise-category.active {
    border: none;
    box-shadow: none;
}


/* Gold active frame */
body.woocommerce-shop .personalise-category.active::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #d8b765;
    pointer-events: none;
    z-index: 10;
}


/* Slightly brighten active image */
body.woocommerce-shop .personalise-category.active
.personalise-category-image {
    opacity: 1;
}


/* Stronger image contrast when active */
body.woocommerce-shop .personalise-category.active
.personalise-category-image::after {
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.02),
            rgba(0,0,0,0.42)
        );
}


/* ---------------------------------------------------------
   15. DYNAMIC CATEGORY CONTENT
--------------------------------------------------------- */

body.woocommerce-shop .personalise-dynamic {
    width: 100%;
}

body.woocommerce-shop .personalise-category-panel[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   16. OPTION / RADIO AREA
--------------------------------------------------------- */

body.woocommerce-shop .filter-options {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    column-gap: 24px;
    row-gap: 10px;
}

body.woocommerce-shop .filter-option {
    position: relative;

    display: inline-flex;
    align-items: center;

    cursor: pointer;

    color: #e0d2b2;

    font-family: "Playfair Display", serif;
    font-size: 13px;
    font-weight: 400;

    letter-spacing: 0.025em;

    line-height: 1.2;
}

body.woocommerce-shop .filter-option input {
    appearance: none;

    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    margin: 0 8px 0 0;

    border: 1px solid rgba(201,162,77,0.65);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    box-sizing: border-box;
}

body.woocommerce-shop .filter-option input:checked {
    box-shadow:
        inset 0 0 0 4px #050504;

    background: #d8b765;

    border-color: #d8b765;
}



/* ---------------------------------------------------------
   18. FOOTER
--------------------------------------------------------- */

body.woocommerce-shop .filter-panel-footer {
    position: relative;

    width: 100%;
    height: 58px;
    flex: 0 0 58px;

    padding: 0 34px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    background: #050504;
    border-top: 1px solid rgba(201,162,77,0.28);

    z-index: 15;
}


/* ---------------------------------------------------------
   19. CLEAR BUTTON
--------------------------------------------------------- */

body.woocommerce-shop .filter-clear {
    min-width: 85px;
    height: 32px;
    padding: 0 28px;
    background: transparent;
    border: 1px solid rgba(201,162,77,0.65);
    color: #d8b765;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

body.woocommerce-shop .filter-clear:hover {
    background: rgba(201,162,77,0.10);
}


/* ---------------------------------------------------------
   20. REVEAL BUTTON
--------------------------------------------------------- */

body.woocommerce-shop .filter-apply {
    min-width: 85px;
    height: 32px;
    padding: 0 34px;
    background:
        linear-gradient(
            135deg,
            #d6ad5b,
            #efd18b
        );
    border: 1px solid #d6ad5b;
    color: #17120a;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

body.woocommerce-shop .filter-apply:hover {
    opacity: 0.90;
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   21. BODY SCROLL LOCK
--------------------------------------------------------- */

body.personalise-modal-open {
    overflow: hidden !important;
    height: 100vh;
}

/* ---------------------------------------------------------
   PRODUCT COUNT + WISHLIST TOOLBAR
--------------------------------------------------------- */

body.woocommerce-shop .shop-product-count {
    position: relative;
    z-index: 2;
    margin-bottom: -26px !important;
    margin: 12px 0 0 !important;
}

body.woocommerce-shop .affaire-shop-toolbar {
    position: relative;
    z-index: 1;
    margin: 0 !important;
   
}

body.woocommerce-shop .shop-product-count {
    width: auto;
    max-width: none;
    flex: 1;
    box-sizing: border-box;
    
    padding: 0 52px;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 1px;
    color: #a69b88;
    text-align: left;
}

body.woocommerce-shop .affaire-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    max-width: none;
    padding: 0 52px 0 0;
    margin: 0;
    box-sizing: border-box;
}

body.woocommerce-shop .affaire-shop-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin: 0;
    flex-shrink: 0;
}

body.woocommerce-shop .affaire-wishlist-trigger,
body.woocommerce-shop .affaire-account-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #D4AF37 !important;
    font: inherit;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

/* WISHLIST COUNT INSIDE THE HEART */

body.woocommerce-shop .affaire-wishlist-trigger {
    position: relative;
}

body.woocommerce-shop .affaire-wishlist-trigger svg {
    display: block;
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #D4AF37;
    stroke-width: 1.5;
}

body.woocommerce-shop .affaire-wishlist-count {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    background: none;
    color: #fff;
    font-size: 8px;
    line-height: 1;
}

body.woocommerce-shop .affaire-wishlist-trigger:hover,
body.woocommerce-shop .affaire-account-trigger:hover {
    color: #F0D785 !important;
}


/* =========================================
   WISHLIST — BACKDROP & DRAWER
========================================= */

body.woocommerce-shop .affaire-wishlist-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.76);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.woocommerce-shop .affaire-wishlist-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.woocommerce-shop .affaire-wishlist-drawer {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99999;

    display: flex;
    flex-direction: column;

    width: min(1500px, calc(100vw - 80px));
    height: min(620px, calc(100dvh - 100px));
    margin: 0;
    padding: 26px 30px 18px;
    box-sizing: border-box;
    overflow: hidden;

    background: #080807;
    color: #f3e7d0;
    border: 1px solid #c9a24d;
    border-radius: 14px;

    transform: translate(-50%, -50%) translateX(110%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        visibility 0.35s ease;
}

body.woocommerce-shop .affaire-wishlist-drawer.is-open {
    transform: translate(-50%, -50%);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}


/* =========================================
   WISHLIST — HEADER
========================================= */

body.woocommerce-shop .affaire-wishlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 8px;
    padding: 0 2px 9px;
    border-bottom: 1px solid rgba(201, 162, 77, 0.5);
}

body.woocommerce-shop .affaire-wishlist-header h2 {
    margin: 0;
    color: #f3e7d0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

body.woocommerce-shop .affaire-wishlist-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d8b765;
    font-size: 25px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}


/* =========================================
   WISHLIST — PRODUCT AREA
========================================= */

body.woocommerce-shop .affaire-wishlist-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 0;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.woocommerce-shop .affaire-wishlist-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.woocommerce-shop .affaire-wishlist-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}


/* =========================================
   WISHLIST — PRODUCT CARDS
========================================= */

body.woocommerce-shop .affaire-wishlist-items li.product,
body.woocommerce-shop .affaire-wishlist-items li.post {
    position: relative;
    float: none;
    clear: none;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0 16px 0 0;

    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: start;
    gap: 14px;

    border: 0;
    border-right: 1px solid rgba(201, 162, 77, 0.4);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    list-style: none;
}

body.woocommerce-shop .affaire-wishlist-items > :nth-child(3n) {
    padding-right: 0;
    border-right: 0;
}


/* Product thumbnails */

body.woocommerce-shop .affaire-wishlist-items li.product img,
body.woocommerce-shop .affaire-wishlist-items li.post img {
    display: block;
    width: 136px !important;
    height: 176px !important;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(201, 162, 77, 0.35);
    border-radius: 7px;
}


/* Product details */

body.woocommerce-shop .affaire-wishlist-items li.product .woocommerce-loop-product__link,
body.woocommerce-shop .affaire-wishlist-items li.post .woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    text-decoration: none;
}

body.woocommerce-shop .affaire-wishlist-drawer .affaire-wishlist-items .product-info .product-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

body.woocommerce-shop .affaire-wishlist-items li.product .price,
body.woocommerce-shop .affaire-wishlist-items li.post .price {
    margin-top: 9px;
    color: #f3e7d0;
    font-size: 12px;
    line-height: 1.4;
}


/* Remove the redundant heart inside the drawer */

body.woocommerce-shop .affaire-wishlist-items .product-wishlist {
    display: none !important;
}


/* Product remove control */

body.woocommerce-shop .affaire-wishlist-items .affaire-wishlist-remove {
    position: absolute;
    top: 2px;
    right: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d8b765;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}


/* =========================================
   WISHLIST — FOOTER
========================================= */

body.woocommerce-shop .affaire-wishlist-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 14px;
    padding: 9px 2px 0;
    border-top: 1px solid rgba(201, 162, 77, 0.5);
}

body.woocommerce-shop .affaire-wishlist-clear {
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: #d8b765;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}

body.woocommerce-shop .affaire-wishlist-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 7px 28px;
    border-radius: 2px;
    background: linear-gradient(120deg, #e7bd7b, #f2d49d);
    color: #17110a;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 14px;
    line-height: 1.1;
    text-decoration: none;
}

body.woocommerce-shop .affaire-wishlist-footer a:hover {
    background: #f2d49d;
}

body.woocommerce-shop .affaire-wishlist-drawer [hidden] {
    display: none !important;
}


/* =========================================
   A'FFAIRE — WISHLIST ATTRIBUTE REFINEMENT
========================================= */

body.woocommerce-shop .affaire-wishlist-drawer
.affaire-wishlist-items .product-info {
    min-width: 0;
    padding-right: 18px;
}

body.woocommerce-shop .affaire-wishlist-drawer
.affaire-wishlist-attributes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin-top: 7px;
    padding-top: 8px;
    border-top: 1px solid rgba(201, 162, 77, 0.25);
    box-sizing: border-box;
}

body.woocommerce-shop .affaire-wishlist-drawer
.affaire-wishlist-attribute {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    padding: 0;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

body.woocommerce-shop .affaire-wishlist-drawer
.affaire-wishlist-attribute-label {
    color: #c9a24d;
    font-family: inherit;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

body.woocommerce-shop .affaire-wishlist-drawer
.affaire-wishlist-attribute-value {
    color: rgba(243, 231, 208, 0.78);
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

@media (max-width: 600px) {
    body.woocommerce-shop .affaire-wishlist-drawer
    .affaire-wishlist-items .product-info {
        padding-right: 22px;
    }

    body.woocommerce-shop .affaire-wishlist-drawer
    .affaire-wishlist-attributes {
        gap: 3px;
        margin-top: 6px;
        padding-top: 6px;
    }

    body.woocommerce-shop .affaire-wishlist-drawer
    .affaire-wishlist-attribute-label {
        font-size: 9px;
    }

    body.woocommerce-shop .affaire-wishlist-drawer
    .affaire-wishlist-attribute-value {
        font-size: 11px;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {
    body.woocommerce-shop .affaire-wishlist-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.woocommerce-shop .affaire-wishlist-items > :nth-child(3n) {
        padding-right: 16px;
        border-right: 1px solid rgba(201, 162, 77, 0.4);
    }

    body.woocommerce-shop .affaire-wishlist-items > :nth-child(2n) {
        padding-right: 0;
        border-right: 0;
    }

    body.woocommerce-shop .affaire-wishlist-items li.product,
    body.woocommerce-shop .affaire-wishlist-items li.post {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
    }

    body.woocommerce-shop .affaire-wishlist-items li.product img,
    body.woocommerce-shop .affaire-wishlist-items li.post img {
        width: 100px;
        height: 130px;
    }

    body.woocommerce-shop .affaire-wishlist-items li.product .woocommerce-loop-product__title,
    body.woocommerce-shop .affaire-wishlist-items li.post .woocommerce-loop-product__title {
        font-size: 15px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    body.woocommerce-shop .affaire-shop-toolbar {
        gap: 10px;
    }

    body.woocommerce-shop .affaire-shop-toolbar-actions {
        gap: 12px;
    }

    body.woocommerce-shop .affaire-wishlist-trigger,
    body.woocommerce-shop .affaire-account-trigger {
        gap: 5px;
        font-size: 10px;
        letter-spacing: 0.4px;
    }

    body.woocommerce-shop .affaire-wishlist-drawer {
        width: 100vw;
        height: 100dvh;
        padding: 20px 16px;
        border-radius: 0;
    }

    body.woocommerce-shop .affaire-wishlist-header h2 {
        font-size: 28px;
    }

    body.woocommerce-shop .affaire-wishlist-items {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.woocommerce-shop .affaire-wishlist-items li.product,
    body.woocommerce-shop .affaire-wishlist-items li.post {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 14px;
        padding: 0 0 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(201, 162, 77, 0.4);
    }

    body.woocommerce-shop .affaire-wishlist-items li.product img,
    body.woocommerce-shop .affaire-wishlist-items li.post img {
        width: 100px;
        height: 125px;
    }

    body.woocommerce-shop .affaire-wishlist-footer {
        gap: 12px;
    }

    body.woocommerce-shop .affaire-wishlist-footer a {
        padding: 11px 14px;
        font-size: 13px;
    }
}


/* =========================================================
   SHOP PRODUCT GRID — A'FFAIRE
   CLEAN REPLACEMENT — TWO EQUAL PORTRAIT CARDS
========================================================= */

body.woocommerce-shop .shop-products {
    width: 100%;
    margin: 35px 0 0;
    padding: 0 48px;
    box-sizing: border-box;
}

/* TWO EQUAL COLUMNS */

body.woocommerce-shop .shop-products-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 92px 86px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body.woocommerce-shop .shop-products-grid ul.products::before,
body.woocommerce-shop .shop-products-grid ul.products::after {
    display: none !important;
    content: none !important;
}

/* EQUAL-WIDTH PRODUCT CARDS */

body.woocommerce-shop .shop-products-grid ul.products li.product {
    position: relative;
    display: block;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    grid-column: auto !important;
    box-sizing: border-box;
    background: transparent;
}

/* PRODUCT IMAGE LINK */

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-card-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

/* PORTRAIT IMAGE FRAME — 4:5 */

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-card-image {
    position: relative;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #000;
    box-sizing: border-box;
    margin: 0;
    border-radius: 12px;
}

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-card-image img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    border-radius: 12px;
}

body.woocommerce-shop .shop-products-grid ul.products li.product:hover
.product-card-image img {
    transform: scale(1.025);
}

/* PRODUCT INFORMATION */

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-info {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px 0 0;
    box-sizing: border-box;
    color: #c9a24d;
}

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-meta-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #c9a24d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-title a {
    color: inherit;
    text-decoration: none;
}

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-colors {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 45%;
    box-sizing: border-box;
}

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-price {
    margin: 8px 0 0;
    padding: 0;
    color: #c9a24d;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-price del {
    opacity: 0.65;
    margin-right: 6px;
}

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-price ins {
    text-decoration: none;
}

/* HIDE LEGACY DISCOVER CONTENT */

body.woocommerce-shop .shop-products-grid ul.products li.product
.discover-meta {
    display: none !important;
}

/* MOBILE LAYOUT — PRESERVED */

@media (max-width: 700px) {

    body.woocommerce-shop .shop-products {
        padding: 0 16px;
    }

    body.woocommerce-shop .shop-products-grid ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 14px !important;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-card-image {
        height: auto !important;
        aspect-ratio: 4 / 5;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-colors {
        justify-content: flex-start;
        max-width: 100%;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-title {
        font-size: 12px;
    }
}


/* =========================================
   A’FFAIRE — MATERIAL-FINISH SWATCHES
========================================= */

body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: block;
    flex: 0 0 25px;

    width: 22px;
    min-width: 22px;
    max-width: 22px;

    height: 22px;
    min-height: 22px;
    max-height: 22px;

    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    border: 1px solid #C9A45B;
    border-radius: 50%;
    outline: none;

    box-shadow:
        0 0 0 1px rgba(201,164,91,.12),
        inset 0 0 2px rgba(0,0,0,.3);

    transition: transform .25s ease, box-shadow .25s ease;
}

/* A’FFAIRE — DOMED 3D SWATCH FINISH */

body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #C9A45B;

    /* Rounded depth and fine gold edge */
    box-shadow:
    inset 1px 1px 2px rgba(255,255,255,0.38),
    inset -2px -3px 5px rgba(0,0,0,0.58),
    0 0 0 1px rgba(201,164,91,0.16);
}

/* Convex surface: highlight, colour depth and edge shading */
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(
    ellipse 24% 19% at 29% 20%,
    rgba(255,255,255,0.82) 0%,
    rgba(255,255,255,0.48) 30%,
    rgba(255,255,255,0.14) 62%,
    transparent 100%
),
        radial-gradient(
            ellipse at 50% 42%,
            transparent 35%,
            rgba(0,0,0,0.08) 63%,
            rgba(0,0,0,0.48) 100%
        ),
        linear-gradient(
            135deg,
            rgba(255,255,255,0.14) 0%,
            transparent 42%,
            rgba(0,0,0,0.18) 72%,
            rgba(0,0,0,0.34) 100%
        ),
        repeating-conic-gradient(
    from 15deg at 50% 50%,
    rgba(255,255,255,0.10) 0deg,
    rgba(255,220,160,0.04) 2deg,
    transparent 4deg,
    rgba(0,0,0,0.06) 6deg,
    transparent 9deg
);
}

/* A’FFAIRE — GLOSS REFLECTION */
body.woocommerce-shop .shop-products-grid ul.products li.product
.product-color-swatch.has-swatch-colour::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    background:
        radial-gradient(
    ellipse 24% 18% at 29% 20%,
    rgba(255,255,245,0.95) 0%,
    rgba(255,239,205,0.68) 22%,
    rgba(255,220,165,0.30) 48%,
    rgba(255,255,255,0.08) 68%,
    transparent 100%
),
        linear-gradient(
            145deg,
            rgba(255,255,255,0.08) 0%,
            transparent 48%,
            rgba(0,0,0,0.18) 100%
        );
}

/* A’FFAIRE — GLOSS FINISH ONLY */

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-color-swatch.color-amber::before,
body.woocommerce-shop .shop-products-grid ul.products li.product
.product-color-swatch.color-berry::before,
body.woocommerce-shop .shop-products-grid ul.products li.product
.product-color-swatch.color-wine::before,
body.woocommerce-shop .shop-products-grid ul.products li.product
.product-color-swatch.color-rose::before {
    background:
        /* Elongated polished-glass reflection */
        radial-gradient(
            ellipse 23% 17% at 29% 19%,
            rgba(255,255,255,.82) 0%,
            rgba(255,255,255,.42) 30%,
            rgba(255,255,255,.12) 62%,
            transparent 100%
        ),
        /* Curved surface and edge depth */
        radial-gradient(
    ellipse at 50% 45%,
    transparent 30%,
    rgba(0,0,0,.10) 58%,
    rgba(0,0,0,.32) 78%,
    rgba(0,0,0,.58) 100%
),
        /* Directional shading */
        linear-gradient(
            135deg,
            rgba(255,255,255,.14) 0%,
            transparent 42%,
            rgba(0,0,0,.18) 72%,
            rgba(0,0,0,.34) 100%
        ),
        /* Additional colour depth */
        radial-gradient(
            ellipse at 42% 35%,
            transparent 35%,
            rgba(0,0,0,.10) 68%,
            rgba(0,0,0,.24) 100%
        );
}



/* Fine gold edge and understated hover */
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch:hover {
    transform: scale(1.07);
    border-color: #E4C77E;
    box-shadow:
        0 0 0 2px rgba(201,164,91,.15),
        0 2px 8px rgba(0,0,0,.4);
}

/* Pearl / ivory: soft creamy luminosity */
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-pearl,
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-ivory,
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-cream {
    border-color: #E6D4AE;
    box-shadow:
        inset 0 0 5px rgba(255,255,255,.5),
        0 0 0 1px rgba(201,164,91,.2);
}

body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-pearl::before,
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-ivory::before,
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-cream::before {
    background:
        radial-gradient(ellipse at 30% 20%,
            rgba(255,255,255,.8), transparent 43%),
        linear-gradient(135deg,
            rgba(255,255,255,.25),
            transparent 48%,
            rgba(180,145,90,.15));
}

/* Satin-like sheen for rose, wine, blush and almond */
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-rose,
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-wine,
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-blush,
body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch.color-almond {
    box-shadow:
        inset 0 0 5px rgba(255,255,255,.12),
        inset 0 -4px 6px rgba(0,0,0,.18);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    body.woocommerce-shop .shop-products-grid ul.products li.product .product-color-swatch {
        transition: none;
    }
}



/* DESKTOP — CONTROLLED PORTRAIT CARD DIMENSIONS */

@media (min-width: 701px) {

    body.woocommerce-shop .shop-products-grid ul.products {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        justify-items: stretch;
        column-gap: 24px !important;
        row-gap: 40px !important;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

     body.woocommerce-shop .shop-products-grid ul.products li.product {
        position: relative;
        width: 100% !important;
        max-width: none !important;
        height: 560px !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        border-radius: 12px;
        box-sizing: border-box;
        isolation: isolate;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-card-link {
        display: block;
        width: 100%;
        height: 100%;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-card-image {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 620px !important;
        aspect-ratio: auto;
        margin: 0;
        overflow: hidden;
        border-radius: 12px;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-card-image img {
        display: block;
        width: 100% !important;
        height: 620px !important;
        object-fit: cover;
        object-position: center;
        border-radius: 12px;
    }
}


    /* HEART — TOP RIGHT */

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-wishlist {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 10;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;
        padding: 0;
        background: none;
        border: none;
        color: #F5F0E1;
        cursor: pointer;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-wishlist svg {
        display: block;
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-wishlist:hover {
        color: #C9A24D;
    }
    
    
body.woocommerce-shop .shop-products-grid ul.products li.product
.product-wishlist.is-wishlisted {
    color: #C9A24D;
}

body.woocommerce-shop .shop-products-grid ul.products li.product
.product-wishlist.is-wishlisted svg {
    fill: #C9A24D;
    stroke: #C9A24D;
}


/* PERSONALISE — fill wishlisted hearts */
.product-wishlist.is-wishlisted svg path {
    fill: #C9A24D;
    stroke: #C9A24D;
}


    /* BOTTOM PRODUCT INFORMATION OVERLAY */

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-info {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 5;

        width: 100%;
        margin: 0;
        padding: 42px 20px 18px;
        box-sizing: border-box;

        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.78) 28%,
            rgba(0, 0, 0, 0.94) 100%
        );

        color: #F5F0E1;
    }

    /* PRODUCT NAME + SWATCHES */

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-meta-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-width: 0;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-title {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        color: #C9A24D;
        font-size: 15px;
        line-height: 1.45;
        letter-spacing: 0.06em;
        overflow-wrap: anywhere;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-colors {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        max-width: 45%;
    }

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-color-swatch {
        flex-shrink: 0;
    }

    /* PRICE */

    body.woocommerce-shop .shop-products-grid ul.products li.product
    .product-price {
        margin-top: 9px;
        color: #C9A24D;
        font-size: 14px;
        line-height: 1.4;
        letter-spacing: 0.03em;
    }
}


/* =========================================
   A'FFAIRE — SHOP PAGINATION
========================================= */



body.woocommerce-shop .shop-pagination {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: none !important;
    margin: 0;
    padding: 40px 0 0 !important;
    text-align: center;
}

body.woocommerce-shop .shop-pagination-nav {
    width: 100%;
    margin: 0;
    padding: 0;
}

body.woocommerce-shop .shop-pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-shop .shop-pagination-item {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-shop .shop-pagination-number,
body.woocommerce-shop .shop-pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid rgba(201, 162, 77, 0.35);
    border-radius: 0;
    background: #000;
    color: #E8DFCF;
    font-family: "Playfair Display", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

body.woocommerce-shop .shop-pagination-number.is-current {
    border-color: #C9A24D;
    color: #C9A24D;
}


body.woocommerce-shop a.shop-pagination-number:hover,
body.woocommerce-shop a.shop-pagination-arrow:hover,
body.woocommerce-shop button.shop-pagination-number:hover,
body.woocommerce-shop button.shop-pagination-arrow:hover {
    border-color: #C9A24D;
    color: #C9A24D;
    background: #000;
}


body.woocommerce-shop .shop-pagination-arrow {
    color: #C9A24D;
    font-size: 17px;
}

body.woocommerce-shop .shop-pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 44px;
    color: rgba(232, 223, 207, 0.65);
    font-family: "Playfair Display", serif;
    font-size: 13px;
}




/* =========================================
   A'FFAIRE — SHOP INFORMATION CARDS
========================================= */

body.woocommerce-shop .shop-info-cards {
    display: block;
    width: 100%;
    margin: 70px 0 0;
    padding: 0;
    box-sizing: border-box;
}

body.woocommerce-shop .shop-info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Individual card */
body.woocommerce-shop .shop-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 0;
    min-height: 190px;
    padding: 30px 20px;

    box-sizing: border-box;
    background: #0A0A0A;
    text-align: center;

    border-right: 1px solid rgba(201, 162, 77, 0.3);
}

body.woocommerce-shop .shop-info-card:last-child {
    border-right: none;
}

/* Custom PNG icons */
body.woocommerce-shop .shop-info-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 100px;

    width: 100px;
    height: 100px;
    margin: 0;

    box-sizing: border-box;
}

body.woocommerce-shop .shop-info-card-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Card number */
body.woocommerce-shop .shop-info-card-number {
    color: #C9A24D;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Card heading */
body.woocommerce-shop .shop-info-card h3 {
    margin: 0;
    color: #E8DFCF;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
}

/* Card description */
body.woocommerce-shop .shop-info-card p {
    margin: 0;
    color: rgba(232, 223, 207, 0.65);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
    body.woocommerce-shop .shop-info-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.woocommerce-shop .shop-info-card {
        border-bottom: 1px solid rgba(201, 162, 77, 0.3);
    }

    body.woocommerce-shop .shop-info-card:nth-child(2) {
        border-right: none;
    }

    body.woocommerce-shop .shop-info-card:nth-child(3),
    body.woocommerce-shop .shop-info-card:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    body.woocommerce-shop .shop-info-card-icon {
        flex-basis: 80px;
        width: 80px;
        height: 80px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {
    body.woocommerce-shop .shop-info-cards-grid {
        grid-template-columns: 1fr;
    }

    body.woocommerce-shop .shop-info-card {
        border-right: none;
        border-bottom: 1px solid rgba(201, 162, 77, 0.3);
    }

    body.woocommerce-shop .shop-info-card:last-child {
        border-bottom: none;
    }

    body.woocommerce-shop .shop-info-card-icon {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }
}




/* =========================================
   A'FFAIRE — MID-GRID EDITORIAL BANNER
========================================= */


body.woocommerce-shop ul.products li.shop-editorial-banner {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    line-height: 0;
    align-self: start;
}

body.woocommerce-shop ul.products li.shop-editorial-banner img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
}




/* =========================
   HOUSE PAGE (ISOLATED)
========================= */

/* wrapper */
.page-template-page-the-house .house-sections {
  margin: 0;
  padding: 0;
}

.page-template-page-the-house .house-section {
  margin: 50px 0 !important;
}

.page-template-page-the-house .house-image {
  position: relative;
}
/* =========================
   HOUSE HEADER
========================= */

.page-template-page-the-house .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  z-index: 100;
}

.page-template-page-the-house .site-header-inner {
  padding: 20px 60px;
}

.page-template-page-the-house .site-header img {
  height: 50px !important;
}

/* NAV */
.page-template-page-the-house .main-nav .menu {
  display: flex;
  gap: 36px;
}

.page-template-page-the-house .main-nav a {
  font-size: 15px !important; 
  letter-spacing: 0.18em;
}


.page-template-page-the-house .house-hero {
  position: relative;
  height: 100vh !important;
  overflow: hidden;
}

.page-template-page-the-house .house-hero-media img {
  width: 100%;
  height: 100vh !important;
  object-fit: cover;
}

/* REAL OVERLAY (you already had div — now activate it) */
.page-template-page-the-house .house-hero-overlay {
  position: absolute !important;
  inset: 0;
   background: 
    linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 50%),
    radial-gradient(circle at center, rgba(0,0,0,0.1), rgba(0,0,0,0.85));
  z-index: 1;
}

/* CONTENT */
.page-template-page-the-house .house-hero-content {
  position: absolute;
  bottom: 120px !important;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  isolation: isolate;
}

/* TITLE */
.page-template-page-the-house .house-hero-title {
   font-family: "Playfair Display", serif;
   font-size: 36px;
  letter-spacing: 0.28em;
  font-weight: 500;
mix-blend-mode: overlay;
  color: rgba(201,162,77,0.45); /* muted, not gold */

  /* ✨ ENGRAVED EFFECT (key part) */
  text-shadow:
  0 1px 1px rgba(0,0,0,0.8),
  0 0 6px rgba(201,162,77,0.15);

   filter: blur(0.2px);
  opacity: 0.85;
}

/* TAGLINE */
.page-template-page-the-house .house-hero-tagline {
  margin-top: 20px;
  font-size: 16px;
  opacity: 0.75;
  letter-spacing: 0.13em;
}



/* FULL IMAGE SECTIONS */
.page-template-page-the-house .house-image img {
  width: 100%;
   height: 100vh !important;
  object-fit: cover;
}

.page-template-page-the-house .house-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.page-template-page-the-house .house-line {
  white-space: nowrap;
   font-size: 17px;
}

.page-template-page-the-house .house-text p {
  font-size: 17px;
  line-height: 1.9;
  opacity: 0.8;
  letter-spacing: 0.04em;
  color: rgba(201,162,77,0.65);
}

.page-template-page-the-house .image-whisper {
  position: absolute;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 38px;
  letter-spacing: 0.39em;
   color: rgba(201,162,77,0.5);
filter: blur(0.3px);
  /* ✨ DEPTH */
  text-shadow:
    0 2px 6px rgba(0,0,0,0.85),
    0 -1px 1px rgba(255,255,255,0.04);

 

  opacity: 0.65;
}

.page-template-page-the-house .house-keywords {
  font-family: 'Noto Serif Devanagari', serif;

  font-size: 22px;
  letter-spacing: 0.1em;

  font-weight: 400; /* remove bold feel */

  color: rgba(201,162,77,0.7);

  /* ✨ SOFT LUXURY GLOW */
  text-shadow:
    0 0 6px rgba(201,162,77,0.15),
    0 1px 1px rgba(0,0,0,0.6);

  opacity: 0.75;

  text-align: center;
}

.page-template-page-the-house .house-cta {
  display: inline-block;
  margin-top: 30px;

  font-size: 15px;
  letter-spacing: 0.32em;
  text-transform: uppercase;

  color: rgba(201,162,77,0.75);
  text-decoration: none;
  text-align: center;
  position: relative;
  opacity: 0.8;
}

.page-template-page-the-house .house-cta:hover {
  letter-spacing: 0.38em;
}

.page-template-page-the-house .house-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 100%;
  height: 1px;

  background: rgba(201,162,77,0.5);

  transform: scaleX(0.6);
  transform-origin: center;
  transition: all 0.4s ease;
}

.page-template-page-the-house .house-cta:hover::after {
  transform: scaleX(1);
  background: rgba(201,162,77,0.9);
}


/* A'FFAIRE — SHOP DIVIDER OVERRIDE */
body.woocommerce-shop .shop-divider {
    display: block !important;
    width: 92.5% !important;
    height: 1px !important;
    margin: 0 auto 30px !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(201, 162, 77, 0.3) !important;
    box-sizing: border-box !important;
}


/* =========================================
   A'FFAIRE ATELIER — PAGE STYLING
   Scoped to Atelier page only
========================================= */

/* =========================================
   A'FFAIRE ATELIER — HEADER ONLY
 ========================================= */
 
 
/* COLLECTION PAGE — HEADER */
body:has(#affaire-atelier-collection) .site-header .site-logo img {
    width: 220px;
    height: auto;
}

body:has(#affaire-atelier-collection) .site-header .header-inner {
    transform: translateY(-65px);
}

body:has(#affaire-atelier-collection) .site-header .main-nav {
    margin-right: 0;
    transform: translateX(-100px);
}

body:has(#affaire-atelier-collection) .site-header .main-nav .menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    white-space: nowrap;
}

body:has(#affaire-atelier-collection) .site-header .main-nav a {
    font-size: 16px;
    letter-spacing: 0.10em;
}


body:has(#affaire-atelier) .site-header .site-logo img {
    width: 270px;
    height: auto;
    transform: translateX(-20px);
}

.site-logo a {
    outline: none !important;
    box-shadow: none !important;
}

/* A'FFAIRE ATELIER — HEADER POSITION */
body:has(#affaire-atelier) .site-header .header-inner {
    transform: translate(-45px, -70px);
}

/* Atelier logo */
body:has(#affaire-atelier) .site-header .site-logo img {
    width: 270px;
    height: auto;
}

/* Navigation spacing */
body:has(#affaire-atelier) .site-header .main-nav .menu {
    gap: 26px;
}

body:has(#affaire-atelier) .site-header .main-nav a {
    color: white;
    font-size: 16px;
    letter-spacing: 0.14em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
    transition: color 0.3s ease;
}

body:has(#affaire-atelier) .site-header .main-nav a:hover,
body:has(#affaire-atelier) .site-header .main-nav .current-menu-item > a {
    color: #c9a26d;
}

.affaire-atelier {
    --atelier-gold: #c9a26d;
    --atelier-ivory: #c9a24d;
    --atelier-black: #080604;
    background: var(--atelier-black);
    color: var(--atelier-ivory);
    font-family: "Inter", sans-serif;
}

.affaire-atelier * {
    box-sizing: border-box;
}

.affaire-atelier h1,
.affaire-atelier h2,
.affaire-atelier .atelier-tagline {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
}

.affaire-atelier .atelier-hero {
    min-height: 560px;
    height: min(64vw, 680px);
    position: relative;
    display: flex;
    align-items: center;
    padding: 70px 9%;
    background:
    linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.22) 50%,
        rgba(0, 0, 0, 0.10) 100%
    ),
        url("/wp-content/themes/affaire/assets/images/attlier-hero.png");
        center / cover no-repeat;
}

.affaire-atelier .atelier-hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    transform: translateY(80px);
}

#affaire-atelier-collection .atelier-collection-eyebrow {
    margin: 0 0 18px;
    color: #c9a24d;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 1.6;
    text-transform: uppercase;
}

#affaire-atelier-collection .atelier-collection-hero h1 {
    margin: 0;
    color: #f4e6cc;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(42px, 4.2vw, 60px);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.2;
}

.affaire-atelier .atelier-tagline {
    margin: 12px 0 32px;
    font-size: clamp(24px, 2.5vw, 38px);
    font-style: italic;
}

.affaire-atelier .atelier-button:hover {
    background: var(--atelier-gold);
    color: #080604;
}

.affaire-atelier .atelier-pathways {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 0 3.5%;
    position: relative;
    z-index: 2;
    margin-top: -12px;
}

.affaire-atelier .atelier-card {
    min-height: 290px;
    display: flex;
    align-items: center;
    padding: 38px 9%;
    border: 1px solid rgba(201,162,109,.7);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.affaire-atelier .atelier-collection {
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.12)),
        url("/wp-content/themes/affaire/assets/images/attlier-collection.png");
}

.affaire-atelier .atelier-design {
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.12)),
        url("/wp-content/themes/affaire/assets/images/attlier-design.png");
}

.affaire-atelier .atelier-collection {
    position: relative;
}

.affaire-atelier .atelier-collection .atelier-card-content {
    position: absolute;
    left: 45%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    width: max-content;
    max-width: 62%;
    text-align: right;
}

.affaire-atelier .atelier-card h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: 2px;
}

.affaire-atelier .atelier-card p {
    margin: 0 0 22px;
    font-size: 17px;
    letter-spacing: 1px;
}

.affaire-atelier .atelier-card .atelier-button {
    padding: 11px 24px;
    font-size: 11px;
}

.affaire-atelier .atelier-closing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 34px 20px 48px;
    text-align: center;
}

.affaire-atelier .atelier-closing span {
    width: 70px;
    height: 1px;
    background: rgba(201,162,109,.6);
}

.affaire-atelier .atelier-closing p {
    margin: 0;
    font-size: 15px;
    letter-spacing: 6px;
}

.affaire-atelier .atelier-destination {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 5%;
    border-top: 1px solid rgba(201,162,109,.2);
}

.affaire-atelier .atelier-destination h2 {
    color: var(--atelier-gold);
    letter-spacing: 3px;
}

.affaire-atelier .atelier-destination p {
    color: #d0c1ae;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 700px) {
    .affaire-atelier .atelier-hero {
        min-height: 500px;
        height: auto;
        padding: 80px 7%;
        background-position: 60% center;
    }

    .affaire-atelier .atelier-eyebrow {
        font-size: 18px;
        letter-spacing: 6px;
    }

    .affaire-atelier .atelier-hero h1 {
        font-size: clamp(52px, 13vw, 76px);
    }

    .affaire-atelier .atelier-pathways {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 5%;
        margin-top: 0;
    }

    .affaire-atelier .atelier-card {
        min-height: 250px;
        padding: 30px 8%;
    }

    .affaire-atelier .atelier-closing {
        gap: 12px;
    }

    .affaire-atelier .atelier-closing span {
        width: 22px;
    }

    .affaire-atelier .atelier-closing p {
        font-size: 11px;
        letter-spacing: 3px;
    }
}


/* =========================================
   A'FFAIRE ATELIER COLLECTION PAGE
========================================= */

#affaire-atelier-collection {
    --ac-gold: #c9a24d;
    --ac-ivory: #f4e6cc;
    --ac-black: #080706;
    background: var(--ac-black);
    color: var(--ac-ivory);
    font-family: Inter, sans-serif;
}

#affaire-atelier-collection * { box-sizing: border-box; }
#affaire-atelier-collection a { color: inherit; text-decoration: none; }

/* Collection hero — dummy image URL */

#affaire-atelier-collection .atelier-collection-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 28px 4.3%;
    background:
        linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.18)),
        url("/wp-content/themes/affaire/assets/images/collection-hero.png")
        center/cover no-repeat;
    border-bottom: 1px solid rgba(201,162,77,.35);
}

#affaire-atelier-collection .atelier-collection-hero-content { 
    max-width: 620px;
    transform: translateY(50px); 
    
}

#affaire-atelier-collection .atelier-collection-eyebrow {
    margin: 0 0 12px;
    color: #c9a24d;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 1.5;
    text-transform: uppercase;
}

#affaire-atelier-collection .atelier-collection-hero h1 {
    margin: 0;
    color: #f4e6cc;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(40px, 3.8vw, 54px);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.15;
}

#affaire-atelier-collection .atelier-collection-intro {
    margin: 16px 0 0;
    color: #f4e6cc;
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.2px;
    line-height: 1.7;
    text-transform: uppercase;
}

#affaire-atelier-collection .atelier-collection-categories {
    margin: 0;
    color: #c9a24d;
    font-family: Georgia, serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.8px;
    line-height: 1.8;
}

/* Four category tiles — separate dummy image URLs */
#affaire-atelier-collection .atelier-collection-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 2.7% 16px;
}

#affaire-atelier-collection .atelier-category-tile {
    min-height: 165px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid rgba(201,162,77,.65);
    background:
        linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.08)),
       
        center/cover no-repeat;
    color: var(--ac-ivory);
    font-family: Georgia, serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    transition: border-color .2s ease;
}

/* Add matching classes to tiles: lingerie, jewellery, cosmetics, perfume. */
#affaire-atelier-collection .atelier-category-tile.lingerie {
    background-image: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.08)), url("/wp-content/themes/affaire/assets/images/collection-lingerie.png");
}
#affaire-atelier-collection .atelier-category-tile.jewellery {
    background-image: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.08)), url("/wp-content/themes/affaire/assets/images/collection-jewellery.png");
}
#affaire-atelier-collection .atelier-category-tile.cosmetics {
    background-image: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.08)), url("/wp-content/themes/affaire/assets/images/collection-cosmetics.png");
}
#affaire-atelier-collection .atelier-category-tile.perfume {
    background-image: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.08)), url("/wp-content/themes/affaire/assets/images/collection-perfume.png");
}

#affaire-atelier-collection .atelier-category-tile:hover { border-color: var(--ac-ivory); }
#affaire-atelier-collection .atelier-category-tile span:last-child { color: var(--ac-gold); font-size: 20px; }

@media (max-width: 700px) {
    #affaire-atelier-collection .atelier-collection-hero { min-height: 180px; padding: 25px 6%; }
    #affaire-atelier-collection .atelier-collection-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px 4% 14px;
    }
    #affaire-atelier-collection .atelier-category-tile { min-height: 130px; padding: 12px; font-size: 11px; }
}


/* ATELIER COLLECTION — EDITORIAL ROWS */

#affaire-atelier-collection .atelier-editorial-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 2.7% 28px;
    background: #080706;
}

#affaire-atelier-collection .atelier-editorial-row {
    display: grid;
    grid-template-columns: 56% 44%;
    min-width: 0;
    border: 1px solid rgba(201, 162, 77, .55);
    background: #0a0908;
    overflow: hidden;
}

#affaire-atelier-collection .atelier-editorial-row-reverse {
    grid-template-columns: 44% 56%;
}

#affaire-atelier-collection .atelier-editorial-row-reverse .atelier-editorial-image {
    order: 2;
}

#affaire-atelier-collection .atelier-editorial-row-reverse .atelier-editorial-details {
    order: 1;
}

#affaire-atelier-collection .atelier-editorial-image {
    display: block;
    min-width: 0;
    min-height: 340px;
    overflow: hidden;
    background: #17110d;
}

#affaire-atelier-collection .atelier-editorial-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

#affaire-atelier-collection .atelier-editorial-details {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 34px clamp(22px, 3.5vw, 52px);
    min-width: 0;
}

#affaire-atelier-collection .atelier-editorial-collection {
    margin: 0 0 8px;
    color: #c9a24d;
    font-family: Georgia, serif;
    font-size: 11px;
    letter-spacing: 2.5px;
}

#affaire-atelier-collection .atelier-editorial-category {
    margin: 0 0 12px;
    color: #a99d8c;
    font-size: 10px;
    letter-spacing: 2px;
}

#affaire-atelier-collection .atelier-editorial-details h2 {
    margin: 0 0 16px;
    color: #f4e6cc;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(23px, 2.2vw, 34px);
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.25;
}

#affaire-atelier-collection .atelier-editorial-description {
    max-width: 390px;
    margin: 0 0 20px;
    color: #c4baad;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.8;
}

#affaire-atelier-collection .atelier-editorial-price {
    margin: 0 0 24px;
    color: #f4e6cc;
    font-family: Georgia, serif;
    font-size: 19px;
}

#affaire-atelier-collection .atelier-editorial-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 260px;
    padding: 13px 15px;
    border: 1px solid rgba(201, 162, 77, .75);
    color: #f4e6cc;
    font-family: Georgia, serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

#affaire-atelier-collection .atelier-editorial-button span:last-child {
    color: #c9a24d;
    font-size: 18px;
}

#affaire-atelier-collection .atelier-editorial-button:hover {
    background: #c9a24d;
    color: #080706;
}

#affaire-atelier-collection .atelier-editorial-button:hover span:last-child {
    color: #080706;
}

@media (max-width: 800px) {
    #affaire-atelier-collection .atelier-editorial-row,
    #affaire-atelier-collection .atelier-editorial-row-reverse {
        grid-template-columns: 1fr;
    }

    #affaire-atelier-collection .atelier-editorial-row-reverse .atelier-editorial-image,
    #affaire-atelier-collection .atelier-editorial-row-reverse .atelier-editorial-details {
        order: initial;
    }

    #affaire-atelier-collection .atelier-editorial-image,
    #affaire-atelier-collection .atelier-editorial-image img {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    #affaire-atelier-collection .atelier-editorial-details {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    #affaire-atelier-collection .atelier-editorial-products {
        padding-right: 4%;
        padding-left: 4%;
    }

    #affaire-atelier-collection .atelier-editorial-details {
        padding: 24px 18px;
    }
}


/* ATELIER COLLECTION — PAGINATION PREVIEW */

#affaire-atelier-collection .atelier-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 2.7%;
    padding: 24px 0 30px;
    border-top: 1px solid rgba(201, 162, 77, .35);
    color: #c9a24d;
    font-family: Georgia, serif;
}

#affaire-atelier-collection .atelier-pagination-count {
    margin: 0;
    color: #a99d8c;
    font-size: 10px;
    letter-spacing: 1.5px;
    line-height: 1.8;
}

#affaire-atelier-collection .atelier-pagination-count span {
    color: #f4e6cc;
}

#affaire-atelier-collection .atelier-pagination-controls {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 10px;
    letter-spacing: 1.2px;
}

#affaire-atelier-collection .atelier-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #c9a24d;
    color: #f4e6cc;
}

#affaire-atelier-collection .atelier-page-arrow {
    color: #c9a24d;
    white-space: nowrap;
}

#affaire-atelier-collection .atelier-page-arrow.is-disabled {
    opacity: .4;
}

@media (max-width: 520px) {
    #affaire-atelier-collection .atelier-pagination {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-right: 4%;
        margin-left: 4%;
    }

    #affaire-atelier-collection .atelier-pagination-controls {
        gap: 18px;
    }
}


/* ATELIER COLLECTION — INFORMATION CARDS */

#affaire-atelier-collection .atelier-information-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 32px 0 36px;
    background: #080706;
    border-top: 1px solid rgba(201, 162, 77, .18);
    border-bottom: 1px solid rgba(201, 162, 77, .18);
}

#affaire-atelier-collection .atelier-information-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 200px;
    padding: 10px 20px;
    text-align: center;
    border-right: 1px solid rgba(201, 162, 77, .7);
}

#affaire-atelier-collection .atelier-information-card:last-child {
    border-right: 0;
}


#affaire-atelier-collection .atelier-information-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 135px;
    margin-bottom: 16px;
    overflow: hidden;
    color: #c9a24d;
    font-family: Georgia, serif;
    font-size: 100px;
    font-weight: 400;
    line-height: 1;
}

#affaire-atelier-collection .atelier-information-icon img {
    display: block;
    width: 175px;
    max-width: 100%;
    height: 145px;
    object-fit: contain;
    object-position: center;
    flex: 0 1 auto;
}


#affaire-atelier-collection .atelier-information-card h2 {
    margin: 0 0 13px;
    color: #f4e6cc;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(15px, 1.45vw, 23px);
    font-weight: 400;
    letter-spacing: 1.4px;
    line-height: 1.4;
}

#affaire-atelier-collection .atelier-information-card p {
    max-width: 360px;
    margin: 0;
    color: #b8a58e;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 900px) {
    #affaire-atelier-collection .atelier-information-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #affaire-atelier-collection .atelier-information-card {
        min-height: 260px;
        padding: 24px 18px;
    }

    #affaire-atelier-collection .atelier-information-card:nth-child(2) {
        border-right: 0;
    }

    #affaire-atelier-collection .atelier-information-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(201, 162, 77, .5);
    }

    #affaire-atelier-collection .atelier-information-icon {
        height: 125px;
        font-size: 82px;
    }
}

/* Mobile */
@media (max-width: 520px) {
    #affaire-atelier-collection .atelier-information-strip {
        grid-template-columns: 1fr;
        padding: 20px 5%;
    }

    #affaire-atelier-collection .atelier-information-card,
    #affaire-atelier-collection .atelier-information-card:nth-child(2) {
        min-height: 0;
        padding: 28px 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(201, 162, 77, .45);
    }

    #affaire-atelier-collection .atelier-information-card:last-child {
        border-bottom: 0;
    }

    #affaire-atelier-collection .atelier-information-icon {
        height: 100px;
        margin-bottom: 12px;
        font-size: 72px;
    }

    #affaire-atelier-collection .atelier-information-icon img {
        height: 95px;
    }

    #affaire-atelier-collection .atelier-information-card h2 {
        font-size: 17px;
    }
}


/* A'FFAIRE Atelier — category filtering */
#affaire-atelier-collection .atelier-editorial-row[hidden] {
    display: none !important;
}

#affaire-atelier-collection .atelier-category-tile.is-active {
    border-color: #f4e6cc;
    box-shadow: inset 0 0 0 1px rgba(244, 230, 204, .35);
}


