@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Arabic-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Latin-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Arabic-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Latin-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Arabic-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Latin-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --fm-navy: #12304a;
  --fm-blue: #0e7fa2;
  --fm-gold: #c58a43;
  --fm-cream: #f7f3ed;
  --fm-brand: #66d9b0;
  --fm-secondary-dark: #0b7393;
  --fm-secondary-light: #75d5e9;
  --fm-accent-dark: #b67934;
  --fm-accent-light: #e6c47a;
  --fm-footer-bg: #0b263a;
  --fm-navy-rgb: 18, 48, 74;
  --fm-blue-rgb: 14, 127, 162;
  --fm-brand-rgb: 102, 217, 176;
  --fm-secondary-dark-rgb: 11, 115, 147;
  --fm-button-shadow-rgb: 197, 138, 67;
  --fm-hero-ring-rgb: 236, 212, 159;
  --fm-hero-border-rgb: 232, 196, 122;
  --fm-category-ring-rgb: 218, 170, 91;
  --fm-about-ring-rgb: 226, 181, 104;
  --fm-journal-ring-rgb: 221, 173, 95;
  --fm-shop-frame-rgb: 213, 170, 101;
  --fm-ink: #182431;
  --fm-text: #52606d;
  --fm-muted: #7d8994;
  --fm-line: #e8ecef;
  --fm-white: #fff;
  --fm-success: #19875c;
  --fm-danger: #d25353;
  --fm-radius-sm: 12px;
  --fm-radius: 20px;
  --fm-radius-lg: 30px;
  --fm-shadow-sm: 0 8px 28px rgba(20, 45, 65, 0.07);
  --fm-shadow: 0 20px 55px rgba(var(--fm-navy-rgb), 0.12);
  --fm-container: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fm-ink);
  background: var(--fm-white);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.fm-container {
  width: min(calc(100% - 40px), var(--fm-container));
  margin-inline: auto;
}

.fm-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.fm-skip-link:focus {
  z-index: 100000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 18px;
  top: 8px;
  right: 8px;
  color: #fff;
  background: var(--fm-navy);
  border-radius: 8px;
}

.fm-skip-link {
  position: absolute;
  top: -100px;
}

.fm-announcement {
  min-height: 38px;
  color: rgba(255, 255, 255, 0.9);
  background: var(--fm-navy);
  font-size: 12px;
}

.fm-announcement__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fm-announcement p,
.fm-announcement a {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.fm-announcement a:hover {
  color: #fff;
}

.fm-announcement .fm-icon {
  width: 15px;
  height: 15px;
}

.fm-announcement__dot {
  width: 7px;
  height: 7px;
  background: var(--fm-brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--fm-brand-rgb), 0.14);
}

.fm-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.fm-header.is-scrolled {
  position: sticky;
  top: 0;
  box-shadow: 0 5px 25px rgba(var(--fm-navy-rgb), 0.08);
}

.admin-bar .fm-header.is-scrolled {
  top: 32px;
}

.fm-header__main {
  min-height: 92px;
  display: grid;
  grid-template-columns: 225px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 42px;
}

.fm-header__logo,
.fm-header__logo a {
  display: flex;
  align-items: center;
}

.fm-header__logo img,
.fm-footer__about img,
.fm-mobile-drawer__header img {
  width: auto;
  max-width: 205px;
  max-height: 52px;
  object-fit: contain;
}

.fm-search-form {
  height: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f4f7f8;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-search-form:focus-within {
  background: #fff;
  border-color: rgba(var(--fm-blue-rgb), 0.35);
  box-shadow: 0 0 0 4px rgba(var(--fm-blue-rgb), 0.08);
}

.fm-search-form input[type="search"] {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 18px;
  color: var(--fm-ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.fm-search-form input::placeholder {
  color: #8b959e;
}

.fm-search-form button {
  width: 52px;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--fm-white);
  background: var(--fm-blue);
  border: 0;
  cursor: pointer;
}

.fm-search-form button:hover {
  background: var(--fm-navy);
}

.fm-header__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.fm-header-action {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  color: var(--fm-ink);
  background: transparent;
  border: 1px solid var(--fm-line);
  border-radius: 13px;
  white-space: nowrap;
}

button.fm-header-action {
  cursor: pointer;
}

.fm-header-action:hover {
  color: var(--fm-blue);
  border-color: rgba(var(--fm-blue-rgb), 0.32);
}

.fm-header-action__text {
  font-size: 12px;
  font-weight: 600;
}

.fm-header-cart {
  padding-left: 14px;
}

.fm-cart-count {
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: #fff;
  background: var(--fm-gold);
  border: 2px solid #fff;
  border-radius: 20px;
  font-size: 10px;
  line-height: 1;
}

.fm-header-cart > .fm-cart-count {
  position: absolute;
  top: -6px;
  right: 23px;
}

.fm-search-toggle {
  display: none;
}

.fm-menu-toggle {
  display: none;
}

.fm-header__nav-wrap {
  border-top: 1px solid #f0f2f4;
  border-bottom: 1px solid #edf0f2;
}

.fm-header__nav {
  min-height: 56px;
  display: flex;
  align-items: stretch;
  gap: 26px;
}

.fm-categories {
  position: relative;
  width: 230px;
  flex: 0 0 230px;
}

.fm-categories__button {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  background: var(--fm-blue);
  border: 0;
  border-radius: 12px 12px 0 0;
  font-weight: 700;
  cursor: pointer;
}

.fm-categories__button .fm-icon--chevron {
  width: 16px;
  margin-right: auto;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.fm-categories.is-open .fm-categories__button .fm-icon--chevron {
  transform: rotate(-90deg);
}

.fm-categories__dropdown {
  position: absolute;
  z-index: 100;
  top: calc(100% + 1px);
  right: 0;
  width: min(720px, calc(100vw - 40px));
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--fm-shadow);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.fm-categories:hover .fm-categories__dropdown,
.fm-categories.is-open .fm-categories__dropdown {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.fm-categories__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fm-line);
}

.fm-categories__heading a,
.fm-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fm-blue);
  font-size: 13px;
  font-weight: 700;
}

.fm-categories__heading a .fm-icon,
.fm-section-heading > a .fm-icon,
.fm-journal-card a .fm-icon,
.fm-post-card__more .fm-icon,
.fm-button .fm-icon {
  width: 17px;
  transform: scaleX(-1);
}

.fm-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.fm-categories__grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  background: #f8fafb;
  border-radius: 9px;
}

.fm-categories__grid a:hover {
  color: var(--fm-blue);
  background: rgba(var(--fm-blue-rgb), 0.07);
}

.fm-categories__grid small {
  color: var(--fm-muted);
  font-size: 10px;
}

.fm-primary-nav {
  min-width: 0;
  flex: 1;
}

.fm-menu,
.fm-primary-nav ul {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fm-primary-nav li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.fm-primary-nav > ul > li > a {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: #43515e;
  font-size: 13px;
  font-weight: 600;
}

.fm-primary-nav > ul > li > a:hover,
.fm-primary-nav .current-menu-item > a {
  color: var(--fm-blue);
}

.fm-primary-nav .sub-menu {
  position: absolute;
  z-index: 80;
  top: 100%;
  right: 0;
  width: 220px;
  height: auto;
  display: block;
  visibility: hidden;
  opacity: 0;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--fm-shadow-sm);
  transform: translateY(7px);
}

.fm-primary-nav li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.fm-primary-nav .sub-menu li,
.fm-primary-nav .sub-menu a {
  height: auto;
  display: block;
}

.fm-primary-nav .sub-menu a {
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 12px;
}

.fm-primary-nav .sub-menu a:hover {
  color: var(--fm-blue);
  background: #f4f7f8;
}

.fm-nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--fm-blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.fm-nav-phone .fm-icon {
  width: 18px;
}

.fm-search-overlay,
.fm-mobile-drawer,
.fm-drawer-backdrop,
.fm-mobile-bar {
  display: none;
}

.fm-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(112deg, rgba(var(--fm-navy-rgb), 0.99) 0%, var(--fm-navy) 53%, rgba(var(--fm-secondary-dark-rgb), 0.94) 100%);
}

.fm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(30deg, transparent 40%, rgba(255,255,255,.3) 40% 43%, transparent 43%),
    linear-gradient(-30deg, transparent 40%, rgba(255,255,255,.25) 40% 43%, transparent 43%);
  background-size: 90px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}

.fm-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 76px;
  padding-top: 60px;
  padding-bottom: 62px;
}

.fm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--fm-blue);
  font-size: 13px;
  font-weight: 700;
}

.fm-eyebrow i {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 5px;
}

.fm-eyebrow--light,
.fm-hero .fm-eyebrow {
  color: var(--fm-secondary-light);
}

.fm-hero h1 {
  max-width: 680px;
  margin: 16px 0 18px;
  font-size: clamp(40px, 4.1vw, 66px);
  line-height: 1.42;
  letter-spacing: -1.6px;
}

.fm-hero__content > p {
  max-width: 635px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 2;
}

.fm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.fm-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  cursor: pointer;
}

.fm-button:hover {
  transform: translateY(-2px);
}

.fm-button--gold {
  color: #fff;
  background: var(--fm-gold);
  box-shadow: 0 12px 26px rgba(var(--fm-button-shadow-rgb), 0.25);
}

.fm-button--gold:hover {
  color: #fff;
  background: var(--fm-accent-dark);
}

.fm-button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.fm-button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.fm-button--navy {
  color: #fff;
  background: var(--fm-navy);
}

.fm-button--navy:hover {
  color: #fff;
  background: var(--fm-blue);
}

.fm-button--outline {
  color: var(--fm-navy);
  background: #fff;
  border-color: #dce2e6;
}

.fm-button--outline:hover {
  color: var(--fm-blue);
  border-color: var(--fm-blue);
}

.fm-hero__trust {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 36px;
}

.fm-hero__trust > span {
  min-width: 112px;
  display: flex;
  flex-direction: column;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.fm-hero__trust > span:first-child {
  padding-right: 0;
}

.fm-hero__trust > span:last-child {
  border-left: 0;
}

.fm-hero__trust b {
  font-size: 20px;
}

.fm-hero__trust small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.fm-hero__visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.fm-hero__ring {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.fm-hero__ring::before,
.fm-hero__ring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.fm-hero__ring::before {
  inset: 35px;
}

.fm-hero__ring::after {
  inset: 75px;
}

.fm-hero-product {
  position: relative;
  z-index: 2;
  width: min(390px, 84%);
  display: block;
  padding: 16px 16px 0;
  color: var(--fm-ink);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow: 0 32px 70px rgba(1, 16, 27, 0.32);
  transform: rotate(-2.4deg);
}

.fm-hero-product:hover {
  transform: rotate(0) translateY(-4px);
}

.fm-hero-product__tag {
  position: absolute;
  z-index: 2;
  top: 27px;
  right: 27px;
  padding: 6px 11px;
  color: #fff;
  background: var(--fm-blue);
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
}

.fm-hero-product__image {
  height: 325px;
  overflow: hidden;
  background: var(--fm-cream);
  border-radius: 15px;
}

.fm-hero-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-hero-product__info {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 6px;
}

.fm-hero-product__info span {
  max-width: 60%;
  font-size: 13px;
  font-weight: 700;
}

.fm-hero-product__info strong {
  color: var(--fm-blue);
  font-size: 13px;
}

.fm-hero-product__info del {
  display: none;
}

.fm-rug-art {
  position: relative;
  z-index: 2;
  width: 320px;
  filter: drop-shadow(0 30px 45px rgba(1, 16, 27, 0.3));
  transform: rotate(-5deg);
}

.fm-rug-art__field {
  position: relative;
  height: 385px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 34px, var(--fm-accent-dark) 35px 39px, transparent 40px 73px, rgba(var(--fm-hero-ring-rgb), .7) 74px 78px, transparent 79px),
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(255,255,255,.07) 25px 27px),
    linear-gradient(135deg, var(--fm-secondary-dark), var(--fm-navy) 60%);
  border: 14px solid var(--fm-accent-light);
  outline: 4px solid var(--fm-navy);
  outline-offset: -10px;
  border-radius: 7px;
}

.fm-rug-art__field::before,
.fm-rug-art__field::after {
  content: "";
  position: absolute;
  width: 85px;
  height: 85px;
  border: 3px solid rgba(var(--fm-hero-border-rgb), .8);
  transform: rotate(45deg);
}

.fm-rug-art__field::before { top: -42px; right: -42px; }
.fm-rug-art__field::after { bottom: -42px; left: -42px; }

.fm-rug-art__fringe {
  height: 14px;
  margin-inline: 10px;
  background: repeating-linear-gradient(90deg, var(--fm-accent-light) 0 2px, transparent 2px 6px);
}

.fm-rug-art__fringe--top { margin-bottom: 3px; }
.fm-rug-art__fringe--bottom { margin-top: 3px; }

.fm-hero-product__info--demo {
  position: absolute;
  z-index: 4;
  bottom: 2px;
  width: 390px;
  padding: 14px 18px;
  color: var(--fm-ink);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--fm-shadow-sm);
}

.fm-hero__floating {
  position: absolute;
  z-index: 4;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  color: var(--fm-ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 13px;
  box-shadow: 0 15px 35px rgba(1, 16, 27, 0.16);
  backdrop-filter: blur(10px);
}

.fm-hero__floating > .fm-icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  color: var(--fm-blue);
  background: rgba(var(--fm-blue-rgb), 0.09);
  border-radius: 10px;
}

.fm-hero__floating span {
  display: flex;
  flex-direction: column;
}

.fm-hero__floating strong {
  font-size: 11px;
}

.fm-hero__floating small {
  color: var(--fm-muted);
  font-size: 9px;
}

.fm-hero__floating--quality {
  top: 50px;
  left: -18px;
}

.fm-hero__floating--delivery {
  right: -4px;
  bottom: 52px;
}

.fm-hero__ornament {
  position: absolute;
  border: 1px solid rgba(255,255,255,.08);
  transform: rotate(45deg);
}

.fm-hero__ornament--one {
  width: 180px;
  height: 180px;
  top: -100px;
  left: 8%;
}

.fm-hero__ornament--two {
  width: 110px;
  height: 110px;
  bottom: -65px;
  right: 6%;
}

.fm-benefits {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  background: #fff;
  border-bottom: 1px solid var(--fm-line);
}

.fm-benefits__grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.fm-benefit {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 28px;
  border-left: 1px solid var(--fm-line);
}

.fm-benefit:first-child {
  padding-right: 0;
}

.fm-benefit:last-child {
  border-left: 0;
}

.fm-benefit > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--fm-blue);
  background: rgba(var(--fm-blue-rgb), 0.07);
  border-radius: 14px;
}

.fm-benefit > span .fm-icon {
  width: 25px;
  height: 25px;
}

.fm-benefit > div {
  display: flex;
  flex-direction: column;
}

.fm-benefit strong {
  font-size: 13px;
}

.fm-benefit small {
  color: var(--fm-muted);
  font-size: 10px;
}

.fm-section {
  padding: 95px 0;
}

.fm-catalog {
  background: #fbfcfc;
}

.fm-section-banner {
  position: relative;
  isolation: isolate;
  min-height: 350px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 46px 52px;
  margin-bottom: 28px;
  background-color: var(--fm-cream);
  background-image: var(--fm-section-image);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius-lg);
  box-shadow: var(--fm-shadow-sm);
}

.fm-section-banner::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.02) 22%, rgba(255,255,255,.88) 67%, rgba(255,255,255,.98) 100%);
}

.fm-section-banner > div {
  width: min(460px, 48%);
}

.fm-section-banner h2 {
  margin: 8px 0 24px;
  color: var(--fm-ink);
  font-size: clamp(29px, 3.2vw, 46px);
  line-height: 1.5;
}

.fm-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.fm-section-heading h2,
.fm-finder h2,
.fm-about-strip h2,
.fm-newsletter h2 {
  margin: 7px 0 0;
  color: var(--fm-ink);
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.5;
}

.fm-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fm-category-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  color: #fff;
  background: var(--fm-navy);
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow-sm);
}

.fm-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--fm-shadow);
}

.fm-category-card__visual,
.fm-category-card__visual::after {
  position: absolute;
  inset: 0;
}

.fm-category-card__visual::after {
  content: "";
  background: linear-gradient(0deg, rgba(8, 25, 39, 0.92) 0%, rgba(8, 25, 39, 0.1) 68%);
}

.fm-category-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.fm-category-card:hover .fm-category-card__visual img {
  transform: scale(1.05);
}

.fm-category-card__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background:
    radial-gradient(circle at center, transparent 0 28px, rgba(var(--fm-category-ring-rgb), 0.68) 29px 32px, transparent 33px 55px, rgba(255,255,255,.09) 56px 59px, transparent 60px),
    linear-gradient(135deg, transparent 46%, rgba(255,255,255,.12) 47% 50%, transparent 51%),
    linear-gradient(45deg, var(--fm-secondary-dark), var(--fm-navy) 68%);
  background-size: auto, 70px 70px, auto;
}

.fm-category-card:nth-child(2n) .fm-category-card__pattern {
  background:
    repeating-linear-gradient(45deg, transparent 0 26px, rgba(255,255,255,.08) 27px 30px),
    linear-gradient(135deg, var(--fm-accent-dark), var(--fm-gold) 44%, var(--fm-navy));
}

.fm-category-card:nth-child(3n) .fm-category-card__pattern {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.16) 0 3px, transparent 4px),
    linear-gradient(135deg, var(--fm-navy), var(--fm-blue));
  background-size: 26px 26px, auto;
}

.fm-category-card__info {
  position: absolute;
  z-index: 3;
  right: 21px;
  bottom: 19px;
  display: flex;
  flex-direction: column;
}

.fm-category-card__info strong {
  font-size: 17px;
}

.fm-category-card__info small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
}

.fm-category-card__arrow {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 20px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
}

.fm-category-card__arrow .fm-icon {
  width: 17px;
  transform: scaleX(-1);
}

.fm-products-section {
  background: #fff;
}

.fm-section-heading--products {
  align-items: center;
}

.fm-product-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  background: #f3f6f7;
  border-radius: 13px;
}

.fm-product-tabs button {
  min-width: 105px;
  height: 40px;
  padding: 0 15px;
  color: var(--fm-text);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.fm-product-tabs button.is-active {
  color: var(--fm-navy);
  background: #fff;
  box-shadow: 0 4px 13px rgba(var(--fm-navy-rgb),.08);
}

.fm-product-panel {
  display: none;
}

.fm-product-panel.is-active {
  display: block;
  animation: fmFade .35s ease;
}

@keyframes fmFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.woocommerce ul.products,
.fm-products-panels ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.fm-products-panels ul.products::before,
.fm-products-panels ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.fm-products-panels ul.products li.product {
  position: relative;
  width: auto;
  float: none;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 15px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 17px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.woocommerce ul.products li.product:hover,
.fm-products-panels ul.products li.product:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--fm-blue-rgb), 0.22);
  box-shadow: var(--fm-shadow-sm);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.fm-products-panels ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.fm-product-image,
.woocommerce ul.products li.product > a > img,
.fm-products-panels ul.products li.product > a > img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  display: block;
  overflow: hidden;
  padding: 10px;
  margin: 0 0 14px;
  background: var(--fm-cream);
  border-radius: 12px;
}

.fm-product-image img,
.woocommerce ul.products li.product > a > img,
.fm-products-panels ul.products li.product > a > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  transition: transform .45s ease;
}

.woocommerce ul.products li.product:hover .fm-product-image img,
.fm-products-panels ul.products li.product:hover .fm-product-image img {
  transform: scale(1.035);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.fm-products-panels ul.products li.product .woocommerce-loop-product__title {
  min-height: 52px;
  padding: 0 4px;
  margin: 0 0 7px;
  color: var(--fm-ink);
  font-size: 13px;
  line-height: 1.85;
}

.woocommerce ul.products li.product .price,
.fm-products-panels ul.products li.product .price {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 4px;
  margin: auto 0 10px;
  color: var(--fm-blue);
  font-size: 14px;
  font-weight: 700;
}

.woocommerce ul.products li.product .price del,
.fm-products-panels ul.products li.product .price del {
  color: var(--fm-muted);
  font-size: 10px;
  font-weight: 400;
  opacity: 1;
}

.woocommerce ul.products li.product .price ins,
.fm-products-panels ul.products li.product .price ins {
  text-decoration: none;
}

.woocommerce ul.products li.product .button,
.fm-products-panels ul.products li.product .button {
  width: calc(100% - 8px);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  margin: 0 4px;
  color: var(--fm-navy);
  background: rgba(var(--fm-navy-rgb), 0.06);
  border: 0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.woocommerce ul.products li.product .button:hover,
.fm-products-panels ul.products li.product .button:hover {
  color: #fff;
  background: var(--fm-blue);
}

.fm-product-badges {
  position: absolute;
  z-index: 5;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fm-badge {
  min-width: 42px;
  padding: 4px 8px;
  color: #fff;
  background: var(--fm-danger);
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.fm-badge--muted {
  background: var(--fm-muted);
}

.fm-heart {
  position: absolute;
  z-index: 6;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--fm-text);
  background: rgba(255,255,255,.92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(var(--fm-navy-rgb),.1);
  cursor: pointer;
}

.fm-heart .fm-icon {
  width: 18px;
}

.fm-heart:hover,
.fm-heart.is-liked {
  color: var(--fm-danger);
}

.fm-section-cta {
  margin-top: 34px;
  text-align: center;
}

.fm-empty-products,
.fm-content-none {
  padding: 55px 24px;
  text-align: center;
  background: #f9fbfb;
  border: 1px dashed #ccd7dc;
  border-radius: var(--fm-radius);
}

.fm-empty-products h3,
.fm-content-none h2 {
  margin: 16px 0 5px;
}

.fm-empty-products p,
.fm-content-none p {
  margin: 0 auto 20px;
  color: var(--fm-text);
}

.fm-rug-mini {
  width: 52px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--fm-blue), var(--fm-navy));
  border: 4px solid var(--fm-accent-light);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(var(--fm-navy-rgb),.15);
}

.fm-rug-mini span {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255,255,255,.65);
  transform: rotate(45deg);
}

.fm-finder {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--fm-navy);
}

.fm-finder::before,
.fm-footer__pattern {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background:
    linear-gradient(30deg, transparent 42%, #fff 43% 46%, transparent 47%),
    linear-gradient(-30deg, transparent 42%, #fff 43% 46%, transparent 47%);
  background-size: 74px 43px;
}

.fm-finder__inner {
  position: relative;
  z-index: 2;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: center;
  gap: 60px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.fm-finder h2 {
  color: #fff;
  font-size: 31px;
}

.fm-finder__content p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.63);
}

.fm-finder__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 21px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  backdrop-filter: blur(5px);
}

.fm-finder__form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: rgba(255,255,255,.75);
  font-size: 10px;
}

.fm-finder__form select {
  height: 49px;
  padding: 0 13px;
  color: var(--fm-ink);
  background: #fff;
  border: 0;
  border-radius: 11px;
  outline: none;
}

.fm-brands {
  padding-bottom: 80px;
  background: var(--fm-cream);
}

.fm-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.fm-brand-grid a {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(var(--fm-navy-rgb),.08);
  border-radius: 17px;
}

.fm-brand-grid a:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--fm-shadow-sm);
}

.fm-brand-grid__image {
  width: 100%;
  height: 118px;
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
}

.fm-brand-grid__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform .35s ease;
}

.fm-brand-grid a:hover .fm-brand-grid__image img {
  transform: scale(1.04);
}

.fm-brand-grid strong {
  font-size: 12px;
}

.fm-brand-products {
  margin-top: 40px;
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(var(--fm-navy-rgb),.08);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(var(--fm-navy-rgb),.06);
}

.fm-brand-products__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}

.fm-brand-products__heading > div:first-child > span {
  color: var(--fm-blue);
  font-size: 11px;
  font-weight: 700;
}

.fm-brand-products__heading h3 {
  margin: 4px 0 0;
  color: var(--fm-ink);
  font-size: 24px;
}

.fm-brand-products__footer {
  margin-top: 25px;
  text-align: center;
}

.fm-brand-products__footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fm-blue);
  font-size: 12px;
  font-weight: 700;
}

.fm-brand-products__footer .fm-icon {
  width: 17px;
  transform: scaleX(-1);
}

.fm-about-strip {
  padding: 85px 0;
}

.fm-about-strip__inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 72px;
  padding: 50px 65px;
  background: #f7fafb;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius-lg);
}

.fm-about-strip__art {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--fm-cream);
  border: 8px solid #fff;
  outline: 1px solid var(--fm-line);
  border-radius: 18px;
  box-shadow: 0 22px 45px rgba(var(--fm-navy-rgb),.18);
  transform: perspective(900px) rotateY(-4deg) rotateZ(.5deg);
}

.fm-about-strip__art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 11px;
}

.fm-about-strip__content > p {
  margin: 14px 0 25px;
  color: var(--fm-text);
  font-size: 15px;
  line-height: 2.15;
}

.fm-about-strip__content > div {
  display: flex;
  align-items: center;
  gap: 25px;
}

.fm-about-strip__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fm-navy);
}

.fm-about-strip__phone > .fm-icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  color: var(--fm-blue);
  background: rgba(var(--fm-blue-rgb),.09);
  border-radius: 12px;
}

.fm-about-strip__phone span {
  display: flex;
  flex-direction: column;
}

.fm-about-strip__phone small {
  color: var(--fm-muted);
  font-size: 10px;
}

.fm-journal {
  padding-top: 20px;
  background: #fff;
}

.fm-journal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fm-journal-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

.fm-journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fm-shadow-sm);
}

.fm-journal-card__image {
  position: relative;
  height: 225px;
  display: block;
  overflow: hidden;
  background: var(--fm-cream);
}

.fm-journal-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.fm-journal-card:hover .fm-journal-card__image img {
  transform: scale(1.04);
}

.fm-journal-card__pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, transparent 0 30px, rgba(var(--fm-journal-ring-rgb), .7) 31px 34px, transparent 35px),
    linear-gradient(135deg, var(--fm-secondary-dark), var(--fm-blue) 55%, var(--fm-navy));
}

.fm-journal-card > div {
  padding: 22px;
}

.fm-journal-card > div > span {
  color: var(--fm-gold);
  font-size: 10px;
  font-weight: 700;
}

.fm-journal-card h3 {
  margin: 7px 0 9px;
  font-size: 16px;
  line-height: 1.85;
}

.fm-journal-card p {
  margin: 0 0 14px;
  color: var(--fm-text);
  font-size: 12px;
}

.fm-journal-card > div > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fm-blue);
  font-size: 11px;
  font-weight: 700;
}

.fm-newsletter {
  padding: 0 0 80px;
}

.fm-newsletter__inner {
  min-height: 165px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 35px 48px;
  color: #fff;
  background: linear-gradient(110deg, var(--fm-blue), var(--fm-navy));
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(var(--fm-navy-rgb),.17);
}

.fm-newsletter__inner > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fm-newsletter__inner > div > span {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
}

.fm-newsletter h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
}

.fm-newsletter p {
  margin: 2px 0 0;
  color: rgba(255,255,255,.65);
  font-size: 11px;
}

.fm-newsletter form {
  width: min(430px, 42%);
  height: 52px;
  display: flex;
  overflow: hidden;
  padding: 5px;
  background: #fff;
  border-radius: 13px;
}

.fm-newsletter input {
  min-width: 0;
  flex: 1;
  padding: 0 14px;
  border: 0;
  outline: 0;
}

.fm-newsletter button {
  min-width: 88px;
  color: #fff;
  background: var(--fm-gold);
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}

.fm-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.7);
  background: var(--fm-footer-bg);
}

.fm-footer__pattern {
  width: 40%;
  right: auto;
  left: 0;
  opacity: .035;
}

.fm-footer__main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.55fr .8fr .8fr 1fr;
  gap: 60px;
  padding: 70px 0 48px;
}

.fm-footer__about img {
  filter: brightness(0) invert(1);
}

.fm-footer__about > p {
  max-width: 370px;
  margin: 18px 0;
  font-size: 12px;
  line-height: 2.1;
}

.fm-footer__trust {
  display: flex;
  gap: 9px;
}

.fm-footer__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  font-size: 10px;
}

.fm-footer__trust .fm-icon {
  width: 16px;
}

.fm-footer h3 {
  margin: 4px 0 18px;
  color: #fff;
  font-size: 14px;
}

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

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

.fm-footer li a {
  font-size: 11px;
}

.fm-footer li a:hover {
  color: #fff;
  padding-right: 4px;
}

.fm-footer__contact > a:first-of-type {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.fm-footer__contact > a:first-of-type > .fm-icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border-radius: 12px;
}

.fm-footer__contact > a span {
  display: flex;
  flex-direction: column;
}

.fm-footer__contact small {
  color: rgba(255,255,255,.5);
  font-size: 9px;
}

.fm-footer__contact p {
  margin: 15px 0;
  font-size: 11px;
}

.fm-footer__whatsapp {
  display: inline-flex;
  padding: 7px 12px;
  color: var(--fm-secondary-light);
  background: rgba(44,183,126,.1);
  border: 1px solid rgba(64,209,151,.16);
  border-radius: 8px;
  font-size: 10px;
}

.fm-footer__bottom {
  position: relative;
  z-index: 2;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 10px;
}

.fm-footer__bottom p {
  margin: 0;
}

/* Pages and blog */
.fm-page-main {
  min-height: 55vh;
}

.fm-page-hero {
  padding: 65px 0;
  background:
    linear-gradient(110deg, rgba(247,243,237,.96), rgba(240,247,249,.92)),
    repeating-linear-gradient(45deg, transparent 0 30px, rgba(var(--fm-navy-rgb),.05) 31px 33px);
  border-bottom: 1px solid var(--fm-line);
}

.fm-page-hero h1 {
  max-width: 900px;
  margin: 9px 0 0;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.5;
}

.fm-page-hero--single {
  padding-bottom: 120px;
}

.fm-archive-description {
  max-width: 750px;
  margin-top: 10px;
  color: var(--fm-text);
}

.fm-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px;
  padding-top: 60px;
  padding-bottom: 85px;
}

.fm-post-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fm-post-card,
.fm-search-product {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 25px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
}

.fm-post-card__image,
.fm-search-product > a {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--fm-cream);
  border-radius: 13px;
}

.fm-post-card__image img,
.fm-search-product > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-post-card__content,
.fm-search-product > div {
  align-self: center;
  padding: 8px 8px 8px 15px;
}

.fm-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--fm-gold);
  font-size: 10px;
}

.fm-entry__meta a {
  color: var(--fm-blue);
}

.fm-post-card h2,
.fm-search-product h2 {
  margin: 8px 0;
  font-size: 19px;
}

.fm-post-card p {
  margin: 0 0 12px;
  color: var(--fm-text);
  font-size: 12px;
}

.fm-post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fm-blue);
  font-size: 11px;
  font-weight: 700;
}

.fm-sidebar {
  align-self: start;
}

.fm-widget {
  padding: 20px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 16px;
}

.fm-widget__title,
.fm-widget > h2,
.fm-widget > h3 {
  margin: 0 0 15px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--fm-line);
  font-size: 14px;
}

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

.fm-widget li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  color: var(--fm-text);
  border-bottom: 1px dashed #edf0f2;
  font-size: 11px;
}

.fm-widget li:last-child {
  border-bottom: 0;
}

.fm-widget li a:hover {
  color: var(--fm-blue);
}

.fm-entry {
  position: relative;
  max-width: 960px;
  padding-bottom: 80px;
}

.fm-single .fm-entry {
  margin-top: -75px;
}

.fm-entry__featured {
  overflow: hidden;
  margin-bottom: 30px;
  background: var(--fm-cream);
  border: 10px solid #fff;
  border-radius: 24px;
  box-shadow: var(--fm-shadow-sm);
}

.fm-entry__featured img {
  width: 100%;
  display: block;
  border-radius: 15px;
}

.fm-entry__content {
  color: #344451;
  font-size: 15px;
  line-height: 2.2;
}

.fm-entry__content h2,
.fm-entry__content h3,
.fm-entry__content h4 {
  color: var(--fm-ink);
  line-height: 1.75;
}

.fm-entry__content h2 {
  margin-top: 45px;
  font-size: 26px;
}

.fm-entry__content a {
  color: var(--fm-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fm-entry__content blockquote {
  padding: 22px 28px;
  margin: 30px 0;
  background: var(--fm-cream);
  border-right: 4px solid var(--fm-gold);
  border-radius: 12px 0 0 12px;
}

.fm-entry__content table {
  width: 100%;
  border-collapse: collapse;
}

.fm-entry__content th,
.fm-entry__content td {
  padding: 12px;
  border: 1px solid var(--fm-line);
}

.fm-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 35px;
}

.fm-entry__tags a {
  padding: 5px 10px;
  color: var(--fm-text);
  background: #f2f5f6;
  border-radius: 7px;
  font-size: 10px;
}

.fm-post-navigation {
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 60px;
}

.fm-post-navigation > div {
  padding: 17px;
  background: #f8fafb;
  border-radius: 12px;
}

.fm-post-navigation small {
  display: block;
  color: var(--fm-muted);
  font-size: 9px;
}

.fm-comments {
  max-width: 960px;
  padding-bottom: 80px;
}

.fm-comments ol {
  list-style: none;
}

.fm-comments .comment-body {
  padding: 20px;
  margin: 12px 0;
  background: #f8fafb;
  border-radius: 14px;
}

.fm-comments input:not([type="submit"]),
.fm-comments textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--fm-line);
  border-radius: 10px;
}

.fm-comments input[type="submit"] {
  padding: 11px 20px;
  color: #fff;
  background: var(--fm-navy);
  border: 0;
  border-radius: 10px;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 6px;
}

.navigation.pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  background: #f2f5f6;
  border-radius: 8px;
  font-size: 11px;
}

.navigation.pagination .current {
  color: #fff;
  background: var(--fm-blue);
}

.fm-404 {
  min-height: 650px;
  display: grid;
  place-items: center;
  padding: 70px 0;
  text-align: center;
  background: var(--fm-cream);
}

.fm-404__art span {
  color: var(--fm-navy);
  font-size: 110px;
  font-weight: 700;
  letter-spacing: 8px;
  text-shadow: 8px 8px 0 rgba(var(--fm-blue-rgb),.12);
}

.fm-404 h1 {
  margin: 0;
  font-size: 30px;
}

.fm-404 p {
  color: var(--fm-text);
}

.fm-404 .fm-search-form {
  width: min(520px, 100%);
  margin: 20px auto;
  background: #fff;
}

/* WooCommerce archive and product */
.fm-shop-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, var(--fm-navy), var(--fm-secondary-dark));
}

.fm-shop-hero .fm-container {
  min-height: 245px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.fm-shop-hero h1 {
  margin: 7px 0 5px;
  font-size: 38px;
}

.fm-shop-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.65);
}

.fm-shop-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.fm-shop-hero__media {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  height: 205px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 13px;
  background: var(--fm-cream);
  border: 7px solid rgba(var(--fm-shop-frame-rgb), .95);
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: -10px;
  border-radius: 8px;
  box-shadow: 0 22px 42px rgba(3,24,40,.3);
  transform: rotate(-4deg);
}

.fm-shop-hero__media::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(var(--fm-navy-rgb),.15);
}

.fm-shop-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.fm-shop-hero__rug {
  position: relative;
  width: 230px;
  height: 175px;
  display: block;
  background:
    radial-gradient(circle at center, transparent 0 22px, var(--fm-accent-light) 23px 26px, transparent 27px 48px, rgba(255,255,255,.15) 49px 52px, transparent 53px),
    linear-gradient(135deg, var(--fm-blue), var(--fm-navy));
  border: 9px solid var(--fm-accent-light);
  outline: 3px solid rgba(255,255,255,.5);
  outline-offset: -8px;
  border-radius: 5px;
  box-shadow: 0 20px 35px rgba(3,24,40,.25);
  transform: rotate(-7deg);
}

.fm-shop-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 85px;
}

.fm-shop-sidebar {
  align-self: start;
}

.fm-shop-sidebar__mobile-head,
.fm-filter-toggle {
  display: none;
}

.fm-catalog-filter {
  display: grid;
  gap: 15px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 16px;
}

.fm-catalog-filter__title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  color: var(--fm-navy);
  border-bottom: 1px solid var(--fm-line);
}

.fm-catalog-filter__title .fm-icon {
  width: 19px;
}

.fm-catalog-filter label:not(.fm-catalog-filter__check) {
  display: grid;
  gap: 7px;
  color: var(--fm-text);
  font-size: 10px;
  font-weight: 600;
}

.fm-catalog-filter select,
.fm-catalog-filter input[type="number"] {
  width: 100%;
  height: 43px;
  padding: 0 11px;
  color: var(--fm-ink);
  background: #fbfcfc;
  border: 1px solid var(--fm-line);
  border-radius: 10px;
  outline: none;
  font: inherit;
}

.fm-catalog-filter select:focus,
.fm-catalog-filter input[type="number"]:focus {
  border-color: var(--fm-blue);
  box-shadow: 0 0 0 3px rgba(var(--fm-blue-rgb),.08);
}

.fm-catalog-filter__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fm-catalog-filter__check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fm-ink);
  font-size: 11px;
  cursor: pointer;
}

.fm-catalog-filter__check input {
  width: 17px;
  height: 17px;
  accent-color: var(--fm-blue);
}

.fm-catalog-filter .fm-button {
  width: 100%;
  min-height: 44px;
}

.fm-catalog-filter__reset {
  color: var(--fm-muted);
  font-size: 10px;
  text-align: center;
  text-decoration: underline;
}

.fm-widget--help {
  color: #fff;
  background: var(--fm-navy);
  border: 0;
}

.fm-widget--help > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.1);
  border-radius: 13px;
}

.fm-widget--help h3 {
  margin: 13px 0 4px;
  padding: 0;
  border: 0;
}

.fm-widget--help p {
  margin: 0 0 8px;
  color: rgba(255,255,255,.6);
  font-size: 10px;
}

.fm-widget--help a {
  color: #fff;
  font-weight: 700;
}

.fm-shop-content .woocommerce-breadcrumb,
.fm-product-page .woocommerce-breadcrumb {
  margin: 0 0 20px;
  color: var(--fm-muted);
  font-size: 10px;
}

.fm-shop-content .woocommerce-result-count {
  margin: 10px 0 25px;
  color: var(--fm-muted);
  font-size: 11px;
}

.fm-shop-content .woocommerce-ordering {
  margin: 0 0 22px;
}

.fm-shop-content .woocommerce-ordering select {
  height: 43px;
  padding: 0 13px;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 10px;
  outline: 0;
  font-size: 11px;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  background: #f2f5f6;
  border-radius: 8px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  color: #fff;
  background: var(--fm-blue);
}

.fm-product-page {
  padding-top: 38px;
  padding-bottom: 85px;
}

.fm-product-page .product.type-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
  gap: 55px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto;
  float: none;
  margin: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  overflow: hidden;
  background: var(--fm-cream);
  border-radius: 20px;
}

.woocommerce div.product div.images img {
  border-radius: 16px;
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-top: 10px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: auto;
  float: none;
}

.woocommerce div.product .summary {
  padding: 10px 0;
}

.woocommerce div.product .product_title {
  margin: 0 0 13px;
  font-size: 30px;
  line-height: 1.6;
}

.woocommerce div.product .woocommerce-product-rating {
  margin-bottom: 14px;
}

.woocommerce .star-rating {
  color: var(--fm-gold);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--fm-blue);
  font-size: 22px;
  font-weight: 700;
}

.woocommerce div.product p.price del {
  color: var(--fm-muted);
  font-size: 13px;
  opacity: 1;
}

.woocommerce div.product p.price ins {
  text-decoration: none;
}

.woocommerce-product-details__short-description {
  color: var(--fm-text);
  font-size: 13px;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 20px 0;
  margin: 15px 0;
  border-top: 1px solid var(--fm-line);
  border-bottom: 1px solid var(--fm-line);
}

.woocommerce .quantity .qty {
  width: 70px;
  height: 50px;
  border: 1px solid var(--fm-line);
  border-radius: 11px;
}

.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  min-height: 48px;
  padding: 0 25px;
  color: #fff;
  background: var(--fm-blue);
  border-radius: 11px;
  font-family: inherit;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  color: #fff;
  background: var(--fm-navy);
}

.woocommerce div.product .product_meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--fm-muted);
  font-size: 10px;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
  grid-column: 1 / -1;
  margin-top: 45px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 5px;
  padding: 0;
  margin: 0 0 25px;
  border-bottom: 1px solid var(--fm-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 12px 18px;
  color: var(--fm-text);
  border-bottom: 2px solid transparent;
  font-size: 12px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--fm-blue);
  border-bottom-color: var(--fm-blue);
}

.woocommerce div.product .woocommerce-tabs .panel {
  color: var(--fm-text);
  line-height: 2.1;
}

.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
  margin-bottom: 25px;
  font-size: 27px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 16px 54px 16px 18px;
  background: #f7faf9;
  border-top-color: var(--fm-success);
  border-radius: 11px;
  font-size: 12px;
}

.woocommerce-info {
  border-top-color: var(--fm-blue);
}

.woocommerce-error {
  border-top-color: var(--fm-danger);
}

.woocommerce table.shop_table {
  overflow: hidden;
  border-color: var(--fm-line);
  border-radius: 14px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 13px;
  border-color: var(--fm-line);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #dce2e6;
  border-radius: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 27px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

.woocommerce-MyAccount-navigation ul {
  padding: 10px;
  margin: 0;
  background: #f7f9fa;
  border-radius: 14px;
  list-style: none;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 9px 11px;
  border-radius: 8px;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
  color: #fff;
  background: var(--fm-blue);
}

@media (max-width: 1180px) {
  .fm-header__main {
    grid-template-columns: 190px minmax(250px, 1fr) auto;
    gap: 20px;
  }

  .fm-header-action__text,
  .fm-nav-phone {
    display: none;
  }

  .fm-header-action {
    width: 46px;
    padding: 0;
    justify-content: center;
  }

  .fm-header-cart > .fm-cart-count {
    right: 27px;
  }

  .fm-primary-nav > ul > li > a {
    padding-inline: 9px;
    font-size: 12px;
  }

  .fm-hero__inner {
    gap: 30px;
  }

  .fm-hero__floating--quality { left: 0; }
  .fm-hero__floating--delivery { right: 0; }

  .fm-benefit {
    padding-inline: 15px;
  }

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

  .fm-brand-products__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .fm-footer__main {
    gap: 32px;
  }
}

@media (max-width: 980px) {
  .fm-container {
    width: min(calc(100% - 30px), var(--fm-container));
  }

  .fm-announcement p {
    display: none;
  }

  .fm-announcement__inner {
    justify-content: center;
  }

  .fm-header.is-scrolled {
    position: sticky;
  }

  .fm-header__main {
    min-height: 72px;
    grid-template-columns: 45px 1fr auto;
    gap: 12px;
  }

  .fm-header__logo {
    justify-self: center;
  }

  .fm-header__logo img {
    max-width: 175px;
    max-height: 43px;
  }

  .fm-menu-toggle,
  .fm-search-toggle {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--fm-navy);
    background: #f3f6f7;
    border: 0;
    border-radius: 11px;
  }

  .fm-header__search,
  .fm-header__nav-wrap,
  .fm-header-actions .fm-search-toggle,
  .fm-header__actions > a:not(.fm-header-cart) {
    display: none;
  }

  .fm-header__actions {
    gap: 6px;
  }

  .fm-header__actions .fm-search-toggle {
    display: grid;
  }

  .fm-search-overlay {
    position: fixed;
    z-index: 10020;
    inset: 0;
    display: grid;
    place-items: start center;
    padding: 100px 20px;
    visibility: hidden;
    opacity: 0;
    background: rgba(7, 24, 36, .84);
    backdrop-filter: blur(8px);
    transition: opacity .2s ease, visibility .2s;
  }

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

  .fm-search-overlay__close {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 0;
    border-radius: 12px;
  }

  .fm-search-overlay__inner {
    width: min(620px, 100%);
  }

  .fm-search-overlay__inner > strong {
    display: block;
    margin-bottom: 17px;
    color: #fff;
    font-size: 20px;
  }

  .fm-search-overlay .fm-search-form {
    height: 58px;
    background: #fff;
  }

  .fm-drawer-backdrop {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: rgba(7,24,36,.58);
    backdrop-filter: blur(3px);
    transition: opacity .25s ease, visibility .25s;
  }

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

  .fm-mobile-drawer {
    position: fixed;
    z-index: 10010;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 90vw);
    display: block;
    overflow-y: auto;
    padding: 22px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(7,24,36,.18);
    transform: translateX(105%);
    transition: transform .28s ease;
  }

  .fm-mobile-drawer.is-open {
    transform: none;
  }

  .fm-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
  }

  .fm-mobile-drawer__header img {
    max-width: 170px;
  }

  .fm-mobile-drawer__close,
  .fm-filter-close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #f2f5f6;
    border: 0;
    border-radius: 10px;
  }

  .fm-mobile-drawer .fm-search-form {
    margin-bottom: 18px;
  }

  .fm-mobile-menu,
  .fm-mobile-drawer .fm-menu {
    display: block;
    height: auto;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .fm-mobile-menu li,
  .fm-mobile-drawer .fm-menu li {
    border-bottom: 1px solid var(--fm-line);
  }

  .fm-mobile-menu a,
  .fm-mobile-drawer .fm-menu a {
    display: block;
    padding: 11px 5px;
    font-size: 13px;
    font-weight: 600;
  }

  .fm-mobile-menu .sub-menu {
    padding-right: 15px;
    list-style: none;
  }

  .fm-mobile-menu .sub-menu a {
    color: var(--fm-text);
    font-size: 11px;
    font-weight: 400;
  }

  .fm-mobile-drawer__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
    padding: 12px;
    color: #fff;
    background: var(--fm-blue);
    border-radius: 11px;
    font-weight: 700;
  }

  .fm-hero,
  .fm-hero__inner {
    min-height: auto;
  }

  .fm-hero__inner {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 72px;
    padding-bottom: 70px;
  }

  .fm-hero__content {
    text-align: center;
  }

  .fm-hero .fm-eyebrow,
  .fm-hero__actions,
  .fm-hero__trust {
    justify-content: center;
  }

  .fm-hero h1,
  .fm-hero__content > p {
    margin-inline: auto;
  }

  .fm-hero__visual {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .fm-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 15px 0;
  }

  .fm-benefit {
    border: 0;
  }

  .fm-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .woocommerce ul.products,
  .fm-products-panels ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .fm-product-image,
  .woocommerce ul.products li.product > a > img,
  .fm-products-panels ul.products li.product > a > img {
    height: auto;
    aspect-ratio: 2 / 3;
  }

  .fm-finder__inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .fm-about-strip__inner {
    grid-template-columns: .9fr 1.1fr;
    gap: 35px;
    padding: 40px;
  }

  .fm-footer__main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .fm-footer__contact {
    grid-column: 1 / -1;
  }

  .fm-content-layout {
    grid-template-columns: 1fr;
  }

  .fm-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .fm-shop-layout {
    display: block;
    padding-top: 30px;
  }

  .fm-shop-hero__media {
    flex-basis: 245px;
    width: 245px;
    height: 170px;
  }

  .fm-shop-sidebar {
    position: fixed;
    z-index: 10010;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 90vw);
    overflow-y: auto;
    padding: 20px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(7,24,36,.18);
    transform: translateX(105%);
    transition: transform .28s ease;
  }

  .fm-shop-sidebar.is-open {
    transform: none;
  }

  .fm-shop-sidebar__mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .fm-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    margin-bottom: 20px;
    color: #fff;
    background: var(--fm-navy);
    border: 0;
    border-radius: 10px;
  }

  .fm-filter-toggle .fm-icon {
    width: 18px;
  }

  .fm-product-page .product.type-product {
    gap: 30px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 66px;
    font-size: 14px;
  }

  .admin-bar .fm-header.is-scrolled {
    top: 46px;
  }

  .fm-container {
    width: min(calc(100% - 24px), var(--fm-container));
  }

  .fm-announcement {
    min-height: 34px;
  }

  .fm-announcement__inner {
    min-height: 34px;
  }

  .fm-header__main {
    min-height: 66px;
  }

  .fm-header__logo img {
    max-width: 145px;
    max-height: 38px;
  }

  .fm-menu-toggle,
  .fm-search-toggle,
  .fm-header-action {
    width: 39px;
    height: 39px;
    min-height: 39px;
  }

  .fm-header__actions .fm-search-toggle {
    display: none;
  }

  .fm-hero__inner {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .fm-hero h1 {
    font-size: 36px;
    line-height: 1.5;
    letter-spacing: -.6px;
  }

  .fm-hero__content > p {
    font-size: 14px;
  }

  .fm-hero__actions {
    flex-direction: column;
  }

  .fm-hero__actions .fm-button {
    width: 100%;
  }

  .fm-hero__trust > span {
    min-width: 0;
    flex: 1;
    padding-inline: 10px;
  }

  .fm-hero__trust b {
    font-size: 16px;
  }

  .fm-hero__trust small {
    font-size: 9px;
  }

  .fm-hero__visual {
    min-height: 380px;
  }

  .fm-hero__ring {
    width: 330px;
    height: 330px;
  }

  .fm-hero-product {
    width: min(310px, 82%);
    padding: 11px 11px 0;
  }

  .fm-hero-product__image {
    height: 255px;
  }

  .fm-rug-art {
    width: 230px;
  }

  .fm-rug-art__field {
    height: 300px;
  }

  .fm-hero__floating {
    min-width: 145px;
    padding: 8px 10px;
  }

  .fm-hero__floating--quality { top: 25px; left: -4px; }
  .fm-hero__floating--delivery { bottom: 28px; right: -4px; }

  .fm-benefits__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fm-benefit {
    gap: 8px;
    padding: 10px 5px;
  }

  .fm-benefit > span {
    width: 42px;
    height: 42px;
  }

  .fm-benefit small {
    display: none;
  }

  .fm-benefit strong {
    font-size: 11px;
  }

  .fm-section {
    padding: 65px 0;
  }

  .fm-section-heading,
  .fm-section-heading--products {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 25px;
  }

  .fm-section-heading h2,
  .fm-finder h2,
  .fm-about-strip h2 {
    font-size: 25px;
  }

  .fm-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .fm-category-card {
    min-height: 195px;
    border-radius: 15px;
  }

  .fm-category-card__info {
    right: 13px;
    bottom: 13px;
  }

  .fm-category-card__info strong {
    font-size: 13px;
  }

  .fm-category-card__arrow {
    left: 10px;
    bottom: 11px;
    width: 30px;
    height: 30px;
  }

  .fm-product-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .fm-product-tabs button {
    min-width: 95px;
  }

  .woocommerce ul.products,
  .fm-products-panels ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .woocommerce ul.products li.product,
  .fm-products-panels ul.products li.product {
    padding: 7px 7px 11px;
    border-radius: 13px;
  }

  .fm-product-image,
  .woocommerce ul.products li.product > a > img,
  .fm-products-panels ul.products li.product > a > img {
    height: auto;
    aspect-ratio: 2 / 3;
    margin-bottom: 10px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .fm-products-panels ul.products li.product .woocommerce-loop-product__title {
    min-height: 48px;
    font-size: 11px;
  }

  .woocommerce ul.products li.product .price,
  .fm-products-panels ul.products li.product .price {
    font-size: 11px;
  }

  .woocommerce ul.products li.product .button,
  .fm-products-panels ul.products li.product .button {
    min-height: 37px;
    font-size: 10px;
  }

  .fm-product-badges {
    top: 13px;
    right: 13px;
  }

  .fm-heart {
    top: 12px;
    left: 12px;
    width: 31px;
    height: 31px;
  }

  .fm-finder__inner {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .fm-finder__form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .fm-brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .fm-brand-grid a {
    min-height: 125px;
  }

  .fm-brand-products {
    margin-top: 28px;
    padding: 18px 10px;
    border-radius: 18px;
  }

  .fm-brand-products__heading h3 {
    font-size: 20px;
  }

  .fm-shop-hero .fm-container {
    min-height: 330px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .fm-shop-hero h1 {
    font-size: 29px;
  }

  .fm-shop-hero__media {
    width: 190px;
    height: 132px;
    flex-basis: 132px;
    align-self: flex-end;
    padding: 8px;
    border-width: 5px;
  }

  .fm-catalog-filter__prices {
    grid-template-columns: 1fr;
  }

  .fm-about-strip__inner {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 20px;
  }

  .fm-about-strip__art {
    height: 260px;
    transform: none;
  }

  .fm-about-strip__content > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .fm-journal {
    padding-top: 0;
  }

  .fm-journal__grid {
    grid-template-columns: 1fr;
  }

  .fm-newsletter {
    padding-bottom: 50px;
  }

  .fm-newsletter__inner {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 22px;
  }

  .fm-newsletter__inner > div {
    align-items: flex-start;
  }

  .fm-newsletter form {
    width: 100%;
  }

  .fm-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
    padding-top: 50px;
  }

  .fm-footer__about,
  .fm-footer__contact {
    grid-column: 1 / -1;
  }

  .fm-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 14px 0;
  }

  .fm-mobile-bar {
    position: fixed;
    z-index: 9990;
    right: 0;
    bottom: 0;
    left: 0;
    height: 66px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--fm-line);
    box-shadow: 0 -8px 25px rgba(var(--fm-navy-rgb),.08);
    backdrop-filter: blur(12px);
  }

  .fm-mobile-bar a,
  .fm-mobile-bar button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0;
    color: var(--fm-text);
    background: transparent;
    border: 0;
    font-size: 9px;
  }

  .fm-mobile-bar .fm-icon {
    width: 20px;
    height: 20px;
  }

  .fm-mobile-bar .fm-cart-count {
    position: absolute;
    top: 0;
    right: calc(50% + 4px);
  }

  .fm-page-hero {
    padding: 48px 0;
  }

  .fm-page-hero--single {
    padding-bottom: 95px;
  }

  .fm-post-card,
  .fm-search-product {
    grid-template-columns: 1fr;
  }

  .fm-post-card__image,
  .fm-search-product > a {
    height: 230px;
  }

  .fm-sidebar {
    grid-template-columns: 1fr;
  }

  .fm-entry__content {
    font-size: 14px;
  }

  .fm-post-navigation {
    grid-template-columns: 1fr;
  }

  .fm-404__art span {
    font-size: 75px;
  }

  .fm-shop-hero .fm-container {
    min-height: 210px;
  }

  .fm-shop-hero--term .fm-container {
    min-height: 330px;
  }

  .fm-shop-hero h1 {
    font-size: 30px;
  }

  .fm-shop-hero__rug {
    display: none;
  }

  .fm-product-page .product.type-product {
    display: block;
  }

  .woocommerce div.product .summary {
    padding-top: 25px;
  }

  .woocommerce div.product .product_title {
    font-size: 24px;
  }

  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related.products,
  .woocommerce div.product .upsells.products {
    margin-top: 35px;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs {
    overflow-x: auto;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .fm-header__logo img { max-width: 125px; }
  .fm-product-image,
  .woocommerce ul.products li.product > a > img,
  .fm-products-panels ul.products li.product > a > img { height: auto; aspect-ratio: 2 / 3; }
  .fm-hero__floating { min-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ========================================================================
   Farsh Mart 2.0 — configurable banners and advanced shopping tools
   ======================================================================== */
.fm-hero-slider {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--fm-navy);
}

.fm-hero-slider__track,
.fm-hero-slide {
  min-height: 600px;
}

.fm-hero-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background-image: linear-gradient(90deg, rgba(8, 23, 36, .08) 5%, rgba(8, 23, 36, .32) 48%, rgba(8, 23, 36, .94) 100%), var(--fm-slide-image);
  background-position: center;
  background-size: cover;
  transition: opacity .7s ease, visibility .7s ease;
}

.fm-hero-slide.is-active {
  position: relative;
  visibility: visible;
  opacity: 1;
  z-index: 1;
}

.fm-hero-slide__inner {
  display: flex;
  align-items: center;
  min-height: 600px;
}

.fm-hero-slide__copy {
  width: min(590px, 52%);
  color: #fff;
  padding: 80px 0 100px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .24);
}

.fm-hero-slide__copy h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.25;
  margin: 18px 0;
  letter-spacing: -.9px;
}

.fm-hero-slide__copy p {
  max-width: 560px;
  font-size: 18px;
  line-height: 2;
  color: rgba(255, 255, 255, .9);
  margin: 0 0 28px;
}

.fm-hero-slide__copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fm-button--glass {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(10px);
}

.fm-button--glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.fm-hero-slider__nav {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 28px;
  transform: translateX(50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(8, 23, 36, .4);
  backdrop-filter: blur(12px);
}

.fm-hero-slider__nav > div { display: flex; gap: 7px; }
.fm-hero-slider__nav button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
.fm-hero-slider__nav > div button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .48); }
.fm-hero-slider__nav > div button.is-active { width: 26px; border-radius: 5px; background: var(--fm-gold); }
.fm-hero-slider__nav > button:first-child .fm-icon { transform: rotate(180deg); }

.fm-color-finder { background: linear-gradient(180deg, #fff, var(--fm-cream)); }
.fm-color-finder__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.fm-color-finder__grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border: 1px solid var(--fm-border); border-radius: 18px; background: #fff; color: var(--fm-text); text-align: center; transition: .25s ease; }
.fm-color-finder__grid a:hover { transform: translateY(-5px); border-color: var(--fm-blue); box-shadow: var(--fm-shadow-sm); }
.fm-color-finder__grid i { width: 62px; height: 62px; border: 5px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(16, 43, 64, .13), 0 6px 18px rgba(16, 43, 64, .12); }
.fm-color-finder__grid span { font-weight: 800; }
.fm-color-finder__grid small { color: var(--fm-muted); }

.fm-promo-banner { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0; color: #fff; background: linear-gradient(120deg, var(--fm-secondary-dark), var(--fm-navy)); }
.fm-promo-banner::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--fm-promo-image); background-size: cover; background-position: center; opacity: 1; }
.fm-promo-banner::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(var(--fm-navy-rgb), .18) 15%, rgba(var(--fm-navy-rgb), .62) 55%, rgba(var(--fm-navy-rgb), .97) 100%); }
.fm-promo-banner .fm-container > div { max-width: 650px; margin-right: 0; margin-left: auto; }
.fm-promo-banner span { font-size: 13px; color: var(--fm-accent-light); font-weight: 800; }
.fm-promo-banner h2 { margin: 8px 0 12px; color: #fff; font-size: clamp(28px, 4vw, 44px); }
.fm-promo-banner p { max-width: 600px; margin: 0 0 22px; color: rgba(255, 255, 255, .84); font-size: 16px; line-height: 2; }

.fm-customer-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 320px; gap: 16px; }
.fm-customer-gallery__item { position: relative; overflow: hidden; margin: 0; border-radius: 20px; background: var(--fm-cream); }
.fm-customer-gallery__item:first-child { grid-column: span 2; }
.fm-customer-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.fm-customer-gallery__item:hover img { transform: scale(1.04); }
.fm-customer-gallery__item span { position: absolute; right: 14px; left: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; color: #fff; font-weight: 800; background: rgba(8, 23, 36, .72); backdrop-filter: blur(9px); }
.fm-customer-gallery__item .fm-icon { width: 18px; }

.fm-categories__dropdown--mega { width: min(1120px, calc(100vw - 40px)); padding: 0; }
.fm-mega-menu { padding: 22px; }
.fm-mega-menu__top { display: flex; align-items: center; justify-content: space-between; padding: 0 0 16px; border-bottom: 1px solid var(--fm-border); }
.fm-mega-menu__top strong { font-size: 16px; color: var(--fm-navy); }
.fm-mega-menu__top a { display: flex; align-items: center; gap: 6px; color: var(--fm-blue); font-size: 13px; font-weight: 800; }
.fm-mega-menu__top .fm-icon { width: 17px; }
.fm-mega-menu__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 18px; }
.fm-mega-menu__column { padding: 14px; border-radius: 14px; background: #f8fafb; }
.fm-mega-menu__column h3 { margin: 0 0 11px; padding-bottom: 9px; border-bottom: 1px solid var(--fm-border); color: var(--fm-navy); font-size: 14px; }
.fm-mega-menu__column ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fm-mega-menu__column a { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 7px; color: var(--fm-text); font-size: 13px; }
.fm-mega-menu__column a:hover { color: var(--fm-blue); background: #fff; }
.fm-color-dot { flex: 0 0 auto; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }

.fm-search-form { position: relative; overflow: visible; }
.fm-live-results { position: absolute; z-index: 100; top: calc(100% + 9px); right: 0; left: 0; display: none; max-height: min(530px, 70vh); overflow-y: auto; padding: 8px; border: 1px solid var(--fm-border); border-radius: 15px; background: #fff; box-shadow: 0 18px 55px rgba(8, 31, 47, .18); }
.fm-live-results.is-open { display: block; }
.fm-live-results > a:not(.fm-live-results__all) { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px; border-radius: 10px; color: var(--fm-text); }
.fm-live-results > a:hover { background: var(--fm-cream); }
.fm-live-results img { width: 58px; height: 72px; object-fit: contain; border-radius: 8px; background: #f5f5f5; }
.fm-live-results span { display: flex; min-width: 0; flex-direction: column; }
.fm-live-results b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.fm-live-results small { color: var(--fm-muted); }
.fm-live-results strong { color: var(--fm-blue); font-size: 12px; }
.fm-live-results__all { display: block; padding: 11px; border-top: 1px solid var(--fm-border); color: var(--fm-blue); text-align: center; font-weight: 800; }
.fm-live-results__loading,.fm-live-results__empty { padding: 22px; color: var(--fm-muted); text-align: center; }

.fm-header-wishlist { position: relative; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.fm-saved-count { position: absolute; top: -4px; right: 5px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #fff; border-radius: 99px; color: #fff; background: var(--fm-blue); font-size: 10px; }
.woocommerce ul.products li.product,.fm-products-panels ul.products li.product { position: relative; }
.fm-card-tools { position: absolute; z-index: 4; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 7px; }
.fm-card-tools button { display: grid; place-items: center; width: 37px; height: 37px; padding: 0; border: 1px solid rgba(17, 48, 72, .12); border-radius: 50%; color: var(--fm-navy); background: rgba(255, 255, 255, .92); box-shadow: 0 5px 14px rgba(8, 31, 47, .1); cursor: pointer; }
.fm-card-tools button:hover,.fm-card-tools button.is-liked,.fm-card-tools button.is-selected { color: #fff; border-color: var(--fm-blue); background: var(--fm-blue); }
.fm-card-tools .fm-icon { width: 18px; height: 18px; }
.fm-card-tools .is-liked .fm-icon { fill: currentColor; }

.fm-saved-backdrop { position: fixed; z-index: 9998; inset: 0; visibility: hidden; opacity: 0; background: rgba(8, 23, 36, .52); transition: .25s; }
.fm-saved-backdrop.is-open { visibility: visible; opacity: 1; }
.fm-saved-drawer { position: fixed; z-index: 9999; top: 0; bottom: 0; right: 0; width: min(430px, 92vw); visibility: hidden; transform: translateX(105%); background: #fff; box-shadow: -20px 0 50px rgba(8, 23, 36, .2); transition: .3s ease; }
.fm-saved-drawer.is-open { visibility: visible; transform: translateX(0); }
.fm-saved-drawer header,.fm-compare-modal header { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 20px; border-bottom: 1px solid var(--fm-border); }
.fm-saved-drawer header button,.fm-compare-modal header button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--fm-cream); cursor: pointer; }
.fm-saved-drawer__body { height: calc(100% - 72px); overflow-y: auto; padding: 15px; }
.fm-saved-card { position: relative; margin-bottom: 10px; padding: 9px; border: 1px solid var(--fm-border); border-radius: 12px; }
.fm-saved-card > a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; color: var(--fm-text); }
.fm-saved-card img { width: 72px; height: 96px; object-fit: contain; border-radius: 8px; background: #f7f7f7; }
.fm-saved-card span { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.fm-saved-card strong { color: var(--fm-blue); font-size: 13px; }
.fm-saved-card > button { position: absolute; left: 9px; bottom: 9px; border: 0; color: #b63b3b; background: transparent; cursor: pointer; }
.fm-saved-empty,.fm-saved-loading { padding: 45px 15px; color: var(--fm-muted); text-align: center; }

.fm-compare-bar { position: fixed; z-index: 995; right: 50%; bottom: 22px; display: flex; visibility: hidden; align-items: center; gap: 12px; transform: translate(50%, 140%); padding: 10px 12px 10px 18px; border-radius: 14px; color: #fff; background: var(--fm-navy); box-shadow: 0 15px 45px rgba(8, 23, 36, .27); transition: .3s ease; }
.fm-compare-bar.is-visible { visibility: visible; transform: translate(50%, 0); }
.fm-compare-bar b { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-left: 5px; border-radius: 50%; color: var(--fm-navy); background: var(--fm-gold); }
.fm-compare-bar button { border: 0; border-radius: 9px; padding: 9px 12px; color: var(--fm-navy); background: #fff; font-family: inherit; font-weight: 800; cursor: pointer; }
.fm-compare-bar button:last-child { color: rgba(255, 255, 255, .72); background: transparent; }
.fm-compare-modal { position: fixed; z-index: 10001; inset: 0; display: grid; visibility: hidden; place-items: center; opacity: 0; padding: 30px; background: rgba(8, 23, 36, .68); transition: .25s; }
.fm-compare-modal.is-open { visibility: visible; opacity: 1; }
.fm-compare-modal > div { width: min(1100px, 100%); max-height: 90vh; overflow: hidden; border-radius: 18px; background: #fff; }
.fm-compare-modal__body { max-height: calc(90vh - 72px); overflow: auto; padding: 16px; }
.fm-compare-modal table { width: 100%; min-width: 650px; border-collapse: collapse; text-align: center; }
.fm-compare-modal th,.fm-compare-modal td { min-width: 160px; padding: 12px; border: 1px solid var(--fm-border); }
.fm-compare-modal th:first-child { min-width: 110px; color: var(--fm-navy); background: var(--fm-cream); }
.fm-compare-modal thead img { display: block; width: 105px; height: 145px; object-fit: contain; margin: 0 auto 8px; }
.fm-compare-modal thead a { display: flex; flex-direction: column; gap: 6px; color: var(--fm-text); }
.fm-compare-modal thead span { display: block; margin: 8px 0; color: var(--fm-blue); }
.fm-compare-modal thead button { border: 0; color: #b63b3b; background: transparent; cursor: pointer; }

.fm-filter-group { margin: 12px 0; border: 1px solid var(--fm-border); border-radius: 11px; }
.fm-filter-group summary { display: flex; align-items: center; justify-content: space-between; padding: 12px; color: var(--fm-navy); font-size: 13px; font-weight: 800; cursor: pointer; list-style: none; }
.fm-filter-group summary::-webkit-details-marker { display: none; }
.fm-filter-group summary .fm-icon { width: 16px; transition: transform .2s; }
.fm-filter-group[open] summary .fm-icon { transform: rotate(90deg); }
.fm-filter-group__options { display: grid; gap: 7px; max-height: 210px; overflow-y: auto; padding: 0 12px 12px; }
.fm-filter-group__options label { display: flex; flex-direction: row; align-items: center; gap: 7px; font-size: 12px; }
.fm-filter-group__options input { width: 16px; height: 16px; }
.fm-filter-group__options small { margin-right: auto; color: var(--fm-muted); }
.fm-filter-group__options--colors i { width: 15px; height: 15px; border: 2px solid #fff; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.fm-shop-content.is-loading { position: relative; min-height: 300px; opacity: .55; pointer-events: none; }
.fm-shop-content.is-loading::after { content: ""; position: absolute; z-index: 8; top: 120px; right: 50%; width: 36px; height: 36px; border: 4px solid rgba(var(--fm-blue-rgb), .2); border-top-color: var(--fm-blue); border-radius: 50%; animation: fm-spin .8s linear infinite; }
@keyframes fm-spin { to { transform: rotate(360deg); } }

.fm-product-assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.fm-product-key-specs { padding: 16px; margin: 18px 0; border: 1px solid var(--fm-border); border-radius: 13px; background: #fff; }
.fm-product-key-specs h3 { margin: 0 0 11px; color: var(--fm-navy); font-size: 15px; }
.fm-product-key-specs dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.fm-product-key-specs dl div { display: flex; justify-content: space-between; gap: 8px; padding: 8px; border-radius: 7px; background: var(--fm-cream); font-size: 11px; }
.fm-product-key-specs dt { color: var(--fm-muted); }
.fm-product-key-specs dd { margin: 0; color: var(--fm-navy); font-weight: 800; }
.fm-contextual-related { clear: both; padding-top: 30px; }
.fm-contextual-related > h2 { margin-bottom: 22px; color: var(--fm-navy); font-size: 25px; }
.fm-product-assurances span { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 6px; border: 1px solid var(--fm-border); border-radius: 11px; color: var(--fm-navy); text-align: center; font-size: 11px; }
.fm-product-assurances .fm-icon { width: 22px; color: var(--fm-blue); }
.fm-product-request { margin: 14px 0; padding: 15px; border: 1px solid var(--fm-border); border-radius: 12px; background: var(--fm-cream); }
.fm-product-request summary { color: var(--fm-navy); font-weight: 900; cursor: pointer; }
.fm-product-request p { font-size: 13px; line-height: 1.9; }
.fm-product-request form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fm-product-request label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; }
.fm-product-request label:nth-child(4) { grid-column: 1/-1; }
.fm-product-request input,.fm-product-request textarea { width: 100%; border: 1px solid var(--fm-border); border-radius: 8px; background: #fff; }
.fm-product-request textarea { min-height: 70px; }
.fm-product-request .fm-button { width: fit-content; }
.fm-form-message { grid-column: 1/-1; display: block; color: #188143; font-weight: 700; }
.fm-form-message.is-error { color: #b63b3b; }
.fm-stock-notify { padding: 18px; margin: 16px 0; border-radius: 14px; background: var(--fm-cream); }
.fm-stock-notify h3 { margin: 0 0 5px; font-size: 17px; }
.fm-stock-notify p { margin: 0 0 12px; font-size: 12px; }
.fm-stock-notify form { display: flex; gap: 7px; }
.fm-stock-notify input { flex: 1; min-width: 0; border: 1px solid var(--fm-border); border-radius: 9px; }
.fm-stock-notify button { border: 0; border-radius: 9px; color: #fff; background: var(--fm-navy); font-family: inherit; font-weight: 800; }
.fm-mobile-buy { display: none; }

.fm-phone-login { max-width: 620px; padding: 24px; margin: 0 auto 25px; border: 1px solid rgba(var(--fm-blue-rgb), .22); border-radius: 16px; background: var(--fm-cream); text-align: center; }
.fm-phone-login h2 { margin: 0 0 7px; color: var(--fm-navy); font-size: 21px; }
.fm-phone-login p { margin: 0 0 15px; color: var(--fm-muted); }
.fm-phone-login form { display: flex; justify-content: center; gap: 8px; }
.fm-phone-login input { min-width: 230px; border: 1px solid var(--fm-border); border-radius: 10px; background: #fff; direction: ltr; text-align: center; }
.fm-phone-login button { padding: 10px 18px; border: 0; border-radius: 10px; color: #fff; background: var(--fm-blue); font-family: inherit; font-weight: 800; cursor: pointer; }
.fm-phone-login__or { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--fm-muted); font-size: 11px; }
.fm-phone-login__or::before,.fm-phone-login__or::after { content: ""; flex: 1; height: 1px; background: var(--fm-border); }

@media (max-width: 1100px) {
  .fm-color-finder__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fm-mega-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-header-wishlist { display: none; }
}

@media (max-width: 780px) {
  .fm-hero-slider,.fm-hero-slider__track,.fm-hero-slide,.fm-hero-slide__inner { min-height: 560px; }
  .fm-hero-slide { background-image: linear-gradient(0deg, rgba(8, 23, 36, .94) 0, rgba(8, 23, 36, .68) 58%, rgba(8, 23, 36, .2) 100%), var(--fm-slide-image); background-position: 38% center; }
  .fm-hero-slide__inner { align-items: flex-end; }
  .fm-hero-slide__copy { width: 100%; padding: 90px 0 90px; }
  .fm-hero-slide__copy h1 { font-size: 35px; }
  .fm-hero-slide__copy p { font-size: 14px; line-height: 1.9; }
  .fm-hero-slide__copy .fm-button { min-height: 43px; padding: 0 15px; font-size: 12px; }
  .fm-color-finder__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .fm-color-finder__grid a { padding: 14px 5px; }
  .fm-color-finder__grid i { width: 48px; height: 48px; }
  .fm-color-finder__grid small { display: none; }
	.fm-section-banner { min-height: 430px; align-items: flex-end; padding: 28px 24px; background-position: 35% center; }
	.fm-section-banner::after { background: linear-gradient(0deg, rgba(255,255,255,.98) 0, rgba(255,255,255,.86) 48%, rgba(255,255,255,.08) 100%); }
	.fm-section-banner > div { width: 100%; }
	.fm-section-banner h2 { margin-bottom: 16px; font-size: 27px; }
  .fm-customer-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .fm-customer-gallery__item:first-child { grid-column: span 2; }
  .fm-mobile-bar.has-wishlist { grid-template-columns: repeat(5, 1fr); }
  .fm-mobile-bar.no-wishlist { grid-template-columns: repeat(4, 1fr); }
  .fm-compare-bar { bottom: 78px; width: calc(100% - 24px); justify-content: space-between; }
  .fm-compare-bar span { font-size: 11px; }
  .fm-compare-modal { padding: 10px; }
  .fm-product-request form { grid-template-columns: 1fr; }
  .fm-product-request label:nth-child(4) { grid-column: auto; }
  body.single-product { padding-bottom: 78px; }
  .fm-mobile-buy { position: fixed; z-index: 900; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--fm-border); background: rgba(255, 255, 255, .96); box-shadow: 0 -8px 25px rgba(8, 31, 47, .1); backdrop-filter: blur(12px); }
  .fm-mobile-buy > div { display: flex; min-width: 0; flex-direction: column; }
  .fm-mobile-buy small { overflow: hidden; max-width: 48vw; color: var(--fm-muted); text-overflow: ellipsis; white-space: nowrap; }
  .fm-mobile-buy strong { color: var(--fm-blue); }
  .fm-mobile-buy .fm-button { min-height: 44px; padding: 0 16px; font-size: 12px; }
}

@media (max-width: 480px) {
  .fm-hero-slider,.fm-hero-slider__track,.fm-hero-slide,.fm-hero-slide__inner { min-height: 520px; }
  .fm-hero-slide__copy h1 { font-size: 30px; }
  .fm-color-finder__grid { grid-template-columns: repeat(3, 1fr); }
	.fm-section-banner { min-height: 390px; padding: 24px 18px; border-radius: 20px; }
  .fm-promo-banner { padding: 52px 0; }
  .fm-customer-gallery__grid { grid-auto-rows: 190px; }
  .fm-product-assurances { grid-template-columns: repeat(3, 1fr); }
  .fm-phone-login form { flex-direction: column; }
  .fm-phone-login input { min-width: 0; width: 100%; }
}

/* ========================================================================
   Farsh Mart 2.2 — catalog URLs, product details and checkout polish
   ======================================================================== */

/* Keep the single-product gallery a little calmer than the product summary. */
.fm-product-page .product.type-product {
  grid-template-columns: minmax(0, .78fr) minmax(380px, 1fr);
  gap: 44px;
}

.woocommerce div.product div.images {
  width: 100%;
  max-width: 560px;
  justify-self: center;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img {
  width: auto;
  max-width: 100%;
  max-height: 610px;
  margin: 0 auto;
  object-fit: contain;
}

/* Product price: left edge of the summary, with a readable currency gap. */
.woocommerce div.product .summary p.price,
.woocommerce div.product .summary span.price {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  direction: ltr;
  text-align: left;
}

.woocommerce div.product .summary .woocommerce-Price-amount bdi {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  direction: ltr;
}

.woocommerce div.product .summary .woocommerce-Price-currencySymbol {
  display: inline-block;
  direction: rtl;
  margin-left: 4px;
}

.woocommerce div.product p.stock {
  font-size: 12px;
  font-weight: 800;
}

/* The add-to-cart notice button should read like a real centered button. */
.woocommerce-message .button.wc-forward,
.woocommerce-message a.wc-forward {
  float: none;
  min-width: 150px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  line-height: 1.4;
  text-align: center;
}

.woocommerce-message {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Cart and checkout use the same cards, lines, radii and palette as the site. */
.woocommerce-cart .fm-entry__content,
.woocommerce-checkout .fm-entry__content {
  padding-top: 36px;
  padding-bottom: 70px;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  color: var(--fm-text);
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  grid-template-rows: auto auto;
  column-gap: 24px;
  direction: rtl;
  text-align: right;
  align-items: start;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review {
  padding: 22px;
  border: 1px solid var(--fm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(var(--fm-navy-rgb), .06);
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.woocommerce-cart table.shop_table thead,
.woocommerce-checkout table.shop_table thead {
  color: var(--fm-navy);
  background: var(--fm-cream);
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 15px 13px;
  vertical-align: middle;
}

.woocommerce-cart table.cart img {
  width: 68px;
  height: 88px;
  object-fit: contain;
  padding: 5px;
  border-radius: 10px;
  background: var(--fm-cream);
}

.woocommerce-cart table.cart .product-name a {
  color: var(--fm-navy);
  font-weight: 800;
}

.woocommerce-cart table.cart td.actions .coupon {
  display: flex;
  gap: 8px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: 175px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--fm-line);
  border-radius: 10px;
  font-family: inherit;
}

.woocommerce-cart .cart-collaterals {
  margin-top: 24px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: min(520px, 100%);
  float: left;
}

.woocommerce-cart .cart_totals h2,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px;
  color: var(--fm-navy);
  font-size: 21px;
}

.woocommerce-cart .wc-proceed-to-checkout {
  padding-bottom: 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: var(--fm-blue);
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
}

.woocommerce-checkout #customer_details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-column: 1;
  grid-row: 1 / span 2;
  gap: 18px;
  width: 100%;
  min-width: 0;
  margin: 0;
  direction: rtl;
  text-align: right;
  align-items: start;
}

.woocommerce-checkout form.checkout > #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  float: none;
}

.woocommerce-checkout form.checkout > #order_review {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  float: none;
  box-sizing: border-box;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: auto;
  min-width: 0;
  float: none;
  box-sizing: border-box;
}

.woocommerce-checkout #customer_details .col-1 {
  grid-column: 1;
  grid-row: auto;
}

.woocommerce-checkout #customer_details .col-2 {
  grid-column: 1;
  grid-row: auto;
}

.woocommerce-checkout #customer_details .woocommerce-billing-fields,
.woocommerce-checkout #customer_details .woocommerce-additional-fields {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
  width: 100%;
  float: none;
  margin: 0;
}

.woocommerce-checkout #billing_country_field {
  display: none !important;
}

.woocommerce-checkout #billing_first_name_field,
.woocommerce-checkout #billing_state_field {
  grid-column: 1;
}

.woocommerce-checkout #billing_last_name_field,
.woocommerce-checkout #billing_city_field {
  grid-column: 2;
}

.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_phone_field {
  grid-column: 1 / -1;
}

.woocommerce-checkout .form-row label {
  margin-bottom: 6px;
  color: var(--fm-navy);
  font-size: 12px;
  font-weight: 800;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  width: 100%;
  min-height: 50px;
  border-color: var(--fm-line);
  border-radius: 11px;
  background: #fff;
  font-family: inherit;
}

.woocommerce-checkout .form-row textarea {
  min-height: 145px;
  resize: vertical;
}

.woocommerce-checkout #order_review_heading {
  padding-top: 8px;
}

.woocommerce-checkout #payment {
  margin-top: 18px;
  border-radius: 14px;
  background: var(--fm-cream);
}

.woocommerce-checkout #payment div.payment_box {
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 10px;
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

.woocommerce-checkout #place_order {
  min-width: 190px;
}

.fm-mobile-bar.has-wishlist {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fm-mobile-bar.no-wishlist {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 780px) {
  .fm-mobile-bar.has-wishlist { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .fm-mobile-bar.no-wishlist { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .fm-product-page .product.type-product { display: block; }
  .woocommerce div.product div.images { max-width: 430px; margin-right: auto; margin-left: auto; }
  .woocommerce div.product div.images .woocommerce-product-gallery__image img { max-height: 520px; }

  .woocommerce ul.products,
  .fm-products-panels ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .woocommerce ul.products li.product,
  .fm-products-panels ul.products li.product {
    min-width: 0;
    padding: 10px 10px 12px;
  }

  .fm-product-image,
  .woocommerce ul.products li.product > a > img,
  .fm-products-panels ul.products li.product > a > img {
    aspect-ratio: 3 / 4;
    padding: 7px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .fm-products-panels ul.products li.product .woocommerce-loop-product__title {
    min-height: 50px;
    font-size: 13px;
    line-height: 1.75;
  }

  .woocommerce ul.products li.product .price,
  .fm-products-panels ul.products li.product .price {
    font-size: 13px;
  }

  .woocommerce ul.products li.product .button,
  .fm-products-panels ul.products li.product .button {
    min-height: 40px;
    padding: 8px 7px;
    font-size: 11px;
  }

  .woocommerce-message {
    align-items: stretch;
    flex-direction: column;
    padding-right: 48px;
  }

  .woocommerce-message .button.wc-forward,
  .woocommerce-message a.wc-forward {
    width: 100%;
    order: 2;
  }

  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review {
    padding: 15px;
    border-radius: 14px;
  }

  .woocommerce-cart table.cart td.actions .coupon {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 10px;
  }

  .woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 100%;
  }

  .woocommerce-cart table.cart td.actions > .button {
    width: 100%;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout form.checkout {
    display: block;
  }

  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2 {
    width: 100%;
    grid-column: 1;
    grid-row: auto;
  }

  .woocommerce-checkout #billing_first_name_field,
  .woocommerce-checkout #billing_last_name_field,
  .woocommerce-checkout #billing_state_field,
  .woocommerce-checkout #billing_city_field,
  .woocommerce-checkout #billing_address_1_field,
  .woocommerce-checkout #billing_phone_field {
    grid-column: 1;
  }

  .woocommerce-checkout form.checkout > #order_review_heading {
    margin-top: 24px;
  }

  .woocommerce-checkout #billing_address_1_field,
  .woocommerce-checkout #billing_phone_field {
    grid-column: auto;
  }

  .woocommerce-checkout #place_order {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .woocommerce ul.products,
  .fm-products-panels ul.products { gap: 8px; }

  .woocommerce ul.products li.product,
  .fm-products-panels ul.products li.product { padding: 8px 8px 10px; }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .fm-products-panels ul.products li.product .woocommerce-loop-product__title { font-size: 12px; }
}

/* ========================================================================
   Farsh Mart 2.2.2 — full-width two-column mobile catalog
   ======================================================================== */

@media (max-width: 680px) {
  /* Let category/brand cards use almost the full viewport width. */
  .fm-shop-layout.fm-container {
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
  }

  .fm-shop-layout .fm-shop-content {
    width: 100%;
    min-width: 0;
  }

  .fm-shop-layout .fm-shop-content ul.products,
  .fm-shop-layout .fm-shop-content ul.products[class*="columns-"] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0;
    margin-right: 0;
    margin-left: 0;
  }

  /* WooCommerce also assigns a percentage width to columns-* items. That
     width must be reset or each card only occupies part of its grid cell. */
  .fm-shop-layout .fm-shop-content ul.products li.product,
  .fm-shop-layout .fm-shop-content ul.products[class*="columns-"] li.product {
    width: 100% !important;
    max-width: none;
    min-width: 0;
    float: none !important;
    clear: none !important;
    padding: 6px 6px 10px;
    margin: 0 !important;
    border-radius: 11px;
  }

  .fm-shop-layout .fm-shop-content ul.products li.product .fm-product-image,
  .fm-shop-layout .fm-shop-content ul.products li.product > a > img {
    width: 100%;
    aspect-ratio: 2 / 3;
    padding: 4px;
    margin-bottom: 8px;
  }

  .fm-shop-layout .fm-shop-content ul.products li.product .woocommerce-loop-product__title {
    min-height: 46px;
    padding-right: 2px;
    padding-left: 2px;
    margin-bottom: 5px;
    font-size: 12.5px;
    line-height: 1.75;
  }

  .fm-shop-layout .fm-shop-content ul.products li.product .price {
    padding-right: 2px;
    padding-left: 2px;
    font-size: 12px;
  }

  .fm-shop-layout .fm-shop-content ul.products li.product .button {
    width: calc(100% - 4px);
    min-height: 38px;
    margin-right: 2px;
    margin-left: 2px;
  }
}

/* ========================================================================
   Farsh Mart 2.3 — account, trust seal, newsletter and service pages
   ======================================================================== */

.fm-footer__enamad {
  margin-top: 22px;
}

.fm-footer__enamad h4 {
  margin: 0 0 9px;
  color: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 700;
}

.fm-footer__enamad-code {
  width: 110px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7px;
  background: #fff;
  border-radius: 14px;
}

.fm-footer__enamad-code a,
.fm-footer__enamad-code img,
.fm-footer__enamad-code iframe {
  max-width: 100%;
  max-height: 110px;
}

.fm-newsletter__inner > .fm-newsletter__form-wrap {
  width: min(430px, 42%);
  display: block;
}

.fm-newsletter__form-wrap form {
  width: 100%;
}

.fm-newsletter__message {
  min-height: 21px;
  display: block;
  padding: 5px 8px 0;
  color: #d4fff0;
  font-size: 11px;
  line-height: 1.5;
}

.fm-newsletter__message.is-error {
  color: #ffe5df;
}

.woocommerce-account .fm-entry--page {
  max-width: 1160px;
  padding-top: 35px;
}

.woocommerce-account .fm-entry__content a,
.fm-account a,
.fm-account-login a {
  text-decoration: none;
}

.fm-account {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(var(--fm-navy-rgb),.035);
}

.fm-account__heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 0 21px;
  margin: 0 0 23px;
  border-bottom: 1px solid var(--fm-line);
}

.fm-account__avatar {
  width: 62px;
  height: 62px;
  display: grid;
  flex: 0 0 62px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--fm-blue), var(--fm-navy));
  border-radius: 18px;
}

.fm-account__heading small,
.fm-account__phone {
  display: block;
  color: var(--fm-muted);
  font-size: 11px;
  line-height: 1.6;
}

.fm-account__heading h2 {
  margin: 2px 0 !important;
  color: var(--fm-navy);
  font-size: 19px !important;
}

.fm-account__phone {
  text-align: right;
}

.fm-account__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.fm-account__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  color: #18734b;
  background: #e9f8f0;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
}

.fm-account__verified::before {
  width: 5px;
  height: 5px;
  content: "";
  background: #21a568;
  border-radius: 50%;
}

.fm-account__layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 24px;
}

.fm-account__sidebar .woocommerce-MyAccount-navigation,
.fm-account__content.woocommerce-MyAccount-content {
  width: auto;
  float: none;
}

.fm-account__sidebar .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 5px;
  padding: 8px;
  background: #f6f9fb;
  border: 1px solid #eef2f4;
  border-radius: 15px;
}

.fm-account__sidebar .woocommerce-MyAccount-navigation li {
  list-style: none;
}

.fm-account__sidebar .woocommerce-MyAccount-navigation li a {
  padding: 11px 12px;
  color: var(--fm-ink);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.fm-account__sidebar .woocommerce-MyAccount-navigation li.is-active a,
.fm-account__sidebar .woocommerce-MyAccount-navigation li a:hover {
  color: #fff;
  background: var(--fm-blue);
}

.fm-account__sidebar .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #b34e4a !important;
}

.fm-account__sidebar .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  color: #fff !important;
  background: #b34e4a !important;
}

.fm-account__content {
  min-width: 0;
}

.fm-account__content .form-row {
  margin: 0;
}

.fm-account__content .input-text,
.fm-account__content select,
.fm-account__content textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 10px;
  box-shadow: none;
}

.fm-account__content .input-text:focus,
.fm-account__content select:focus,
.fm-account__content textarea:focus {
  border-color: rgba(var(--fm-blue-rgb),.55);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(var(--fm-blue-rgb),.08);
}

.fm-account__content .woocommerce-address-fields__field-wrapper,
.fm-edit-account__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}

.fm-account__content .woocommerce-Addresses,
.fm-account__content .woocommerce-Addresses .woocommerce-Address {
  width: 100%;
  float: none;
}

.fm-account__content .woocommerce-Addresses {
  display: block;
}

.fm-account__content .form-row-wide,
.fm-account__content #shipping_address_1_field {
  grid-column: 1 / -1;
}

.fm-account__content .woocommerce-address-fields__field-wrapper label,
.fm-edit-account label {
  display: block;
  margin-bottom: 5px;
  color: var(--fm-ink);
  font-size: 11px;
  font-weight: 800;
}

/* Final compatibility guard for extensions that append removed address fields. */
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #shipping_postcode_field,
.woocommerce-MyAccount-content #billing_email_field,
.woocommerce-MyAccount-content #billing_postcode_field,
.woocommerce-MyAccount-content #shipping_postcode_field,
.fm-edit-account .form-row:has(#account_email),
.fm-edit-account #account_email,
.fm-edit-account label[for="account_email"] {
  display: none !important;
}

.fm-account__content .woocommerce-address-fields .button,
.fm-edit-account__submit .button {
  min-width: 138px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  color: #fff;
  background: var(--fm-blue);
  border: 0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}

.fm-edit-account__grid .form-row > span {
  display: block;
  margin-top: 5px;
  color: var(--fm-muted);
  font-size: 9px;
}

.fm-edit-account__phone {
  padding: 12px 14px;
  background: #f6f9fb;
  border: 1px solid var(--fm-line);
  border-radius: 11px;
}

.fm-edit-account__phone-value {
  display: block;
  color: var(--fm-navy);
  text-align: right;
  font-size: 14px;
  font-weight: 900;
}

.fm-edit-account__phone small {
  display: block;
  margin-top: 3px;
  color: var(--fm-muted);
  font-size: 9px;
}

.fm-edit-account__password {
  padding: 16px;
  margin: 20px 0 0;
  background: #fbfcfd;
  border: 1px solid var(--fm-line);
  border-radius: 13px;
}

.fm-edit-account__password legend {
  padding: 0 7px;
  color: var(--fm-navy);
  font-size: 12px;
  font-weight: 900;
}

.fm-edit-account__password .form-row + .form-row {
  margin-top: 12px;
}

.fm-edit-account__submit {
  margin: 14px 0 0 !important;
}

.fm-account-dashboard__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 19px;
}

.fm-account-dashboard__intro h2 {
  margin: 0 0 3px !important;
  color: var(--fm-navy);
  font-size: 18px !important;
}

.fm-account-dashboard__intro p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 12px;
}

.fm-dashboard-shop-link {
  min-height: 36px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  color: var(--fm-blue) !important;
  background: rgba(var(--fm-blue-rgb),.07);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.fm-dashboard-shop-link .fm-icon,
.fm-dashboard-order__view .fm-icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.fm-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fm-dashboard-stat {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: #fbfcfd;
  border: 1px solid var(--fm-line);
  border-radius: 13px;
}

.fm-dashboard-stat__icon {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  color: var(--fm-blue);
  background: rgba(var(--fm-blue-rgb),.08);
  border-radius: 10px;
}

.fm-dashboard-stat__icon .fm-icon {
  width: 19px;
  height: 19px;
}

.fm-dashboard-stat > span:last-child,
.fm-dashboard-stat small,
.fm-dashboard-stat strong {
  min-width: 0;
  display: block;
}

.fm-dashboard-stat small {
  margin-bottom: 2px;
  overflow: hidden;
  color: var(--fm-muted);
  font-size: 9px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-dashboard-stat strong {
  color: var(--fm-navy);
  font-size: 17px;
  line-height: 1.4;
}

.fm-dashboard-stat--spent strong {
  font-size: 11px;
  white-space: nowrap;
}

.fm-dashboard-section {
  margin-top: 25px;
}

.fm-dashboard-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.fm-dashboard-section__heading h3 {
  margin: 0 !important;
  color: var(--fm-navy);
  font-size: 14px !important;
}

.fm-dashboard-section__heading > a {
  color: var(--fm-blue) !important;
  font-size: 10px;
  font-weight: 800;
}

.fm-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 9px;
}

.fm-dashboard-action {
  min-height: 72px;
  height: 100%;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--fm-ink) !important;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 12px;
}

.fm-dashboard-action:hover {
  border-color: rgba(var(--fm-blue-rgb),.32);
  box-shadow: 0 8px 20px rgba(var(--fm-navy-rgb),.045);
  transform: translateY(-1px);
}

.fm-dashboard-action > .fm-icon:first-child {
  width: 37px;
  height: 37px;
  padding: 9px;
  color: var(--fm-blue);
  background: rgba(var(--fm-blue-rgb),.07);
  border-radius: 10px;
}

.fm-dashboard-action > .fm-icon:last-child {
  width: 15px;
  height: 15px;
  color: #a5b0b8;
  transform: rotate(180deg);
}

.fm-dashboard-action strong,
.fm-dashboard-action small {
  display: block;
}

.fm-dashboard-action strong {
  color: var(--fm-navy);
  font-size: 11px;
}

.fm-dashboard-action small {
  margin-top: 2px;
  color: var(--fm-muted);
  font-size: 9px;
}

.fm-dashboard-orders {
  overflow: hidden;
  border: 1px solid var(--fm-line);
  border-radius: 13px;
}

.fm-dashboard-order {
  display: grid;
  grid-template-columns: .85fr 1fr 1fr 1.2fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: #fff;
  border-bottom: 1px solid var(--fm-line);
}

.fm-dashboard-order:last-child {
  border-bottom: 0;
}

.fm-dashboard-order > div {
  min-width: 0;
}

.fm-dashboard-order small,
.fm-dashboard-order strong,
.fm-dashboard-order span {
  display: block;
}

.fm-dashboard-order small {
  margin-bottom: 3px;
  color: var(--fm-muted);
  font-size: 8px;
}

.fm-dashboard-order strong,
.fm-dashboard-order span {
  overflow: hidden;
  color: var(--fm-ink);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-dashboard-order__status {
  width: fit-content;
  padding: 4px 7px;
  color: var(--fm-blue) !important;
  background: rgba(var(--fm-blue-rgb),.07);
  border-radius: 7px;
}

.fm-dashboard-order__view {
  min-width: 70px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 9px;
  color: var(--fm-blue) !important;
  background: rgba(var(--fm-blue-rgb),.07);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
}

.fm-dashboard-logout {
  display: inline-block;
  margin-top: 18px;
  color: #a94844 !important;
  font-size: 10px;
  font-weight: 800;
}

.fm-account-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fm-account-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px;
  color: var(--fm-ink) !important;
  background: #fbfcfd;
  border: 1px solid var(--fm-line);
  border-radius: 15px;
}

.fm-account-card:hover {
  border-color: rgba(var(--fm-blue-rgb),.32);
  transform: translateY(-2px);
}

.fm-account-card > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  color: var(--fm-blue);
  background: rgba(var(--fm-blue-rgb),.09);
  border-radius: 11px;
}

.fm-account-card strong {
  color: var(--fm-navy);
  font-size: 12px;
}

.fm-account-card small {
  color: var(--fm-muted);
  font-size: 10px;
}

.fm-account-last-order,
.fm-account-empty-order {
  padding: 17px;
  margin-top: 18px;
  background: var(--fm-cream);
  border-radius: 14px;
}

.fm-account-last-order h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.fm-account-last-order > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}

.fm-account-last-order > div > strong {
  padding: 4px 9px;
  color: var(--fm-blue);
  background: #fff;
  border-radius: 8px;
}

.fm-account-empty-order p {
  margin: 0 0 10px;
  font-size: 12px;
}

.fm-account-login {
  max-width: 590px;
  margin: 10px auto 30px;
}

.fm-account-login__intro {
  padding: 0 18px 6px;
  text-align: center;
}

.fm-account-login__intro .fm-eyebrow {
  justify-content: center;
}

.fm-account-login__intro h2 {
  margin: 8px 0 3px !important;
  color: var(--fm-navy);
  font-size: 23px !important;
}

.fm-account-login__intro p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 12px;
}

.fm-account-login .wsms-otp-shell {
  min-height: 0;
  padding: 16px 0;
  background: transparent;
}

.fm-account-login .wsms-otp-card {
  max-width: 480px;
  border: 1px solid var(--fm-line);
  border-radius: 19px;
  box-shadow: 0 14px 38px rgba(var(--fm-navy-rgb),.06);
}

.fm-account-login .wsms-otp-icon {
  color: var(--fm-blue);
  background: rgba(var(--fm-blue-rgb),.09);
}

.fm-account-login .wsms-otp-button {
  background: var(--fm-blue);
}

.fm-account-login .wsms-otp-button:hover {
  background: var(--fm-navy);
}

.fm-policy-intro {
  padding: 20px 22px;
  margin: 36px 0 22px;
  background: #f4f9fb;
  border-right: 4px solid var(--fm-blue);
  border-radius: 14px;
}

.fm-policy-intro p {
  margin: 0;
}

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

.fm-policy-card {
  padding: 19px;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: 15px;
}

.fm-entry__content .fm-policy-card h2 {
  margin: 0 0 6px;
  color: var(--fm-navy);
  font-size: 16px;
}

.fm-policy-card p {
  margin: 0;
  color: var(--fm-text);
  font-size: 12px;
}

.fm-policy-note {
  padding: 15px 18px;
  margin: 20px 0;
  background: var(--fm-cream);
  border-radius: 12px;
  font-size: 13px;
}

.fm-entry__content .fm-policy-grid + .fm-policy-note + p a {
  text-decoration: none;
}

.fm-blog-hero p {
  margin: 7px 0 0;
  color: var(--fm-text);
  font-size: 13px;
}

.fm-blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 24px;
}

.fm-blog-topics a {
  padding: 8px 13px;
  color: var(--fm-ink);
  background: #f3f6f7;
  border-radius: 9px;
  font-size: 11px;
}

.fm-blog-topics a.is-active,
.fm-blog-topics a:hover {
  color: #fff;
  background: var(--fm-blue);
}

@media (max-width: 780px) {
  .fm-account {
    padding: 16px;
    border-radius: 17px;
  }

  .fm-account__layout {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .fm-account__sidebar .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 6px;
    white-space: nowrap;
  }

  .fm-account__sidebar .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  .fm-account__sidebar .woocommerce-MyAccount-navigation li a {
    padding: 9px 11px;
    font-size: 11px;
  }

  .fm-account-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fm-account__content .woocommerce-address-fields__field-wrapper,
  .fm-edit-account__grid {
    grid-template-columns: 1fr;
  }

  .fm-account__content .form-row-wide,
  .fm-account__content #shipping_address_1_field {
    grid-column: auto;
  }

  .fm-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fm-dashboard-order {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fm-dashboard-order__view {
    justify-self: start;
  }

  .fm-policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .fm-newsletter__inner > .fm-newsletter__form-wrap,
  .fm-newsletter__form-wrap form {
    width: 100%;
  }

  .fm-account__heading {
    gap: 11px;
  }

  .fm-account__avatar {
    width: 51px;
    height: 51px;
    flex-basis: 51px;
    border-radius: 14px;
  }

  .fm-account__heading h2 {
    font-size: 16px !important;
  }

  .fm-account-dashboard__intro {
    align-items: flex-start;
  }

  .fm-dashboard-shop-link {
    padding: 7px 9px;
  }

  .fm-dashboard-actions {
    grid-template-columns: 1fr;
  }

  .fm-dashboard-stat {
    padding: 10px;
  }

  .fm-dashboard-stat__icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .fm-account-card {
    min-height: 132px;
    padding: 12px;
  }

  .fm-account-login__intro h2 {
    font-size: 20px !important;
  }

  .fm-footer__enamad-code {
    width: 95px;
    min-height: 95px;
  }
}
