/*
Theme Name:   FM ÆVUS CHILD
Theme URI:    
Description:  Child theme of FM ÆVUS.
Author:       
Author URI:   
Template:     fm-aevus
Version:      1.1.0
Text Domain:  fm-aevus-child
*/

/*--------------------------------------------------------------
# Aura Chandelle style design system (child theme only)
--------------------------------------------------------------*/

:root {
	--fm-navy: #1c2b3a;
	--fm-navy-dark: #0f1a24;
	--fm-cream: #faf7f2;
	--fm-white: #ffffff;
	--fm-ink: #2b2b2b;
	--fm-gold: #b8925a;
	--fm-border: #e7e1d8;
	--fm-black: #000000;	
	--fm-gray: #A9A9A9;	
	--fm-gray1: #d3d3d3;
	--fm-backcol: #f5f2eb;
	--fm-font-script: 'Alex Brush', cursive;
	--fm-font-serif: 'Cormorant Garamond', Georgia, serif;
	--fm-font-accent: 'Ephesis', cursive;
	--fm-font-header: 'Hurricane', cursive;
	--fm-font-header1: 'Italianno', cursive;
	--fm-font-header2: 'Arizonia', cursive;
	--fm-font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
	background-color: var(--fm-white) !important;
	color: var(--fm-ink);
	font-family: var(--fm-font-body);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--fm-font-serif);
	letter-spacing: 0.02em;
}

a {
	color: var(--fm-navy);
}

a:hover,
a:focus {
	color: var(--fm-gold);
}

/* Announcement bar
--------------------------------------------- */

.announcement-bar {
	background-color: #000000;
	color: var(--fm-white);
	text-align: center;
	font-size: 1rem;
	letter-spacing: 0.04em;
	padding: 0.65em 1em;
}

/* Ensure the main container stays wide and stable */
.announcement-bar-inner {
    position: relative !important;
    max-width: 1200px;
    margin: 0 auto;
    display: block !important; 
    padding: 0 20px !important;
    min-height: 1.4em;
}

/* Anchor the track to the exact center of the screen layout */
.announcement-bar-track {
    position: relative !important;
    display: flex !important;
    min-height: 1.4em;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important; 
    margin: 0 auto !important;
}

.announcement-bar-item {
    display: none !important;
    text-align: center !important;
    white-space: nowrap !important;
    width: auto !important;
}

.announcement-bar-item.is-active {
    display: flex !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.announcement-bar a.announcement-bar-item:hover {
	color: var(--fm-gold);
}




/* Site header
--------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000; /* above hero slider layers */
	background-color: var(--fm-backcol);
	transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Keep the sticky header below the WordPress admin bar when logged in */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header-row {
	position: relative;
	display: block !important;
	width: 100%;
}

.site-branding {
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	height: auto !important;
	position: relative;
	text-align: center;

	/* --- BREAK LINE between the logo block and the menu bar: one thin line, no gap --- */
	border-bottom: 1px solid var(--fm-border);
	padding-bottom: 12px;
	margin-bottom: 0 !important;
	width: 100%;
}

.site-title {
	margin: 0;
	font-family: var(--fm-font-header);
	font-size: 4rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	line-height: 1.5;
	color: black;
}

.site-title a {
	text-decoration: none;
	color: inherit;
}

.site-description {
	margin: -15px 0 0;
	font-size: 1.5rem;
	letter-spacing: 0.7em;
	text-transform: uppercase;
	color: black;
}

/* Existing absolute tracking container for the right-side icons */
.site-header-actions {
	position: absolute !important;
	right: 20px !important;
	top: 40% !important;
	transform: translateY(-50%) !important;
	margin: 0 !important;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 0.35em;
	flex: 1;
	justify-content: flex-end;
}

/* --- NEW ALIGNMENT FOR THE SEARCH TOGGLE MOVED TO THE LEFT ON DESKTOP --- */
.site-header-row .header-search-toggle {
    position: absolute !important;
    left: 20px !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    display: inline-flex !important; /* Forces visibility back on wide screens */
}


/* Update the container buttons if you want them to have more spacing */
.header-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 65px;  
	height: 65px;
	border-radius: 50%;
	background: none;
	border: none;
	padding: 0; /* parent theme gives <button> default padding, which squeezed the search icon */
	color: var(--fm-navy);
	cursor: pointer;
	text-decoration: none;
}

/* TARGET ALL SVGs INSIDE HEADER BUTTONS TO INCREASE THEIR SIZE */
.header-icon-btn svg {
	width: 25px !important;  
	height: 25px !important; 
	flex-shrink: 0; /* never let the icon shrink inside its button */
}

.header-icon-btn:hover {
	background-color: var(--fm-cream);
	color: var(--fm-gold);
}

.header-icon-count {
	position: absolute;
	top: 2px;
	right: 2px;
	background-color: var(--fm-gold);
	color: var(--fm-white);
	font-size: 0.6rem;
	line-height: 1;
	min-width: 15px;
	height: 15px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
}

.menu-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--fm-navy);
}

/* Legacy inline search form (never opened by JS) - kept hidden */
.header-search-form {
	display: none;
}

/* Primary navigation */
.main-navigation {
	max-width: none;
	margin: 0;
	padding: 0 1.5em;
	background-color: var(--fm-backcol);
	border-bottom: 1px solid var(--fm-border);
}

.nav-close {
	display: none;
}

/* 1. Base styles for the main navigation menu */
.main-navigation ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0.6em 0;
	gap: 2.8em;
}

/* 2. Set smooth transition on the list items */
.main-navigation li {
	position: relative;
	transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 3. When hovering the menu, scale down unhovered items slightly, but keep color intact */
.main-navigation ul:hover li {
	transform: scale(0.92);
}

/* 4. Zoom in, pull forward, and turn the hovered item to gold */
.main-navigation ul li:hover {
	transform: scale(1.15); 
	z-index: 5; 
}

/* 5. Clean default link styling */
.main-navigation a {
	display: block;
	text-decoration: none;
	color: var(--fm-ink); 
	font-family: var(--fm-font-serif);
	font-size: 1.2rem;
	font-weight: 500; 
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.2em 0;
	transition: color 0.2s ease; 
	-webkit-text-stroke: 0.5px var(--fm-ink);
}

/* 6. Turn the explicitly hovered item text gold */
.main-navigation li:hover > a {
	color: var(--fm-gold) !important;
}

/* 7. Keep the active/current page item highlighted */
.main-navigation .current-menu-item > a {
	color: var(--fm-gold);
}

.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	background-color: var(--fm-white);
	border: 1px solid var(--fm-border);
	padding: 0.5em 0;
	gap: 0;
	min-width: 200px;
	z-index: 10;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	display: flex;
}

.main-navigation ul ul a {
	padding: 0.5em 1.2em;
	text-transform: none;
	letter-spacing: 0.02em;
	font-size: 0.95rem;
	font-weight: 400; /* Keeps dropdown links at default weight */
}

/* ==========================================================================
   E-Commerce WooCommerce Responsive Design System
   ========================================================================== */

/* Main Site Core Fluid Wrappers */
.site-main,
#primary {
    width: 100%;
    box-sizing: border-box;
}

/* Every page's content sits inside one centered container (1170px of content).
   The homepage hero slider (body.home) stays full width. */
body:not(.home) #primary {
    max-width: 1230px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

body:not(.home) .site-main {
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 782px) {
    body:not(.home) #primary {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Tablet (769px - 991px): keep the icon groups on the same line as on desktop,
   just scaled down so they never collide with the logo or wrap the menu. */
@media screen and (min-width: 769px) and (max-width: 991px) {
    .site-title {
        font-size: 3rem;
        letter-spacing: 0.2em;
    }

    .site-description {
        font-size: 1.1rem;
        letter-spacing: 0.5em;
        margin-top: -10px;
    }

    .header-icon-btn {
        width: 50px;
        height: 50px;
    }

    .main-navigation ul {
        gap: 1.6em;
    }

    .main-navigation a {
        font-size: 1.05rem;
    }
}

/* Compact sticky header once the page has scrolled (desktop + tablet) */
@media screen and (min-width: 992px) {
    /* the break line under the logo stays in the compact state */
    .site-header.is-scrolled .site-branding {
        padding-bottom: 6px;
    }

    .site-header.is-scrolled .site-title {
        font-size: 2.4rem;
        line-height: 1.25;
    }

    .site-header.is-scrolled .site-description {
        font-size: 0.8rem;
        letter-spacing: 0.5em;
        margin-top: -6px;
    }

    .site-header.is-scrolled .site-header-actions {
        top: 50% !important;
    }

    .site-header.is-scrolled .site-header-row .header-search-toggle {
        top: 50% !important;
    }

    .site-header.is-scrolled .header-icon-btn {
        width: 48px;
        height: 48px;
    }
}


/* ==========================================================================
   Pure CSS Variable-Ratio Engine with Isolated Sharp Button Overlays
   ========================================================================== */

/* Main slider outer container */
.native-hero-slider {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  display: block !important;
  background-color: #0f1a24;
}

/* 1. BACKGROUND IMAGES SLIDE LAYER (Handles Zoom & Blur Animation) */
.native-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* Initial state: blurred & zoomed out */
  opacity: 0;
  z-index: 1;
  transform: scale(1.15);
  filter: blur(15px);
  will-change: opacity, transform, filter;
  animation: cinematicZoomBlur 12s infinite ease-in-out;
}

.native-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 2;
}

/* 2. SHARP BUTTON OVERLAY LAYER (Completely independent of image blurs) */
.native-button-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important; /* Forces buttons above background slide frames */
  pointer-events: none !important; /* Keeps links clickable below transparent frames */
}

.native-button-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  /* RE-ALIGNMENT CONFIGURATION LAYER */
  align-items: flex-end !important; /* Pulls the button element from center down to the bottom line */
  justify-content: center !important; /* Keeps the button track locked perfectly in the horizontal center */
  padding-bottom: 45px !important; /* Gives the button custom breathing room so it does not clip the frame edge */
  /* BUTTON INITIAL STATE: Hidden but crystal clear */
  opacity: 0;
  pointer-events: auto !important;
  animation: cleanFade 12s infinite ease-in-out;
}

/* Elegant "Shop Now" Action Buttons */
.native-button-slide .native-hero-button {
  display: inline-block !important;
  background-color: #ffffff !important;
  color: #1c2b3a !important;
  text-decoration: none !important;
  padding: 1.1em 3.4em !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease !important;
}

.native-button-slide .native-hero-button:hover {
  background-color: var(--fm-gold, #b8925a) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* 3. TIMELINE SYNCHRONIZATION AND DELAYS (Keeps images & buttons paired up) */
.native-slide.slide-one,
.native-button-slide.slide-one {
  animation-delay: 0s;
}

.native-slide.slide-two,
.native-button-slide.slide-two {
  animation-delay: 4s;
}

.native-slide.slide-three,
.native-button-slide.slide-three {
  animation-delay: 8s;
}

/* ANIMATION MATRIX A: Handles background filters (Zoom & Blur)
The !important tags inside the keyframes force the browser to execute the un-blur timeline. */
@keyframes cinematicZoomBlur {
  0% {
    opacity: 0;
    transform: scale(1.15) !important;
    filter: blur(15px) !important;
  }
  8.33% {
    opacity: 1;
    transform: scale(1) !important;
    filter: blur(0px) !important; /* FORCES IMAGE TO CLEAR UP COMPLETELY */
  }
  33.33% {
    opacity: 1;
    transform: scale(1) !important;
    filter: blur(0px) !important; /* KEEPS IMAGE RAZOR-SHARP FOR 3 SECONDS */
  }
  41.66% {
    opacity: 0;
    transform: scale(0.95) !important;
    filter: blur(15px) !important; /* Blurs out right at transition exit */
  }
  100% {
    opacity: 0;
  }
}

/* ANIMATION MATRIX B: Handles buttons (Fades in sharply, skips blur/zoom completely) */
@keyframes cleanFade {
  0% {
    opacity: 0;
    z-index: 1;
  }
  8.33% {
    opacity: 1;
    z-index: 5;
  }
  33.33% {
    opacity: 1;
    z-index: 5;
  }
  41.66% {
    opacity: 0;
    z-index: 1;
  }
  100% {
    opacity: 0;
    z-index: 1;
  }
}

/* --------------------------------------------------------------------------
   DESKTOP SCREEN VIEW CONFIGURATION (2134x737 Aspect Ratio + Right Side Drawer Search)
   Applies strictly to wide laptop and computer monitor monitor viewports.
   -------------------------------------------------------------------------- */
@media screen and (min-width: 769px) {
  /* Main Hero Panorama Sizing Layout */
  .native-hero-slider {
    aspect-ratio: 2134 / 737 !important; /* only a fallback; height below wins */
    /* Hero ends at the bottom of the first screen (just below the Rewards
       button), so the category tiles never peek in.
       --fm-hero-offset is measured by js/home.js (header + announcement bar);
       130px is only the fallback. --fm-hero-trim fine-tunes the bottom edge. */
    --fm-hero-offset: 130px;
    --fm-hero-trim: 25px;
    height: calc(100vh - var(--fm-hero-offset) - var(--fm-hero-trim)) !important;
    height: calc(100svh - var(--fm-hero-offset) - var(--fm-hero-trim)) !important;
    min-height: 0 !important;
    margin: 0 0 50px 0 !important;
  }
  .native-slide {
    background-image: var(--bg-desktop) !important;
    filter: none;
    transform: none;
  }

}

/* ---- Search drawer: all screen sizes ---- */
  /* RIGHT SIDE SLIDING DRAWER SEARCH LAYOUT ENGINE */
.mobile-branding-search {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  
  /* MODIFIED: Increased screen workspace width footprint (from 35% to 45%) */
  width: 45% !important; 
  
  /* MODIFIED: Increased maximum pixel cap boundary limit (from 420px to 520px) */
  max-width: 520px !important; 
  
  height: 100vh !important;
  background-color: #ffffff !important;
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.1) !important;
  z-index: 99999 !important; 
  padding: 60px 45px !important; /* Slightly padded out inside space for elegant breathing room */
  box-sizing: border-box !important;
  display: block !important;
  opacity: 1 !important;
  max-height: none !important;
  overflow: visible !important;
  
  /* SMOOTH DESKTOP TRANSITION MATRIX: Hidden off-screen right by default */
  transform: translateX(100%) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}


/* OPEN DRAWER ACTIVE ENGINE STATE */
.mobile-branding-search.is-open {
  transform: translateX(0) !important; /* Slides the search card into active viewport focus */
}

/* Drawer Layout Row Formatting */
.drawer-header-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 30px !important;
}

.drawer-caption-hint {
  font-family: var(--fm-font-body) !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  color: #a0a0a0 !important;
}

.drawer-close-trigger {
  background: none !important;
  border: none !important;
  font-size: 2rem !important;
  line-height: 1 !important;
  color: #2b2b2b !important;
  cursor: pointer !important;
  padding: 0 5px !important;
  transition: color 0.2s ease !important;
}

.drawer-close-trigger:hover {
  color: var(--fm-gold, #b8925a) !important;
}

/* Elegant Input Line Form Alignment */
.mobile-branding-search .search-form {
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid #d3d3d3 !important; 
  padding-bottom: 8px !important;
  width: 100% !important;
  gap: 14px !important;
}

.mobile-branding-search .search-field {
  flex: 1 !important;
  border: none !important;
  background: none !important;
  font-family: var(--fm-font-body) !important;
  font-size: 1.5rem !important; /* Crisper larger desktop header font tracking */
  font-weight: 300 !important;
  color: var(--fm-ink, #2b2b2b) !important;
  text-align: left !important;
  padding: 0 !important;
}

.mobile-branding-search .search-field:focus {
  outline: none !important;
}

.mobile-branding-search .search-field::placeholder {
  color: #2b2b2b !important;
  opacity: 0.6 !important;
}

/* Action Icon Control Rows */
.drawer-action-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.voice-search-trigger,
.drawer-search-lens-submit {
  background: none !important;
  border: none !important;
  color: #2b2b2b !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.voice-search-trigger:hover,
.drawer-search-lens-submit:hover {
  color: var(--fm-gold, #b8925a) !important;
}

.voice-search-trigger.is-listening {
  color: #ea4335 !important;
  animation: voiceRecordingPulse 1.2s infinite ease-in-out;
}

@keyframes voiceRecordingPulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Translucent backdrop dim layer curtain styling */
.drawer-overlay-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.45) !important;
  z-index: 99998 !important; /* Sits directly beneath drawer panel stack */
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
  backdrop-filter: blur(5px) !important; /* Cinematic blur layer */
}

.drawer-overlay-backdrop.is-active {
  opacity: 1 !important;
  visibility: visible !important;
}

@media screen and (min-width: 769px) {
  /* Restores the left lens button parameters on desktops safely */
  .site-header-row .header-search-toggle {
    display: inline-flex !important;
    position: absolute !important;
    left: 20px !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
  }
}


/* --------------------------------------------------------------------------
   MOBILE & TOUCH SCREEN CONFIGURATION (1:1 Strict Square Ratio)
   Applies strictly to mobile devices under 768px wide.
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .native-hero-slider {
    height: 0 !important;
    min-height: 0 !important;
    padding-top: 100% !important; /* Perfect 1:1 Mobile Canvas Square */
    margin: 0 0 40px 0 !important;
  }
  
  .native-slide {
    background-image: var(--bg-mobile) !important;
    filter: none;
    transform: none;
  }
  
  /* FIX: Balances the button placement perfectly inside the 1:1 mobile square canvas */
  .native-button-slide {
    padding-bottom: 30px !important;
  }
    
  /* Search drawer on mobile: full-width panel */
  .mobile-branding-search {
    width: 100% !important;
    max-width: none !important;
    padding: 28px 22px !important;
  }

  .mobile-branding-search .search-field {
    font-size: 1.15rem !important;
  }

  .drawer-header-row {
    margin-bottom: 20px !important;
  }

}

/* --------------------------------------------------------------------------
   HAMBURGER HEADER: phones AND tablets (991px and below)
   Hamburger + search on the left, logo in the middle, wishlist + cart on the right,
   menu as a left slide-in drawer (same switch point as the bottom bar).
   -------------------------------------------------------------------------- */
@media screen and (max-width: 991px) {
  /* MOBILE HEADER ORDER:  [hamburger] [search]   LOGO + tagline   [wishlist] [cart] */
  .site-header {
    border-bottom: 1px solid var(--fm-border);
  }

  .site-header-row {
    display: block !important;
    position: relative !important;
    padding: 12px 0 10px 0 !important;
    min-height: 64px;
  }

  .menu-toggle {
    display: flex !important;
    position: absolute !important;
    left: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 99 !important;
  }

  .site-header-row .header-search-toggle {
    display: inline-flex !important;
    position: absolute !important;
    left: 46px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 99 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .site-header-row .site-header-actions {
    display: flex !important;
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    gap: 0 !important;
  }

  /* Account icon is hidden on mobile (wishlist + cart only) */
  .site-header-actions .header-account-link {
    display: none !important;
  }

  /* Same size for ALL header icons: search, wishlist and cart */
  .header-icon-btn,
  .site-header-row .header-search-toggle {
    width: 42px;
    height: 42px;
  }

  .header-icon-btn svg,
  .site-header-row .header-search-toggle svg {
    width: 26px !important;
    height: 26px !important;
  }

  .header-icon-count {
    top: 0;
    right: 0;
  }

  .site-branding {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .site-title {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
    letter-spacing: 0.15em !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
  }

  .site-description {
    font-size: clamp(0.55rem, 2.4vw, 0.85rem) !important;
    letter-spacing: 0.25em !important;
    margin: 0 !important;
  }

  /* MOBILE MENU: left slide-in drawer */
  .main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82%, 320px);
    padding: 64px 0 24px;
    overflow-y: auto;
    border-top: none;
    border-bottom: none;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.45), 5px 0 35px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    z-index: 99995;
  }

  .main-navigation.toggled {
    transform: translateX(0);
    visibility: visible;
  }

  .main-navigation ul {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
  }

  .main-navigation li {
    border-bottom: 1px solid var(--fm-border);
  }

  .main-navigation ul:hover li,
  .main-navigation ul li:hover {
    transform: none;
  }

  .main-navigation a {
    padding: 1em 1.5em;
    font-size: 1.1rem;
  }

  .main-navigation ul ul {
    position: static;
    border: none;
    min-width: 0;
    padding: 0 0 0 1em;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--fm-ink);
    cursor: pointer;
  }

  /* Page can't scroll behind the open menu (the dimming is the nav's box-shadow above) */
  body.fm-menu-open {
    overflow: hidden;
  }
}


 /* ==========================================================================
 E-Commerce WooCommerce Layout Rules
 ========================================================================== */
 
@media screen and (max-width: 782px) {
  /* E-Commerce Checkout and Cart Data Table Structuring */
  .woocommerce-cart table.cart,
  .woocommerce-cart table.cart tbody,
  .woocommerce-cart table.cart tr,
  .woocommerce-cart table.cart td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .woocommerce-cart table.cart tr {
    margin-bottom: 15px;
    border: 1px solid var(--fm-border);
    padding: 10px;
  }

  .woocommerce-cart table.cart td {
    text-align: right !important;
    border-bottom: 1px solid var(--fm-border);
    padding-left: 50% !important;
    position: relative;
  }

  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2,
  #customer_details,
  #order_review_heading,
  #order_review {
    width: 100% !important;
    float: none !important;
  }
}
 

 
/* ==========================================================================
   Shop / category pages — Aura Chandelle style
   ========================================================================== */

/* Breadcrumb and result count are hidden; the sorting dropdown stays */
.woocommerce-breadcrumb,
.woocommerce-result-count {
	display: none;
}

/* Page title: centered, uppercase, widely spaced */
.woocommerce-products-header__title,
.woocommerce-products-header .page-title {
	margin: 50px 0 35px;
	text-align: center;
	text-transform: uppercase;
	font-family: var(--fm-font-serif);
	font-size: 2.1rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	line-height: 1.3;
	color: var(--fm-ink);
}

/* Default sorting (kept) */
.woocommerce .woocommerce-ordering {
	float: right;
	margin: 0 0 30px;
}

.woocommerce .woocommerce-ordering select {
	padding: 0.65em 2.4em 0.65em 1em;
	background-color: var(--fm-white);
	border: 1px solid var(--fm-border);
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	color: var(--fm-ink);
	cursor: pointer;
}

/* Product grid: 4 columns -> 3 -> 2 */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 50px 30px;
	clear: both;
	margin: 0 0 70px;
	padding: 0;
	list-style: none;
}

/* WooCommerce clearfix pseudo-elements would become empty grid cells */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	display: none !important;
	content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	text-align: left;
}

.woocommerce ul.products li.product a,
.woocommerce ul.products li.product a:hover {
	text-decoration: none;
}

/* Square product images */
.woocommerce ul.products li.product a img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 362 / 470;
	object-fit: cover;
	margin: 0 0 16px;
	box-shadow: none;
}

/* Brand line + title + price */
.fm-loop-brand {
	display: block;
	margin: 0 0 6px;
	font-family: var(--fm-font-body);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #777;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--fm-font-serif);
	font-size: 1.15rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 0;
	font-family: var(--fm-font-body);
	font-size: 0.95rem;
	color: var(--fm-ink);
}

.woocommerce ul.products li.product .price del {
	opacity: 0.55;
}

.woocommerce ul.products li.product .price ins {
	background: none;
	text-decoration: none;
	font-weight: 500;
}

/* Sale badge */
.woocommerce span.onsale {
	top: 12px;
	left: 12px;
	right: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0.4em 0.9em;
	border-radius: 2px;
	background-color: var(--fm-navy);
	color: var(--fm-white);
	font-family: var(--fm-font-body);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* The cart drawer replaces WooCommerce's "View cart" link */
.woocommerce ul.products li.product a.added_to_cart {
	display: none !important;
}


@media screen and (max-width: 1100px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 782px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 35px 14px;
	}

	.woocommerce-products-header__title,
	.woocommerce-products-header .page-title {
		margin: 32px 0 24px;
		font-size: 1.5rem;
		letter-spacing: 0.16em;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 1rem;
		letter-spacing: 0.04em;
	}

	.woocommerce .woocommerce-ordering {
		margin-bottom: 20px;
	}
}

/* ==========================================================================
   Single product page — Aura Chandelle style
   ========================================================================== */
.single-product div.product {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 60px;
	align-items: start;
	padding-top: 40px;
}

.single-product div.product::before,
.single-product div.product::after {
	display: none !important;
	content: none !important;
}

.single-product div.product div.images,
.single-product div.product div.summary {
	float: none !important;
	width: 100% !important;
	margin: 0 0 30px !important;
}

/* Grid children may shrink below their content width (keeps the carousel from widening the page) */
.single-product div.product > * {
	min-width: 0;
}

/* Full-width rows under the two columns */
.single-product div.product > .related,
.single-product div.product > .up-sells,
.single-product div.product > .fm-recent {
	grid-column: 1 / -1;
}

/* Gallery + thumbnails */
.single-product .woocommerce-product-gallery {
	margin: 0;
}

.single-product .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.single-product .flex-control-thumbs li {
	float: none !important;
	width: 80px !important;
	margin: 0 !important;
}

.single-product .flex-control-thumbs li img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 1px solid transparent;
	opacity: 0.6;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.single-product .flex-control-thumbs li img.flex-active,
.single-product .flex-control-thumbs li img:hover {
	opacity: 1;
}

.single-product .flex-control-thumbs li img.flex-active {
	border-color: var(--fm-ink);
}

/* Title, description, price */
.single-product .product_title {
	margin: 0 0 18px;
	font-family: var(--fm-font-serif);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-product-description {
	font-family: var(--fm-font-body);
	font-size: 0.86rem;
	line-height: 1.75;
	color: #333;
}

.fm-product-description p {
	margin: 0 0 12px;
}

.single-product div.summary .price {
	display: block;
	margin: 22px 0 20px;
	font-family: var(--fm-font-body);
	font-size: 1.1rem;
	color: var(--fm-ink);
}

.single-product div.summary .price del {
	opacity: 0.55;
}

.single-product div.summary .price ins {
	background: none;
	text-decoration: none;
}

/* Size options as buttons */
.single-product table.variations {
	width: 100%;
	margin: 0 0 18px;
	border: 0;
	border-collapse: collapse;
}

.single-product table.variations tr,
.single-product table.variations th,
.single-product table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

.single-product table.variations th.label label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.78rem;
	color: #777;
}

.single-product .reset_variations {
	display: none !important;
}

.fm-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.fm-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fm-swatch {
	padding: 0.6em 1.1em;
	background: var(--fm-white);
	border: 1px solid #cfcfcf;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
	line-height: 1.2;
	color: var(--fm-ink);
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.fm-swatch:hover {
	border-color: #888;
}

.fm-swatch.is-selected {
	border-color: #000;
	box-shadow: inset 0 0 0 1px #000;
}

/* Quantity + buttons */
.single-product form.cart:not(.variations_form),
.single-product .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
}

.single-product .quantity {
	display: inline-flex;
	align-items: stretch;
	height: 46px;
	margin: 0;
	background: var(--fm-white);
	border: 1px solid #cfcfcf;
}

.single-product .quantity .qty {
	width: 46px;
	padding: 0;
	background: transparent;
	border: 0;
	text-align: center;
	font-family: var(--fm-font-body);
	font-size: 0.9rem;
	-moz-appearance: textfield;
	appearance: textfield;
}

.single-product .quantity .qty::-webkit-inner-spin-button,
.single-product .quantity .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.fm-qty-btn {
	width: 36px;
	padding: 0;
	background: none;
	border: 0;
	font-size: 1.05rem;
	line-height: 1;
	color: var(--fm-ink);
	cursor: pointer;
}

.single-product .single_add_to_cart_button,
.single-product .fm-buy-now {
	height: 46px;
	padding: 0 1.2em;
	background: #222 !important;
	color: #fff !important;
	border: 0;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.single-product .single_add_to_cart_button {
	flex: 1 1 0;
}

.single-product .fm-buy-now {
	flex: 0 0 100%;
}

.single-product .single_add_to_cart_button:hover {
	background: #000 !important;
}

.single-product .single_add_to_cart_button.disabled,
.single-product .single_add_to_cart_button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.single-product .single_add_to_cart_button.loading {
	opacity: 0.6;
	pointer-events: none;
}

.fm-wishlist-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding: 0;
	background: none;
	border: 0;
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
	color: var(--fm-ink);
	text-decoration: none;
	cursor: pointer;
}

.fm-wishlist-link.is-active svg {
	fill: currentColor;
}

.fm-wishlist-link:hover {
	color: var(--fm-gold);
}

/* Section headings (Customer Reviews, You may also like, Recently Viewed) */
.fm-section-title,
.single-product .related.products > h2,
.single-product .up-sells > h2 {
	margin: 0 0 28px;
	text-align: center;
	font-family: var(--fm-font-serif);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--fm-ink);
}

/* Reviews */
.fm-reviews {
	margin-top: 34px;
	padding-top: 30px;
	border-top: 1px solid var(--fm-border);
	text-align: center;
	font-family: var(--fm-font-body);
	font-size: 0.85rem;
}

.fm-reviews .woocommerce-Reviews-title {
	display: none;
}

.fm-reviews #reply-title {
	display: block;
	margin-bottom: 12px;
	font-size: 0.95rem;
}

.fm-reviews textarea,
.fm-reviews input[type="text"],
.fm-reviews input[type="email"] {
	width: 100%;
	padding: 0.7em;
	border: 1px solid #cfcfcf;
	border-radius: 0;
	font-family: var(--fm-font-body);
}

.fm-reviews #submit {
	padding: 0.9em 2em;
	background: #222;
	color: #fff;
	border: 0;
	border-radius: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
}

/* "You may also like" carousel */
.single-product div.product > .related {
	margin-top: 60px;
}

.fm-car-wrap {
	position: relative;
}

.single-product .related ul.products,
.single-product .up-sells ul.products {
	display: flex;
	gap: 30px;
	margin: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.single-product .related ul.products::-webkit-scrollbar,
.single-product .up-sells ul.products::-webkit-scrollbar {
	display: none;
}

.single-product .related ul.products li.product,
.single-product .up-sells ul.products li.product {
	flex: 0 0 calc((100% - 90px) / 4);
	scroll-snap-align: start;
}

.fm-car-btn {
	position: absolute;
	top: 30%;
	z-index: 8;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: var(--fm-white);
	border: 0;
	border-radius: 50%;
	color: var(--fm-ink);
	cursor: pointer;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
	transition: opacity 0.2s ease;
}

.fm-car-btn.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.fm-car-btn svg {
	display: block;
}

.fm-car-prev { left: 12px; }
.fm-car-next { right: 12px; }

/* Recently viewed */
.fm-recent {
	margin: 60px 0 70px;
	padding-top: 50px;
	border-top: 1px solid var(--fm-border);
}

.fm-recent-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 26px;
}

.fm-recent-item {
	width: 170px;
	text-align: center;
	text-decoration: none;
	color: var(--fm-ink);
}

.fm-recent-item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 10px;
}

.fm-recent-title {
	display: block;
	font-family: var(--fm-font-serif);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	line-height: 1.35;
	text-transform: uppercase;
}

.fm-recent-price {
	display: block;
	margin-top: 4px;
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
}

@media screen and (max-width: 782px) {
	.single-product div.product {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 24px;
	}

	.single-product .product_title {
		font-size: 1.25rem;
	}

	.single-product .related ul.products li.product,
	.single-product .up-sells ul.products li.product {
		flex-basis: calc((100% - 14px) / 2);
	}

	.single-product .related ul.products,
	.single-product .up-sells ul.products {
		gap: 14px;
	}

	.fm-recent-item {
		width: calc(50% - 13px);
	}
}

/* ==========================================================================
   Cart drawer (right side): "You may also like" + cart
   ========================================================================== */
.fm-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000; /* above header, menu and search drawers */
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0.4s;
}

.fm-cart-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.fm-cd-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.fm-cart-drawer.is-open .fm-cd-backdrop {
	opacity: 1;
}

.fm-cd-panels {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	max-width: 100%;
	background: var(--fm-white);
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
}

.fm-cart-drawer.is-open .fm-cd-panels {
	transform: translateX(0);
}

body.fm-cart-open {
	overflow: hidden;
}

/* Left: you may also like (wide screens) */
.fm-cart-drawer-suggest {
	display: flex;
	flex-direction: column;
	width: 350px;
	padding: 34px 24px 0;
	overflow: hidden;
	box-sizing: border-box;
	border-right: 1px solid var(--fm-border);
}

.fm-cd-suggest-title {
	margin: 0 0 26px;
	font-family: var(--fm-font-serif);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-cd-suggest-item {
	display: flex;
	gap: 14px;
	margin-bottom: 20px;
	text-decoration: none;
	color: var(--fm-ink);
}

.fm-cd-suggest-item img {
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
	object-fit: cover;
}

.fm-cd-suggest-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.fm-cd-suggest-name {
	font-family: var(--fm-font-serif);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	line-height: 1.35;
	text-transform: uppercase;
}

.fm-cd-suggest-price {
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
}

/* Right: cart */
.fm-cart-drawer-cart {
	display: flex;
	flex-direction: column;
	width: 500px;
	max-width: 100vw;
	padding: 0 24px;
	font-family: var(--fm-font-body);
	color: var(--fm-ink);
	transition: opacity 0.2s ease;
}

.fm-cart-drawer-cart.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

.fm-cd-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 32px 0 18px;
	border-bottom: 1px solid var(--fm-border);
}

.fm-cd-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-family: var(--fm-font-body);
	font-size: 1.05rem;
	font-weight: 400;
}

.fm-cd-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	background: #222;
	color: #fff;
	border-radius: 999px;
	font-size: 0.7rem;
}

.fm-cd-close {
	padding: 0;
	background: none;
	border: 0;
	font-size: 2rem;
	line-height: 1;
	color: var(--fm-ink);
	cursor: pointer;
}

.fm-cd-items {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 24px 0;
}

.fm-cd-item {
	display: flex;
	gap: 20px;
	margin-bottom: 22px;
}

.fm-cd-thumb {
	flex: 0 0 80px;
}

.fm-cd-thumb img {
	display: block;
	width: 80px;
	height: 104px;
	object-fit: cover;
}

.fm-cd-info {
	flex: 1;
	min-width: 0;
}

.fm-cd-name {
	display: block;
	font-size: 0.85rem;
	line-height: 1.4;
	color: var(--fm-ink);
	text-decoration: none;
}

.fm-cd-price {
	margin: 8px 0 12px;
	font-size: 0.8rem;
	color: #555;
}

.fm-cd-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.fm-cd-qty {
	display: inline-flex;
	align-items: center;
	height: 32px;
	border: 1px solid #cfcfcf;
}

.fm-cd-qty-btn {
	width: 28px;
	height: 100%;
	padding: 0;
	background: none;
	border: 0;
	font-size: 1rem;
	line-height: 1;
	color: var(--fm-ink);
	cursor: pointer;
}

.fm-cd-qty-val {
	min-width: 22px;
	text-align: center;
	font-size: 0.8rem;
}

.fm-cd-remove {
	padding: 0;
	background: none;
	border: 0;
	border-bottom: 1px solid currentColor;
	font-family: var(--fm-font-body);
	font-size: 0.75rem;
	color: #555;
	cursor: pointer;
}

.fm-cd-foot {
	padding: 6px 0 24px;
	border-top: 1px solid var(--fm-border);
}

.fm-cd-extras {
	display: flex;
	gap: 30px;
	padding: 16px 0;
}

.fm-cd-extra-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	background: none;
	border: 0;
	font-family: var(--fm-font-body);
	font-size: 0.82rem;
	color: var(--fm-ink);
	cursor: pointer;
}

.fm-cd-extra-btn.is-active {
	text-decoration: underline;
}

.fm-cd-extra-panel {
	margin-bottom: 12px;
}

.fm-cd-extra-panel[hidden] {
	display: none;
}

.fm-cd-note,
.fm-cd-coupon {
	width: 100%;
	padding: 0.65em;
	border: 1px solid #cfcfcf;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.85rem;
	box-sizing: border-box;
}

.fm-cd-coupon-row {
	display: flex;
	gap: 8px;
}

.fm-cd-save-note,
.fm-cd-apply-coupon {
	padding: 0 1.2em;
	background: #222;
	color: #fff;
	border: 0;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

.fm-cd-save-note {
	margin-top: 8px;
	height: 36px;
}

.fm-cd-msg {
	min-height: 1.2em;
	margin: 0 0 8px;
	font-size: 0.78rem;
	color: #2e7d32;
}

.fm-cd-msg.is-error {
	color: #b3261e;
}

.fm-cd-coupon-line {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 0.82rem;
}

.fm-cd-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid var(--fm-border);
	font-family: var(--fm-font-serif);
	font-size: 1.15rem;
}

.fm-cd-taxnote {
	margin: 4px 0 18px;
	font-size: 0.8rem;
	color: #666;
}

.fm-cd-checkout {
	display: block;
	padding: 1.1em 1em;
	background: #222;
	color: #fff;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}

.fm-cd-checkout:hover {
	background: #000;
	color: #fff;
}

.fm-cd-viewcart {
	display: table;
	margin: 18px auto 0;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--fm-ink);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	color: var(--fm-ink);
	text-decoration: none;
	text-transform: uppercase;
}

.fm-cd-empty {
	padding: 50px 0;
	text-align: center;
}

/* "You may also like": side panel where there is room for both panels, otherwise a strip inside the cart */
.fm-cd-related {
	display: none;
}

@media screen and (max-width: 1100px) {
	.fm-cart-drawer-suggest {
		display: none;
	}

	.fm-cd-related {
		display: block;
	}
}

@media screen and (max-width: 560px) {
	.fm-cart-drawer-cart {
		width: 100vw;
		padding: 0 18px;
	}
}

/* --- Cart panel: scrolls as a whole on short screens, item list keeps a usable minimum --- */
.fm-cart-drawer-cart {
	min-height: 0;
	overflow-y: auto;
	box-sizing: border-box;
}

.fm-cd-items {
	min-height: 140px;
}

/* Free-shipping progress */
.fm-cd-ship {
	margin: 0 -24px;
	padding: 12px 24px;
	background: var(--fm-backcol, #f6f1ea);
	border-bottom: 1px solid var(--fm-border);
	font-size: 0.8rem;
}

.fm-cd-ship-bar {
	height: 6px;
	margin-top: 8px;
	border-radius: 3px;
	background: #e4ddd2;
	overflow: hidden;
}

.fm-cd-ship-bar i {
	display: block;
	height: 100%;
	background: #222;
	transition: width 0.3s;
}

/* Cart lines: variation text, quantity input, line total */
.fm-cd-info dl.variation {
	margin: 2px 0 0;
	font-size: 0.75rem;
	color: #666;
}

.fm-cd-info dl.variation dt,
.fm-cd-info dl.variation dd,
.fm-cd-info dl.variation p {
	display: inline;
	margin: 0;
}

.fm-cd-qty-in {
	width: 38px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
	color: var(--fm-ink);
	-moz-appearance: textfield;
	appearance: textfield;
}

.fm-cd-qty-in::-webkit-outer-spin-button,
.fm-cd-qty-in::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.fm-cd-qty-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.fm-cd-qty-fixed {
	font-size: 0.8rem;
	color: #555;
}

.fm-cd-linetotal {
	flex: none;
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
}

/* Minimum order */
.fm-cd-min {
	margin: 0 0 12px;
	padding: 10px 12px;
	background: #fdecea;
	color: #b3261e;
	font-size: 0.78rem;
	line-height: 1.4;
}

.fm-cd-checkout.is-disabled {
	background: #b9b9b9;
	cursor: not-allowed;
}

.fm-cd-checkout.is-disabled:hover {
	background: #b9b9b9;
}

/* --- Related products: shared pieces --- */
.fm-sg-list,
.fm-sg-row {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fm-sg {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 14px;
	margin: 0 0 18px;
}

.fm-sg.is-off,
.fm-sg-row .fm-sg.is-off {
	display: none !important;
}

.fm-sg__img img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
}

.fm-sg__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 4px;
	min-width: 0;
}

.fm-sg__name {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-family: var(--fm-font-serif);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--fm-ink);
	text-decoration: none;
}

.fm-sg__price {
	font-size: 0.8rem;
}

.fm-sg .woocommerce-price-suffix {
	display: none;
}

.fm-sg__add,
.fm-sg__view {
	margin-top: 2px;
	padding: 6px 14px;
	border: 1px solid #222;
	border-radius: 0;
	background: #222;
	color: #fff;
	font-family: var(--fm-font-body);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.fm-sg__add:hover,
.fm-sg__view:hover {
	background: #000;
	color: #fff;
}

.fm-sg__view {
	background: #fff;
	color: #222;
}

.fm-sg__view:hover {
	background: #222;
}

.fm-sg__add.is-adding {
	opacity: 0.6;
	pointer-events: none;
}

.fm-sg__oos {
	font-size: 0.75rem;
	font-weight: 600;
	color: #b3261e;
}

.fm-sg__none {
	padding: 24px 0;
	text-align: center;
	color: #666;
	font-size: 0.85rem;
}

/* Previous / next arrows */
.fm-pg {
	display: flex;
	gap: 10px;
}

.fm-pg button {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #222;
	border-radius: 50%;
	background: #fff;
	color: #222;
	cursor: pointer;
}

.fm-pg button:hover:not(:disabled) {
	background: #222;
	color: #fff;
}

.fm-pg button:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Search field */
.fm-sgs {
	margin: 0 0 18px;
}

.fm-sgs .fm-sgs__in {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6em 0.9em;
	border: 1px solid #cfcfcf;
	border-radius: 0;
	background: #fff;
	font-family: var(--fm-font-body);
	font-size: 0.85rem;
	color: var(--fm-ink);
}

.fm-sgs__results {
	display: none;
}

.is-searching > .fm-sgs__results {
	display: block;
}

.fm-sgs__results.is-loading {
	opacity: 0.5;
}

/* --- Side panel (wide screens) --- */
.fm-cart-drawer-suggest .fm-cd-suggest-title {
	flex: none;
	margin-bottom: 18px;
}

.fm-cart-drawer-suggest .fm-sgs {
	flex: none;
}

.fm-cart-drawer-suggest .fm-suggest-body,
.fm-cart-drawer-suggest .fm-sgs__results {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}

.fm-cart-drawer-suggest.is-searching .fm-suggest-body {
	display: none;
}

.fm-pg--panel {
	flex: none;
	justify-content: center;
	gap: 16px;
	padding: 14px 0 20px;
	border-top: 1px solid var(--fm-border);
}

/* --- Strip inside the cart (narrower screens) --- */
.fm-cd-related {
	flex: none;
	padding: 14px 0;
	border-top: 1px solid var(--fm-border);
}

.fm-cd-relhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.fm-cd-reltitle {
	margin: 0;
	font-family: var(--fm-font-serif);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-cd-related .fm-sgs {
	margin-bottom: 10px;
}

.fm-cd-related > .fm-sg-row,
.fm-cd-related > .fm-sgs__results {
	height: 210px;
	box-sizing: border-box;
	overflow: hidden;
}

.fm-cd-related > .fm-sgs__results .fm-sg-row {
	height: 100%;
}

.fm-sg-row {
	display: flex;
	gap: 10px;
}

.fm-sg-row .fm-sg {
	flex: 0 0 calc((100% - 20px) / 3);
	min-width: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--fm-border);
}

.fm-sg-row .fm-sg__img img {
	width: 100%;
	height: 72px;
}

.fm-sg-row .fm-sg__info {
	align-items: stretch;
	justify-content: flex-start;
	gap: 2px;
}

.fm-sg-row .fm-sg__name {
	min-height: 2.7em;
	font-size: 0.7rem;
	letter-spacing: 0.02em;
}

.fm-sg-row .fm-sg__price {
	font-size: 0.72rem;
	line-height: 1.25;
}

.fm-sg-row .fm-sg__add,
.fm-sg-row .fm-sg__view {
	width: 100%;
	box-sizing: border-box;
	padding: 6px 4px;
	text-align: center;
	font-size: 0.6rem;
	letter-spacing: 0.08em;
}

.fm-sg-row--empty {
	align-items: center;
	justify-content: center;
}

.fm-cd-related.is-searching > .fm-sg-row {
	display: none;
}

.fm-cd-related .fm-sg__none {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin: 0;
	padding: 0;
}

@media screen and (max-width: 560px) {
	.fm-cd-ship {
		margin: 0 -18px;
		padding: 12px 18px;
	}
}


/* ==========================================================================
   HOMEPAGE — Aura Chandelle style sections
   ========================================================================== */

/* The homepage sits on the cream background */
body.home {
	background-color: var(--fm-backcol) !important;
}

.fm-container {
	max-width: 1230px;
	margin: 0 auto;
	padding: 0 30px;
	box-sizing: border-box;
}

/* --- Category tiles --- */
.fm-cats {
	margin: 28px 0 60px;
}

.fm-cats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 2px;
}

.fm-cat-img {
	display: block;
}

.fm-cat-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 353 / 375;
	object-fit: cover;
}

.fm-cat-title {
	margin: 14px 0 14px;
	text-align: center;
	font-family: var(--fm-font-serif);
	font-size: 2rem;
	font-weight: 300;
	line-height: 1.2;
	color: var(--fm-ink);
}

.fm-cat-btn {
	display: table;
	margin: 0 auto;
	padding: 0.3em 2.4em 0.35em;
	border: 2px solid var(--fm-ink);
	border-radius: 999px;
	font-family: var(--fm-font-serif);
	font-size: 1.25rem;
	color: var(--fm-ink);
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.fm-cat-btn:hover {
	background-color: var(--fm-ink);
	color: var(--fm-backcol);
}

/* --- About text --- */
.fm-about {
	padding: 10px 0 40px;
	text-align: center;
}

.fm-about .fm-container {
	max-width: 900px;
}

.fm-about-heading {
	margin: 0 0 18px;
	font-family: var(--fm-font-serif);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-about-text p {
	margin: 0 0 26px;
	font-family: var(--fm-font-serif);
	font-size: 0.98rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.8;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-about-text strong {
	font-weight: 700;
}

/* --- Best sellers carousel --- */
.fm-home-bestsellers {
	padding: 10px 20px 30px;
}

.fm-home-bestsellers .woocommerce ul.products {
	display: flex;
	gap: 30px;
	margin: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.fm-home-bestsellers .woocommerce ul.products::-webkit-scrollbar {
	display: none;
}

.fm-home-bestsellers .woocommerce ul.products li.product {
	flex: 0 0 calc((100% - 90px) / 4);
	scroll-snap-align: start;
}


/* --- Reviews --- */
.fm-reviews-home {
	padding: 50px 0 70px;
}

.fm-rv-slider {
	position: relative;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 30px;
}

.fm-rv-slide {
	display: none;
	grid-template-columns: minmax(0, 1fr) 200px;
	gap: 60px;
	align-items: center;
}

.fm-rv-slide.is-active {
	display: grid;
}

.fm-rv-label {
	display: block;
	font-family: var(--fm-font-body);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #888;
}

.fm-rv-stars {
	margin: 14px 0;
	font-size: 0.9rem;
	letter-spacing: 0.2em;
	color: var(--fm-ink);
}

.fm-rv-quote {
	margin: 0;
	font-family: var(--fm-font-body);
	font-size: 0.9rem;
	line-height: 1.85;
	color: #333;
}

.fm-rv-name {
	margin: 18px 0 0;
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
}

.fm-rv-photo img {
	display: block;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(1);
}

.fm-rv-nav {
	display: flex;
	gap: 10px;
	margin-top: 22px;
	padding-left: 30px;
}

.fm-rv-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0 0 2px;
	background: var(--fm-white);
	border: 0;
	border-radius: 50%;
	font-size: 1.3rem;
	line-height: 1;
	color: var(--fm-ink);
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

/* --- Instagram --- */
.fm-ig {
	padding: 20px 0 40px;
	text-align: center;
}

.fm-ig-intro {
	margin: 0 0 6px;
	font-family: var(--fm-font-body);
	font-size: 0.85rem;
}

.fm-ig-handle,
.fm-ig-follow {
	margin: 0 0 24px;
	font-family: var(--fm-font-serif);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-ig-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1px;
	max-width: 960px;
	margin: 0 auto;
}

.fm-ig-item {
	display: block;
}

.fm-ig-item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.fm-ig-follow {
	margin-top: 34px;
	margin-bottom: 8px;
}

.fm-ig-link {
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
	color: var(--fm-ink);
	text-decoration: none;
}

/* --- Newsletter card --- */
.fm-nl-band {
	padding: 60px 20px 0; /* the card sits flush on the footer, like Aura */
	background-color: #faf8f4;
}

.fm-nl-card {
	max-width: 770px;
	margin: 0 auto;
	padding: 34px 24px 24px;
	box-sizing: border-box;
	background: var(--fm-white);
	text-align: center;
}

.fm-nl-eyebrow {
	margin: 0;
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-nl-title {
	margin: 14px 0 12px;
	font-family: var(--fm-font-serif);
	font-size: 1.9rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-nl-text {
	margin: 0 auto 26px;
	max-width: 720px;
	font-family: var(--fm-font-body);
	font-size: 1rem;
	line-height: 1.75;
	color: #666;
}

/* the homepage email box: tall, with envelope + arrow */
.fm-nl-box .fm-nl-field {
	height: 58px;
	padding: 0 24px;
	gap: 14px;
}

.fm-nl-box .fm-nl-field input[type="email"] {
	font-size: 1rem;
}

.fm-nl-box .fm-nl-field svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.fm-nl-box .fm-nl-msg {
	min-height: 0;
	margin: 0;
}

.fm-nl-box .fm-nl-msg:not(:empty) {
	margin-top: 12px;
}

/* newsletter forms (card + footer) */
.fm-nl-field {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 12px;
	background: var(--fm-white);
	border: 1px solid var(--fm-ink);
	box-sizing: border-box;
}

.fm-nl-field input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	background: transparent;
	border: 0;
	outline: 0;
	font-family: var(--fm-font-body);
	font-size: 0.85rem;
}

.fm-nl-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.fm-nl-arrow {
	padding: 0;
	background: none;
	border: 0;
	color: var(--fm-ink);
	cursor: pointer;
}

.fm-nl-submit {
	margin-top: 12px;
	height: 42px;
	padding: 0 1.6em;
	background: #222;
	color: #fff;
	border: 0;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
}

.fm-newsletter-form.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.fm-nl-msg {
	min-height: 1.2em;
	margin: 10px 0 0;
	font-family: var(--fm-font-body);
	font-size: 0.78rem;
	color: #2e7d32;
}

.fm-nl-msg.is-error {
	color: #b3261e;
}

@media screen and (max-width: 782px) {
	.fm-cats {
		margin: 20px 0 40px;
	}

	.fm-cats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 2px;
	}

	.fm-cat-title {
		font-size: 1.4rem;
	}

	.fm-cat-btn {
		font-size: 1rem;
		padding: 0.25em 1.6em 0.3em;
	}

	.fm-about-text p {
		font-size: 0.85rem;
		letter-spacing: 0.08em;
	}

	.fm-home-bestsellers {
		padding: 10px 16px 20px;
	}

	.fm-home-bestsellers .woocommerce ul.products {
		gap: 14px;
	}

	.fm-home-bestsellers .woocommerce ul.products li.product {
		flex-basis: calc((100% - 14px) / 2);
	}

	.fm-rv-slide {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.fm-rv-photo {
		order: -1;
	}

	.fm-rv-photo img {
		width: 120px;
		height: 120px;
		margin: 0 auto;
	}

	.fm-rv-slider {
		padding: 0 16px;
		text-align: center;
	}

	.fm-rv-nav {
		justify-content: center;
		padding-left: 0;
	}

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

	.fm-ig-handle,
	.fm-ig-follow,
	.fm-nl-title {
		font-size: 1.15rem;
		letter-spacing: 0.16em;
	}

	.fm-nl-band {
		padding: 40px 12px 0;
	}

	.fm-nl-card {
		padding: 26px 16px 18px;
	}

	.fm-nl-text {
		font-size: 0.9rem;
	}

	.fm-nl-box .fm-nl-field {
		height: 52px;
		padding: 0 16px;
	}
}

/* ==========================================================================
   FOOTER (sized like Aura Chandelle)
   ========================================================================== */
.site-footer {
	width: 100%;
	background-color: var(--fm-backcol);
	border-top: 1px solid var(--fm-border);
}

.fm-footer-inner {
	width: calc(100% - 40px);
	max-width: 1540px;
	margin: 0 auto;
	padding: 44px 0 40px;
	box-sizing: border-box;
}

.fm-footer-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
}

.fm-footer-brandname,
.fm-footer-brandname:visited {
	font-family: var(--fm-font-header);
	font-size: 3.4rem;
	line-height: 1;
	color: var(--fm-ink);
	text-decoration: none;
}

.fm-footer-logo .custom-logo {
	width: auto;
	max-height: 70px;
}

.fm-footer-phone,
.fm-footer-email,
.fm-footer-hint {
	display: block;
	color: var(--fm-ink);
	text-decoration: none;
}

.fm-footer-phone {
	margin: 26px 0 6px;
	font-family: var(--fm-font-body);
	font-size: 1.5rem;
	font-weight: 400;
}

.fm-footer-email {
	margin-bottom: 22px;
	font-family: var(--fm-font-body);
	font-size: 1.05rem;
}

/* Shown to the site owner only, while the phone / email are still empty */
.fm-footer-hint {
	display: inline-block;
	margin: 18px 14px 16px 0;
	padding: 6px 12px;
	border: 1px dashed #aaa;
	font-family: var(--fm-font-body);
	font-size: 0.9rem;
	color: #777;
}

.fm-footer-desc,
.fm-footer-nl-text {
	margin: 0 0 22px;
	max-width: 700px;
	font-family: var(--fm-font-body);
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--fm-ink);
}

.fm-footer-heading {
	margin: 0 0 22px;
	font-family: var(--fm-font-serif);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-footer-row {
	display: flex;
	flex-wrap: wrap;
	gap: 30px 90px;
	margin-top: 40px;
}

.fm-footer-newsletter {
	flex: 0 1 493px;
	min-width: 260px;
}

.fm-nl-footer .fm-nl-field {
	height: 48px;
}

.fm-nl-footer .fm-nl-field input[type="email"] {
	font-size: 1rem;
}

.fm-nl-footer .fm-nl-submit {
	height: 48px;
	padding: 0 2.2em;
	font-size: 0.85rem;
}

.fm-social {
	display: flex;
	gap: 20px;
}

.fm-social a {
	color: var(--fm-ink);
	text-decoration: none;
}

.fm-social a:hover {
	color: var(--fm-gold);
}

.fm-social svg {
	width: 22px;
	height: 22px;
}

.fm-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fm-footer-menu li {
	margin: 0 0 18px;
}

.fm-footer-menu a {
	font-family: var(--fm-font-body);
	font-size: 1.05rem;
	color: var(--fm-ink);
	text-decoration: none;
}

.fm-footer-menu a:hover {
	color: var(--fm-gold);
}

.site-info {
	width: 100%;
	border-top: 1px solid var(--fm-border);
}

.footer-credits-custom {
	width: calc(100% - 40px);
	max-width: 1540px;
	margin: 0 auto;
	padding: 24px 0 28px;
	box-sizing: border-box;
	font-family: var(--fm-font-body);
	font-size: 1rem;
	text-align: left;
	color: var(--fm-ink);
}

@media screen and (max-width: 782px) {
	.fm-footer-inner {
		padding: 32px 0 26px;
	}

	.fm-footer-main {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.fm-footer-brandname,
	.fm-footer-brandname:visited {
		font-size: 2.8rem;
	}

	.fm-footer-phone {
		font-size: 1.3rem;
	}

	.fm-footer-newsletter {
		flex-basis: 100%;
	}
}


/* ==========================================================================
   Wishlist heart on product cards
   ========================================================================== */
.fm-wish-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: var(--fm-white);
	border: 0;
	border-radius: 50%;
	color: var(--fm-ink);
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
	transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s ease;
}

.fm-wish-btn svg {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.fm-wish-btn.is-active {
	color: #c0392b;
}

.fm-wish-btn.is-active svg {
	fill: currentColor;
}

/* Mouse devices: the heart fades in when the card is hovered (or focused with the keyboard).
   Touch devices (phones, tablets) always show it. */
@media (hover: hover) and (pointer: fine) {
	.fm-wish-btn {
		opacity: 0;
		transform: translateY(-4px);
	}

	.woocommerce ul.products li.product:hover .fm-wish-btn,
	.woocommerce ul.products li.product:focus-within .fm-wish-btn {
		opacity: 1;
		transform: none;
	}
}

@media screen and (max-width: 782px) {
	.fm-wish-btn {
		top: 8px;
		right: 8px;
		width: 38px;
		height: 38px;
	}
}

.fm-wishlist-empty {
	padding: 40px 0;
	text-align: center;
	font-family: var(--fm-font-body);
	color: #666;
}

/* ==========================================================================
   Product cards: hover overlays (Add to cart bar, quickshop eye)
   ========================================================================== */
.woocommerce ul.products li.product {
	container-type: inline-size; /* lets the overlays line up with the picture (100cqw = card width) */
}

/* Quickshop eye: sits under the wishlist heart */
.fm-qs-eye {
	position: absolute;
	top: 58px;
	right: 10px;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: #222;
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
	transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.fm-qs-eye:hover {
	background: #000;
}

.fm-qs-eye svg {
	display: block;
	width: 20px;
	height: 20px;
}

/* Mouse devices: everything appears on hover. Touch devices: heart + eye always visible, no bar. */
@media (hover: hover) and (pointer: fine) {
	.fm-qs-eye {
		opacity: 0;
		transform: translateY(-4px);
	}

	.woocommerce ul.products li.product:hover .fm-qs-eye,
	.woocommerce ul.products li.product:focus-within .fm-qs-eye {
		opacity: 1;
		transform: none;
	}

	/* "Quickshop" tooltip */
	.fm-qs-eye::after {
		content: attr(data-tip);
		position: absolute;
		top: 50%;
		right: calc(100% + 8px);
		padding: 2px 8px;
		background: #fff;
		border: 1px solid #767676;
		font-family: var(--fm-font-body);
		font-size: 0.78rem;
		line-height: 1.5;
		color: #000;
		white-space: nowrap;
		transform: translateY(-50%);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.15s ease;
	}

	.fm-qs-eye:hover::after {
		opacity: 1;
	}

	/* White ADD TO CART bar across the bottom of the picture */
	.woocommerce ul.products li.product .button {
		position: absolute;
		top: calc(100cqw * 470 / 362 - 58px);
		left: 16px;
		right: 16px;
		z-index: 5;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 42px;
		margin: 0;
		padding: 0;
		background: #fff;
		color: var(--fm-ink);
		border: 0;
		border-radius: 0;
		font-family: var(--fm-font-body);
		font-size: 0.8rem;
		font-weight: 600;
		letter-spacing: 0.22em;
		text-transform: uppercase;
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
		cursor: pointer;
	}

	.woocommerce ul.products li.product:hover .button,
	.woocommerce ul.products li.product:focus-within .button {
		opacity: 1;
		transform: none;
	}

	.woocommerce ul.products li.product .button:hover {
		background: #222;
		color: #fff;
	}
}

/* Touch screens: the eye opens the quick shop, so the card needs no extra button */
@media (hover: none), (pointer: coarse) {
	.woocommerce ul.products li.product .button {
		display: none;
	}
}

/* ==========================================================================
   Best Sellers (homepage) — arrows outside the row, portrait pictures
   ========================================================================== */
.fm-home-bestsellers .fm-section-title {
	margin-bottom: 50px;
}

@media screen and (min-width: 783px) {
	.fm-home-bestsellers .fm-car-wrap {
		width: min(1540px, calc(100% - 200px));
		margin: 0 auto;
	}

	.fm-home-bestsellers .fm-car-prev { left: -58px; }
	.fm-home-bestsellers .fm-car-next { right: -58px; }
}

@media screen and (max-width: 782px) {
	.fm-home-bestsellers .fm-car-prev { left: 6px; }
	.fm-home-bestsellers .fm-car-next { right: 6px; }
}

/* ==========================================================================
   "You may also like" (product page) — bleeds off the right edge, arrows on the pictures
   ========================================================================== */
.single-product .related .fm-car-wrap,
.single-product .up-sells .fm-car-wrap {
	container-type: inline-size;
	position: relative;
}

.single-product .related ul.products,
.single-product .up-sells ul.products {
	margin-right: calc(-1 * max(0px, (100vw - 100%) / 2 - 20px));
}

.single-product .related ul.products li.product,
.single-product .up-sells ul.products li.product {
	flex-basis: calc((100cqw - 90px) / 4);
}

@media screen and (max-width: 782px) {
	.single-product .related ul.products li.product,
	.single-product .up-sells ul.products li.product {
		flex-basis: calc((100cqw - 14px) / 2);
	}
}

/* ==========================================================================
   Floating add-to-cart bar (product page)
   ========================================================================== */
.fm-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 890; /* under the Rewards button, over the page */
	background: #262626;
	color: #fff;
	visibility: hidden;
	transform: translateY(100%);
	transition: transform 0.3s ease, visibility 0.3s;
}

.fm-sticky-atc.is-visible {
	visibility: visible;
	transform: translateY(0);
}

body.fm-sticky-atc-on .site-footer {
	padding-bottom: 84px;
}

.fm-sticky-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	width: calc(100% - 40px);
	max-width: 1170px;
	margin: 0 auto;
	padding: 10px 0;
	box-sizing: border-box;
}

.fm-sticky-img {
	flex: 0 0 auto;
	width: 66px;
	height: 66px;
	object-fit: cover;
}

.fm-sticky-info {
	display: flex;
	flex: 0 1 380px;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	font-family: var(--fm-font-body);
}

.fm-sticky-name {
	overflow: hidden;
	font-size: 1rem;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fm-sticky-price {
	font-size: 0.98rem;
	font-weight: 600;
}

.fm-sticky-price del {
	opacity: 0.6;
}

.fm-sticky-price ins {
	background: none;
	text-decoration: none;
}

.fm-sticky-field {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-family: var(--fm-font-body);
}

.fm-sticky-label {
	font-size: 0.7rem;
	font-weight: 600;
}

.fm-sticky-field select {
	padding: 0;
	background: transparent;
	border: 0;
	outline: 0;
	font-family: var(--fm-font-body);
	font-size: 0.95rem;
	color: #fff;
	cursor: pointer;
}

.fm-sticky-field select option {
	color: #000;
}

.fm-sticky-btn {
	flex: 0 0 auto;
	min-width: 190px;
	height: 48px;
	margin-left: auto;
	padding: 0 2em;
	background: #fff;
	color: #111;
	border: 0;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
}

.fm-sticky-btn:hover {
	background: #e9e9e9;
}

@media screen and (max-width: 782px) {
	.fm-sticky-inner {
		gap: 10px;
		width: calc(100% - 24px);
	}

	.fm-sticky-img {
		width: 46px;
		height: 46px;
	}

	.fm-sticky-name {
		display: none;
	}

	.fm-sticky-info {
		flex: 1 1 auto;
	}

	.fm-sticky-btn {
		min-width: 0;
		height: 44px;
		padding: 0 1.2em;
		font-size: 0.72rem;
		letter-spacing: 0.14em;
	}
}

/* ==========================================================================
   Quick shop popup
   ========================================================================== */
.fm-qs {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.25s ease, visibility 0.25s;
}

.fm-qs.is-open {
	visibility: visible;
	opacity: 1;
}

body.fm-qs-lock {
	overflow: hidden;
}

.fm-qs-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.fm-qs-dialog {
	position: relative;
	width: min(960px, calc(100% - 40px));
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: var(--fm-white);
}

.fm-qs-close {
	position: absolute;
	top: 12px;
	right: 16px;
	z-index: 3;
	padding: 0;
	background: none;
	border: 0;
	font-size: 2rem;
	font-weight: 300;
	line-height: 1;
	color: var(--fm-ink);
	cursor: pointer;
}

.fm-qs-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.fm-qs-loading {
	grid-column: 1 / -1;
	padding: 90px 20px;
	margin: 0;
	text-align: center;
	font-family: var(--fm-font-body);
	color: #666;
}

.fm-qs-media {
	position: relative;
	min-height: 520px;
	background: #f4f4f2;
}

.fm-qs-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fm-qs-info {
	padding: 36px 40px 30px;
	font-family: var(--fm-font-body);
}

.fm-qs-title {
	margin: 0 30px 34px 0;
	font-family: var(--fm-font-serif);
	font-size: 1.35rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.55;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-qs-price {
	margin-bottom: 16px;
	font-size: 1.5rem;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-qs-price del {
	font-size: 1.1rem;
	opacity: 0.55;
}

.fm-qs-price ins {
	background: none;
	text-decoration: none;
}

.fm-qs-desc {
	margin: 0 0 24px;
	font-size: 0.95rem;
	line-height: 1.9;
	color: #666;
}

.fm-qs-attr {
	margin-bottom: 24px;
}

.fm-qs-attr-label {
	margin-bottom: 10px;
	font-size: 0.95rem;
	color: var(--fm-ink);
}

.fm-qs-attr-value {
	margin-left: 6px;
	color: #777;
}

.fm-qs-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fm-qs-swatch {
	padding: 0.65em 1em;
	background: var(--fm-white);
	border: 1px solid #d0d0d0;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.9rem;
	line-height: 1.2;
	color: var(--fm-ink);
	cursor: pointer;
}

.fm-qs-swatch:hover {
	border-color: #888;
}

.fm-qs-swatch.is-selected {
	border-color: #000;
	box-shadow: inset 0 0 0 1px #000;
}

.fm-qs-buy {
	display: flex;
	gap: 20px;
	margin-bottom: 8px;
}

.fm-qs-qty {
	display: inline-flex;
	align-items: stretch;
	height: 52px;
	border: 1px solid #d0d0d0;
}

.fm-qs-qty-btn {
	width: 34px;
	padding: 0;
	background: none;
	border: 0;
	font-size: 1.05rem;
	color: var(--fm-ink);
	cursor: pointer;
}

.fm-qs-qty-input {
	width: 38px;
	padding: 0;
	background: transparent;
	border: 0;
	text-align: center;
	font-family: var(--fm-font-body);
	font-size: 0.95rem;
	-moz-appearance: textfield;
	appearance: textfield;
}

.fm-qs-qty-input::-webkit-inner-spin-button,
.fm-qs-qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.fm-qs-add-btn {
	flex: 1;
	height: 52px;
	padding: 0 1em;
	background: #262626;
	color: #fff;
	border: 0;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
}

.fm-qs-add-btn:hover {
	background: #000;
}

.fm-qs-add-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.fm-qs-add-btn.loading {
	opacity: 0.6;
}

.fm-qs-msg {
	min-height: 1.2em;
	margin: 6px 0 0;
	font-size: 0.8rem;
	color: #b3261e;
}

.fm-qs-meta {
	margin: 26px 0 0;
}

.fm-qs-meta-row {
	display: flex;
	margin-bottom: 8px;
	font-size: 0.8rem;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-qs-meta-row dt {
	flex: 0 0 80px;
	margin: 0;
}

.fm-qs-meta-row dd {
	margin: 0;
}

.fm-qs-details {
	display: inline-block;
	margin-top: 22px;
	font-size: 0.85rem;
	color: #aaa;
	text-decoration: none;
}

.fm-qs-details:hover {
	color: var(--fm-ink);
}

@media screen and (max-width: 782px) {
	.fm-qs-dialog {
		width: calc(100% - 24px);
		max-height: calc(100vh - 24px);
	}

	.fm-qs-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.fm-qs-media {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.fm-qs-info {
		padding: 22px 20px 24px;
	}

	.fm-qs-title {
		margin-bottom: 18px;
		font-size: 1.1rem;
	}

	.fm-qs-close {
		color: #fff;
		text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
	}
}


/* ==========================================================================
   Notify me when back in stock (product page)
   ========================================================================== */
.fm-notify {
	margin: 22px 0 0;
	padding: 20px;
	background: #f7f5f0;
	border: 1px solid var(--fm-border);
	box-sizing: border-box;
}

.fm-notify[hidden] {
	display: none;
}

.fm-notify-title {
	margin: 0 0 6px;
	font-family: var(--fm-font-serif);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-notify-text {
	margin: 0 0 14px;
	font-family: var(--fm-font-body);
	font-size: 0.85rem;
	line-height: 1.6;
	color: #666;
}

.fm-notify-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fm-notify-email {
	flex: 1 1 200px;
	min-width: 0;
	height: 46px;
	padding: 0 12px;
	background: var(--fm-white);
	border: 1px solid #cfcfcf;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.9rem;
	box-sizing: border-box;
}

.fm-notify-btn {
	height: 46px;
	padding: 0 1.5em;
	background: #222;
	color: #fff;
	border: 0;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
}

.fm-notify-btn:hover {
	background: #000;
}

.fm-notify-btn:disabled {
	opacity: 0.5;
	cursor: wait;
}

.fm-notify-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.fm-notify-msg {
	min-height: 0;
	margin: 0;
	font-family: var(--fm-font-body);
	font-size: 0.82rem;
	color: #2e7d32;
}

.fm-notify-msg:not(:empty) {
	margin-top: 10px;
}

.fm-notify-msg.is-error {
	color: #b3261e;
}

/* An out-of-stock size: no quantity or add-to-cart buttons, just the notify box */
.single-product form.fm-oos .woocommerce-variation-add-to-cart {
	display: none;
}

/* ==========================================================================
   Live search results (inside the search drawer)
   ========================================================================== */
.fm-ls {
	margin-top: 26px;
	max-height: calc(100vh - 230px);
	overflow-y: auto;
	text-align: left;
}

/* the browser's own clear (x) button is not wanted inside the drawer */
.mobile-branding-search .search-field::-webkit-search-cancel-button {
	-webkit-appearance: none;
	display: none;
}

.fm-ls[hidden] {
	display: none;
}

.fm-ls-label {
	margin: 0 0 18px;
	font-family: var(--fm-font-serif);
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #777;
}

.fm-ls-item {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 22px;
	color: var(--fm-ink);
	text-decoration: none;
}

.fm-ls-item img {
	flex: 0 0 72px;
	width: 72px;
	height: 92px;
	object-fit: cover;
}

.fm-ls-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}

.fm-ls-title {
	font-family: var(--fm-font-serif);
	font-size: 1.05rem;
	letter-spacing: 0.09em;
	line-height: 1.35;
	text-transform: uppercase;
}

.fm-ls-price {
	font-family: var(--fm-font-serif);
	font-size: 1rem;
	letter-spacing: 0.04em;
}

.fm-ls-price del {
	opacity: 0.55;
}

.fm-ls-price ins {
	background: none;
	text-decoration: none;
}

.fm-ls-none {
	margin: 0 0 20px;
	font-family: var(--fm-font-body);
	font-size: 0.9rem;
	color: #666;
}

.fm-ls-all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 26px;
	padding: 22px 30px;
	background: #eeeff1;
	color: #555;
	font-family: var(--fm-font-body);
	font-size: 1rem;
	text-decoration: none;
}

.fm-ls-all-text {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Search results page
   ========================================================================== */
.fm-search-title {
	margin: 44px 0 28px;
	text-align: center;
	font-family: var(--fm-font-serif);
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

/* Search box with the label sitting on the border */
.fm-search-box {
	position: relative;
	max-width: 560px;
	margin: 0 auto 44px;
}

.fm-search-box-label {
	position: absolute;
	top: -10px;
	left: 10px;
	padding: 0 6px;
	background: var(--fm-white);
	font-family: var(--fm-font-body);
	font-size: 0.78rem;
	color: #555;
}

.fm-search-box input[type="search"] {
	width: 100%;
	height: 48px;
	padding: 0 52px 0 12px;
	background: var(--fm-white);
	border: 1px solid #cfcfcf;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 1rem;
	box-sizing: border-box;
}

.fm-search-box button {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 48px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--fm-ink);
	cursor: pointer;
}

/* Filter / sort bar */
.fm-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 36px;
}

.fm-filter-left,
.fm-filter-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.fm-filter-label {
	margin-right: 4px;
	font-family: var(--fm-font-serif);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-filter {
	position: relative;
}

.fm-filter summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	background: var(--fm-white);
	border: 1px solid #d9d9d9;
	font-family: var(--fm-font-body);
	font-size: 1rem;
	color: var(--fm-ink);
	cursor: pointer;
	list-style: none;
}

.fm-filter summary::-webkit-details-marker {
	display: none;
}

.fm-filter summary::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.fm-filter[open] summary::after {
	margin-top: 3px;
	transform: rotate(-135deg);
}

.fm-filter-panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 220px;
	padding: 16px;
	background: var(--fm-white);
	border: 1px solid #d9d9d9;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	font-family: var(--fm-font-body);
	font-size: 0.95rem;
}

.fm-filter-panel label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.fm-filter-price label span {
	flex: 0 0 40px;
}

.fm-filter-price input {
	width: 100%;
	padding: 8px;
	border: 1px solid #cfcfcf;
	font-family: var(--fm-font-body);
	box-sizing: border-box;
}

.fm-filter-apply {
	height: 40px;
	background: #222;
	color: #fff;
	border: 0;
	font-family: var(--fm-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
}

.fm-sort-label {
	font-family: var(--fm-font-body);
	font-size: 1rem;
	color: var(--fm-ink);
}

.fm-sort {
	padding: 8px 30px 8px 6px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #cfcfcf;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 1rem;
	color: var(--fm-ink);
	cursor: pointer;
}

.fm-results-count {
	margin-left: 18px;
	font-family: var(--fm-font-serif);
	font-size: 1rem;
	color: #777;
}

.fm-search-empty {
	padding: 50px 0;
	text-align: center;
	font-family: var(--fm-font-body);
	color: #666;
}

.fm-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 60px;
	padding: 0;
	list-style: none;
}

.fm-pagination a,
.fm-pagination span {
	display: block;
	min-width: 38px;
	padding: 8px 12px;
	border: 1px solid #d9d9d9;
	text-align: center;
	font-family: var(--fm-font-body);
	color: var(--fm-ink);
	text-decoration: none;
}

.fm-pagination .current {
	background: #222;
	border-color: #222;
	color: #fff;
}

@media screen and (max-width: 782px) {
	.fm-search-title {
		margin-top: 28px;
		font-size: 1.4rem;
		letter-spacing: 0.16em;
	}

	.fm-filter-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.fm-results-count {
		margin-left: 6px;
	}

	.fm-ls-item {
		gap: 16px;
	}

	.fm-ls-all {
		padding: 18px 20px;
	}
}

/* ==========================================================================
   Social feed: grid + lightbox
   ========================================================================== */
.fm-sf-grid {
	display: grid;
	grid-template-columns: repeat(var(--fm-sf-cols, 6), minmax(0, 1fr));
	gap: 1px;
	max-width: 960px;
	margin: 0 auto;
}

.fm-sf-item {
	position: relative;
	display: block;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: #2a2a2a;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}

.fm-sf-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.fm-sf-item:hover img {
	transform: scale(1.04);
}

.fm-sf-play,
.fm-sf-badge {
	position: absolute;
	display: flex;
	color: #fff;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.fm-sf-play {
	top: 8px;
	right: 8px;
}

.fm-sf-badge {
	bottom: 8px;
	left: 8px;
}

.fm-sf-over {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-family: var(--fm-font-body);
	font-size: 0.8rem;
	text-transform: capitalize;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.fm-sf-item:hover .fm-sf-over,
.fm-sf-item:focus-visible .fm-sf-over {
	opacity: 1;
}

body.fm-lb-lock {
	overflow: hidden;
}

.fm-lb {
	position: fixed;
	inset: 0;
	z-index: 100001; /* above the cart drawer and quick shop */
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.88);
}

.fm-lb[hidden] {
	display: none;
}

.fm-lb-dialog {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	width: min(990px, 92vw);
	height: min(860px, 90vh);
	overflow: hidden;
	background: var(--fm-white);
	border-radius: 16px;
}

.fm-lb-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	background: #111;
}

.fm-lb-image,
.fm-lb-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fm-lb-frame {
	width: 100%;
	height: 100%;
	border: 0;
}

.fm-lb-mute {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	background: rgba(0, 0, 0, 0.55);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
}

.fm-lb-side {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	font-family: var(--fm-font-body);
	color: #262626;
}

.fm-lb-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 14px;
	border-bottom: 1px solid #efefef;
}

.fm-lb-avatar {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 50%;
	background: #222;
}

.fm-lb-name {
	font-size: 1rem;
	font-weight: 600;
}

.fm-lb-body {
	flex: 1;
	min-height: 0;
	padding: 26px 24px;
	overflow-y: auto;
}

.fm-lb-caption {
	margin: 0 0 18px;
	font-size: 0.95rem;
	line-height: 1.7;
	white-space: pre-wrap;
	word-break: break-word;
}

.fm-lb-caption a {
	color: #262626;
	text-decoration: underline;
}

.fm-lb-link {
	font-size: 0.85rem;
	color: #0a66c2;
	text-decoration: none;
}

.fm-lb-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding: 12px 24px;
	border-top: 1px solid #efefef;
}

.fm-lb-stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
}

.fm-lb-stat em {
	font-style: normal;
	color: #777;
	text-transform: capitalize;
}

.fm-lb-date {
	padding: 12px 24px;
	border-top: 1px solid #efefef;
	text-align: center;
	font-size: 0.78rem;
	color: #777;
}

.fm-lb-close,
.fm-lb-nav {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
}

.fm-lb-close {
	top: 22px;
	right: 28px;
}

.fm-lb-nav {
	top: 50%;
	transform: translateY(-50%);
}

.fm-lb-prev { left: 18px; }
.fm-lb-next { right: 18px; }

.fm-lb-close[hidden],
.fm-lb-nav[hidden] {
	display: none;
}

@media screen and (max-width: 782px) {
	.fm-sf-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.fm-lb-dialog {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(0, 46%) minmax(0, 1fr);
		width: calc(100vw - 20px);
		height: calc(100vh - 80px);
	}

	.fm-lb-head {
		padding: 10px 14px;
	}

	.fm-lb-body {
		padding: 16px 18px;
	}

	.fm-lb-nav {
		top: auto;
		bottom: 14px;
		transform: none;
	}

	.fm-lb-prev { left: 14px; }
	.fm-lb-next { right: 14px; }
}


/* ==========================================================================
   No sidebar / widget area on any page (WordPress' default Search, Recent Posts,
   Recent Comments, Archives, Categories widgets)
   ========================================================================== */
#secondary,
.widget-area {
	display: none !important;
}


/* Instagram plugin feed (Smash Balloon etc.) sits in the same section */
.fm-ig-feed {
	max-width: 960px;
	margin: 0 auto;
}

/* ==========================================================================
   404 page
   ========================================================================== */
.fm-404 {
	padding: 70px 0 30px;
	text-align: center;
}

.fm-404-code {
	margin: 0;
	font-family: var(--fm-font-serif);
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 300;
	letter-spacing: 0.12em;
	line-height: 1;
	color: var(--fm-gold);
}

.fm-404-title {
	margin: 14px 0 16px;
	font-family: var(--fm-font-serif);
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-404-text {
	max-width: 520px;
	margin: 0 auto 28px;
	font-family: var(--fm-font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: #555;
}

.fm-404-search {
	display: flex;
	gap: 8px;
	max-width: 520px;
	margin: 0 auto 26px;
}

.fm-404-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	background: var(--fm-white);
	border: 1px solid #cfcfcf;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 1rem;
	box-sizing: border-box;
}

.fm-404-search button,
.fm-404-btn {
	height: 48px;
	padding: 0 1.8em;
	background: #222;
	color: #fff;
	border: 1px solid #222;
	border-radius: 0;
	font-family: var(--fm-font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 46px;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.fm-404-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 60px;
}

.fm-404-btn {
	display: inline-block;
	background: transparent;
	color: #222;
}

.fm-404-btn:hover {
	background: #222;
	color: #fff;
}

.fm-404-btn-dark {
	background: #222;
	color: #fff;
}

.fm-404-products {
	text-align: left;
}

/* ==========================================================================
   Mobile bottom bar + hamburger-menu account links
   ========================================================================== */
.fm-bottom {
	display: none;
}

/* My Account / Logout only live in the hamburger menu */
.main-navigation .fm-menu-account {
	display: none;
}

/* Hamburger menu width */
@media screen and (max-width: 991px) {
	.main-navigation .fm-menu-account {
		display: block;
	}

	.main-navigation .fm-menu-logout a {
		color: #b3261e;
	}
}

/* Bottom bar: phones and tablets (991px and below) */
@media screen and (max-width: 991px) {
	:root {
		--fm-bottom-h: 58px;
	}

	.fm-bottom {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 850;
		box-sizing: content-box;
		height: var(--fm-bottom-h);
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--fm-white);
		border-top: 1px solid var(--fm-border);
	}

	.fm-bottom a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		color: #666;
		font-family: var(--fm-font-body);
		font-size: 0.68rem;
		font-weight: 500;
		letter-spacing: 0.06em;
		text-decoration: none;
		text-transform: uppercase;
	}

	.fm-bottom a:hover,
	.fm-bottom a.is-current {
		color: var(--fm-ink);
	}

	.fm-bottom a.is-current {
		font-weight: 600;
	}

	.fm-bottom__ico {
		position: relative;
		display: inline-flex;
	}

	.fm-bottom__ico .fm-cart-count {
		position: absolute;
		top: -6px;
		right: auto;
		left: 12px;
		min-width: 16px;
		height: 16px;
		padding: 0 4px;
		box-sizing: border-box;
		border-radius: 999px;
		background: var(--fm-gold);
		color: var(--fm-white);
		font-size: 0.62rem;
		line-height: 1;
		letter-spacing: 0;
	}

	/* Keep page content, the sticky add-to-cart bar and the footer clear of the bar */
	body {
		padding-bottom: calc(var(--fm-bottom-h) + env(safe-area-inset-bottom));
	}

	.fm-sticky-atc {
		bottom: calc(var(--fm-bottom-h) + env(safe-area-inset-bottom));
	}
}

/* ==========================================================================
   "All Categories" panel (Shop tab of the bottom bar, 991px and below)
   ========================================================================== */
.fm-catnav,
.fm-catnav-backdrop {
	display: none;
}

@media screen and (max-width: 991px) {
	.fm-catnav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 99995;
		background: rgba(0, 0, 0, 0.45);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s;
	}

	.fm-catnav {
		display: block;
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 99996;
		width: min(88vw, 360px);
		overflow-y: auto;
		background: var(--fm-white);
		color: var(--fm-ink);
		font-family: var(--fm-font-body);
		transform: translateX(-102%);
		visibility: hidden;
		transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
	}

	body.fm-catnav-open {
		overflow: hidden;
	}

	body.fm-catnav-open .fm-catnav {
		transform: none;
		visibility: visible;
	}

	body.fm-catnav-open .fm-catnav-backdrop {
		opacity: 1;
		visibility: visible;
	}

	.fm-catnav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 18px;
		background: var(--fm-backcol);
		border-bottom: 1px solid var(--fm-border);
	}

	.fm-catnav__title {
		font-family: var(--fm-font-serif);
		font-size: 1.1rem;
		font-weight: 500;
		letter-spacing: 0.2em;
		text-transform: uppercase;
	}

	.fm-catnav__close {
		padding: 0;
		background: none;
		border: 0;
		font-size: 2rem;
		line-height: 1;
		color: var(--fm-ink);
		cursor: pointer;
	}

	.fm-catnav__all {
		display: block;
		padding: 14px 18px;
		border-bottom: 1px solid var(--fm-border);
		font-size: 0.85rem;
		font-weight: 600;
		letter-spacing: 0.14em;
		text-decoration: underline;
		text-transform: uppercase;
		color: var(--fm-ink);
	}

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

	.fm-catnav li {
		display: flex;
		flex-wrap: wrap;
		border-bottom: 1px solid var(--fm-border);
	}

	.fm-catnav li a {
		flex: 1 1 0;
		min-width: 0;
		padding: 15px 18px;
		font-size: 1rem;
		color: var(--fm-ink);
		text-decoration: none;
	}

	.fm-catnav .fm-sub-toggle {
		display: grid;
		place-items: center;
		flex: none;
		align-self: stretch;
		width: 52px;
		padding: 0;
		background: none;
		border: 0;
		color: #666;
		cursor: pointer;
	}

	.fm-catnav .fm-sub-toggle svg {
		transform: rotate(-90deg);
		transition: transform 0.2s;
	}

	.fm-catnav li.is-open > .fm-sub-toggle svg {
		transform: none;
	}

	.fm-catnav .fm-cat-sub {
		display: none;
		flex: 0 0 100%;
		background: var(--fm-backcol);
	}

	.fm-catnav li.is-open > .fm-cat-sub {
		display: block;
	}

	.fm-catnav .fm-cat-sub li:last-child {
		border-bottom: 0;
	}

	.fm-catnav .fm-cat-sub a {
		padding-left: 32px;
		font-size: 0.95rem;
	}

	.fm-catnav .fm-cat-sub .fm-cat-sub a {
		padding-left: 48px;
	}
}

/*--------------------------------------------------------------
  Back to top button (bottom-right). Moved here from the Rewards plugin.
  Colours come from Appearance > Customize > Floating Buttons.
  While it shows, the plugin's Rewards button slides left.
--------------------------------------------------------------*/
:root {
	--fm-top-bg: #000000;
	--fm-top-arrow: #ffffff;
}

.fm-top {
	position: fixed;
	right: 18px;
	bottom: 22px;
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: var(--fm-top-bg);
	color: var(--fm-top-arrow);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.fm-top svg {
	display: block;
	width: 24px;
	height: 24px;
}

.fm-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.fm-top:hover,
.fm-top:focus {
	transform: translateY(-2px);
}

/* Rewards button makes room: 18px edge + 44px arrow + 12px gap */
.fm-has-top .wprs-rewards-btn,
.fm-has-top .wprs-rewards-btn:visited {
	right: 74px;
}

@media (prefers-reduced-motion: reduce) {
	.fm-top {
		transition: none;
	}
}


/*--------------------------------------------------------------
  Floating buttons (Rewards button, its restore tab, back to top):
  stable positions, clear of the mobile bottom bar, hidden behind drawers.
  Placed with CSS only (no script moves them), so they never jump.
--------------------------------------------------------------*/
@media screen and (max-width: 991px) {
	html .fm-top,
	html .wprs-rewards-btn,
	html .wprs-rewards-btn:visited,
	html .wprs-rw-show {
		bottom: calc(var(--fm-bottom-h, 58px) + env(safe-area-inset-bottom, 0px) + 20px);
	}

	/* The panel opens above the button */
	html .wprs-rw-panel {
		bottom: calc(var(--fm-bottom-h, 58px) + env(safe-area-inset-bottom, 0px) + 74px);
		max-height: calc(100vh - var(--fm-bottom-h, 58px) - 100px);
	}
}

/* Restore tab makes room for the arrow too */
.fm-has-top .wprs-rw-show {
	right: 74px;
}

/* Hamburger menu, All Categories panel, cart drawer and quick shop: buttons step aside */
body.fm-menu-open .fm-top,
body.fm-menu-open .wprs-rewards-btn,
body.fm-menu-open .wprs-rw-panel,
body.fm-menu-open .wprs-rw-show,
body.fm-catnav-open .fm-top,
body.fm-catnav-open .wprs-rewards-btn,
body.fm-catnav-open .wprs-rw-panel,
body.fm-catnav-open .wprs-rw-show,
body.fm-cart-open .fm-top,
body.fm-cart-open .wprs-rewards-btn,
body.fm-cart-open .wprs-rw-panel,
body.fm-cart-open .wprs-rw-show,
body.fm-qs-lock .fm-top,
body.fm-qs-lock .wprs-rewards-btn,
body.fm-qs-lock .wprs-rw-panel,
body.fm-qs-lock .wprs-rw-show {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Touch screens: no sticky hover lift on the floating buttons */
@media (hover: none) {
	.fm-top:hover,
	.fm-top:focus,
	.wprs-rewards-btn:hover,
	.wprs-rewards-btn:focus {
		transform: none;
	}
}
