.fm-header {
  height:58px;
  background:#f8f6f5;
}
.fm-header__inner {
  height:100%;
  width:calc(100% - 24px);
}
.fm-icon-button {
  position:relative;
  min-width:44px;
  min-height:44px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:10px;
  font-size:27px;
  line-height:1;
}
.fm-icon-button:hover {
  color:var(--fm-green);
  background:#e4e5df;
  border-radius:50%;
}
.fm-brand {
  width:160px;
  display:block;
}
.fm-brand img {
  mix-blend-mode:multiply;
}
.fm-cart-toggle span {
  position:absolute;
  right:1px;
  top:1px;
  min-width:18px;
  height:18px;
  display:grid;
  place-items:center;
  padding:2px;
  border-radius:50%;
  background:var(--fm-clay);
  color:white;
  font-size:10px;
}
.fm-desktop-nav {
  display:none;
}
.fm-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  padding:8px 18px;
  border:1px solid transparent;
  border-radius:999px;
  font:500 13px/1.1 var(--fm-sans);
  white-space:nowrap;
  transition:background var(--fm-transition),transform var(--fm-transition);
}
.fm-button:hover {
  transform:translateY(-1px);
  filter:brightness(.94);
}
.fm-button svg {
  width:18px;
  height:18px;
}
.fm-button--clay {
  background:var(--fm-clay);
  color:white;
  border-color:#d2a498;
}
.fm-button--green {
  background:var(--fm-green);
  color:white;
}
.fm-button--outline {
  border-color:#83917a;
  background:transparent;
  color:#243421;
}
.fm-button--light {
  background:#f6f4eb;
  color:#25251f;
}
.fm-eyebrow {
  text-transform:uppercase;
  letter-spacing:1.3px;
  font-weight:700;
  font-size:10px;
  line-height:1.5;
  color:var(--fm-green);
  margin-bottom:3px;
}
.fm-benefits {
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding-block:15px;
}
.fm-benefits li {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:33.333%;
  font-size:12px;
  line-height:1.2;
  font-weight:600;
}
.fm-benefits li+li {
  border-left:1px solid #a9afa1;
}
.fm-benefits svg {
  width:33px;
  height:33px;
  color:var(--fm-green);
}
.fm-rating {
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  font-size:11px;
  margin-top:5px;
}
.fm-stars {
  color:#bc8300;
  letter-spacing:1px;
  font-size:16px;
}
.fm-rating small {
  font-size:9px;
  color:var(--fm-muted);
}
.fm-tags {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
}
.fm-tags li {
  background:var(--fm-soft-green);
  border-radius:30px;
  padding:4px 9px;
  font-size:10px;
  white-space:nowrap;
}
.fm-discount {
  display:inline-block;
  background:var(--fm-discount);
  color:#28310e;
  border-radius:20px;
  padding:3px 9px;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.fm-demo-note {
  font-size:10px;
  line-height:1.4;
  color:var(--fm-muted);
  margin:5px 0;
}
.fm-text-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  margin:auto;
  font-size:12px;
  font-weight:600;
}
.fm-text-button svg {
  width:16px;
}
.fm-rail-arrows {
  display:flex;
  flex-shrink:0;
  gap:1px;
}
.fm-rail-arrows .fm-icon-button {
  font-size:25px;
  width:44px;
  height:44px;
  padding:0;
}
.fm-rail-arrows button:disabled {
  opacity:.25;
}
.fm-section-description {
  font-size:12px;
  margin:3px 0 12px;
}
.fm-video-rail {
  padding-inline:var(--fm-gutter);
  scroll-padding-inline:var(--fm-gutter);
  max-width:calc(var(--fm-max) + var(--fm-gutter)*2);
  margin:auto;
}
.fm-video-rail>li {
  width:76%;
}
.fm-video-card {
  container-type:inline-size;
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:1.62;
  border-radius:12px;
  overflow:hidden;
  text-align:left;
  background:#37432b;
  color:white;
  padding:0;
}
.fm-video-card:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(transparent 30%,rgb(0 0 0 / .7));
}
.fm-video-card img {
  background:linear-gradient(#536347,#20281c);
  width:100%;
  height:100%;
  object-fit:cover;
}
.fm-video-card__play {
  position:absolute;
  z-index:1;
  left:50%;
  top:55%;
  transform:translate(-50%,-50%);
  width:17%;
  height:auto;
  aspect-ratio:1;
  display:grid;
  place-items:center;
  padding-left:2px;
  background:white;
  color:#2d2b27;
  border-radius:50%;
  font-size:16px;
}
.fm-video-card__title {
  position:absolute;
  z-index:1;
  bottom:12px;
  left:15px;
  font-size:13px;
  line-height:1.15;
}
.fm-video-card__status {
  position:absolute;
  z-index:1;
  bottom:10px;
  right:8px;
  background:#172012b3;
  font-size:9px;
  padding:3px;
  border-radius:3px;
}
.fm-dots {
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:28px;
  gap:0;
}
.fm-dots button {
  width:28px;
  height:28px;
  padding:9px;
}
.fm-dots button:before {
  content:'';
  display:block;
  width:8px;
  height:8px;
  border:1px solid #92968c;
  border-radius:50%;
}
.fm-dots button[aria-current=true]:before {
  background:var(--fm-green);
  border-color:var(--fm-green);
}
.fm-product-rail>li {
  width:88%;
}
.fm-product-card {
  height:100%;
  display:grid;
  grid-template-columns:.85fr 1fr;
  gap:12px;
  border-radius:8px;
  background:#ffffffb8;
  padding:9px;
  box-shadow:0 2px 5px #0000000a;
}
.fm-product-card>img {
  width:100%;
  height:168px;
  object-fit:contain;
  border-radius:5px;
  background:#eee6db;
}
.fm-product-card__body {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
}
.fm-product-card h3 {
  font-size:19px;
  margin-bottom:4px;
}
.fm-product-card h3 button {
  font:inherit;
  padding:0;
  text-align:left;
}
.fm-card-rating {
  font-size:10px;
  white-space:nowrap;
}
.fm-card-rating .fm-stars {
  font-size:11px;
  letter-spacing:-1px;
}
.fm-card-rating>span:last-child {
  font-size:9px;
}
.fm-card-price {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
  margin-top:3px;
}
.fm-card-price strong {
  font-size:15px;
}
.fm-card-price del {
  font-size:10px;
}
.fm-card-price .fm-discount {
  font-size:9px;
  padding:1px 6px;
}
.fm-card-pack {
  font-size:10px;
  color:var(--fm-muted);
  margin:3px 0;
}
.fm-product-card .fm-button {
  font-size:11px;
  padding:6px 12px;
  gap:5px;
}
.fm-product-card .fm-button svg {
  width:14px;
  height:14px;
}
.fm-footer {
  padding:18px 0 10px;
  background:#f5f2ee;
}
.fm-footer__brand img {
  width:170px;
  mix-blend-mode:multiply;
}
.fm-footer__links a,.fm-footer__links button {
  font-size:12px;
  line-height:1.3;
  padding:5px 0;
  text-align:left;
  min-height:30px;
}
.fm-footer__links :is(a,button):hover {
  text-decoration:underline;
}
.fm-newsletter__heading h3 {
  font:700 13px var(--fm-sans);
  color:#243922;
}
.fm-newsletter__heading p {
  font-size:11px;
  color:var(--fm-muted);
}
.fm-newsletter__input {
  display:flex;
  min-height:44px;
  background:white;
  border-radius:30px;
  border:1px solid #d5d3cf;
  overflow:hidden;
}
.fm-newsletter input {
  border:0;
  background:transparent;
  padding:9px 12px;
  width:100%;
  font-size:12px;
}
.fm-newsletter input:focus-visible {
  outline-offset:-4px;
}
.fm-newsletter button {
  background:var(--fm-clay);
  color:white;
  border-radius:30px;
  min-width:44px;
  padding:8px;
}
.fm-newsletter svg {
  width:18px;
  height:18px;
}
.fm-newsletter .fm-demo-note {
  font-size:9px;
}
.fm-socials {
  display:flex;
}
.fm-socials svg {
  width:18px;
  height:18px;
}
.fm-socials .fm-icon-button {
  padding:8px;
}
.fm-copyright {
  font-size:9px;
  color:var(--fm-muted);
  align-self:center;
}
.fm-copyright span {
  font-size:8px;
}
.fm-dialog {
  border:0;
  border-radius:16px;
  width:min(520px,calc(100% - 28px));
  max-height:calc(100dvh - 32px);
  padding:24px;
  background:var(--fm-bg);
  color:var(--fm-text);
  box-shadow:0 12px 60px #0005;
}
.fm-dialog__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.fm-dialog__head h2 {
  font-size:29px;
}
.fm-dialog p {
  line-height:1.5;
}
.fm-dialog--menu,.fm-dialog--cart {
  margin:0 0 0 auto;
  min-height:100dvh;
  max-height:100dvh;
  width:min(450px,100%);
  border-radius:0;
}
.fm-dialog--menu {
  margin-left:0;
  margin-right:auto;
}
.fm-mobile-nav {
  display:flex;
  flex-direction:column;
  margin-block:24px;
}
.fm-mobile-nav a {
  display:flex;
  justify-content:space-between;
  padding:18px 0;
  border-bottom:1px solid var(--fm-border);
  font:24px var(--fm-serif);
}
.fm-mobile-nav span {
  font:12px var(--fm-sans);
  color:var(--fm-muted);
}
#search-form label {
  display:block;
  font-size:12px;
  margin:14px 0 5px;
}
#search-form input {
  padding:14px;
  border:1px solid var(--fm-border);
  border-radius:6px;
  width:100%;
  background:white;
}
#search-status {
  font-size:12px;
  margin:12px 0;
}
.fm-search-results button {
  width:100%;
  display:flex;
  align-items:center;
  gap:16px;
  text-align:left;
  padding:10px 0;
  border-bottom:1px solid var(--fm-border);
}
.fm-search-results img {
  width:50px;
  height:70px;
  object-fit:contain;
}
.fm-search-results small {
  display:block;
  color:var(--fm-muted);
}
.fm-cart-item {
  padding:18px 0;
  border-bottom:1px solid var(--fm-border);
  display:grid;
  grid-template-columns:65px 1fr;
  gap:15px;
}
.fm-cart-item img {
  width:65px;
  height:95px;
  object-fit:contain;
}
.fm-cart-item h3 {
  font-size:21px;
}
.fm-cart-item p {
  font-size:12px;
  margin:4px 0;
}
.fm-cart-quantity {
  display:flex;
  align-items:center;
  gap:0;
}
.fm-cart-quantity input {
  width:45px;
  height:44px;
  padding:5px;
  text-align:center;
  border:1px solid var(--fm-border);
  background:white;
}
.fm-cart-quantity button {
  min-width:44px;
  min-height:44px;
}
.fm-cart-remove {
  font-size:12px;
  text-decoration:underline;
  margin-left:10px;
}
.fm-cart-summary {
  padding-top:22px;
}
.fm-cart-summary>p:first-child {
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.fm-cart-summary .fm-button {
  width:100%;
  margin-top:16px;
}
#checkout-message {
  font-size:13px;
  margin-top:10px;
}
.fm-empty-cart {
  text-align:center;
  padding:50px 12px;
}
#video-poster {
  width:100%;
  height:130px;
  object-fit:cover;
  border-radius:6px;
  margin:16px 0;
}
#video-dialog h3 {
  margin-bottom:10px;
}
@media(min-width:480px) {
  .fm-header {
    height:52px;
  }
  .fm-brand {
    width:150px;
  }
  .fm-video-rail>li {
    width:46%;
  }
  .fm-product-rail>li {
    width:calc((100% - 12px)/2);
  }
  .fm-product-card {
    gap:8px;
    padding:8px;
    grid-template-columns:.8fr 1fr;
  }
  .fm-product-card>img {
    height:150px;
  }
  .fm-product-card h3 {
    font-size:16px;
  }
  .fm-product-card .fm-button {
    font-size:10px;
    padding:5px 8px;
  }
  .fm-footer__brand {
    border-right:1px solid #b6b6ae;
    padding-right:20px;
  }
  .fm-footer__links a,.fm-footer__links button {
    font-size:10px;
    min-height:23px;
    padding:3px 0;
  }
}
@media(min-width:768px) {
  .fm-header {
    height:78px;
  }
  .fm-brand {
    width:190px;
  }
  .fm-eyebrow {
    font-size:12px;
  }
  .fm-button {
    font-size:14px;
    padding:11px 24px;
  }
  .fm-benefits {
    padding-block:24px;
  }
  .fm-benefits li {
    font-size:15px;
    gap:20px;
  }
  .fm-benefits svg {
    width:42px;
    height:42px;
  }
  .fm-rating {
    font-size:14px;
  }
  .fm-rating small {
    font-size:11px;
  }
  .fm-tags li {
    font-size:12px;
  }
  .fm-tags {
    gap:12px;
    margin-top:18px;
  }
  .fm-demo-note {
    font-size:12px;
  }
  .fm-section-description {
    font-size:15px;
    margin:8px 0 22px;
  }
  .fm-video-rail>li {
    width:43%;
  }
  .fm-video-card__title {
    font-size:18px;
    bottom:20px;
    left:20px;
  }
  .fm-video-card__status {
    font-size:11px;
    bottom:18px;
    right:15px;
  }
  
  .fm-product-card {
    padding:15px;
    gap:18px;
  }
  .fm-product-card>img {
    height:220px;
  }
  .fm-product-card h3 {
    font-size:24px;
  }
  .fm-card-rating {
    font-size:12px;
  }
  .fm-card-rating .fm-stars {
    font-size:13px;
  }
  .fm-card-price strong {
    font-size:20px;
  }
  .fm-card-price del {
    font-size:12px;
  }
  .fm-card-price .fm-discount {
    font-size:11px;
  }
  .fm-card-pack {
    font-size:12px;
    margin:8px 0;
  }
  .fm-product-card .fm-button {
    font-size:13px;
    padding:8px 16px;
  }
  .fm-footer {
    padding-top:32px;
  }
  .fm-footer__links a,.fm-footer__links button {
    font-size:13px;
    min-height:29px;
  }
  .fm-footer__brand img {
    width:200px;
  }
  .fm-newsletter__heading h3 {
    font-size:16px;
  }
  .fm-newsletter__heading p {
    font-size:12px;
  }
  .fm-copyright {
    font-size:11px;
  }
  .fm-copyright span {
    font-size:10px;
  }
  .fm-newsletter .fm-demo-note {
    font-size:10px;
  }
}
@media(min-width:1024px) {
  .fm-desktop-nav {
    display:flex;
    gap:32px;
    font-size:14px;
    margin-left:auto;
    margin-right:35px;
  }
  .fm-menu-toggle {
    display:none;
  }
  .fm-header__inner {
    width:calc(100% - var(--fm-gutter)*2);
  }
  .fm-video-rail>li {
    width:38%;
  }
  .fm-product-rail>li {
    width:calc((100% - 24px)/2.5);
  }
  .fm-product-rail:has(>li:nth-child(2):last-child)>li {
    width:calc((100% - 12px)/2);
  }
  .fm-product-card {
    grid-template-columns:.8fr 1fr;
  }
  .fm-product-card>img {
    height:220px;
  }
  .fm-product-card h3 {
    font-size:23px;
  }
}

/* Both initial stories fill the desktop rail; additional stories still scroll. */
@media(min-width:768px) {
  .fm-video-rail:has(>li:nth-child(2):last-child)>li {width:calc((100% - 12px) / 2);}
}

/* Rails: arrows and dots only when the rail scrolls. */
.is-static :is(.fm-rail-arrows,.fm-side-arrow,.fm-dots) {
  display:none;
}
.fm-rail-frame {
  position:relative;
}
.fm-side-arrow {
  position:absolute;
  top:50%;
  z-index:2;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  margin-top:-20px;
  border-radius:50%;
  background:#fff;
  color:var(--fm-text);
  box-shadow:0 2px 8px rgb(0 0 0 / .16);
  transition:opacity var(--fm-transition);
}
.fm-side-arrow svg {
  width:18px;
  height:18px;
}
.fm-side-arrow--prev {
  left:-12px;
}
.fm-side-arrow--prev svg {
  transform:scaleX(-1);
}
.fm-side-arrow--next {
  right:-12px;
}
.fm-side-arrow:disabled {
  opacity:.35;
}
.fm-side-arrow:hover:not(:disabled) {
  color:var(--fm-green);
}
.fm-card-rating>span:last-child {
  color:var(--fm-muted);
}
/* Approved design: discount badge sits on its own line under the price. */
@media(max-width:767px) {
  .fm-card-price {
    display:grid;
    grid-template-columns:auto auto;
    justify-content:start;
    column-gap:5px;
    row-gap:3px;
  }
  .fm-card-price .fm-discount {
    grid-column:1 / -1;
    justify-self:start;
  }
}
@media(min-width:768px) {
  .fm-side-arrow {
    width:46px;
    height:46px;
    margin-top:-23px;
  }
  .fm-side-arrow--prev {
    left:-22px;
  }
  .fm-side-arrow--next {
    right:-22px;
  }
}
/* Circled social icons, as in the approved design. */
.fm-socials svg {
  width:28px;
  height:28px;
  padding:6px;
  border:1.4px solid currentColor;
  border-radius:50%;
  stroke-width:1.9;
}
.fm-socials .fm-icon-button {
  padding:8px;
}
.fm-socials .fm-icon-button:hover {
  background:none;
}

/* Featured purchase: one compact block that belongs to the product above/beside it. */
.fm-purchase {
  display:grid;
  gap:10px;
  background:var(--fm-panel);
  border-radius:var(--fm-radius);
  padding:14px 16px 4px;
}
.fm-purchase__price {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.fm-purchase__price strong {
  font-size:26px;
  line-height:1;
}
.fm-purchase__price del {
  font-size:14px;
  font-weight:600;
}
.fm-purchase legend {
  font-size:12px;
  font-weight:600;
  margin-bottom:6px;
}
.fm-packs {
  display:flex;
  gap:8px;
}
.fm-packs label {
  position:relative;
  flex:1;
  max-width:120px;
  cursor:pointer;
}
.fm-packs input {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  cursor:inherit;
}
.fm-packs span {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border:1px solid #ae9c94;
  border-radius:30px;
  background:#f8f6f5;
  font-size:13px;
}
.fm-packs input:checked+span {
  background:var(--fm-green);
  border-color:var(--fm-green);
  color:#fff;
}
.fm-packs input:focus-visible+span {
  outline:3px solid var(--fm-clay);
  outline-offset:3px;
}
.fm-packs input:disabled {
  cursor:not-allowed;
}
.fm-purchase .fm-demo-note {
  margin:-4px 0 0;
}
.fm-purchase__add {
  width:100%;
  font-size:15px;
}
.fm-purchase .fm-text-button {
  margin:-4px auto 0;
}
@media(min-width:768px) {
  .fm-purchase {
    padding:20px 22px 6px;
    gap:14px;
  }
  .fm-purchase__price strong {
    font-size:32px;
  }
  .fm-purchase legend {
    font-size:14px;
  }
  .fm-packs span {
    font-size:14px;
  }
}
