/* ==========================================================================
   Fairway Masters - shared base styles (fonts, resets, shared components)
   ========================================================================== */
body {
  margin: 0;
  background: var(--fm-body-bg);
  color: #25251f;
  font-family: "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--fm-green-link);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

/* Neutralise the browser's own autofill/saved-password styling (the forced
   light blue/yellow background + black text) on every input sitewide, whatever
   theme it belongs to. Using currentColor keeps text readable in both the dark
   underline inputs and the light boxed inputs without per-theme overrides; the
   absurdly long transition is the standard trick to stop the forced background
   paint from ever visibly appearing. */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill,
input:-webkit-autofill:hover,
textarea:-webkit-autofill:hover,
select:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill:active,
select:-webkit-autofill:active {
  -webkit-text-fill-color: currentColor;
  caret-color: currentColor;
  transition:
    background-color 600000s 0s,
    color 600000s 0s;
}

h1,
h2 {
  text-wrap: balance;
}

.ff-serif {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

.fm-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}

.fm-ph {
  background-color: #eae0cc;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(28, 51, 43, 0.06) 0 12px,
    transparent 12px 24px
  );
  position: relative;
}

.fm-ph-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  color: #5f6b5c;
  text-transform: uppercase;
  background: rgba(250, 246, 236, 0.72);
  padding: 4px 8px;
  border: 1px solid rgba(28, 51, 43, 0.15);
}

.fm-num {
  font-variant-numeric: tabular-nums;
}

.fm-navlink {
  color: var(--fm-cream-soft) !important;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.4rem 0.62rem !important;
}

.fm-navlink:hover {
  color: #d8b96a !important;
}

.fm-hr-gold {
  height: 1px;
  border: 0;
  background: var(--fm-gold-dark);
  opacity: 0.9;
}

.fm-card {
  background: var(--fm-card-white);
  border: 1px solid rgba(28, 51, 43, 0.12);
  border-radius: 4px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.fm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(28, 51, 43, 0.5);
}

#fmNav {
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.e-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.e-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
  min-height: 32px;
}

.e-ph {
  background-color: #362b17;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.04) 0 14px,
    transparent 14px 28px
  );
  position: relative;
}

#shop .e-ph {
  background-color: var(--fm-white);
}

.e-ph-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: rgba(237, 231, 216, 0.65);
  text-transform: uppercase;
  background: rgba(20, 26, 16, 0.5);
  padding: 3px 7px;
}

.e-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.9rem 1.7rem 0.8rem;
  border-radius: 40px;
  border: 0;
  outline: 0;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.e-pill-gold {
  background: var(--fm-gold);
  color: var(--fm-green-panel);
}

.e-pill-gold:hover {
  transform: translateY(-2px);
  background: #d8b262;
  color: var(--fm-green-panel);
}

.e-pill-ghost {
  background: transparent;
  color: var(--fm-cream-alt);
  border: 1px solid rgba(237, 231, 216, 0.5);
}

.e-pill-ghost:hover {
  border-color: var(--fm-gold);
  color: var(--fm-gold);
}

.e-navlink {
  color: rgba(237, 231, 216, 0.85);
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--fm-gold);
}

.dropdown-menu-parent {
  position: relative;
}

button.nav-link {
  background: none;
  border: 0;
  cursor: pointer;
}

.em-submenu-arrow {
  margin-left: 0.35rem;
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.dropdown-menu-parent:hover .em-submenu-arrow,
.dropdown-menu-parent:focus-within .em-submenu-arrow {
  transform: rotate(180deg);
}

.em-submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: max-content;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  background: rgba(250, 246, 236, 0.96);
  border: 1px solid rgba(28, 51, 43, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 10;
}

.dropdown-menu-parent:hover .em-submenu,
.dropdown-menu-parent:focus-within .em-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1399.98px) {
  .em-submenu-arrow {
    transform: none !important;
  }
  .em-submenu {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    transition:
      max-height 0.25s ease,
      visibility 0.25s ease,
      margin 0.25s ease;
  }
  .dropdown-menu-parent.is-open .em-submenu {
    visibility: visible;
    max-height: 10rem;
    margin: 0.6rem 0 0.3rem 0.5rem;
    padding-left: 1.1rem;
    border-left: 1px solid rgba(var(--fm-cream-alt-rgb), 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-radius: 0;
  }
  .dropdown-menu-parent.is-open .em-submenu-arrow {
    transform: rotate(180deg) !important;
  }
  .em-submenu li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0 !important;
    color: rgba(var(--fm-cream-alt-rgb), 0.7) !important;
    font-size: 0.78rem !important;
  }
  .em-submenu li a::before {
    content: "";
    width: 5px;
    height: 5px;
    background: rgba(var(--fm-cream-alt-rgb), 0.4);
    transition: background 0.2s ease;
  }
  .em-submenu li a:hover,
  .em-submenu li a:focus-visible {
    background: transparent !important;
    color: var(--fm-cream-text) !important;
  }
  .em-submenu li a.active {
    color: var(--fm-gold) !important;
    font-weight: 600;
  }
  .em-submenu li a.active::before {
    background: var(--fm-gold);
  }
}

.em-submenu li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--fm-green-link);
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.em-submenu li a:hover {
  background: #f2e9d2;
  color: var(--fm-gold-dark);
}

.e-swiper {
  --swiper-theme-color: var(--fm-gold);
  --swiper-pagination-bullet-inactive-color: var(--fm-cream-alt);
  --swiper-pagination-bullet-inactive-opacity: 0.35;
}

.e-swiper .swiper-button-next,
.e-swiper .swiper-button-prev {
  color: var(--fm-gold);
}

.e-swiper .swiper-button-next:after,
.e-swiper .swiper-button-prev:after {
  font-size: 1.4rem;
}

.e-swiper .swiper-pagination {
  position: static;
  margin-top: 1.6rem;
}

/* <x-card-row> slider mode (only rendered once a section has more than 4 cards) */
.fm-card-slider {
  padding: 0 0.4rem;
}
.fm-card-slider .swiper-slide {
  height: auto;
}

/* retreat: recreate the stepped panorama - active slide tallest */
#eSwiperRetreat .swiper-wrapper {
  align-items: center;
  height: 400px;
}

#eSwiperRetreat .swiper-slide {
  height: auto;
  align-self: center;
}

#eSwiperRetreat .em-retreat-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

#eSwiperRetreat .e-ph {
  height: 230px;
  /* Slide width (from slidesPerView) won't always match the photos' 3:2
     ratio exactly — object-fit: contain avoids cropping, and a transparent
     background lets any letterbox sliver blend into the section behind it
     instead of showing the placeholder stripe pattern. */
  background: transparent;
  background-image: none;
  transition:
    height 0.6s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
}

#eSwiperRetreat .swiper-slide-active .e-ph {
  height: 400px;
}

#eSwiperRetreat .swiper-slide-prev .e-ph,
#eSwiperRetreat .swiper-slide-next .e-ph {
  height: 300px;
}

/* why: square dots controlling the linked text/image thumb sliders */
.em-why-dots {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
  margin-left: 33px;
}

.em-why-dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border-radius: 0px;
  border: none;
  background: rgba(51, 61, 44, 0.22);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.em-why-dot:hover {
  border-color: var(--fm-gold);
}

.em-why-dot-active {
  background: var(--fm-gold);
  border-color: var(--fm-gold);
}

/* page themes (replace the old per-option wrapping <section>) */
body.theme-emerald {
  background: var(--fm-green-theme);
  font-family: "Poppins", sans-serif;
}

body.theme-classic {
  background: var(--fm-body-bg);
}

/* mobile nav toggle - uses Bootstrap's own navbar-collapse mechanism */
.em-nav-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(237, 231, 216, 0.35);
  border-radius: 3px;
  color: var(--fm-cream-alt);
  background: transparent;
}

.em-nav-toggle:focus {
  box-shadow: none;
}

.em-nav-toggle-icon {
  font-size: 1.3rem;
}

/* tighten the 9-item menu so it fits the row at the xxl (>=1400px) breakpoint */
.em-hero-5 .nav-link.e-navlink {
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  padding: 0;
  white-space: nowrap;
}

@media (max-width: 1399.98px) {
  /* Full-screen right-to-left slide-in menu. Bootstrap's collapse JS animates
     height (and forces display:none while closed), which fights a horizontal
     slide — so height is locked to the viewport with !important (overriding
     the inline height it sets mid-transition) and the open/close motion is
     driven entirely by the transform below instead. */
  .em-hero-nav {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1040;
    width: 100%;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0;
    background: #1a140c;
    padding: 6rem 6vw 2rem;
    gap: 1rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .em-hero-nav.show,
  .em-hero-nav.collapsing {
    transform: translateX(0);
  }

  /* Sits inside the same fixed navbar as the overlay above, so it needs its
     own stacking priority to stay clickable (as the close control) once the
     overlay covers the screen. */
  .em-nav-toggle {
    position: relative;
    z-index: 1041;
  }

  .em-hero-5 {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  .em-hero-9 {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.9rem;
    margin-top: 0.5rem;
    width: 100%;
  }

  .em-hero-9 .e-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Generated component classes (migrated from inline style="" attributes)
   ========================================================================== */

.em-2a-1 {
  background: var(--fm-green-theme);
  font-family: "Poppins", sans-serif;
  margin-bottom: 80px;
}
.em-hero-1 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.em-hero-1.em-hero-1-h60 {
  min-height: 60vh;
}
.em-hero-1.em-hero-1-h70 {
  min-height: 70vh;
}
.em-hero-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fm-hero-plain-bg {
  background: var(--fm-green-theme);
}
.em-hero-3 {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(var(--fm-shadow-alt-rgb), 0.78) 0%,
    rgba(var(--fm-shadow-alt-rgb), 0.32) 40%,
    rgba(var(--fm-shadow-alt-rgb), 0.55) 65%,
    rgba(var(--fm-shadow-alt-rgb), 0.95) 100%
  );
}
.em-hero-4 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 3vw;
  background: transparent;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    padding 0.35s ease;
}

.em-hero-4.is-scrolled {
  background: var(--fm-green-link);
  padding: 0.7rem 3vw;
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.6);
}

.em-hero-5 {
  gap: 1.5rem;
}
.em-hero-6 {
  flex: 0 0 auto;
}
.em-navbar-logo {
  height: 120px;
  width: auto;
  transition: height 0.35s ease;
}

.em-hero-4.is-scrolled .em-navbar-logo {
  height: 80px;
}

@media (max-width: 1399.98px) {
  .em-navbar-logo {
    height: 80px;
  }
  .em-hero-4.is-scrolled .em-navbar-logo {
    height: 60px;
  }
}
.em-hero-9 {
  gap: 0.7rem;
}

@media (min-width: 1400px) {
  .em-hero-4 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .em-hero-6 {
    grid-column: 1;
    justify-self: start;
  }
  .em-hero-4 .em-hero-nav {
    display: contents !important;
  }
  .em-hero-5 {
    grid-column: 2;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .em-hero-9 {
    grid-column: 3;
    justify-self: end;
  }
}
.fm-header-actions-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
}
.fm-header-action {
  position: relative;
}
.fm-header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.35);
  border-radius: 30px;
  background: transparent;
  color: var(--fm-cream-alt);
  font-size: 1.05rem;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.fm-header-icon-btn:hover {
  border-color: var(--fm-gold);
  color: var(--fm-gold);
}
.fm-header-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--fm-gold);
  color: var(--fm-green-panel);
  border-radius: 9px;
  font-size: 0.6rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}
.fm-header-dropdown {
  min-width: 18rem;
  padding: 1.1rem;
  margin-top: 0.75rem !important;
  border: 1px solid rgba(28, 51, 43, 0.12);
  border-radius: 10px;
  background: var(--fm-cream);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.3);
}
@media (max-width: 1399.98px) {
  .fm-header-dropdown {
    left: 0 !important;
    right: auto !important;
    min-width: 0;
    width: max-content;
    max-width: calc(100vw - 2rem);
  }
}
.fm-header-dropdown-title {
  margin: 0 0 0.8rem;
  color: var(--fm-green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fm-header-dropdown-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.fm-header-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.fm-header-dropdown-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    rgba(var(--fm-gold-rgb), 0.16),
    rgba(var(--fm-gold-rgb), 0.05)
  );
}
.fm-header-dropdown-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fm-header-dropdown-thumb i {
  color: rgba(var(--fm-gold-rgb), 0.55);
  font-size: 1.2rem;
}
.fm-header-dropdown-info {
  min-width: 0;
}
.fm-header-dropdown-name {
  margin: 0;
  color: var(--fm-green);
  font-size: 0.82rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fm-header-dropdown-meta {
  margin: 0.15rem 0 0;
  color: #767765;
  font-size: 0.72rem;
}
.fm-header-dropdown-empty {
  margin: 0;
  padding: 0.5rem 0;
  color: #767765;
  font-size: 0.8rem;
  text-align: center;
}
.fm-header-dropdown-viewall {
  display: block;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(28, 51, 43, 0.12);
  color: var(--fm-gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}
.fm-header-dropdown-viewall:hover {
  color: var(--fm-green);
}
.em-hero-10 {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.35);
  border-radius: 30px;
  color: var(--fm-cream-alt);
}
.em-hero-11 {
  font-size: 1.05rem;
}
.em-hero-12 {
  top: -6px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--fm-gold);
  color: var(--fm-green-panel);
  border-radius: 9px;
  font-size: 0.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.em-hero-13 {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 5vw 1rem;
  /* padding:2rem 5vw; */
}
.em-hero-image-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.em-hero-content-swiper {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
}
.em-hero-content-swiper .swiper-slide .em-hero-13 {
  flex: none;
  height: 100%;
}
.em-hero-14 {
  color: rgba(var(--fm-cream-alt-rgb), 0.85);
  margin-bottom: 1.4rem;
}
.em-hero-15 {
  color: #f5efde;
  font-size: clamp(1.95rem, 8vw, 5.75rem);
  line-height: 0.95;
  font-weight: 600;
  margin: 0 0 1.2rem;
  position: relative;
  /* padding: 1.5rem 3rem; */
}
/* .em-hero-15:before {
  width: 100%;
  height: 80%;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  border: 1px solid var(--fm-white);
  border-top: 0;
  border-radius: 50px;
} */
.em-hero-15 img {
  max-width: 700px;
  width: 100%;
}
.em-hero-16 {
  color: var(--fm-gold);
  font-style: italic;
  font-size: clamp(2.6rem, 6.5vw, 4rem);
  line-height: 1;
  font-weight: 500;
  margin: 2rem 0 1.6rem;
}
.em-hero-17 {
  color: rgba(var(--fm-cream-alt-rgb), 0.82);
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1.7;
  max-width: 53rem;
  margin-bottom: 2rem;
  text-wrap: auto;
}
@media (max-width: 1200px) {
  .em-hero-17 {
    font-size: 1.4rem;
  }
}
@media (max-width: 576px) {
  .em-hero-17 {
    font-size: 1.1rem;
  }
}
.em-hero-18 {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3vw;
}
.em-hero-19 {
  color: rgba(var(--fm-cream-alt-rgb), 0.6);
  font-size: 0.58rem;
}
.em-about-1 {
  padding: 4rem 5vw;
}
.em-about-2 {
  color: var(--fm-gold);
  margin-bottom: 1rem;
}
.em-about-3 {
  color: var(--fm-cream-text);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  font-weight: 600;
  margin: 0;
}
.em-about-4 {
  font-style: italic;
  color: var(--fm-gold);
}
.em-about-5 {
  color: rgba(var(--fm-cream-alt-rgb), 0.78);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 34rem;
}
.em-about-6 {
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-radius: 5px;
  overflow: hidden;
  height: 100%;
}
.em-about-6-img {
  display: block;
  overflow: hidden;
}
.em-about-7 {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.em-about-8 {
  padding: 1.4rem;
}
.em-about-9 {
  color: var(--fm-gold);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}
.em-about-10 {
  color: rgba(var(--fm-cream-alt-rgb), 0.7);
  margin-top: 0.4rem;
}
.em-about-11 {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.em-about-12 {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.em-about-13 {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Experience - alternative layout: label overlaid on image, bottom-aligned, blurred glass panel */
.em-aboutalt-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
}
.em-aboutalt-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.em-aboutalt-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1.1rem;
  background: linear-gradient(
    180deg,
    rgba(var(--fm-shadow-rgb), 0) 0%,
    rgba(var(--fm-shadow-rgb), 0.85) 100%
  );
  /* backdrop-filter:blur(5px) saturate(1.15);
  -webkit-backdrop-filter:blur(5px) saturate(1.15); */
  -webkit-mask-image: linear-gradient(180deg, transparent 0px, #000 32px);
  mask-image: linear-gradient(180deg, transparent 0px, #000 32px);
  /* border-top:1px solid rgba(var(--fm-cream-alt-rgb),.14); */
}
.em-aboutalt-label {
  color: var(--fm-cream-text);
  margin: 0;
}
.em-next-championship-1 {
  background: #362e21;
  padding: 6rem 5vw;
}
/* Contact's merged contact_form_header/contact_form section (see
   page.blade.php) happens to reuse this same class, but as the page's very
   first section it now sits inside <main class="fm-no-hero-spacer"> (see
   its own comment) — that already clears the fixed nav, so this instance's
   own top padding only needs to be a small residual, not the full 6rem. */
#contact-form.em-next-championship-1 {
  padding-top: 2rem;
}
.em-next-championship-2 {
  color: var(--fm-cream-text);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 1.2rem;
}
.em-next-championship-3 {
  color: rgba(var(--fm-cream-alt-rgb), 0.78);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 38rem;
  margin: 0 auto 2rem;
}
.em-featured-venue-1 {
  padding: 6rem 5vw 3rem;
  overflow-x: hidden;
}
.em-featured-venue-2 {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 5px;
  object-fit: cover;
}
.em-featured-venue-3 {
  color: var(--fm-cream-text);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 1.2rem;
}
.em-featured-venue-4 {
  color: rgba(var(--fm-cream-alt-rgb), 0.78);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 34rem;
  margin-bottom: 1.6rem;
}
.em-featured-venue-5 {
  max-width: 28rem;
  margin-bottom: 1.8rem;
}
/* Stats size to their own content instead of Bootstrap's fixed col-N width —
   a short value (e.g. "18") in a half-width column left a lot of dead space
   and looked unbalanced whenever the stat list didn't divide evenly into the
   column count. Gutters still come from the row's own g-3/g-4 class.
   Named explicitly (not a [class*="col-"] wildcard) since this class is
   reused in several templates that may have other col-* markup nearby. */
.em-featured-venue-5 > .col-4,
.em-featured-venue-5 > .col-6 {
  flex: 0 0 auto;
  width: auto;
}
.em-featured-venue-6 {
  color: rgba(var(--fm-cream-alt-rgb), 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  min-height: 0;
}
.em-featured-venue-7 {
  color: var(--fm-cream-text);
  font-size: 1.6rem;
  font-weight: 600;
}
.em-featured-venue-8 {
  color: var(--fm-cream-text);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 auto 3rem;
  max-width: 22ch;
}
.fm-photography-section {
  padding: clamp(4rem, 8vw, 6rem) 5vw;
}
.em-eswiperretreat-1 {
  padding: 0 3vw 1rem;
}
.em-eswiperretreat-2 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-3 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-4 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-5 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-6 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-7 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-8 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-9 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-10 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-11 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-12 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-eswiperretreat-13 {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}
.em-why-1 {
  background: var(--fm-cream-alt);
  padding: 6rem 5vw;
}
.fm-gallery-swiper-section {
  padding: 6rem 5vw 5rem;
  overflow-x: hidden;
}
.em-eswiperwhy-1 {
  color: var(--fm-green-theme);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 2.5rem;
}
/* .em-eswiperwhy-2 {
  font-style:italic;
} */
.em-eswiperwhy-3 {
  border-top: 1px solid rgba(var(--fm-green-theme-rgb), 0.25);
  padding-top: 1.6rem;
}
.em-eswiperwhy-4 {
  gap: 1rem;
}
.em-eswiperwhy-5 {
  color: var(--fm-gold);
  font-size: 1.1rem;
  font-weight: 600;
}
.em-eswiperwhy-6 {
  color: var(--fm-green-theme);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.em-eswiperwhy-7 {
  color: var(--fm-sage-dark);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
}
.em-eswiperwhy-8 {
  display: block;
  width: 100%;
  aspect-ratio: 16/11;
  border-radius: 5px;
  object-fit: cover;
}
.em-eswiperwhy-9 {
  display: block;
  width: 100%;
  aspect-ratio: 16/11;
  border-radius: 5px;
  object-fit: cover;
}
.em-eswiperwhy-10 {
  display: block;
  width: 100%;
  aspect-ratio: 16/11;
  border-radius: 5px;
  object-fit: cover;
}

/* Why Fairway Masters - alternative pinned scroll-driven layout */
.em-whyalt-1 {
  background: var(--fm-cream-alt);
  height: 300vh;
  position: relative;
}
.em-whyalt-pin {
  position: sticky;
  top: 0;
  height: 90vh;
  overflow: hidden;
  padding: 8rem 5vw 5rem;
  display: flex;
  align-items: stretch;
}
.em-whyalt-row {
  width: 100%;
}
.em-whyalt-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.em-whyalt-title {
  color: var(--fm-green-theme);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 600;
  margin: 0;
}
.em-whyalt-title-em {
  font-style: italic;
  color: var(--fm-gold);
}
.em-whyalt-stage {
  position: relative;
}
.em-whyalt-items {
  position: relative;
  height: 240px;
}
.em-whyalt-item {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  pointer-events: none;
}
.em-whyalt-item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.em-whyalt-item.is-left {
  transform: translateY(-28px);
}
.em-whyalt-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  color: var(--fm-gold);
  margin-bottom: 0.5rem;
}
.em-whyalt-heading {
  color: var(--fm-green-theme);
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.em-whyalt-desc {
  color: var(--fm-sage-dark);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 30rem;
  margin: 0;
}
.em-whyalt-rail-col {
  display: flex;
  align-items: flex-end;
  flex: 1;
  margin-top: 50px;
}
.em-whyalt-rail {
  position: relative;
  width: 2px;
  height: 100%;
  /* height:240px; */
  background: rgba(var(--fm-green-theme-rgb), 0.15);
}
.em-whyalt-rail-thumb {
  position: absolute;
  left: 0;
  width: 2px;
  height: 33.33%;
  background: var(--fm-green-theme);
  border-radius: 2px;
  transition: top 0.5s ease;
}
.em-whyalt-right {
  display: flex;
  align-items: flex-end;
}
.em-whyalt-image-wrap {
  position: relative;
  width: 100%;
  height: 70vh;
  border-radius: 5px;
  overflow: hidden;
}
.em-whyalt-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(18px) scale(1.02);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.em-whyalt-img.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (max-width: 991.98px) {
  .em-whyalt-1 {
    height: auto;
  }
  .em-whyalt-pin {
    position: static;
    height: auto;
    flex-direction: column;
    padding: 4rem 0;
  }
  .em-whyalt-left {
    height: auto;
  }
  .em-whyalt-rail-col {
    display: none;
  }
  .em-whyalt-items {
    height: auto;
    margin-top: 2rem;
  }
  .em-whyalt-item {
    position: static;
    opacity: 1;
    transform: none;
    display: none;
  }
  .em-whyalt-item.is-active {
    display: block;
  }
  .em-whyalt-right {
    margin-top: 2rem;
  }
  .em-whyalt-image-wrap {
    height: auto;
    aspect-ratio: 4/3;
  }
}
.em-tournament-experience-1 {
  color: var(--fm-gold);
}
.em-tournament-experience-2 {
  color: var(--fm-gold);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
}
.em-tournament-experience-3 {
  color: var(--fm-cream-text);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  margin: 0;
}
.em-tournament-experience-4 {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.em-tournament-experience-5 {
  padding: 1.3rem;
}
.em-tournament-experience-6 {
  color: var(--fm-cream-text);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
}
.em-tournament-experience-7 {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.em-tournament-experience-8 {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.em-tournament-experience-9 {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* equal-height cards inside the Day Programme slider */
#eSwiperProgramme .swiper-slide {
  height: auto;
}
#eSwiperProgramme .em-about-6 {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#eSwiperProgramme .em-tournament-experience-5 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Day Programme - alternative timeline/itinerary layout */
.em-day-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.em-day-item {
  display: grid;
  grid-template-columns: 84px 24px 1fr;
  column-gap: 1.5rem;
}
.em-day-time {
  text-align: right;
  padding-top: 0.15rem;
  color: var(--fm-cream-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
}
.em-day-time span {
  display: block;
  margin-top: 0.15rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--fm-gold);
}
.em-day-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.em-day-rail::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: -2.4rem;
  width: 1px;
  background: rgba(var(--fm-cream-alt-rgb), 0.18);
}
.em-day-item-last .em-day-rail::before {
  display: none;
}
.em-day-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--fm-green-panel);
  border: 2px solid var(--fm-gold);
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
}
.em-day-content {
  padding-bottom: 2.6rem;
}
.em-day-item-last .em-day-content {
  padding-bottom: 0;
}
.em-day-title {
  color: var(--fm-cream-text);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}
.em-day-desc {
  color: rgba(var(--fm-cream-alt-rgb), 0.7);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  max-width: 34rem;
}
@media (max-width: 575.98px) {
  .em-day-item {
    grid-template-columns: 64px 20px 1fr;
    column-gap: 1rem;
  }
  .em-day-time {
    font-size: 1.05rem;
  }
}

.em-shop-1 {
  color: var(--fm-cream-text);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  margin-top: 0.6rem;
}
.em-shop-2 {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.em-shop-3 {
  padding: 1.2rem;
}
.em-shop-4 {
  color: var(--fm-cream-text);
  font-size: 1.2rem;
  font-weight: 600;
}
.em-shop-5 {
  color: rgba(var(--fm-cream-alt-rgb), 0.6);
  font-size: 0.82rem;
  margin: 0.2rem 0 0;
  font-weight: 300;
}
.em-shop-6 {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.em-shop-7 {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.em-shop-8 {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.em-news-1 {
  color: #8a744a;
}
.em-news-2 {
  color: var(--fm-green-theme);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  margin-top: 0.6rem;
}
.em-news-3 {
  background: transparent;
  color: var(--fm-green-theme);
  border: 1px solid var(--fm-green-theme);
}
.em-news-4 {
  background: var(--fm-card-white);
  border: 1px solid rgba(var(--fm-green-theme-rgb), 0.12);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.em-news-5 {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.em-news-6 {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.em-news-7 {
  color: var(--fm-gold-dark);
  gap: 0.5rem;
}
.em-news-8 {
  color: var(--fm-green-theme);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.6rem 0 0.4rem;
}
.em-news-9 {
  color: var(--fm-sage-dark);
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
  min-height: 4.8em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.em-news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--fm-gold-dark);
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 0.2s ease;
}
.em-news-4:hover .em-news-readmore {
  gap: 0.65rem;
}
.em-news-10 {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.em-news-11 {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.em-partners-1 {
  background: var(--fm-green-panel);
  padding: 6rem 5vw;
}
.em-partners-2 {
  color: var(--fm-cream-text);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  margin: 0.8rem 0 1rem;
}
.em-partners-3 {
  color: rgba(var(--fm-cream-alt-rgb), 0.72);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.78;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.em-partners-4 {
  height: 80px;
  border-radius: 4px;
}
.em-register-1 {
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-radius: 6px;
}
.em-register-2 {
  padding: clamp(2rem, 4vw, 3.5rem);
}
.em-register-3 {
  color: var(--fm-cream-text);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 1.8rem;
}
.em-register-4 {
  gap: 0.9rem;
  max-width: 26rem;
}
.em-register-5 {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.3);
  border-radius: 0;
  color: var(--fm-cream-alt);
  padding: 0.7rem 0.2rem;
}
.em-register-5::placeholder {
  color: rgba(var(--fm-cream-alt-rgb), 0.5);
  opacity: 1;
}
.em-register-5:focus {
  background: transparent;
  border-color: rgba(var(--fm-cream-alt-rgb), 0.3);
  color: var(--fm-cream-alt);
  outline: 0;
  box-shadow: none;
}
.em-register-field {
  position: relative;
}
.em-register-field:not(:has(.em-field-control))::after,
.em-field-control::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--fm-gold);
  transition: width 0.4s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.em-register-field:not(:has(.em-field-control)):focus-within::after,
.em-field-control:focus-within::after {
  width: 100%;
}
.em-field-control {
  position: relative;
}
.em-consent-field {
  margin: 0.8rem 0;
}
.em-consent-field .em-register-6 {
  margin: 0;
}
.em-register-6 {
  color: rgba(var(--fm-cream-alt-rgb), 0.7);
  align-items: center;
  gap: 0.6rem;
  margin: 0.8rem 0;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.78rem;
}
.em-consent-field .em-field-error {
  margin-top: 4px;
}
.em-register-6 input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid #766c4e;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.em-register-6 input[type="checkbox"]:checked {
  background: var(--fm-gold);
  border-color: var(--fm-gold);
}
.em-register-6 input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--fm-green-panel);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.em-register-6 input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(var(--fm-gold-rgb), 0.5);
  outline-offset: 2px;
}
.em-register-7 {
  align-self: flex-start;
  border: 0;
}
.em-register-8 {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}
.em-register-9 {
  position: relative;
  overflow: hidden;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
@media (max-width: 991.98px) {
  .em-register-9 {
    border-top-right-radius: 0;
    border-bottom-left-radius: 6px;
  }
}
.em-site-footer-1 {
  background: var(--fm-green-panel);
  padding: 4rem 5vw 0;
}

/* Newsletter signup — sits above the main footer columns. */
.fm-newsletter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2.8rem;
  margin-bottom: 2.8rem;
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.14);
}
.fm-newsletter-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  color: var(--fm-cream-text);
  margin: 0.3rem 0 0;
}
.fm-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex-shrink: 0;
}
.fm-newsletter-input {
  min-width: 280px;
  background: rgba(var(--fm-cream-alt-rgb), 0.05);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.22);
  border-radius: 30px;
  color: var(--fm-cream-alt);
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  padding: 0.85rem 1.4rem;
}
.fm-newsletter-input::placeholder {
  color: rgba(var(--fm-cream-alt-rgb), 0.55);
}
.fm-newsletter-input:focus {
  outline: none;
  border-color: var(--fm-gold);
}
@media (max-width: 767.98px) {
  .fm-newsletter-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .fm-newsletter-form,
  .fm-newsletter-input {
    width: 100%;
  }
}
.em-site-footer-2 {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 5px;
  max-width: 320px;
  object-fit: cover;
}
.em-site-footer-logo {
  height: clamp(90px, 11vw, 130px);
  width: auto;
  margin-bottom: 1.2rem;
}
.em-site-footer-tagline {
  color: rgba(var(--fm-cream-alt-rgb), 0.7);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 26rem;
  margin: 0;
}
.em-site-footer-follow-heading {
  margin-top: 2rem;
}
.em-site-footer-3 {
  gap: 0.7rem;
}
.em-site-footer-4 {
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.9rem;
}
.em-site-footer-5 {
  color: rgba(var(--fm-cream-alt-rgb), 0.75);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}
.em-site-footer-6 {
  gap: 1rem;
  font-size: 1.2rem;
}
.em-site-footer-7 {
  color: rgba(var(--fm-cream-alt-rgb), 0.08);
  font-size: clamp(3rem, 14vw, 13rem);
  font-weight: 600;
  line-height: 0.8;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  padding-bottom: 1rem;
}
/* Small standalone legal-links row — deliberately its own thing, not part of
   the Explore/Events nav columns above, and only these two pages (not
   Cookie Policy, which stays reachable via the cookie-consent banner). */
.fm-footer-legal {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding-top: 1.5rem;
}
.fm-footer-legal a {
  color: rgba(var(--fm-cream-alt-rgb), 0.6);
  text-decoration: none;
}
.fm-footer-legal a:hover {
  color: var(--fm-cream-text);
}
.fm-footer-legal span {
  color: rgba(var(--fm-cream-alt-rgb), 0.3);
  margin: 0 0.6rem;
}
.cl-fmnav-1 {
  background: var(--fm-green-link);
  padding: 0.55rem 0;
}
.cl-fmnav-2 {
  line-height: 1;
}
.cl-navbar-logo {
  height: 44px;
  width: auto;
}
.cl-fmnav-5 {
  box-shadow: none;
}
.cl-fmnav-6 {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--fm-cream-soft);
  margin: 5px 0;
}
.cl-fmmenu-1 {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(239, 231, 211, 0.35);
  border-radius: 3px;
  color: var(--fm-cream-soft);
}
.cl-fmmenu-2 {
  font-size: 1.1rem;
}
.cl-fmmenu-3 {
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--fm-gold-dark);
  color: var(--fm-green-alt);
  border-radius: 9px;
  font-size: 0.62rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-fmmenu-4 {
  background: var(--fm-gold-dark);
  color: var(--fm-green-link);
  border-radius: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
}
.cl-hero-1 {
  background: var(--fm-body-bg);
  padding: 5.5rem 0 4.5rem;
}
.cl-hero-2 {
  color: var(--fm-gold-dark);
}
.cl-hero-3 {
  color: var(--fm-sage);
  margin-top: 8px;
}
.cl-hero-4 {
  color: var(--fm-green-link);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 600;
  margin: 1.4rem 0 0.6rem;
}
.cl-hero-5 {
  color: var(--fm-gold-dark);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.cl-hero-6 {
  color: var(--fm-charcoal-green);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 34rem;
  font-weight: 300;
}
.cl-hero-7 {
  background: var(--fm-gold-dark);
  color: var(--fm-green-link);
  border-radius: 3px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.85rem 1.7rem;
}
.cl-hero-8 {
  background: transparent;
  color: var(--fm-green-link);
  border: 1px solid var(--fm-green-link);
  border-radius: 3px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.85rem 1.7rem;
}
.cl-hero-9 {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 4px;
  background-image: url("images/OT0A9755.JPG");
  background-size: cover;
  background-position: center;
}
.cl-facts-1 {
  background: var(--fm-green-link);
  padding: 1.6rem 0;
}
.cl-facts-2 {
  gap: 0;
}
.cl-facts-3 {
  color: var(--fm-cream-soft);
  padding: 0.4rem 1.6rem;
  gap: 0.6rem;
}
.cl-facts-4 {
  color: var(--fm-gold-dark);
  font-size: 1.1rem;
}
.cl-facts-5 {
  width: 1px;
  height: 16px;
  background: var(--fm-gold-dark);
}
.cl-about-1 {
  padding: 6rem 0;
}
.cl-about-2 {
  color: var(--fm-green-link);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 1rem 0 1.4rem;
}
.cl-about-3 {
  color: var(--fm-charcoal-green);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
}
.cl-featured-venue-1 {
  background: #f2ecdd;
  padding: 6rem 0;
}
.cl-featured-venue-2 {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 4px;
  background-image: url("images/OT0A9761.JPG");
  background-size: cover;
  background-position: center;
}
.cl-featured-venue-3 {
  color: var(--fm-green-link);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0.9rem 0 1.2rem;
}
.cl-featured-venue-4 {
  width: 64px;
  margin: 0 0 1.4rem;
}
.cl-featured-venue-5 {
  color: var(--fm-charcoal-green);
  font-size: 1.02rem;
  line-height: 1.78;
  font-weight: 300;
  max-width: 34rem;
}
.cl-featured-venue-6 {
  max-width: 30rem;
}
.cl-featured-venue-7 {
  color: #8a745a;
}
.cl-featured-venue-8 {
  color: var(--fm-green-link);
  font-size: 1.6rem;
  font-weight: 600;
}
.cl-featured-venue-9 {
  background: transparent;
  color: var(--fm-green-link);
  border: 1px solid var(--fm-green-link);
  border-radius: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
}
.cl-tournament-experience-1 {
  color: var(--fm-green-link);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  margin-top: 0.8rem;
}
.cl-tournament-experience-2 {
  color: var(--fm-gold-dark);
  font-size: 1.7rem;
}
.cl-tournament-experience-3 {
  color: #c9b784;
}
.cl-tournament-experience-4 {
  color: var(--fm-green-link);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.8rem 0 0.5rem;
}
.cl-tournament-experience-5 {
  color: #4a5147;
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
}
.cl-next-championship-1 {
  background: var(--fm-green-alt);
  padding: 6rem 0;
  color: var(--fm-cream-soft);
}
.cl-next-championship-2 {
  color: var(--fm-cream-deep);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  margin: 1rem 0 0.4rem;
}
.cl-next-championship-3 {
  color: #c6c9bd;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 38rem;
  margin: 1rem auto 2rem;
}
.cl-next-championship-4 {
  background: var(--fm-gold-dark);
  color: var(--fm-green-alt);
  border-radius: 3px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
}
.cl-club-1 {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 4px;
  background-image: url("images/OT0A9766.JPG");
  background-size: cover;
  background-position: center;
}
.cl-club-2 {
  color: var(--fm-green-link);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0.9rem 0 1rem;
}
.cl-shop-1 {
  color: var(--fm-green-link);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  margin-top: 0.6rem;
}
.cl-shop-2 {
  aspect-ratio: 1;
  border-radius: 4px 4px 0 0;
  background-image: url("images/OT0A9771.JPG");
  background-size: cover;
  background-position: center;
}
.cl-shop-3 {
  color: var(--fm-green-link);
  font-size: 1.2rem;
  font-weight: 600;
}
.cl-shop-4 {
  color: var(--fm-sage);
  font-size: 0.82rem;
  margin: 0.2rem 0 0;
  font-weight: 300;
}
.cl-shop-5 {
  aspect-ratio: 1;
  border-radius: 4px 4px 0 0;
  background-image: url("images/OT0A9938.JPG");
  background-size: cover;
  background-position: center;
}
.cl-shop-6 {
  aspect-ratio: 1;
  border-radius: 4px 4px 0 0;
  background-image: url("images/bag.png");
  background-size: cover;
  background-position: center;
}
.cl-shop-7 {
  aspect-ratio: 1;
  border-radius: 4px 4px 0 0;
  background-image: url("images/OT0A9949.JPG");
  background-size: cover;
  background-position: center;
}
.cl-news-1 {
  aspect-ratio: 16/10;
  border-radius: 4px 4px 0 0;
  background-image: url("images/OT0A9954.JPG");
  background-size: cover;
  background-position: center;
}
.cl-news-2 {
  color: var(--fm-gold-dark);
  gap: 0.5rem;
}
.cl-news-3 {
  color: var(--fm-green-link);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.6rem 0 0.4rem;
}
.cl-news-4 {
  color: var(--fm-sage);
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}
.cl-news-5 {
  aspect-ratio: 16/10;
  border-radius: 4px 4px 0 0;
  background-image: url("images/OT0A9960.JPG");
  background-size: cover;
  background-position: center;
}
.cl-news-6 {
  aspect-ratio: 16/10;
  border-radius: 4px 4px 0 0;
  background-image: url("images/OT0A9965.JPG");
  background-size: cover;
  background-position: center;
}
.cl-partners-1 {
  color: var(--fm-green-link);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  margin: 0.8rem 0 1rem;
}
.cl-partners-2 {
  color: var(--fm-charcoal-green);
  font-size: 1.02rem;
  line-height: 1.78;
  font-weight: 300;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.cl-partners-3 {
  height: 80px;
  border-radius: 4px;
}
.cl-partners-4 {
  color: var(--fm-sage);
  background: none;
  border: 0;
  position: static;
}
.cl-register-1 {
  background: var(--fm-green-link);
  padding: 6.5rem 0;
  color: var(--fm-cream-soft);
}
.cl-register-2 {
  color: var(--fm-cream-deep);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 1.2rem auto 1rem;
  max-width: 24rem;
}
.cl-register-3 {
  color: #c6c9bd;
  font-size: 1.02rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 34rem;
  margin: 0 auto 2rem;
}
.cl-register-4 {
  max-width: 34rem;
  margin: 0 auto;
}
.cl-register-5 {
  background: var(--fm-green-alt);
  border: 1px solid #55483a;
  color: var(--fm-cream-soft);
  border-radius: 3px;
  padding: 0.85rem 1rem;
}
.cl-register-6 {
  color: #7d8a79;
  margin-top: 1.4rem;
  font-size: 0.62rem;
}
.cl-site-footer-1 {
  background: #241d12;
  padding: 3.5rem 0 2rem;
  color: #a9b1a4;
}
.cl-site-footer-2 {
  color: var(--fm-cream-deep);
  font-size: 1.4rem;
  font-weight: 600;
}
.cl-site-footer-3 {
  color: var(--fm-gold-dark);
  margin-top: 0.4rem;
}
.cl-site-footer-4 {
  color: var(--fm-cream-soft);
  margin-bottom: 0.8rem;
}
.cl-site-footer-5 {
  font-size: 0.88rem;
  font-weight: 300;
}
.cl-site-footer-6 {
  color: #a9b1a4;
}
.cl-site-footer-7 {
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
}
.cl-site-footer-8 {
  border-color: #4a3c2a;
  margin: 2.5rem 0 1.5rem;
}
.cl-site-footer-9 {
  gap: 1rem;
}
.cl-site-footer-10 {
  color: #6f7a6c;
  font-size: 0.62rem;
}
.cl-site-footer-11 {
  font-size: 0.62rem;
}
.cl-site-footer-12 {
  color: #6f7a6c;
}

/* ==========================================================================
   Hover interactions - image zoom + card lift
   ========================================================================== */
.e-ph,
.e-ph img,
.e-ph.em-featured-venue-2,
.e-ph.em-register-8,
.e-ph.em-site-footer-2,
.em-aboutalt-img {
  transition: transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
}

/* About stats / Day Programme / Shop cards (shared .em-about-6 wrapper) */
.em-about-6 {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.em-about-6:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--fm-gold-rgb), 0.45);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.5);
}
.em-about-6:hover img {
  transform: scale(1.07);
}

/* Featured Venue main image */
.em-featured-venue-2-wrap {
  overflow: hidden;
  border-radius: 5px;
}
.em-featured-venue-2-wrap:hover .em-featured-venue-2 {
  transform: scale(1.05);
}

/* Retreat gallery swiper */
.em-retreat-slide {
  overflow: hidden;
  border-radius: 5px;
}
.em-retreat-slide:hover .e-ph {
  transform: scale(1.08);
}

/* Why Fairway Masters image thumb-slider */
.em-whyimg-slide {
  overflow: hidden;
  border-radius: 5px;
}
.em-whyimg-slide:hover img {
  transform: scale(1.05);
}

/* News cards */
.em-news-4 {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.em-news-4:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(var(--fm-green-link-rgb), 0.35);
}
.em-news-4:hover img {
  transform: scale(1.07);
}

/* Experience alt - overlay cards */
.em-aboutalt-card {
  transition: box-shadow 0.35s ease;
}
.em-aboutalt-card:hover {
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.55);
}
.em-aboutalt-card:hover .em-aboutalt-img {
  transform: scale(1.06);
}

/* Register image */
.em-register-9:hover .em-register-8 {
  transform: scale(1.05);
}

/* Footer image */
.em-site-footer-2-wrap {
  overflow: hidden;
  border-radius: 5px;
}
.em-site-footer-2-wrap:hover .em-site-footer-2 {
  transform: scale(1.06);
}

@media (hover: none) {
  .em-about-6:hover,
  .em-news-4:hover {
    transform: none;
    box-shadow: none;
  }
  .em-about-6:hover img,
  .em-featured-venue-2-wrap:hover .em-featured-venue-2,
  .em-retreat-slide:hover .e-ph,
  .em-whyimg-slide:hover img,
  .em-news-4:hover img,
  .em-aboutalt-card:hover .em-aboutalt-img,
  .em-register-9:hover .em-register-8,
  .em-site-footer-2-wrap:hover .em-site-footer-2 {
    transform: none;
  }
}

/* ==========================================================================
   Entrance animations
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}
/* transform: none (not translateY(0)) once revealed — any non-none transform value,
   even a zero-offset one, creates a new containing block and silently breaks
   position: fixed/sticky on descendants. */
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* card grids: stagger the individual cards as the row reveals */
.row.g-3[data-reveal] > *,
.row.g-4[data-reveal] > *,
.em-day-timeline[data-reveal] > .em-day-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.row.g-3[data-reveal].is-visible > *,
.row.g-4[data-reveal].is-visible > *,
.em-day-timeline[data-reveal].is-visible > .em-day-item {
  opacity: 1;
  transform: none;
}
.row.g-3[data-reveal].is-visible > *:nth-child(1),
.row.g-4[data-reveal].is-visible > *:nth-child(1),
.em-day-timeline[data-reveal].is-visible > .em-day-item:nth-child(1) {
  transition-delay: 0.05s;
}
.row.g-3[data-reveal].is-visible > *:nth-child(2),
.row.g-4[data-reveal].is-visible > *:nth-child(2),
.em-day-timeline[data-reveal].is-visible > .em-day-item:nth-child(2) {
  transition-delay: 0.14s;
}
.row.g-3[data-reveal].is-visible > *:nth-child(3),
.row.g-4[data-reveal].is-visible > *:nth-child(3),
.em-day-timeline[data-reveal].is-visible > .em-day-item:nth-child(3) {
  transition-delay: 0.23s;
}
.row.g-3[data-reveal].is-visible > *:nth-child(4),
.row.g-4[data-reveal].is-visible > *:nth-child(4),
.em-day-timeline[data-reveal].is-visible > .em-day-item:nth-child(4) {
  transition-delay: 0.32s;
}
.row.g-3[data-reveal].is-visible > *:nth-child(5),
.row.g-4[data-reveal].is-visible > *:nth-child(5),
.em-day-timeline[data-reveal].is-visible > .em-day-item:nth-child(5) {
  transition-delay: 0.41s;
}
.row.g-3[data-reveal].is-visible > *:nth-child(6),
.row.g-4[data-reveal].is-visible > *:nth-child(6),
.em-day-timeline[data-reveal].is-visible > .em-day-item:nth-child(6) {
  transition-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal] > *,
  .em-day-timeline[data-reveal] > .em-day-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* hero: staggered entrance on load */
.em-hero-2 {
  animation: em-hero-bg-in 1.8s ease-out both;
}
.em-hero-4 {
  animation: em-hero-fade-in 0.8s ease-out both;
  animation-delay: 0.1s;
}
.em-hero-13 > * {
  opacity: 0;
  transform: translateY(24px);
  animation: em-hero-item-in 0.9s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}
.em-hero-13 > *:nth-child(1) {
  animation-delay: 0.25s;
}
.em-hero-13 > *:nth-child(2) {
  animation-delay: 0.4s;
}
.em-hero-13 > *:nth-child(3) {
  animation-delay: 0.55s;
}
.em-hero-13 > *:nth-child(4) {
  animation-delay: 0.7s;
}

@keyframes em-hero-bg-in {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes em-hero-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes em-hero-item-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .em-hero-2,
  .em-hero-4,
  .em-hero-13 > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Contact form (frosted-field style) */
.em-contact-field {
  text-align: left;
  margin-bottom: 1.4rem;
}
.em-contact-label {
  display: block;
  color: rgba(var(--fm-cream-alt-rgb), 0.6);
  margin-bottom: 0.3rem;
}
.em-contact-input {
  display: block;
  width: 100%;
  background: rgba(var(--fm-cream-alt-rgb), 0.05);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.22);
  border-radius: 8px;
  color: var(--fm-cream-alt);
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  padding: 0.9rem 1.1rem;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.em-contact-input::placeholder {
  color: rgba(var(--fm-cream-alt-rgb), 0.4);
}
.em-contact-input:focus {
  outline: 0;
  background: rgba(var(--fm-cream-alt-rgb), 0.09);
  border-color: var(--fm-gold);
  /* box-shadow: 0 0 0 3px rgba(var(--fm-gold-rgb), 0.16); */
  color: var(--fm-cream-alt);
}
textarea.em-contact-input {
  resize: vertical;
  min-height: 150px;
}
.em-contact-1 {
  background: rgba(var(--fm-cream-alt-rgb), 0.03);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.12);
  border-radius: 12px;
  padding: clamp(1.8rem, 4vw, 3rem);
}

/* Chapter II register section (2027.html) */
:root {
  /* --- GOLD/BEIGE THEME PREVIEW: every green hue below replaced with a
     warm gold/bronze/beige tone of the same lightness, so existing
     light-cream-text-on-dark-background contrast stays intact. --- */
  --fm-green-deep: #241d12;
  --fm-green: #2e2415;
  --fm-gold: #c9a24c;
  --fm-gold-rgb: 201, 162, 76;
  --fm-gold-soft: #d9bd7c;
  --fm-cream: #f2eee2;
  --fm-cream-rgb: 242, 238, 226;
  --fm-cream-input: #e9e3d2;

  /* consolidated: colors repeated 3+ times across the stylesheet */
  --fm-gold-dark: #b4924e;
  --fm-green-link: #3c2f1a;
  --fm-green-link-rgb: 60, 47, 26;
  --fm-green-theme: #41392a;
  --fm-green-theme-rgb: 74, 60, 34;
  --fm-green-panel: #2a2418;
  --fm-green-alt: #33281a;
  --fm-shadow-rgb: 26, 20, 12;
  --fm-shadow-alt-rgb: 34, 27, 16;
  --fm-cream-text: #f2ecdb;
  --fm-cream-alt: #eae5e4;
  --fm-cream-alt-rgb: 237, 231, 216;
  --fm-cream-soft: #efe7d5;
  --fm-cream-deep: #f2e9d3;
  --fm-body-bg: #faf6ec;
  --fm-sage: #7a6f5c;
  --fm-sage-dark: #5f5644;
  --fm-charcoal-green: #453c2e;
  --fm-coral: #e2726e;
  --fm-white: #fff;
  --fm-card-white: #fffdf7;
  --fm-card-gradient-light: #f5f1e6;
  --fm-card-text-dark: #3a3a30;
  --fm-card-border: #d8cfb4;
}
.fm-eyebrow {
  font-family: "Jost", sans-serif;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  color: var(--fm-gold-soft);
  font-weight: 500;
}
.fm-heading-xl {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--fm-white);
}
.fm-rule {
  width: 70px;
  height: 2px;
  background: var(--fm-gold);
  border: none;
  opacity: 1;
}
.fm-body-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(var(--fm-cream-rgb), 0.92);
  font-weight: 300;
}
.fm-gold-line {
  font-family: "Cormorant Garamond", serif;
  color: var(--fm-gold);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
}
.fm-feature-icon {
  --size: 45px;
  width: var(--size);
  height: var(--size);
  border: 1px solid var(--fm-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fm-gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.fm-feature-icon .bi {
  line-height: 1;
}
.fm-feature-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: var(--fm-white);
  margin-bottom: 0.1rem;
}
.fm-feature-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(var(--fm-cream-rgb), 0.85);
  margin-bottom: 0;
}
.fm-tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--fm-gold-soft);
  font-size: 1.15rem;
  position: relative;
  padding-block: 0.5rem;
}
.fm-tagline::before,
.fm-tagline::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    260deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 56%
  );
}
.fm-tagline::before {
  top: 0;
}
.fm-tagline::after {
  bottom: 0;
}
.fm-venue-box {
  display: inline-block;
  width: auto;
  align-self: flex-start;
  border: 1px solid var(--fm-gold);
  background: rgba(var(--fm-gold-rgb), 0.08);
  padding: 0.6rem;
  margin-top: 1rem;
}
.fm-venue-title {
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  color: var(--fm-white);
  margin-bottom: 0;
  line-height: 1;
}
.fm-venue-sub {
  font-style: italic;
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--fm-gold-soft);
  margin-bottom: 0;
  line-height: 1;
}
.fm-card {
  background: linear-gradient(
    180deg,
    var(--fm-card-gradient-light) 0%,
    #eee8d8 100%
  );
  border: 1px solid var(--fm-gold);
  border-radius: 14px;
  padding: 2.4rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.fm-card-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  color: var(--fm-green);
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  letter-spacing: 0.02em;
}
.fm-card-divider {
  width: 60px;
  height: 1px;
  background: var(--fm-gold);
  margin: 0.85rem auto 1rem;
  position: relative;
}
.fm-card-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fm-gold);
}
.fm-card-sub {
  font-size: 0.92rem;
  color: var(--fm-card-text-dark);
  font-weight: 300;
  line-height: 1.6;
}
.fm-form-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--fm-green);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}
.fm-form-control {
  background: var(--fm-cream-input);
  border: 1px solid var(--fm-card-border);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: "Jost", sans-serif;
  color: var(--fm-card-text-dark);
  width: 100%;
}
.fm-form-control::placeholder {
  color: #8a8474;
  font-weight: 300;
}
.fm-form-control:focus {
  background: #fff;
  border-color: var(--fm-gold);
  box-shadow: 0 0 0 0.2rem rgba(var(--fm-gold-rgb), 0.25);
  color: #2a2a22;
  outline: 0;
}
.fm-country-code-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.fm-form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.1rem 0;
}
.fm-form-check-input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  background-color: var(--fm-cream-input);
  border: 1px solid var(--fm-card-border);
}
.fm-form-check-input:checked {
  background-color: var(--fm-green);
  border-color: var(--fm-green);
}
.fm-form-check-input:focus {
  border-color: var(--fm-gold);
  box-shadow: 0 0 0 0.2rem rgba(var(--fm-gold-rgb), 0.25);
}
.fm-form-check-label {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--fm-card-text-dark);
  line-height: 1.5;
}
.fm-error-message {
  display: none;
  font-size: 0.75rem;
  color: var(--fm-coral);
  margin-top: 0.35rem;
  font-weight: 400;
}
.fm-error-message.show {
  display: block;
}
.fm-form-control.is-invalid {
  border-color: var(--fm-coral);
  background: rgba(226, 114, 110, 0.08);
}
.fm-form-control.is-invalid:focus {
  border-color: var(--fm-coral);
  box-shadow: 0 0 0 0.2rem rgba(226, 114, 110, 0.22);
}
@media (max-width: 991.98px) {
  .fm-card {
    margin-top: 2rem;
  }
}

/* Scoped overrides: reuse the existing (dark-themed) country-select/contact-field
   widget classes but restyle them cream/light when they appear inside .fm-card,
   matching the reference design without duplicating the widget's JS/markup. */
.fm-card .em-contact-label {
  color: var(--fm-green);
}
.fm-card .em-contact-input,
.fm-card .em-country-toggle,
.fm-card .em-contact-country-toggle {
  background: var(--fm-cream-input);
  border: 1px solid var(--fm-card-border);
  border-radius: 6px;
  color: var(--fm-card-text-dark);
}
.fm-card .em-contact-input::placeholder {
  color: #8a8474;
}
.fm-card .em-contact-input:focus,
.fm-card .em-country-select.is-open .em-country-toggle,
.fm-card .em-country-select.is-open .em-contact-country-toggle {
  /* background: #fff; */
  border-color: var(--fm-gold);
  /* box-shadow: 0 0 0 0.2rem rgba(var(--fm-gold-rgb), 0.25); */
  color: #2a2a22;
}
.fm-card .em-country-menu {
  background: linear-gradient(
    180deg,
    var(--fm-card-gradient-light) 0%,
    #eee8d8 100%
  );
  border: 1px solid var(--fm-gold);
}
.fm-card .em-country-search {
  background: var(--fm-cream-input);
  border: 1px solid var(--fm-card-border);
  color: var(--fm-card-text-dark);
}
.fm-card .em-country-option {
  color: var(--fm-card-text-dark);
}
.fm-card .em-country-option:hover {
  background: rgba(var(--fm-gold-rgb), 0.14);
}
.fm-card .em-country-option.is-selected {
  background: rgba(var(--fm-gold-rgb), 0.22);
  color: var(--fm-green);
}
.fm-card .em-register-6,
.fm-card label.e-eyebrow {
  color: var(--fm-card-text-dark);
}
/* .fm-required's default white (see its own rule) reads fine against every
   dark-themed field label elsewhere, but disappears against this card's
   cream background — same accent color as this card's own field labels
   (.em-contact-label above) keeps it actually visible here. */
.fm-card .fm-required {
  color: var(--fm-green);
}
.fm-card .e-pill-gold {
  background: var(--fm-green);
  color: #fff;
}
.fm-card .e-pill-gold:hover {
  background: #1a140c;
}

/* Full-bleed hero background for the 2027 register section */
.fm-hero-bg {
  position: relative;
  min-height: 100vh;
  padding-top: 12rem;
  padding-bottom: 6rem;
  background-image: url("../img/aerial-golf-course-drone-view.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}
.fm-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 26, 16, 0.75) 0%,
      rgba(10, 26, 16, 0.35) 22%,
      rgba(10, 26, 16, 0.25) 55%,
      rgba(8, 20, 13, 0.85) 100%
    ),
    linear-gradient(
      90deg,
      rgba(6, 16, 10, 0.55) 0%,
      rgba(6, 16, 10, 0.15) 45%,
      rgba(6, 16, 10, 0.55) 100%
    );
  z-index: 1;
}
.fm-hero-bg > .row {
  position: relative;
  z-index: 2;
}

/* Chapter badge, fixed top-right */
.fm-chapter-badge {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18, 38, 27, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(var(--fm-gold-rgb), 0.45);
  border-radius: 6px;
  padding: 0.65rem 1.4rem;
  color: var(--fm-cream);
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}
.fm-chapter-badge:hover {
  background: rgba(18, 38, 27, 0.75);
  border-color: var(--fm-gold);
  color: var(--fm-gold-soft);
  transform: translateY(-2px);
}
@media (max-width: 767.98px) {
  .fm-chapter-badge {
    top: auto;
    bottom: 16px;
    right: 16px;
  }
}

/* Custom country-code dropdown (Register form, home.html) */
.em-phone-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.em-country-field {
  flex: 0 0 92px;
}
.em-country-select {
  position: relative;
}
.em-country-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.3);
  border-radius: 0;
  color: var(--fm-cream-alt);
  padding: 0.7rem 0.2rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.em-country-toggle:hover,
.em-country-toggle:focus-visible {
  border-color: var(--fm-gold);
  outline: 0;
}
.em-country-arrow {
  font-size: 0.7rem;
  color: var(--fm-gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.em-country-select.is-open .em-country-toggle {
  border-color: var(--fm-gold);
}
.em-country-select.is-open .em-country-arrow {
  transform: rotate(180deg);
}
.em-phone-field {
  flex: 1 1 0;
  min-width: 0;
}
.em-country-menu {
  display: none;
  position: absolute;
  z-index: 50;
  top: calc(100% + 10px);
  left: 0;
  width: max(100%, 270px);
  max-height: 290px;
  padding: 0.7rem;
  background: var(--fm-green-panel);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
}
.em-country-select.is-open .em-country-menu {
  display: block;
}
.em-country-search {
  width: 100%;
  height: 38px;
  margin-bottom: 0.6rem;
  padding: 0 0.7rem;
  background: rgba(var(--fm-cream-alt-rgb), 0.05);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.2);
  border-radius: 6px;
  color: var(--fm-cream-alt);
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
}
.em-country-search::placeholder {
  color: rgba(var(--fm-cream-alt-rgb), 0.4);
}
.em-country-search:focus {
  outline: 0;
  border-color: var(--fm-gold);
}
.em-country-options {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}
.em-country-options::-webkit-scrollbar {
  width: 6px;
}
.em-country-options::-webkit-scrollbar-track {
  background: transparent;
}
.em-country-options::-webkit-scrollbar-thumb {
  background: rgba(var(--fm-gold-rgb), 0.45);
  border-radius: 6px;
}
.em-country-option {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  margin-bottom: 2px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: rgba(var(--fm-cream-alt-rgb), 0.85);
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.em-country-option:hover {
  background: rgba(var(--fm-gold-rgb), 0.14);
  border-left-color: var(--fm-gold);
}
.em-country-option.is-selected {
  background: rgba(var(--fm-gold-rgb), 0.2);
  border-left-color: var(--fm-gold);
  color: var(--fm-cream-alt);
  font-weight: 600;
}
.em-country-option .em-country-dial {
  color: var(--fm-gold);
  flex-shrink: 0;
}
.em-country-option-clear {
  color: rgba(var(--fm-cream-alt-rgb), 0.55);
  font-style: italic;
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.14);
  border-radius: 4px;
  padding: 0.55rem 0.6rem;
  margin-bottom: 2px;
}
.em-country-no-results {
  padding: 0.6rem;
  color: rgba(var(--fm-cream-alt-rgb), 0.5);
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  text-align: center;
}

/* Boxed toggle variant (Contact-style forms: contact.html, 2027.html) */
.em-contact-country-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  background: rgba(var(--fm-cream-alt-rgb), 0.05);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.22);
  border-radius: 8px;
  color: var(--fm-cream, var(--fm-cream-alt));
  padding: 0.9rem 1.1rem;
  font-family: "Jost", "Poppins", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}
.em-contact-country-toggle:hover,
.em-contact-country-toggle:focus-visible {
  border-color: var(--fm-gold);
  outline: 0;
}
.em-country-select.is-open .em-contact-country-toggle {
  background: rgba(var(--fm-cream-alt-rgb), 0.09);
  border-color: var(--fm-gold);
  /* box-shadow: 0 0 0 0.2rem rgba(var(--fm-gold-rgb), 0.2); */
}

/* FAQ accordion */
.fm-faq-list {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
}
.fm-faq-item {
  border-top: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
}
.fm-faq-item:last-child {
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
}
.fm-faq-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
@media (max-width: 767.98px) {
  .fm-faq-list {
    grid-template-columns: 1fr;
  }
  .fm-faq-item:last-child:nth-child(odd) {
    grid-column: auto;
  }
}
.fm-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 1.5rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fm-cream-text);
  cursor: pointer;
  transition: color 0.2s ease;
}
.fm-faq-question:hover,
.fm-faq-question:focus-visible {
  color: var(--fm-gold);
  outline: 0;
}
.fm-faq-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
  color: var(--fm-gold, var(--fm-gold));
}
.fm-faq-question[aria-expanded="true"] .fm-faq-icon {
  transform: rotate(180deg);
}
.fm-faq-answer {
  padding: 0 0 1.5rem;
  margin: -0.5rem 0 0;
  max-width: 40rem;
  color: rgba(var(--fm-cream-alt-rgb), 0.78);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
}

/* Partner logo wall */
.fm-partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: var(--fm-white);
  border-radius: 8px;
  padding: 1.25rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.fm-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.fm-partner-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Shop: category filters */
.fm-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.fm-filter-btn {
  background: none;
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.35);
  border-radius: 999px;
  color: var(--fm-cream-text);
  font-family: "Jost", "Poppins", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.fm-filter-btn:hover {
  border-color: var(--fm-gold);
}
.fm-filter-btn.fm-filter-active {
  background: var(--fm-gold);
  border-color: var(--fm-gold);
  color: var(--fm-green-link);
}

/* Shop: product cards */
.fm-product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(
    160deg,
    rgba(var(--fm-gold-rgb), 0.16),
    rgba(var(--fm-gold-rgb), 0.05)
  );
}
.fm-product-placeholder i {
  font-size: 2.6rem;
  color: rgba(var(--fm-gold-rgb), 0.55);
}
.fm-product-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  color: var(--fm-cream-text);
  margin: 0 0 0.3rem;
}
.fm-product-price {
  color: var(--fm-gold);
  font-weight: 600;
  font-size: 1.05rem;
}
.fm-product-category {
  color: rgba(var(--fm-cream-alt-rgb), 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Players: Format & Rules cards */
.fm-rule-card {
  height: 100%;
  text-align: center;
  padding: 2.5rem 1.75rem;
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.fm-rule-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--fm-gold-rgb), 0.45);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.5);
}
.fm-rule-card .fm-feature-icon {
  margin: 0 auto;
}

/* Future Calendar: vertical timeline */
.fm-timeline {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding-left: 2.5rem;
}
.fm-timeline::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0.5rem;
  width: 1px;
  background: rgba(var(--fm-cream-alt-rgb), 0.2);
}
.fm-timeline-item {
  position: relative;
  padding-bottom: 3rem;
}
.fm-timeline-item:last-child {
  padding-bottom: 0;
}
.fm-timeline-marker {
  position: absolute;
  top: 0.15rem;
  left: -2.5rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--fm-gold);
  box-shadow: 0 0 0 4px rgba(var(--fm-gold-rgb), 0.18);
}
.fm-timeline-year {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--fm-gold);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.fm-timeline-status {
  display: inline-block;
  border: 1px solid var(--fm-gold);
  background: rgba(var(--fm-gold-rgb), 0.08);
  color: var(--fm-white);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.fm-timeline-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  color: var(--fm-cream-text);
  margin-bottom: 0.6rem;
}
.fm-timeline-text {
  color: rgba(var(--fm-cream-alt-rgb), 0.78);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Results / Leaderboards: standings table */
.fm-standings-table {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  border-collapse: collapse;
}
.fm-standings-table th {
  text-align: left;
  color: var(--fm-gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.2);
}
.fm-standings-table td {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.12);
  color: var(--fm-cream-text);
}
.fm-standings-table td:first-child,
.fm-standings-table th:first-child {
  width: 3.5rem;
}
.fm-standings-position {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  color: var(--fm-gold);
}
.fm-standings-label {
  color: rgba(var(--fm-cream-alt-rgb), 0.6);
  font-size: 0.85rem;
}

/* Galleries: category grid */
.fm-gallery-category {
  margin-bottom: 1.25rem;
}

/* Site-wide register modal */
#registerModal .modal-content {
  background: var(--fm-green-theme);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-radius: 8px;
}
#registerModal .modal-body {
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
}
#registerModal .fm-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
}
#registerModal .em-register-3 {
  text-align: center;
}
#registerModal .em-register-4 {
  max-width: 100%;
  margin: 0 auto;
}

/* Reset default button chrome for register-modal triggers styled as text links */
.fm-footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  width: auto;
  cursor: pointer;
}

/* Partner logo wall: category label above each card */
.fm-partner-label {
  display: block;
  text-align: center;
  color: rgba(var(--fm-cream-alt-rgb), 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* Header: compact mode for pages that opt out of both the hero image and hero content.
   Default stays transparent + zero height — e.g. /2027 builds its own hero-like section
   right in the page content and wants the nav to float transparently over it, same as
   every other page before it scrolls. */
.em-hero-1-compact {
  min-height: 0;
  background: transparent;
}
/* Pages with no hero at all (shop catalogue, product detail, contact, any
   CMS page without a hero block) used to give the nav a solid backdrop here
   via @section('hero_height', 'none'/'none-image'). Simplified: the nav just
   floats transparent like every other page, and .fm-no-hero-spacer's padding
   on <main> is the only thing keeping content clear of the fixed nav. */
/* frontend/page.blade.php's <main> when a page has no hero configured at all.
   The header itself now floats fully transparent with zero reserved height on
   every hero-less page (see page.blade.php's hero_height='none-image' doc-
   comment), so without this a page's first section sits under the fixed nav
   — 12rem clears its ~138px real height with some breathing room to spare. */
.fm-no-hero-spacer {
  padding-top: 12rem;
}
/* Contact's #contact-form section keeps its own #362e21 rather than matching
   the body's --fm-green-theme, and page.blade.php renders it as a sibling
   right after </main> (not inside it) — so colour the empty header/spacer
   gap the same #362e21 specifically on the contact page, rather than
   changing #362e21 itself (which would also affect every other place that
   section class is used). */
body:has(#contact-form) .fm-no-hero-spacer {
  background: #362e21;
}

/* Shop product detail */
.fm-shop-detail {
  background: var(--fm-cream-alt);
  color: var(--fm-green);
}
.fm-product-detail {
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(4.5rem, 8vw, 7rem);
}
.fm-product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  color: #8a8a76;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.fm-product-breadcrumb a {
  color: #5f614e;
  text-decoration: none;
}
.fm-product-breadcrumb a:hover {
  color: var(--fm-gold-dark);
}
.fm-product-breadcrumb i {
  font-size: 0.55rem;
  color: #b3b3a0;
}
.fm-media-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  color: rgba(var(--fm-cream-alt-rgb), 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.fm-media-breadcrumb a {
  color: rgba(var(--fm-cream-alt-rgb), 0.75);
  text-decoration: none;
}
.fm-media-breadcrumb a:hover {
  color: var(--fm-gold);
}
.fm-media-breadcrumb i {
  font-size: 0.55rem;
  color: rgba(var(--fm-cream-alt-rgb), 0.4);
}
.fm-media-breadcrumb span[aria-current] {
  color: var(--fm-cream-text);
  font-weight: 500;
}
.fm-product-breadcrumb span[aria-current] {
  color: var(--fm-green);
  font-weight: 500;
}
.fm-product-swiper-main {
  position: relative;
}
@media (min-width: 992px) {
  .fm-product-gallery {
    position: sticky;
    top: 6.5rem;
  }
}
.fm-product-gallery-main {
  position: relative;
  min-height: clamp(25rem, 48vw, 38rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #ebe3d0, #d7cbb2);
}
.fm-product-gallery-main::before {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(var(--fm-gold-rgb), 0.45);
}
.fm-product-gallery-main img {
  position: relative;
  z-index: 1;
  width: 76%;
  max-height: 31rem;
  object-fit: contain;
  filter: drop-shadow(0 24px 20px rgba(31, 42, 28, 0.22));
}
.fm-product-gallery-icon {
  position: relative;
  z-index: 1;
  color: rgba(var(--fm-gold-rgb), 0.55);
  font-size: 6rem;
}
.fm-product-edition {
  position: absolute;
  z-index: 2;
  left: 2rem;
  bottom: 2rem;
  padding: 0.5rem 0.8rem;
  background: var(--fm-green);
  color: var(--fm-cream);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.fm-product-swiper-thumbs {
  margin-top: 1rem;
}
.fm-product-swiper-thumbs .swiper-wrapper {
  align-items: stretch;
}
.fm-product-thumbnail {
  width: auto;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 51, 43, 0.18);
  border-radius: 4px;
  background: #ebe3d0;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.fm-product-thumbnail:hover {
  border-color: var(--fm-gold-dark);
}
.fm-product-thumbnail.swiper-slide-thumb-active {
  border-color: var(--fm-gold);
  border-width: 2px;
}
.fm-product-thumbnail img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
}
.fm-product-detail-category {
  color: var(--fm-gold-dark);
  margin-bottom: 1rem;
}
.fm-product-detail-title {
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.1;
}
.fm-product-detail-price {
  margin-bottom: 1.7rem;
  color: var(--fm-gold-dark);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.fm-product-detail-copy {
  max-width: 34rem;
  color: #585a4b;
  font-weight: 300;
  line-height: 1.85;
}
.fm-product-option {
  margin-top: 1.6rem;
}
.fm-product-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.fm-product-size {
  min-width: 2.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(28, 51, 43, 0.2);
  border-radius: 6px;
  background: transparent;
  color: var(--fm-green);
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.fm-product-size:hover {
  border-color: var(--fm-gold-dark);
}
.fm-product-size.is-selected {
  border-color: var(--fm-green);
  background: var(--fm-green);
  color: var(--fm-cream);
}
.fm-product-color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.fm-product-color {
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.fm-product-color:hover {
  border-color: rgba(28, 51, 43, 0.3);
}
.fm-product-color.is-selected {
  border-color: var(--fm-green);
}
.fm-product-color-swatch {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 1px solid rgba(28, 51, 43, 0.18);
}
.fm-product-color-label {
  margin-left: 0.3rem;
  color: var(--fm-green);
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
}
.fm-product-qty {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(28, 51, 43, 0.2);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}
.fm-product-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 51, 43, 0.06);
  color: var(--fm-green);
  cursor: pointer;
  transition: background 0.2s ease;
}
.fm-product-qty-btn:hover {
  background: rgba(var(--fm-gold-rgb), 0.25);
}
.fm-product-qty-value {
  min-width: 1.4rem;
  text-align: center;
  color: var(--fm-green);
  font-size: 0.92rem;
  font-weight: 500;
}
.fm-product-cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.fm-product-add-cart {
  flex: 1 1 auto;
  justify-content: center;
  height: 3.3rem;
  box-sizing: border-box;
  padding: 0 1.8rem;
}
.fm-product-add-cart i {
  font-size: 1.05rem;
}
.fm-product-add-cart.is-added {
  background: var(--fm-green);
  color: var(--fm-cream);
}
.fm-product-fav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.5rem;
  height: 3.3rem;
  box-sizing: border-box;
  padding: 0 1.4rem;
  border: 1px solid rgba(28, 51, 43, 0.2);
  border-radius: 40px;
  background: transparent;
  color: var(--fm-green);
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.fm-product-fav i {
  font-size: 1.05rem;
}
.fm-product-fav:hover {
  transform: translateY(-2px);
  border-color: var(--fm-gold-dark);
}
.fm-product-fav.is-active {
  border-color: var(--fm-coral);
  color: var(--fm-coral);
}
.fm-product-fav.is-active i::before {
  content: "\f415";
}
.fm-product-rule {
  width: 100%;
  height: 1px;
  margin: 2rem 0 1.4rem;
  background: rgba(28, 51, 43, 0.18);
}
.fm-product-detail-label {
  margin-bottom: 0.8rem;
  color: var(--fm-green);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.fm-product-detail-list {
  margin: 0 0 1.8rem;
  color: #585a4b;
  font-size: 0.88rem;
  line-height: 1.8;
}
.fm-product-detail-list p {
  margin: 0 0 0.9rem;
}
.fm-product-detail-bullets {
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}
.fm-product-detail-list > *:last-child {
  margin-bottom: 0;
}
.fm-product-detail-bullets li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0 0 0.6rem;
}
.fm-product-detail-bullets li:last-child {
  margin-bottom: 0;
}
.fm-product-detail-bullets li::before {
  content: "✦";
  flex-shrink: 0;
  color: var(--fm-gold-dark);
  font-size: 0.7rem;
  margin-top: 0.35rem;
}
.fm-product-spec-list {
  margin: 0 0 2rem;
}
.fm-product-spec-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(28, 51, 43, 0.1);
}
.fm-product-spec-row:first-child {
  /* border-top: 1px solid rgba(28, 51, 43, 0.1); */
}
.fm-product-spec-row:last-child {
  border-bottom: 0;
}
.fm-product-spec-row dt {
  color: #767765;
  font-size: 0.78rem;
  font-weight: 500;
}
.fm-product-accordion-group {
  margin-top: 1.6rem;
}
.fm-product-accordion {
  border-top: 1px solid rgba(28, 51, 43, 0.12);
  padding: 1.1rem 0;
}
.fm-product-accordion:last-of-type {
  border-bottom: 1px solid rgba(28, 51, 43, 0.12);
}
.fm-product-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  color: var(--fm-green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.fm-product-accordion summary::-webkit-details-marker {
  display: none;
}
.fm-product-accordion summary i {
  color: var(--fm-gold-dark);
  transition: transform 0.2s ease;
}
.fm-product-accordion[open] summary i {
  transform: rotate(45deg);
}
.fm-product-accordion .fm-product-spec-list,
.fm-product-accordion .fm-product-detail-list {
  margin-top: 1rem;
  margin-bottom: 0;
}
.fm-product-spec-row dd {
  margin: 0;
  color: var(--fm-green);
  font-size: 0.85rem;
  font-weight: 300;
}
.fm-product-promo {
  display: flex;
  gap: 0.6rem;
}
.fm-product-promo-input {
  flex: 1;
  min-width: 0;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(28, 51, 43, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--fm-green);
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.fm-product-promo-input:focus {
  border-color: var(--fm-gold-dark);
  box-shadow: 0 0 0 0.16rem rgba(var(--fm-gold-rgb), 0.18);
}
.fm-product-promo-apply {
  flex-shrink: 0;
  padding: 0.62rem 1.2rem;
  border: 1px solid var(--fm-green);
  border-radius: 6px;
  background: var(--fm-green);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.fm-product-promo-apply:hover {
  background: var(--fm-gold-dark);
  border-color: var(--fm-gold-dark);
}
.fm-product-promo-message {
  margin: 0.55rem 0 0;
  min-height: 1.1em;
  font-size: 0.78rem;
}
.fm-product-promo-message.is-success {
  color: #3f7a4e;
}
.fm-product-promo-message.is-error {
  color: var(--fm-coral);
}
.fm-product-detail-price .fm-product-price-original {
  margin-right: 0.55rem;
  color: #9a9a86;
  font-size: 0.9rem;
  text-decoration: line-through;
}
.fm-shop2-catalogue.fm-product-related {
  padding-top: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid rgba(28, 51, 43, 0.14);
}
.fm-product-related {
  background: var(--fm-cream-alt);
}
.fm-product-related-title {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}
.fm-product-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}
.fm-product-related-item {
  flex: 0 1 auto;
  width: clamp(150px, 22vw, 260px);
}
@media (max-width: 575.98px) {
  .fm-product-related-item {
    width: calc(50% - 0.9rem);
  }
}
.fm-product-trust-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(28, 51, 43, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
}
.fm-product-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #5f614e;
  font-size: 0.78rem;
  line-height: 1.5;
}
.fm-product-trust-badge i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--fm-gold-dark);
  font-size: 0.95rem;
}
.fm-product-story {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background: var(--fm-green);
  color: var(--fm-cream);
}
.fm-product-story p:not(.e-eyebrow) {
  max-width: 42rem;
  margin: 1.4rem auto 0;
  color: rgba(var(--fm-cream-alt-rgb), 0.76);
  font-weight: 300;
  line-height: 1.8;
}
.fm-product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.fm-product-link[aria-disabled="true"] {
  cursor: default;
}
.fm-product-link:not([aria-disabled="true"]):hover .em-about-6-img img {
  transform: scale(1.04);
}
.fm-product-link .em-about-6-img img {
  transition: transform 0.35s ease;
}

/* Shop 2: server-paginated catalogue */
.fm-shop2 {
  background: var(--fm-cream-alt);
  color: var(--fm-green);
}
.fm-shop2-catalogue {
  padding: 0 0 clamp(5rem, 10vw, 9rem);
}
.fm-shop2-catalogue.fm-shop-no-hero {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}
.fm-shop-no-hero .fm-shop2-search {
  margin-top: 0;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.fm-shop2-search {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 52rem;
  margin: -1.7rem auto clamp(3rem, 6vw, 5rem);
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(var(--fm-gold-rgb), 0.6);
  border-radius: 55px;
  /* box-shadow: 0 12px 30px rgba(18, 37, 27, 0.13); */
}
.fm-shop2-search > i {
  color: var(--fm-gold-dark);
}
.fm-shop2-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fm-green);
  font-size: 0.9rem;
}
.fm-shop2-search input::placeholder {
  color: #858371;
}
.fm-shop2-search-submit,
.fm-shop2-apply {
  justify-content: center;
  border: 1px solid var(--fm-green);
  background: var(--fm-green);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}
.fm-shop2-search-submit:hover,
.fm-shop2-apply:hover {
  transform: translateY(-2px);
  border-color: var(--fm-gold-dark);
  background: var(--fm-gold-dark);
  color: #fff;
}
.fm-shop2-search-submit:focus-visible,
.fm-shop2-apply:focus-visible {
  outline: 2px solid var(--fm-gold);
  outline-offset: 3px;
}
.fm-shop2-filters {
  border: 1px solid rgba(28, 51, 43, 0.14);
  border-radius: 10px;
  padding: 0.25rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.35);
}
@media (min-width: 992px) {
  #shopFilterSheet {
    position: sticky;
    top: 6.5rem;
    align-self: flex-start;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--fm-gold-rgb), 0.45) transparent;
  }
  #shopFilterSheet::-webkit-scrollbar {
    width: 6px;
  }
  #shopFilterSheet::-webkit-scrollbar-track {
    background: transparent;
  }
  #shopFilterSheet::-webkit-scrollbar-thumb {
    background: rgba(var(--fm-gold-rgb), 0.45);
    border-radius: 6px;
  }
  #shopFilterSheet::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--fm-gold-rgb), 0.7);
  }
}
.fm-shop2-filter-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.25rem 0;
}
.fm-shop2-filter-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
}
.fm-shop2-filter-heading a {
  color: var(--fm-gold-dark);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fm-shop2-filters details {
  border-top: 1px solid rgba(28, 51, 43, 0.16);
  padding: 1rem 0;
}
.fm-shop2-filters details:last-of-type {
  border-bottom: 1px solid rgba(28, 51, 43, 0.16);
}
.fm-shop2-filters summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  color: var(--fm-green);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fm-shop2-filters summary::-webkit-details-marker {
  display: none;
}
.fm-shop2-filters details[open] summary i {
  transform: rotate(45deg);
}
.fm-shop2-checks {
  display: grid;
  gap: 0.7rem;
  padding-top: 1rem;
}
.fm-shop2-checks label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fm-green);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.fm-shop2-checks label:hover {
  color: var(--fm-gold-dark);
}
.fm-shop2-checks input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid rgba(var(--fm-gold-rgb), 0.5);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.fm-shop2-checks input:checked {
  border-color: var(--fm-gold-dark);
  background: var(--fm-gold-dark);
  box-shadow: inset 0 0 0 3px #fdfbf5;
}
.fm-shop2-price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
}
.fm-shop2-price-range label {
  display: block;
  color: #71715e;
  font-size: 0.7rem;
}
.fm-shop2-price-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 0.35rem;
}
.fm-shop2-price-symbol {
  position: absolute;
  left: 0.75rem;
  color: #77755f;
  font-size: 0.82rem;
  pointer-events: none;
}
.fm-shop2-price-range input {
  width: 100%;
  padding: 0.62rem 0.6rem 0.62rem 1.6rem;
  border: 1px solid rgba(var(--fm-gold-rgb), 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--fm-green);
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.fm-shop2-price-range input:focus {
  border-color: var(--fm-gold-dark);
  /* box-shadow: 0 0 0 0.18rem rgba(var(--fm-gold-rgb), 0.18); */
}
.fm-shop2-filter-note {
  margin: 1rem 0 0.15rem;
  color: #767765;
  font-size: 0.8rem;
  line-height: 1.6;
}
.fm-shop2-apply {
  width: 100%;
  margin-top: 1.25rem;
}
.fm-shop2-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(28, 51, 43, 0.16);
}
.fm-shop2-toolbar p {
  margin: 0;
  color: #676957;
  font-size: 0.8rem;
}
.fm-shop2-toolbar form {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.fm-shop2-toolbar label,
.fm-shop2-toolbar .e-eyebrow {
  color: var(--fm-green);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 0;
}
.fm-shop2-sort-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 10.5rem;
}
/* Custom dropdown widget (shared em-country-select JS), restyled cream/light for shop2 */
.fm-shop2-sort-select .em-country-select {
  width: 100%;
}
.fm-shop2-sort-select .em-contact-country-toggle {
  width: 100%;
  border: 1px solid rgba(var(--fm-gold-rgb), 0.4);
  border-radius: 8px;
  padding: 0.62rem 0.9rem;
  background: rgba(255, 255, 255, 0.55);
  color: var(--fm-green);
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
}
.fm-shop2-sort-select .em-contact-country-toggle:hover,
.fm-shop2-sort-select .em-country-select.is-open .em-contact-country-toggle {
  border-color: var(--fm-gold-dark);
  background: #fff;
  /* box-shadow: 0 0 0 0.18rem rgba(var(--fm-gold-rgb), 0.15); */
}
.fm-shop2-sort-select .em-country-arrow {
  color: var(--fm-gold-dark);
}
.fm-shop2-sort-select .em-country-menu {
  left: auto;
  right: 0;
  width: 220px;
  background: linear-gradient(
    180deg,
    #fdfbf5 0%,
    var(--fm-card-gradient-light) 100%
  );
  border: 1px solid rgba(var(--fm-gold-rgb), 0.4);
}
.fm-shop2-sort-select .em-country-option {
  color: var(--fm-green);
}
.fm-shop2-sort-select .em-country-option:hover {
  background: rgba(var(--fm-gold-rgb), 0.14);
}
.fm-shop2-sort-select .em-country-option.is-selected {
  background: rgba(var(--fm-gold-rgb), 0.22);
  color: var(--fm-green);
  font-weight: 600;
}
.fm-shop2-toolbar select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(var(--fm-gold-rgb), 0.4);
  border-radius: 8px;
  padding: 0.62rem 2rem 0.62rem 0.9rem;
  background: rgba(255, 255, 255, 0.55);
  color: var(--fm-green);
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  outline: 0;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.fm-shop2-toolbar select:hover,
.fm-shop2-toolbar select:focus {
  border-color: var(--fm-gold-dark);
  background: #fff;
  /* box-shadow: 0 0 0 0.18rem rgba(var(--fm-gold-rgb), 0.15); */
}
.fm-shop2-sort-select i {
  position: absolute;
  right: 0.7rem;
  color: var(--fm-gold-dark);
  font-size: 0.68rem;
  pointer-events: none;
}
.fm-shop2-product {
  position: relative;
  display: block;
  border: 1px solid rgba(28, 51, 43, 0.1);
  border-radius: 12px;
  padding: 0.9rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.fm-shop2-product:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--fm-gold-rgb), 0.5);
  box-shadow: 0 18px 40px -24px rgba(28, 51, 43, 0.45);
}
.fm-shop2-product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.fm-shop2-fav {
  position: absolute;
  z-index: 2;
  top: 1.4rem;
  right: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--fm-green);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  /* box-shadow: 0 6px 16px rgba(28, 51, 43, 0.16); */
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.fm-shop2-fav:hover {
  transform: scale(1.08);
}
.fm-shop2-fav.is-active {
  color: var(--fm-coral);
}
.fm-shop2-fav.is-active i::before {
  content: "\f415";
}
.fm-shop2-card-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  margin-top: 0.45rem;
}
.fm-shop2-card-footer .fm-shop2-price {
  margin: 0;
}
.fm-shop2-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.6rem;
  box-sizing: border-box;
  padding: 0.55rem 1rem 0.5rem;
  border: 1px solid rgba(var(--fm-gold-rgb), 0.5);
  border-radius: 40px;
  background: var(--fm-gold);
  color: var(--fm-green-panel);
  font-family: "Poppins", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.fm-shop2-add-cart i {
  font-size: 0.85rem;
}
.fm-shop2-add-cart:hover {
  transform: translateY(-2px);
  background: var(--fm-gold-dark);
}
.fm-shop2-add-cart.is-added {
  background: var(--fm-green);
  color: var(--fm-cream);
}
.fm-shop2-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(
    160deg,
    rgba(201, 162, 75, 0.16),
    rgba(201, 162, 75, 0.05)
  );
}
.fm-shop2-image img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  /* filter: drop-shadow(0 14px 13px rgba(31, 42, 28, 0.18)); */
  transition: transform 0.35s ease;
}
.fm-shop2-product:hover .fm-shop2-image img {
  transform: scale(1.06);
}
.fm-shop2-image > i {
  color: rgba(var(--fm-gold-rgb), 0.55);
  font-size: 3rem;
}
.fm-shop2-image span {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.5rem;
  background: var(--fm-green);
  color: #fff;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.fm-shop2-category {
  margin: 0.9rem 0 0.3rem;
  color: var(--fm-gold-dark);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.fm-shop2-product h2 {
  margin: 0;
  color: var(--fm-green);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.35;
}
.fm-shop2-price {
  margin: 0.45rem 0 0;
  color: var(--fm-green);
  font-weight: 600;
  font-size: 1.05rem;
}
.fm-shop2-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 3.5rem;
}
.fm-shop2-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(var(--fm-gold-rgb), 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--fm-green);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.fm-shop2-page:hover {
  border-color: var(--fm-gold-dark);
  background: var(--fm-gold-dark);
  color: #fff;
}
.fm-shop2-page.is-current {
  border-color: var(--fm-green);
  background: var(--fm-green);
  color: #fff;
}
.fm-shop2-page.is-disabled {
  border-color: rgba(28, 51, 43, 0.1);
  color: #aaa895;
  cursor: not-allowed;
}
.fm-shop2-page.is-disabled:hover {
  border-color: rgba(28, 51, 43, 0.1);
  background: var(--fm-card-white);
  color: #aaa895;
}
.fm-shop2-empty {
  padding: 5rem 1rem;
  background: #f2ecdd;
  text-align: center;
}
.fm-shop2-empty > i {
  color: var(--fm-gold-dark);
  font-size: 2rem;
}
.fm-shop2-empty h2 {
  margin: 1rem 0 0.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}
.fm-shop2-empty p {
  margin-bottom: 1.6rem;
  color: #6d6f5d;
}
@media (max-width: 991.98px) {
  .fm-shop2-filters {
    margin-bottom: 1rem;
  }
}
@media (max-width: 575.98px) {
  .fm-shop2-search {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }
  .fm-shop2-search button {
    padding: 0.72rem 0.8rem;
  }
  .fm-shop2-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Light/dark theme toggle button (nav) */
.fm-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 0.6rem;
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--fm-cream-alt);
  font-size: 1rem;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    color 0.25s ease;
}
.fm-theme-toggle:hover {
  border-color: var(--fm-gold);
  color: var(--fm-gold);
}
.fm-theme-toggle .bi-sun {
  display: none;
}
body.fm-theme-light .fm-theme-toggle .bi-moon-stars {
  display: none;
}
body.fm-theme-light .fm-theme-toggle .bi-sun {
  display: inline-block;
}

/* Cart page */
.fm-cart-page-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.fm-cart-line {
  display: grid;
  grid-template-columns: 5rem 1fr auto auto auto;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(28, 51, 43, 0.12);
}
.fm-cart-line-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    rgba(var(--fm-gold-rgb), 0.16),
    rgba(var(--fm-gold-rgb), 0.05)
  );
}
.fm-cart-line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fm-cart-line-thumb i {
  color: rgba(var(--fm-gold-rgb), 0.55);
  font-size: 1.6rem;
}
.fm-cart-line-info {
  min-width: 0;
}
.fm-cart-line-name {
  display: block;
  color: var(--fm-green);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.fm-cart-line-name:hover {
  color: var(--fm-gold-dark);
}
.fm-cart-line-size,
.fm-cart-line-price {
  margin: 0.2rem 0 0;
  color: #767765;
  font-size: 0.78rem;
}
.fm-cart-line-total {
  margin: 0;
  color: var(--fm-green);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.fm-cart-line-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #9a9a86;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.fm-cart-line-remove:hover {
  color: var(--fm-coral);
  background: rgba(226, 114, 110, 0.12);
}
.fm-cart-page-empty {
  padding: 3.5rem 1rem;
  text-align: center;
}
.fm-cart-page-empty i {
  color: rgba(var(--fm-gold-rgb), 0.55);
  font-size: 2.4rem;
}
.fm-cart-page-empty h2 {
  margin: 1rem 0 0.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  color: var(--fm-green);
}
.fm-cart-page-empty p {
  margin-bottom: 1.6rem;
  color: #767765;
}
.fm-cart-summary {
  padding: 1.5rem;
  border: 1px solid rgba(28, 51, 43, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.4);
}
.fm-cart-summary h2 {
  margin: 0 0 1.2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  color: var(--fm-green);
}
.fm-cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(28, 51, 43, 0.12);
  color: var(--fm-green);
  font-size: 0.95rem;
  font-weight: 600;
}
.fm-cart-summary-row.fm-cart-summary-discount {
  color: var(--fm-coral);
  font-weight: 500;
}
.fm-cart-summary-row.fm-cart-summary-total {
  border-bottom: 0;
  padding-bottom: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.fm-cart-summary-promo {
  margin-top: 0;
  margin-bottom: 1.4rem;
}
.fm-cart-summary-note {
  color: #767765;
  font-size: 0.76rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}
.fm-cart-continue {
  display: block;
  width: 100%;
  text-align: center;
}
@media (max-width: 767.98px) {
  .fm-cart-line {
    grid-template-columns: 4rem 1fr;
    grid-template-areas:
      "thumb info"
      "thumb qty"
      "total remove";
    row-gap: 0.6rem;
  }
  .fm-cart-line-thumb {
    grid-area: thumb;
    width: 4rem;
    height: 4rem;
  }
  .fm-cart-line-info {
    grid-area: info;
  }
  .fm-cart-line-qty {
    grid-area: qty;
    justify-self: start;
  }
  .fm-cart-line-total {
    grid-area: total;
  }
  .fm-cart-line-remove {
    grid-area: remove;
    justify-self: end;
  }
}

/* Wishlist page */
.fm-shop2-catalogue.fm-wishlist-page-section {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.fm-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.75rem;
}
.fm-wishlist-clear-all {
  color: var(--fm-gold-dark);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.fm-wishlist-clear-all:hover {
  color: var(--fm-green);
}
@media (max-width: 575.98px) {
  .fm-wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Login / Register pages (UI only — no auth backend yet) — centred card,
   reusing the home page's "Register your interest" (.em-register-*) form styling */
.em-auth-shell {
  max-width: 30rem;
  margin: clamp(1rem, 2.5vw, 1.75rem) auto;
  padding: clamp(2.2rem, 5vw, 3rem) clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-radius: 6px;
  text-align: center;
}
#login.em-about-1,
#register-account.em-about-1,
#forgot-password.em-about-1 {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}
.em-auth-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--fm-gold-rgb), 0.4);
  border-radius: 50%;
  background: rgba(var(--fm-cream-alt-rgb), 0.04);
}
.em-auth-badge i {
  font-size: 1.5rem;
  color: var(--fm-gold);
}
.em-auth-shell .em-register-3 {
  margin-bottom: 1.6rem;
}
.em-auth-shell-copy {
  margin: -1rem 0 1.6rem;
  color: rgba(var(--fm-cream-alt-rgb), 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}
.em-auth-shell .em-register-4 {
  margin: 0 auto;
  text-align: left;
}
.em-auth-shell .em-register-6 {
  text-align: left;
}
.em-auth-shell .em-register-7 {
  align-self: center;
  width: 100%;
}
.em-auth-shell .em-register-switch {
  text-align: center;
}
.em-register-options-row {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.82rem;
}
.em-register-6-inline {
  margin: 0;
  width: auto;
}
.em-register-forgot {
  color: var(--fm-gold);
  font-size: 0.78rem;
  text-decoration: none;
}
.em-register-forgot:hover {
  color: var(--fm-cream-text);
}
.em-register-message {
  margin: 0.9rem 0 0;
  min-height: 1.1em;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--fm-gold);
}
.em-register-switch {
  margin: 1.4rem 0 0;
  font-size: 0.85rem;
  color: rgba(var(--fm-cream-alt-rgb), 0.7);
}
.em-register-switch a {
  color: var(--fm-gold);
  font-weight: 600;
  text-decoration: none;
}
.em-register-switch a:hover {
  color: var(--fm-cream-text);
}
.em-register-legal-link {
  color: var(--fm-gold);
  text-decoration: underline;
}
.em-register-legal-link:hover {
  color: var(--fm-cream-text);
}

/* Show/hide password toggle */
.em-register-field-password .em-register-5 {
  padding-right: 2rem;
}
.em-password-toggle {
  position: absolute;
  right: 0.2rem;
  top: 0.55rem;
  background: none;
  border: 0;
  padding: 0.2rem;
  line-height: 1;
  color: rgba(var(--fm-cream-alt-rgb), 0.55);
  cursor: pointer;
}
.em-password-toggle:hover {
  color: var(--fm-gold);
}
.em-password-toggle:focus-visible {
  outline: 2px solid rgba(var(--fm-gold-rgb), 0.5);
  outline-offset: 2px;
}

/* Terms & Conditions / Privacy Policy page */
.fm-legal-section {
  padding-top: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
}
.fm-legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.fm-legal-heading {
  margin-bottom: 1.6rem;
}
.fm-legal-updated {
  color: rgba(var(--fm-cream-alt-rgb), 0.6);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.fm-legal-meta {
  list-style: none;
  margin: 0 0 2.2rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-radius: 6px;
  color: rgba(var(--fm-cream-alt-rgb), 0.78);
  font-size: 0.92rem;
  line-height: 1.9;
}
.fm-legal-table-wrap {
  overflow-x: auto;
  margin: 0.8rem 0 1.2rem;
}
.fm-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.fm-legal-table th,
.fm-legal-table td {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  text-align: left;
  vertical-align: top;
}
.fm-legal-table th {
  color: var(--fm-cream-text);
  font-weight: 600;
  background: rgba(var(--fm-cream-alt-rgb), 0.06);
}
.fm-legal-table td {
  color: rgba(var(--fm-cream-alt-rgb), 0.85);
}
.fm-legal-meta strong {
  color: var(--fm-cream-text);
}
.fm-legal-list {
  list-style: none;
  counter-reset: fm-legal-counter;
  margin: 0;
  padding: 0;
}
.fm-legal-list > li {
  counter-increment: fm-legal-counter;
  position: relative;
  padding: 0 0 1.6rem 2.4rem;
}
.fm-legal-list > li:last-child {
  padding-bottom: 0;
}
.fm-legal-list > li::before {
  content: counter(fm-legal-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fm-gold);
  font-weight: 600;
}
.fm-legal-list h3 {
  color: var(--fm-cream-text);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}
.fm-legal-list p {
  color: rgba(var(--fm-cream-alt-rgb), 0.78);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0 0 0.5rem;
}
.fm-legal-list p:last-child {
  margin-bottom: 0;
}
.fm-legal-sublist {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 0.5rem;
  color: rgba(var(--fm-cream-alt-rgb), 0.78);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
}
.fm-legal-contact {
  margin-top: 2rem;
}
.fm-legal-contact h3 {
  color: var(--fm-cream-text);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}
.fm-legal-contact p {
  color: rgba(var(--fm-cream-alt-rgb), 0.78);
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
}
.fm-legal a {
  color: var(--fm-gold);
  text-decoration: underline;
}
.fm-legal a:hover {
  color: var(--fm-cream-text);
}
.fm-legal-contact a {
  color: var(--fm-gold);
  text-decoration: none;
}
.fm-legal-contact a:hover {
  color: var(--fm-cream-text);
}

/* Shop (mobile): Myntra-style sticky bottom bar + bottom sheets for
   Sort/Filter, instead of the always-visible sidebar. Desktop is untouched. */
.fm-shop2-mobile-bar {
  display: none;
}
@media (max-width: 991.98px) {
  #shopSortForm {
    display: none;
  }
  .fm-shop2-catalogue {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }
  .fm-shop2-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1150;
    display: flex;
    background: var(--fm-card-white);
    border-top: 1px solid rgba(28, 51, 43, 0.14);
    box-shadow: 0 -6px 20px rgba(18, 37, 27, 0.1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .fm-shop2-mobile-bar button {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.7rem 0.5rem;
    background: none;
    border: 0;
    border-right: 1px solid rgba(28, 51, 43, 0.1);
    color: var(--fm-green);
    font-family: "Poppins", sans-serif;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .fm-shop2-mobile-bar button:last-child {
    border-right: 0;
  }
  .fm-shop2-mobile-bar button i {
    font-size: 1.05rem;
  }
  .fm-shop2-mobile-bar-dot {
    position: absolute;
    top: 0.5rem;
    right: calc(50% - 1.1rem);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fm-gold-dark);
  }
}

body.fm-sheet-lock {
  overflow: hidden;
}
.fm-sheet-backdrop {
  display: none;
}
/* The Filter aside doubles as the normal Bootstrap sidebar on desktop (via col-lg-3), so it
   must NOT be hidden by default — only the Sort sheet has no other desktop purpose. */
.fm-sheet-sort {
  display: none;
}
@media (max-width: 991.98px) {
  .fm-sheet-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1160;
    background: rgba(18, 37, 27, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }
  .fm-sheet-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  .fm-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1170;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: var(--fm-card-white);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -12px 30px rgba(18, 37, 27, 0.18);
    transform: translateY(100%);
    visibility: hidden;
    transition:
      transform 0.35s cubic-bezier(0.16, 0.84, 0.44, 1),
      visibility 0.35s;
    padding: 0 1.5rem calc(1.25rem + env(safe-area-inset-bottom));
  }
  .fm-sheet.is-open {
    transform: translateY(0);
    visibility: visible;
  }
  .fm-sheet .fm-shop2-filters {
    border: 0;
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .fm-sheet-handle {
    width: 40px;
    height: 4px;
    margin: 0.9rem auto 0.4rem;
    border-radius: 999px;
    background: rgba(28, 51, 43, 0.2);
    flex-shrink: 0;
  }
  .fm-shop2-filter-heading-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .fm-sheet-close-icon {
    background: none;
    border: 0;
    padding: 0;
    color: var(--fm-green);
    font-size: 1.1rem;
    line-height: 1;
  }
  .fm-sheet-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
  }
  .fm-sheet-footer {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    flex-shrink: 0;
  }
  .fm-sheet-footer-close {
    flex: 1 1 0;
    border: 1px solid rgba(28, 51, 43, 0.3);
    background: none;
    border-radius: 40px;
    color: var(--fm-green);
    font-family: "Poppins", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.85rem 1rem;
  }
  .fm-sheet-footer-apply {
    flex: 1 1 0;
    justify-content: center;
  }

  .fm-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0 1rem;
    flex-shrink: 0;
  }
  .fm-sheet-header h3 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.5rem;
    color: var(--fm-green);
  }
  .fm-sheet-options {
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 0.5rem;
  }
  .fm-sheet-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 0;
    border: 0;
    border-top: 1px solid rgba(28, 51, 43, 0.12);
    background: none;
    text-align: left;
    color: var(--fm-green);
    font-family: "Poppins", sans-serif;
    font-size: 0.88rem;
  }
  .fm-sheet-option:first-child {
    border-top: 0;
  }
  .fm-sheet-option.is-active {
    color: var(--fm-gold-dark);
    font-weight: 600;
  }
  .fm-sheet-option i {
    color: var(--fm-gold-dark);
  }
}

/* Product detail (mobile): sticky Add to Cart bar, matching common mobile PDP patterns.
   It's shown until the visitor scrolls down to the original inline Add to Cart / Wishlist
   buttons, at which point initStickyAddToCart() (script.js) hides it via .is-hidden so the
   two never sit on screen at once. */
.fm-product-mobile-bar {
  display: none;
}
@media (max-width: 991.98px) {
  .fm-product-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1150;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--fm-card-white);
    border-top: 1px solid rgba(28, 51, 43, 0.14);
    box-shadow: 0 -6px 20px rgba(18, 37, 27, 0.1);
    padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
    transform: translateY(0);
    transition: transform 0.3s ease;
  }
  .fm-product-mobile-bar.is-hidden {
    transform: translateY(100%);
  }
  .fm-product-mobile-fav {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28, 51, 43, 0.25);
    border-radius: 50%;
    background: none;
    color: var(--fm-green);
    font-size: 1.2rem;
  }
  .fm-product-mobile-fav.is-active {
    border-color: var(--fm-gold-dark);
    color: var(--fm-gold-dark);
  }
  .fm-product-mobile-fav.is-active i::before {
    content: "\f415";
  }
  .fm-product-mobile-add-cart {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Contact page: phone / email / social info bar shown above the enquiry form */
.fm-contact-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.8rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-radius: 6px;
}
.fm-contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--fm-cream-text);
  text-decoration: none;
}
a.fm-contact-info-item:hover .fm-contact-info-value {
  color: var(--fm-gold);
}
a.fm-contact-info-item:hover .fm-contact-info-icon {
  border-color: var(--fm-gold);
}
.fm-contact-info-icon {
  flex-shrink: 0;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--fm-gold-rgb), 0.4);
  border-radius: 50%;
  background: rgba(var(--fm-cream-alt-rgb), 0.04);
  color: var(--fm-gold);
  font-size: 1.2rem;
  transition: border-color 0.2s ease;
}
.fm-contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.fm-contact-info-label {
  color: var(--fm-gold);
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fm-contact-info-value {
  font-size: 1rem;
  transition: color 0.2s ease;
}
.fm-contact-info-social {
  display: flex;
  gap: 0.9rem;
  font-size: 1.1rem;
}
.fm-contact-info-social a {
  color: var(--fm-cream-text);
  transition: color 0.2s ease;
}
.fm-contact-info-social a:hover {
  color: var(--fm-gold);
}
.fm-contact-info-divider {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  background: rgba(var(--fm-cream-alt-rgb), 0.16);
}
@media (max-width: 991.98px) {
  .fm-contact-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }
  .fm-contact-info-divider {
    display: none;
  }
}

/* <x-blocks.contact-info> — a 3-column grid so a 4th+ item wraps to a new row
   underneath, rather than the fixed 3-item .fm-contact-info-bar above (still
   used nowhere now, kept in case something else references it). Borders
   between cells instead of separate divider elements, since a divider drawn
   between every item doesn't make sense once items wrap onto multiple rows. */
.fm-contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-radius: 6px;
  overflow: hidden;
}
.fm-contact-info-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.8rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  color: var(--fm-cream-text);
  text-decoration: none;
  border-right: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
}
.fm-contact-info-cell:nth-child(3n) {
  border-right: none;
}
.fm-contact-info-cell-last-row {
  border-bottom: none;
}
a.fm-contact-info-cell:hover .fm-contact-info-value {
  color: var(--fm-gold);
}
a.fm-contact-info-cell:hover .fm-contact-info-icon {
  border-color: var(--fm-gold);
}
@media (max-width: 991.98px) {
  .fm-contact-info-grid {
    grid-template-columns: 1fr;
  }
  .fm-contact-info-cell {
    border-right: none;
    border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
  }
  .fm-contact-info-cell-last-row {
    border-bottom: none;
  }
}

/* Stacked single-column variant for <x-blocks.contact-info :bare="true">,
   used beside the Contact form (see page.blade.php) rather than as its own
   full-width 3-per-row section. */
.fm-contact-info-side.fm-contact-info-grid {
  grid-template-columns: 1fr;
  border: none;
  border-radius: 0;
  gap: 0;
}
.fm-contact-info-side .fm-contact-info-cell {
  justify-content: flex-start;
  padding: 1.4rem 0;
  border-right: none;
  border-bottom: 1px solid rgba(var(--fm-cream-alt-rgb), 0.16);
}
.fm-contact-info-side .fm-contact-info-cell:first-child {
  padding-top: 0;
}
.fm-contact-info-side .fm-contact-info-cell-last-row {
  border-bottom: none;
  padding-bottom: 0;
}

/* Panel wrapping the stacked contact-info beside the Contact form — matches
   the form's own panel (.em-contact-1) so the two columns read as a pair
   instead of a bordered form next to bare floating text. */
.fm-contact-info-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(var(--fm-cream-alt-rgb), 0.03);
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.12);
  border-radius: 12px;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.fm-contact-info-panel-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  color: var(--fm-cream-text);
  margin: 0.5rem 0 1.8rem;
}
.fm-contact-info-panel .fm-contact-info-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.fm-contact-info-panel .fm-contact-info-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(var(--fm-gold-rgb), 0.08);
}
.fm-404 {
  min-height: 62vh;
  display: flex;
  align-items: center;
}
.fm-404-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--fm-gold-rgb), 0.08);
  border: 1px solid rgba(var(--fm-gold-rgb), 0.35);
}
.fm-404-icon i {
  font-size: 2.1rem;
  color: var(--fm-gold-dark);
}
.fm-404-eyebrow {
  letter-spacing: 0.22em;
}
.fm-404-text {
  color: #6b6c58;
  font-size: 1rem;
  line-height: 1.8;
}
.fm-404-actions {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.fm-404-links {
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(28, 51, 43, 0.1);
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.fm-404-links a {
  color: #5f614e;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}
.fm-404-links a:hover {
  color: var(--fm-gold-dark);
}
@media (max-width: 575.98px) {
  .fm-404 {
    min-height: auto;
  }
}

/* Inquiry / contact form inline validation */
.em-field-error {
  display: none;
  color: #e35d5d;
  font-size: 0.78rem;
  margin-top: 6px;
  line-height: 1.4;
}
.em-field-error.show {
  display: block;
}
.em-register-5.is-invalid,
.em-register-5.is-invalid:focus {
  border: 0 !important;
  border-bottom: 1px solid #e35d5d !important;
  box-shadow: none !important;
  background-image: none !important;
  padding-right: 0.2rem !important;
}
.em-contact-input.is-invalid,
.em-country-select.is-invalid {
  border-color: #e35d5d !important;
}
.em-register-7:disabled,
button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.em-captcha-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.em-captcha-img {
  height: 44px;
  border-radius: 4px;
  background: #fff;
}
.em-captcha-refresh {
  color: var(--fm-gold);
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  opacity: 0.8;
}
.em-captcha-refresh:hover {
  opacity: 1;
}
.em-register-alert {
  font-size: 0.85rem;
  padding: 10px 14px;
  margin-bottom: 14px;
}

/* Cookie Consent Banner */
.fm-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  display: flex;
  justify-content: center;
}
.fm-cookie-consent[hidden] {
  display: none;
}
.fm-cookie-consent__card {
  position: relative;
  width: 100%;
  background: var(--fm-green-deep);
  border-top: 1px solid rgba(var(--fm-gold-rgb, 197, 160, 89), 0.35);
  padding: 16px 32px 14px;
  box-shadow: 0 -12px 40px -20px rgba(0, 0, 0, 0.55);
  color: var(--fm-cream);
  max-height: 88vh;
  overflow-y: auto;
}
.fm-cookie-consent__top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.fm-cookie-consent__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--fm-gold-rgb, 197, 160, 89), 0.15);
  color: var(--fm-gold);
  font-size: 1.2rem;
}
.fm-cookie-consent__intro {
  flex: 1 1 auto;
  min-width: 0;
}
.fm-cookie-consent__title {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--fm-cream);
}
.fm-cookie-consent__text {
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
  color: var(--fm-cream-alt);
}
.fm-cookie-consent__policy-link {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 0.82rem;
  color: var(--fm-gold-soft);
  text-decoration: underline;
  white-space: nowrap;
  margin-top: 4px;
}

.fm-cookie-consent__manage-row {
  display: flex;
  gap: 28px;
  margin-top: 14px;
  align-items: flex-start;
}
.fm-cookie-categories {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.fm-cookie-consent__prefs {
  flex: 0 0 460px;
  padding-left: 24px;
  border-left: 1px solid rgba(var(--fm-cream-alt-rgb), 0.2);
}
.fm-cookie-consent__prefs-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: var(--fm-cream);
}
.fm-cookie-category {
  border: 1px solid rgba(var(--fm-cream-alt-rgb), 0.2);
  border-radius: 10px;
  padding: 10px 14px;
}
.fm-cookie-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fm-cookie-category__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fm-cream);
}
.fm-cookie-category__badge {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fm-gold);
  margin-top: 2px;
}
.fm-cookie-category__desc {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--fm-cream-alt);
  margin: 8px 0 0;
}

.fm-cookie-toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
  flex: 0 0 auto;
}
.fm-cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.fm-cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: rgba(var(--fm-cream-alt-rgb), 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.fm-cookie-toggle__slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--fm-cream);
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.fm-cookie-toggle input:checked + .fm-cookie-toggle__slider {
  background: var(--fm-gold);
}
.fm-cookie-toggle input:checked + .fm-cookie-toggle__slider::before {
  transform: translateX(18px);
}
.fm-cookie-toggle--locked .fm-cookie-toggle__slider {
  cursor: default;
  opacity: 0.9;
}

.fm-cookie-consent__prefs-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--fm-cream-alt);
  margin: 0 0 14px;
}
.fm-cookie-consent__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.fm-cookie-consent__actions .fm-cookie-btn {
  flex: 1 1 0;
}
.fm-cookie-btn {
  border: 1px solid var(--fm-cream);
  background: transparent;
  color: var(--fm-cream);
  padding: 10px 24px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.fm-cookie-btn--allow {
  background: var(--fm-gold);
  border-color: var(--fm-gold);
  color: var(--fm-green-deep);
}
.fm-cookie-btn--allow:hover {
  background: var(--fm-gold-soft);
  border-color: var(--fm-gold-soft);
}
.fm-cookie-btn--deny:hover {
  background: rgba(var(--fm-cream-rgb), 0.12);
}
.fm-cookie-consent__selected-link {
  display: block;
  margin-top: 12px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--fm-gold-soft);
  text-decoration: underline;
  text-align: center;
  cursor: pointer;
}
.fm-cookie-consent__note {
  font-size: 0.75rem;
  color: rgba(var(--fm-cream-alt-rgb), 0.75);
  margin: 10px 0 0;
  text-align: center;
}
@media (max-width: 992px) {
  .fm-cookie-consent__manage-row {
    flex-direction: column;
  }
  .fm-cookie-consent__prefs {
    flex-basis: auto;
    width: 100%;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(var(--fm-cream-alt-rgb), 0.2);
    padding-top: 18px;
  }
  .fm-cookie-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 992px) {
  .fm-cookie-consent__card {
    max-height: 50vh;
  }
}
@media (max-width: 576px) {
  .fm-cookie-consent__card {
    padding: 18px 18px;
    max-height: 45vh;
  }
  .fm-cookie-consent__top {
    flex-wrap: wrap;
  }
  /* .fm-cookie-consent__policy-link {
    margin-left: 58px;
  } */
  .fm-cookie-categories {
    grid-template-columns: 1fr;
  }
  .fm-cookie-consent__actions {
    flex-direction: column;
  }
  .fm-cookie-btn {
    padding: 10px 16px;
    text-align: center;
  }
}

/* Scroll to Top */
.fm-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1030;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--fm-gold);
  background: var(--fm-green-deep);
  color: var(--fm-gold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}
.fm-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.fm-scroll-top:hover {
  background: var(--fm-gold);
  color: var(--fm-green-deep);
}
@media (max-width: 576px) {
  .fm-scroll-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* Required field marker */
.fm-required {
  color: var(--fm-white);
}

/* ==========================================================================
   Showcase — work-list scroll-stack rows, ported from redesign-tf's
   WorkGrid/work-row-* (see globals.css there). Same class names/structure;
   colors mapped onto this site's own --fm-* tokens. Sticky top offset is a
   fixed value here (this site has no --header-h var — its header is an
   overlay, not a space-taking bar) matched to the scrolled navbar height.
   ========================================================================== */
.eyebrow-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--fm-cream-rgb), 0.65);
  font-weight: 500;
}

.tag {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(var(--fm-cream-rgb), 0.3);
  color: rgba(var(--fm-cream-rgb), 0.75);
  padding: 3px 10px;
  border-radius: 3px;
}

.work-list-section {
  margin-bottom: 0;
}

.work-row-outer {
  display: block;
  position: sticky;
  top: 100px;
  background: var(--fm-green-theme);
  border-top: 1px solid rgba(var(--fm-cream-rgb), 0.15);
  text-decoration: none;
  color: inherit;
  transform-origin: top center;
  will-change: transform;
}

.work-row-inner {
  display: flex;
  align-items: stretch;
  min-height: calc((100vh - 100px) * 0.62);
  padding-left: 12px;
}

.work-row-left {
  width: 340px;
  flex-shrink: 0;
  padding: 24px 40px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

.work-row-category {
  margin: 0;
}

.work-row-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--fm-cream-text);
  transition: opacity 0.2s;
}

.work-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-row-images-wrap {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  padding: 24px 0;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}
.work-row-images-wrap:active {
  cursor: grabbing;
}
.work-row-images-wrap::-webkit-scrollbar {
  display: none;
}

.work-row-images-mobile {
  display: none;
}

.work-row-slide {
  position: sticky;
  left: calc(var(--slide-index, 0) * 1rem);
  z-index: calc(var(--slide-index, 0) + 1);
  flex-shrink: 0;
  width: auto;
  height: calc((100vh - 100px) * 0.62 - 48px);
  margin-right: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--fm-green-panel);
}

.work-row-slide--phantom {
  width: clamp(260px, 42vw, 520px);
  background: transparent;
  pointer-events: none;
}

.work-row-slide img,
.work-row-slide video {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  pointer-events: none;
  user-select: none;
  object-fit: cover;
}

.work-row-slide .em-about-9,
.work-row-slide .bi-play-circle-fill {
  pointer-events: none;
}

/* Small dark backdrop behind a video thumbnail's play icon (showcase.blade.php)
   so it stays visible against bright/light thumbnails */
.fm-play-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  pointer-events: none;
  transition: background-color 0.25s ease;
}
.fm-play-overlay .bi-play-fill {
  color: #ffffff;
  font-size: 1.6rem;
  margin-left: 2px;
}
.work-row-slide:hover .fm-play-overlay,
.swiper-slide:hover .fm-play-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.work-row-outer:hover .work-row-title {
  opacity: 0.7;
}

@media (max-width: 1200px) {
  .work-row-outer {
    position: static;
  }
  .work-row-inner {
    flex-direction: column;
    min-height: unset;
    padding-left: 0;
  }
  .work-row-left {
    width: 100%;
    padding: 28px 16px 16px;
  }
  .work-row-images-wrap {
    display: none;
  }
  .work-row-images-mobile {
    display: block;
    padding: 0 16px 24px;
  }
  .fm-work-mobile-swiper .swiper-slide img,
  .fm-work-mobile-swiper .swiper-slide video {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
  }
}

/* Toasts — the one sitewide place form success/error messages surface;
   replaces the old per-form inline alert box (see fmShowFormAlert). */
.fm-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
}

/* Toastify (public/front/js/toastify.min.js) creates and animates this div
   itself — its own inline styles handle the slide/fade-in, so this only
   needs to supply the visual design, not opacity/transform/transition. */
.fm-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: 6px;
  background: var(--fm-green-panel);
  border: 1px solid rgba(var(--fm-cream-rgb), 0.16);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.55);
  color: var(--fm-cream-text);
  font-size: 0.88rem;
  line-height: 1.5;
}
.fm-toast--success {
  border-left: 3px solid var(--fm-gold);
}
.fm-toast--error {
  border-left: 3px solid var(--fm-coral);
}
.fm-toast-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}
.fm-toast--success .fm-toast-icon {
  color: var(--fm-gold);
}
.fm-toast--error .fm-toast-icon {
  color: var(--fm-coral);
}
.fm-toast-message {
  flex: 1;
}
/* Toastify's own close button (added via the `close: true` option) rather
   than a hand-built one — .toast-close is its class, not ours. */
.fm-toast .toast-close {
  flex-shrink: 0;
  align-self: center;
  background: none;
  border: 0;
  color: rgba(var(--fm-cream-rgb), 0.6);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.fm-toast .toast-close:hover {
  color: var(--fm-cream-text);
}

@media (max-width: 576px) {
  /* Toastify positions each .toastify element itself via inline top/right
     styles (gravity:'top', position:'right' in the fmShowFormAlert() call) —
     the old .fm-toast-container rules below no longer move anything on
     their own, since a fixed-position ancestor doesn't relocate a
     fixed-position descendant. !important is what it takes to win over
     those inline styles instead. */
  .fm-toast {
    top: auto !important;
    bottom: 24px !important;
    right: 16px !important;
    left: 16px !important;
    max-width: none !important;
    width: auto;
  }
  .fm-toast-container {
    top: auto;
    bottom: 24px;
    right: 16px;
    left: 16px;
    width: auto;
  }
}

/* Shimmer placeholder painted behind any <img>/<video> still loading (see
   the matching fm-media-loading toggle in public/front/js/script.js). Sits on
   the element's own background rather than a wrapper, so it's automatically
   clipped to whatever size/border-radius/object-fit that element already
   has — no markup changes needed anywhere it's used.

   !important on the background is deliberate: lots of image classes across
   this file (e.g. #eSwiperRetreat .e-ph) set their own scoped
   `background: transparent` with higher specificity than a bare class
   selector, which silently erased the shimmer on every one of them.

   min-width/min-height are load-bearing, not decorative: several image
   classes pair a fixed height with `width: auto` (or vice versa) so the
   element sizes itself from the photo's own aspect ratio once decoded —
   before that, with no intrinsic size to go on, the browser collapses the
   missing dimension to 0, leaving a real box with nothing to paint a
   background onto. These floors just guarantee some visible box exists;
   any component with its own explicit width/height already exceeds them,
   so real layouts are unaffected. */
.fm-media-loading {
  min-width: 80px;
  min-height: 80px;
  background-color: rgba(255, 255, 255, 0.06) !important;
  background-image: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.03) 20%,
    rgba(255, 255, 255, 0.14) 40%,
    rgba(255, 255, 255, 0.14) 60%,
    rgba(255, 255, 255, 0.03) 80%
  ) !important;
  background-size: 200% 100% !important;
  animation: fm-shimmer 1.6s ease-in-out infinite;
}

@keyframes fm-shimmer {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

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