/*
Theme Name: Furnitures Malaysia
Theme URI: https://www.furnituresmalaysia.com.my/
Author: Furnitures Malaysia
Description: A lightweight, editable furniture catalogue theme ready for your own products and categories.
Version: 1.6.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: furnitures-malaysia-lite
*/

:root {
  --fm-ink: #1d2a24;
  --fm-muted: #66736c;
  --fm-green: #183a2b;
  --fm-green-2: #285943;
  --fm-accent: #d99049;
  --fm-cream: #f5f2ea;
  --fm-line: #dfe5df;
  --fm-white: #fff;
  --fm-radius: 18px;
  --fm-shadow: 0 18px 50px rgba(24, 58, 43, .09);
  --fm-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--fm-ink); background: #fbfcfa; font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.fm-container { width: min(calc(100% - 36px), var(--fm-container)); margin-inline: auto; }
.fm-section { padding: 82px 0; }
.fm-section--cream { background: var(--fm-cream); }
.fm-home-products { background: transparent; }
.fm-eyebrow { margin: 0 0 12px; color: var(--fm-accent); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.fm-section-title { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.08; letter-spacing: -.04em; }
.fm-section-copy { max-width: 680px; margin: 18px 0 0; color: var(--fm-muted); }
.fm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.fm-link { color: var(--fm-green-2); font-weight: 800; }
.fm-link:hover { color: var(--fm-accent); }

.fm-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(223,229,223,.8); background: rgba(251,252,250,.94); backdrop-filter: blur(16px); }
.fm-header__inner { display: grid; grid-template-columns: auto minmax(430px, 1fr) minmax(270px, 380px); min-height: 84px; align-items: center; gap: 22px; }
.fm-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: -.02em; }
.fm-brand__mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #fff; background: var(--fm-green); font-size: .85rem; letter-spacing: .04em; }
.custom-logo { max-height: 46px; width: auto; }
.fm-nav { display: flex; align-items: center; justify-content: center; gap: 30px; font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.fm-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.fm-nav a:hover, .fm-nav .current-menu-item > a { color: var(--fm-accent); }
.fm-nav > a, .fm-mega-trigger { font-weight: 700; text-transform: uppercase; }
.fm-header__cta { padding: 11px 17px; border-radius: 999px; color: #fff !important; background: var(--fm-green); }
.fm-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--fm-line); border-radius: 12px; background: #fff; cursor: pointer; }

.fm-header-tools { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 10px; }
.fm-top-search { display: flex; width: 100%; height: 44px; align-items: center; border: 1px solid var(--fm-line); border-radius: 8px; background: #f4f5f6; }
.fm-top-search button { display: grid; width: 48px; height: 46px; padding: 0; place-items: center; border: 0; color: #70767d; background: transparent; cursor: pointer; }
.fm-top-search input[type="search"] { width: 100%; height: 46px; padding: 0 14px 0 0; border: 0; outline: 0; color: #20242a; background: transparent; }
.fm-search-icon { position: relative; width: 15px; height: 15px; border: 3px solid currentColor; border-radius: 50%; }
.fm-search-icon::after { position: absolute; right: -7px; bottom: -4px; width: 8px; height: 3px; border-radius: 3px; background: currentColor; content: ""; transform: rotate(45deg); }
.fm-account-link { display: grid; flex: 0 0 38px; width: 38px; height: 44px; place-items: center; color: var(--fm-green); }
.fm-user-icon { position: relative; width: 22px; height: 22px; border-radius: 8px 8px 5px 5px; background: currentColor; transform: translateY(7px); }
.fm-user-icon::before { position: absolute; top: -13px; left: 5.5px; width: 11px; height: 11px; border-radius: 50%; background: currentColor; content: ""; }
.fm-mini-cart-wrap { position: relative; flex: 0 0 42px; }
.fm-mini-cart-toggle { position: relative; display: grid; width: 42px; height: 44px; padding: 0; place-items: center; border: 0; color: var(--fm-green); background: transparent; cursor: pointer; }
.fm-cart-icon { position: relative; width: 21px; height: 14px; border: 2px solid currentColor; border-top: 0; border-radius: 2px; transform: skew(-5deg); }
.fm-cart-icon::before { position: absolute; top: -7px; left: -6px; width: 8px; height: 7px; border-top: 2px solid currentColor; content: ""; transform: skew(5deg); }
.fm-cart-icon::after { position: absolute; bottom: -7px; left: 2px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 12px 0 currentColor; content: ""; transform: skew(5deg); }
.fm-mini-cart-toggle .fm-cart-count { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--fm-accent); font-size: .68rem; }
.fm-mini-cart { position: absolute; top: calc(100% + 14px); right: 0; z-index: 80; width: min(390px, calc(100vw - 30px)); padding: 20px; border: 1px solid var(--fm-line); border-radius: 14px; background: #fff; box-shadow: 0 24px 55px rgba(23,33,27,.2); }
.fm-mini-cart[hidden] { display: none !important; }
.fm-mini-cart-items { display: grid; gap: 15px; max-height: min(430px, 58vh); overflow: auto; }
.fm-mini-cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) 28px; gap: 12px; align-items: start; }
.fm-mini-cart-item img, .fm-mini-cart-placeholder { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; background: var(--fm-cream); }
.fm-mini-cart-copy { min-width: 0; }
.fm-mini-cart-copy strong { display: -webkit-box; overflow: hidden; font-size: .88rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.fm-mini-cart-copy small { display: grid; margin-top: 5px; color: var(--fm-muted); font-size: .72rem; line-height: 1.35; }
.fm-mini-cart-copy > span { display: block; margin-top: 7px; color: var(--fm-green-2); font-size: .8rem; }
.fm-mini-cart-remove { display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 1px solid var(--fm-line); border-radius: 50%; color: var(--fm-muted); background: #fff; cursor: pointer; }
.fm-mini-cart-remove:hover { color: #9c3e35; border-color: #9c3e35; }
.fm-mini-cart-summary { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 16px 0; border-top: 1px solid var(--fm-line); font-size: .95rem; }
.fm-mini-cart-view { display: block; width: 100%; padding: 12px 18px; text-align: center; }
.fm-mini-cart-empty { margin: 8px 0; color: var(--fm-muted); text-align: center; }
.fm-account-page > .fm-container > h1 { margin: 0; text-align: center; font-size: clamp(2.7rem, 5vw, 4.2rem); line-height: 1; }
.fm-account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 55px; }
.fm-account-grid h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.fm-account-grid form { display: grid; gap: 16px; }
.fm-account-grid label { font-weight: 750; }
.fm-account-grid input[type="text"], .fm-account-grid input[type="password"], .fm-account-grid input[type="email"], .fm-account-grid input[type="tel"], .fm-account-grid input:not([type]), .fm-account-grid textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid var(--fm-line); border-radius: 7px; background: #fff; font: inherit; }
.fm-account-grid input[type="text"], .fm-account-grid input[type="password"], .fm-account-grid input[type="email"], .fm-account-grid input[type="tel"], .fm-account-grid input:not([type]) { height: 52px; }
.fm-account-grid input[type="submit"] { width: max-content; padding: 12px 22px; border: 0; border-radius: 999px; color: #fff; background: var(--fm-green); font-weight: 800; cursor: pointer; }
.fm-account-grid .login-remember label { font-weight: 400; }
.fm-account-help { display: inline-block; margin-top: 18px; color: var(--fm-green-2); font-weight: 800; }
.fm-forget-password-card { max-width: 620px; margin: 0 auto; padding: 42px; border: 1px solid var(--fm-line); border-radius: var(--fm-radius); background: #fff; box-shadow: var(--fm-shadow); }
.fm-forget-password-card h1 { margin: 0; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }
.fm-forget-password-card > p:not(.fm-eyebrow, .fm-password-status) { color: var(--fm-muted); }
.fm-forget-password-form { display: grid; gap: 18px; margin-top: 28px; }
.fm-forget-password-form label { font-weight: 750; }
.fm-forget-password-form input { display: block; width: 100%; height: 52px; margin-top: 6px; padding: 0 14px; border: 1px solid var(--fm-line); border-radius: 8px; background: #fff; font: inherit; }
.fm-forget-password-form .fm-button { width: max-content; }
.fm-password-status { padding: 12px 14px; border-radius: 8px; font-weight: 750; }
.fm-password-status.is-success { color: var(--fm-green); background: #edf7f1; }
.fm-password-status.is-error { color: #8d3029; background: #fff0ee; }
@media (max-width: 620px) { .fm-forget-password-card { padding: 28px 22px; } }
.fm-register-form p { color: var(--fm-muted); }
.fm-register-status { min-height: 24px; font-weight: 800; }
.fm-register-status.is-success { color: var(--fm-green-2); }
.fm-register-status.is-error { color: #9c3e35; }
.fm-account-signed-in { max-width: 600px; margin: 45px auto 0; padding: 38px; border-radius: var(--fm-radius); text-align: center; background: var(--fm-cream); }
.fm-account-welcome { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 44px; padding: 30px 34px; border-radius: var(--fm-radius); background: var(--fm-cream); }
.fm-account-welcome h2 { margin: 4px 0 8px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.fm-account-welcome p:last-child { margin-bottom: 0; color: var(--fm-muted); }
.fm-account-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.fm-account-card { padding: 32px; border: 1px solid var(--fm-line); border-radius: var(--fm-radius); background: #fff; }
.fm-account-card h2 { margin: 4px 0 10px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.fm-account-card > p:not(.fm-eyebrow) { color: var(--fm-muted); }
.fm-saved-cart-summary { min-height: 118px; margin: 24px 0; padding: 20px; border-radius: 14px; background: var(--fm-cream); }
.fm-saved-cart-summary > strong { display: block; margin-bottom: 10px; color: var(--fm-green); }
.fm-saved-cart-summary ul { display: grid; gap: 7px; max-height: 190px; margin: 0; padding: 0; overflow: auto; list-style: none; }
.fm-saved-cart-summary li { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; }
.fm-saved-cart-summary li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.fm-account-actions .fm-button { padding: 11px 17px; }
.fm-text-link { color: var(--fm-green); font-weight: 800; }
.fm-profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.fm-profile-form label { color: var(--fm-muted); font-size: .88rem; font-weight: 750; }
.fm-profile-form label:last-of-type { grid-column: 1 / -1; }
.fm-profile-form input, .fm-profile-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid var(--fm-line); border-radius: 8px; color: var(--fm-ink); background: #fff; font: inherit; }
.fm-profile-form .fm-button { width: max-content; }
.fm-account-cart-status, .fm-profile-status { min-height: 24px; margin: 15px 0 0; font-weight: 750; }
.fm-account-cart-status.is-success, .fm-profile-status.is-success { color: var(--fm-green); }
.fm-account-cart-status.is-error, .fm-profile-status.is-error { color: #9c3e35; }
.fm-nav > .is-current, .fm-mega-trigger.is-current { color: var(--fm-accent); }
.fm-mega-wrap { position: static; }
.fm-mega-row { display: flex; align-items: center; gap: 7px; }
.fm-mega-trigger { display: flex; align-items: center; padding: 0; color: var(--fm-ink); font-weight: 700; }
.fm-mega-toggle { display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 0; color: var(--fm-ink); background: transparent; cursor: pointer; }
.fm-mega-toggle span[aria-hidden="true"] { display: block; width: 0; height: 0; overflow: hidden; border-right: 5px solid transparent; border-left: 5px solid transparent; border-top: 6px solid currentColor; font-size: 0; line-height: 0; transition: transform .2s ease; }
.fm-mega-wrap.is-mega-open .fm-mega-toggle span[aria-hidden="true"] { transform: none; }
@media (min-width: 721px) {
  .fm-mega-row { gap: 2px; }
  .fm-mega-toggle { width: 18px; }
}
.fm-mega-trigger:hover { color: var(--fm-accent); }
.fm-mega-menu { position: absolute; z-index: 60; top: 100%; left: 50%; display: none; width: min(var(--fm-container), calc(100vw - 32px)); max-height: 70vh; overflow: auto; padding: 28px 34px 34px; border: 1px solid var(--fm-line); border-radius: 0 0 18px 18px; background: #fff; box-shadow: 0 24px 55px rgba(23,33,27,.18); transform: translateX(-50%); }
.fm-mega-wrap.is-mega-open .fm-mega-menu { display: block; }
@media (hover: hover) and (min-width: 721px) { .fm-mega-wrap:hover .fm-mega-menu, .fm-mega-wrap:focus-within .fm-mega-menu { display: block; } }
@media (hover: hover) and (min-width: 721px) { .fm-mega-wrap:focus-within:not(:hover) .fm-mega-menu { display: none; } .fm-mega-wrap:hover .fm-mega-menu { display: block; } }
.fm-mega-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--fm-line); }
.fm-mega-head strong { color: var(--fm-ink); font-size: 1.1rem; }
.fm-mega-head a { color: var(--fm-green-2); font-size: .86rem; }
.fm-mega-grid { columns: 5; column-gap: 30px; }
.fm-mega-grid a { display: block; break-inside: avoid; padding: 7px 0; color: var(--fm-muted); font-size: .88rem; font-weight: 400; }
.fm-mega-grid a:hover { color: var(--fm-green-2); }
.fm-mobile-nav-head, .fm-menu-backdrop, .fm-mega-group-toggle { display: none; }
.fm-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.fm-story-grid > div:last-child { color: var(--fm-muted); font-size: 1.06rem; }
.fm-contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.fm-contact-info { display: grid; gap: 14px; }
.fm-contact-info article { display: flex; flex-direction: column; gap: 4px; padding: 22px; border: 1px solid var(--fm-line); border-radius: 15px; background: #fff; }
.fm-contact-info small { color: var(--fm-muted); font-weight: 800; text-transform: uppercase; }
.fm-contact-info a { color: var(--fm-green-2); font-size: 1.12rem; font-weight: 400; }
.fm-contact-info .fm-contact-phone a, .fm-contact-info .fm-contact-phone span { color: var(--fm-ink); font-size: 1rem; font-weight: 400; }
.fm-contact-info small { font-size: 1.125rem; }
.fm-contact-info article > a, .fm-contact-info article > span { color: var(--fm-ink); font-size: 1rem; font-weight: 400; }
.fm-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 34px; color: var(--fm-muted); font-size: 1rem; }
.fm-breadcrumbs a { color: var(--fm-ink); font-weight: 700; }
.fm-breadcrumbs a:hover { color: var(--fm-green-2); }
.fm-contact-next { align-self: center; padding: 42px; border-radius: 22px; background: var(--fm-cream); }
.fm-contact-next h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 3.7rem); line-height: 1.05; }
.fm-contact-next p { color: var(--fm-muted); }
.fm-contact-office iframe { width: 100%; height: 270px; margin-top: 16px; border: 0; border-radius: 12px; background: var(--fm-cream); }
.fm-contact-form-card { align-self: start; padding: 34px; border: 1px solid var(--fm-line); border-radius: 18px; background: #fff; }
.fm-contact-form-card h2 { margin: 0 0 28px; font-size: clamp(2.3rem, 4vw, 3.7rem); font-weight: 500; line-height: 1.05; }
.fm-contact-form { display: grid; gap: 18px; }
.fm-contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fm-contact-form label { color: var(--fm-muted); font-size: .92rem; }
.fm-contact-form input, .fm-contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #aeb8b1; border-radius: 8px; color: var(--fm-ink); background: #fff; }
.fm-contact-form input { height: 52px; }
.fm-contact-form textarea { resize: vertical; }
.fm-contact-form .fm-button { width: 100%; border-radius: 8px; text-transform: uppercase; }
.fm-contact-form-status { min-height: 24px; margin: 0; font-weight: 800; }
.fm-contact-form-status.is-success { color: var(--fm-green-2); }
.fm-contact-form-status.is-error { color: #9c3e35; }
.fm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.fm-hero { padding: 66px 0 74px; overflow: hidden; background: linear-gradient(135deg, #f8f4ea 0%, #eef4ef 100%); }
.fm-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(34px, 6vw, 84px); }
.fm-hero h1 { max-width: 680px; margin: 0; font-size: clamp(3rem, 6.4vw, 5.8rem); line-height: .95; letter-spacing: -.065em; }
.fm-hero h1 span { color: var(--fm-green-2); }
.fm-hero__copy { max-width: 620px; margin: 24px 0 0; color: var(--fm-muted); font-size: 1.08rem; }
.fm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fm-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--fm-green); border-radius: 999px; font-weight: 800; transition: .2s ease; }
.fm-button--primary { color: #fff; background: var(--fm-green); }
.fm-button--primary:hover { background: var(--fm-green-2); transform: translateY(-2px); }
.fm-button--ghost:hover { color: #fff; background: var(--fm-green); }
.fm-hero__visual { position: relative; min-height: 520px; }
.fm-hero__card { position: absolute; overflow: hidden; border: 8px solid rgba(255,255,255,.9); border-radius: 24px; background: #fff; box-shadow: var(--fm-shadow); }
.fm-hero__card img { width: 100%; height: 100%; object-fit: contain; padding: 20px; background: #fff; }
.fm-hero__card--one { inset: 10px 4% 94px 24%; }
.fm-hero__card--two { width: 43%; height: 42%; left: 0; bottom: 12px; transform: rotate(-3deg); }
.fm-hero__card--three { width: 38%; height: 34%; right: 0; bottom: 0; transform: rotate(3deg); }
.fm-hero__badge { position: absolute; top: 32px; left: 0; padding: 14px 18px; border-radius: 15px; color: #fff; background: var(--fm-accent); font-weight: 850; box-shadow: var(--fm-shadow); }

.fm-stats { border-block: 1px solid var(--fm-line); background: #fff; }
.fm-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fm-stat { padding: 24px; text-align: center; }
.fm-stat + .fm-stat { border-left: 1px solid var(--fm-line); }
.fm-stat strong { display: block; font-size: 1.28rem; }
.fm-stat span { color: var(--fm-muted); font-size: .9rem; }

.fm-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fm-category { position: relative; display: flex; min-height: 270px; overflow: hidden; align-items: end; border-radius: var(--fm-radius); background: var(--fm-green); box-shadow: var(--fm-shadow); }
.fm-category img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .35s ease; }
.fm-category::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 25%, rgba(15,39,29,.88) 100%); }
.fm-category__content { position: relative; z-index: 1; width: 100%; padding: 22px; color: #fff; }
.fm-category h3 { margin: 0; font-size: 1.18rem; }
.fm-category span { font-size: .82rem; opacity: .8; }
.fm-category:hover img { transform: scale(1.045); }

.fm-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.fm-product-card { overflow: hidden; border: 1px solid var(--fm-line); border-radius: var(--fm-radius); background: #fff; transition: .25s ease; }
.fm-product-card:hover { transform: translateY(-5px); box-shadow: var(--fm-shadow); }
.fm-product-card__image { display: grid; aspect-ratio: 1 / .82; place-items: center; padding: 18px; background: #f3f5f2; }
.fm-product-card__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fm-product-card__body { padding: 18px; }
.fm-product-card__category { display: block; overflow: hidden; margin-bottom: 7px; color: var(--fm-muted); font-size: .76rem; font-weight: 750; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.fm-product-card h3 { min-height: 2.75em; margin: 0; font-size: 1rem; line-height: 1.38; }
.fm-product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.fm-price { color: var(--fm-green); font-size: 1.08rem; font-weight: 900; }
.fm-card-arrow { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: var(--fm-green); }
.fm-view-all-products { align-self: center; color: var(--fm-green-2); font-weight: 800; white-space: nowrap; }
.fm-product-grid--home { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.fm-product-grid--home .fm-product-card__image { padding: 12px; }
.fm-product-grid--home .fm-product-card__body { padding: 14px; }
.fm-product-grid--home .fm-product-card h3 { font-size: .9rem; }
.fm-product-grid--home .fm-product-card__footer { margin-top: 13px; }
.fm-product-grid--home .fm-price { font-size: .94rem; }
.fm-product-grid--home .fm-card-arrow { width: 28px; height: 28px; }
@media (max-width: 1100px) { .fm-product-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 920px) { .fm-product-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fm-product-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .fm-product-grid--home { grid-template-columns: 1fr; } }

.fm-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.fm-why { padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--fm-radius); background: rgba(255,255,255,.07); }
.fm-why__number { color: var(--fm-accent); font-size: .82rem; font-weight: 900; }
.fm-why h3 { margin: 32px 0 8px; }
.fm-why p { margin: 0; color: rgba(255,255,255,.68); }
.fm-section--dark { color: #fff; background: var(--fm-green); }

.fm-contact { display: grid; grid-template-columns: 1fr .9fr; gap: 54px; padding: 48px; border-radius: 28px; color: #fff; background: var(--fm-green); }
.fm-contact h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; }
.fm-contact p { color: rgba(255,255,255,.72); }
.fm-contact__details { display: grid; gap: 12px; align-content: center; }
.fm-contact__item { padding: 15px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.06); }
.fm-contact__label { display: block; color: rgba(255,255,255,.6); font-size: .75rem; font-weight: 800; text-transform: uppercase; }

.fm-page-hero { padding: 66px 0 44px; background: var(--fm-cream); }
.fm-page-hero h1 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.055em; }
.fm-catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.fm-filter { display: flex; align-items: center; gap: 10px; }
.fm-filter select { max-width: 320px; padding: 11px 42px 11px 14px; border: 1px solid var(--fm-line); border-radius: 12px; background: #fff; }
.fm-sort-form select { min-width: 270px; padding: 12px 42px 12px 15px; border: 1px solid var(--fm-line); border-radius: 12px; background: #fff; color: var(--fm-ink); }
.fm-pagination { margin-top: 38px; text-align: center; }
.fm-pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.fm-pagination .page-numbers { display: inline-grid; min-width: 42px; height: 42px; padding: 0 10px; place-items: center; border: 2px solid transparent; border-radius: 9px; color: var(--fm-ink); background: transparent; font-size: 1.05rem; font-weight: 650; }
.fm-pagination a.page-numbers:hover { color: var(--fm-green); }
.fm-pagination .current { color: var(--fm-ink); border-color: var(--fm-ink); background: #fff; }
.fm-pagination .dots { min-width: 24px; padding: 0; }
.fm-pagination .prev, .fm-pagination .next { padding-inline: 14px; white-space: nowrap; }
.fm-search-empty { padding: 46px; border: 1px solid var(--fm-line); border-radius: var(--fm-radius); background: var(--fm-cream); }
.fm-search-suggestions { margin-top: 24px; }
.fm-search-suggestions > strong { display: block; margin-bottom: 12px; }
.fm-search-suggestions > div { display: flex; flex-wrap: wrap; gap: 9px; }
.fm-search-suggestions a { padding: 9px 13px; border: 1px solid var(--fm-green); border-radius: 999px; color: var(--fm-green); background: #fff; font-weight: 750; }
.fm-search-suggestions a:hover { color: #fff; background: var(--fm-green); }

.fm-product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.fm-product-detail__image { display: grid; min-height: 520px; place-items: center; align-self: start; padding: 38px; border-radius: 26px; background: #f1f3ef; }
.fm-product-detail__image img { max-height: 500px; object-fit: contain; mix-blend-mode: multiply; }
.fm-product-detail h1 { margin: 12px 0 18px; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -.05em; }
.fm-product-detail__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fm-chip { padding: 6px 10px; border-radius: 999px; color: var(--fm-green); background: #eaf1ec; font-size: .78rem; font-weight: 750; }
.fm-product-detail__price { margin: 0 0 22px; font-size: 1.65rem; font-weight: 900; }
.fm-product-detail__description { color: var(--fm-muted); white-space: pre-line; }
.fm-product-detail__actions { padding-top: 22px; }
.fm-related-products { padding-top: 88px; }
.fm-related-products > h2 { margin: 0 0 32px; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -.045em; }
.fm-related-products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fm-back { display: inline-block; margin-bottom: 24px; color: var(--fm-muted); font-weight: 750; }

.fm-content { max-width: 820px; }
.fm-content h1, .fm-content h2, .fm-content h3 { line-height: 1.15; }
.fm-content a { color: var(--fm-green-2); text-decoration: underline; }
.fm-empty { padding: 50px; border: 1px dashed var(--fm-line); border-radius: var(--fm-radius); text-align: center; }

.fm-footer { padding: 56px 0 26px; color: rgba(255,255,255,.72); background: #11271e; }
.fm-footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 42px; }
.fm-footer h3, .fm-footer strong { color: #fff; }
.fm-footer h3 { margin-top: 0; }
.fm-footer ul { margin: 0; padding: 0; list-style: none; }
.fm-footer li { margin: 8px 0; }
.fm-footer a:hover { color: var(--fm-accent); }
.fm-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

@media (max-width: 980px) {
  .fm-header__inner { grid-template-columns: auto 1fr minmax(245px, 310px); gap: 14px; }
  .fm-nav { gap: 13px; font-size: .92rem; }
  .fm-product-grid, .fm-category-grid { grid-template-columns: repeat(2, 1fr); }
  .fm-hero__grid, .fm-product-detail, .fm-contact { grid-template-columns: 1fr; }
  .fm-hero__visual { min-height: 440px; }
  .fm-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .fm-section { padding: 58px 0; }
  .fm-menu-toggle { display: grid; place-items: center; }
  .fm-header__inner { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 0; }
  .fm-nav { position: absolute; top: 100%; right: 18px; left: 18px; display: none; align-items: stretch; padding: 18px; border: 1px solid var(--fm-line); border-radius: 16px; background: #fff; box-shadow: var(--fm-shadow); flex-direction: column; white-space: normal; }
  .fm-nav ul { align-items: stretch; flex-direction: column; }
  .fm-nav.is-open { display: flex; }
  .fm-mega-wrap { width: 100%; }
  .fm-mega-row { position: relative; width: 100%; }
  .fm-mega-trigger { width: 100%; justify-content: center; padding: 10px 34px; text-align: center; }
  .fm-mega-toggle { position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
  .fm-mega-menu { position: static; width: 100%; max-height: 55vh; padding: 18px; border-radius: 12px; box-shadow: none; transform: none; }
  .fm-mega-grid { columns: 2; }
  .fm-mega-head { align-items: flex-start; flex-direction: column; }
  .fm-header__cta { text-align: center; }
  .fm-hero { padding-top: 48px; }
  .fm-hero__visual { min-height: 360px; }
  .fm-stats__grid { grid-template-columns: 1fr; }
  .fm-stat + .fm-stat { border-top: 1px solid var(--fm-line); border-left: 0; }
  .fm-product-grid, .fm-category-grid, .fm-why-grid { grid-template-columns: 1fr; }
  .fm-section-head, .fm-catalog-toolbar, .fm-footer__bottom { align-items: start; flex-direction: column; }
  .fm-contact { padding: 30px; }
  .fm-product-detail__image { min-height: 340px; }
  .fm-footer__grid { grid-template-columns: 1fr; }
  .fm-header-tools { grid-column: 1 / -1; width: 100%; }
  .fm-top-search { width: 100%; }
  .fm-account-grid { grid-template-columns: 1fr; gap: 35px; }
  .fm-account-welcome { align-items: flex-start; flex-direction: column; }
  .fm-account-dashboard { grid-template-columns: 1fr; }
  .fm-profile-form { grid-template-columns: 1fr; }
  .fm-profile-form label:last-of-type { grid-column: auto; }
  .fm-story-grid, .fm-contact-page { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 480px) { .fm-mega-grid { columns: 1; } }
@media (max-width: 620px) { .fm-contact-form__row { grid-template-columns: 1fr; } .fm-contact-form-card { padding: 25px 20px; } }

/* Account dashboard */
.fm-account-shell { display: grid; grid-template-columns: minmax(210px, 260px) minmax(0, 1fr); gap: 42px; }
.fm-account-sidebar { padding-right: 34px; border-right: 1px solid var(--fm-line); }
.fm-account-sidebar h1 { margin: 0 0 20px; padding: 0 16px 18px; border-bottom: 1px solid var(--fm-line); font-family: inherit; font-size: 1.35rem; font-weight: 500; text-align: left; text-transform: uppercase; }
.fm-account-sidebar nav { display: grid; gap: 3px; }
.fm-account-sidebar nav a { padding: 13px 16px; border-radius: 10px; color: var(--fm-ink); font-weight: 750; }
.fm-account-sidebar nav a:hover, .fm-account-sidebar nav a:focus-visible, .fm-account-sidebar nav a.is-current { color: var(--fm-ink); background: #f0efed; text-decoration: none; }
.fm-account-content.fm-account-dashboard { display: block; min-width: 0; margin: 0; }
.fm-account-greeting { margin: 3px 0 30px; font-size: 1.03rem; }
.fm-account-greeting a { color: var(--fm-muted); }
.fm-account-intro { margin: 0 0 26px; color: var(--fm-muted); font-size: 1.02rem; line-height: 1.65; }
.fm-account-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fm-account-tiles > a { display: grid; min-height: 158px; padding: 24px; place-items: center; align-content: center; gap: 12px; border: 1px solid var(--fm-line); border-radius: 13px; color: var(--fm-ink); background: #fff; box-shadow: 0 2px 10px rgba(23,33,27,.06); font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.fm-account-tiles > a:hover, .fm-account-tiles > a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(23,33,27,.1); text-decoration: none; }
.fm-account-tiles svg { width: 55px; height: 55px; fill: none; stroke: #b9b9b6; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fm-saved-cart-card { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(250px, 1.2fr); gap: 12px 28px; margin-top: 24px; }
.fm-saved-cart-card .fm-saved-cart-summary { margin: 0; }
.fm-saved-cart-card .fm-account-actions, .fm-saved-cart-card .fm-account-cart-status { grid-column: 1 / -1; }
.fm-account-page-title { margin: 0 0 26px; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; }
.fm-account-notice { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 12px; color: #fff; background: #d8ab49; }
.fm-account-notice > span { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-weight: 800; }
.fm-account-notice p { margin: 0; }
.fm-account-notice a { color: #fff; font-weight: 850; text-decoration: underline; }
.fm-account-orders { overflow: hidden; border: 1px solid var(--fm-line); border-radius: 12px; }
.fm-account-order { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 18px; padding: 18px 20px; border-top: 1px solid var(--fm-line); }
.fm-account-order:first-child { border-top: 0; }
.fm-account-order--head { color: var(--fm-muted); background: var(--fm-cream); font-size: .8rem; font-weight: 850; text-transform: uppercase; }
.fm-address-form { margin-top: 0; }
.fm-address-card { min-width: 0; }
.fm-address-card h2 { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 450; }
.fm-address-card label { color: var(--fm-ink); }
.fm-profile-form .fm-field-wide, .fm-details-form .fm-password-fields { grid-column: 1 / -1; }
.fm-profile-form label small { display: block; margin-top: 7px; color: var(--fm-muted); font-size: .85rem; font-style: italic; font-weight: 400; }
.fm-password-fields { display: grid; gap: 14px; margin-top: 24px; padding: 28px; border: 1px solid var(--fm-line); border-radius: 12px; }
.fm-password-fields legend { padding: 0 18px; font-size: 1.65rem; }
.fm-details-form input { min-height: 52px; border-radius: 999px; }
.fm-details-form > label:last-of-type { grid-column: auto; }
.fm-profile-form > .fm-profile-status { grid-column: 1 / -1; }
@media (max-width: 820px) {
  .fm-account-shell { grid-template-columns: 1fr; gap: 28px; }
  .fm-account-sidebar { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--fm-line); }
  .fm-account-sidebar h1 { padding-left: 0; }
  .fm-account-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-account-order { grid-template-columns: 1fr 1fr; }
  .fm-account-order--head { display: none; }
}
@media (max-width: 560px) {
  .fm-account-sidebar nav, .fm-account-tiles, .fm-saved-cart-card { grid-template-columns: 1fr; }
  .fm-account-sidebar nav a { border-bottom: 1px solid var(--fm-line); border-radius: 0; }
  .fm-account-tiles > a { min-height: 126px; }
  .fm-saved-cart-card .fm-account-actions, .fm-saved-cart-card .fm-account-cart-status { grid-column: auto; }
  .fm-account-order { grid-template-columns: 1fr; gap: 6px; }
  .fm-address-card h2 { font-size: 2.1rem; }
  .fm-password-fields { padding: 22px 16px; }
}
.fm-mega-wrap.is-hover-open .fm-mega-menu { display: block; }
.fm-mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; columns: auto; }
.fm-mega-group { min-width: 0; }
.fm-mega-group h3 { margin: 0 0 9px; color: var(--fm-ink); font-size: .92rem; font-weight: 400; line-height: 1.25; text-transform: uppercase; }
.fm-mega-group h3 a { display: inline-block; color: inherit; text-decoration: none; }
.fm-mega-group h3 a:hover, .fm-mega-group h3 a:focus-visible { color: var(--fm-green-2); text-decoration: none; }
.fm-mega-group__links { display: grid; gap: 1px; }
.fm-mega-group__links a { padding: 6px 0; }
@media (max-width: 920px) { .fm-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .fm-mega-grid { grid-template-columns: 1fr; } }

/* Mobile drawer navigation */
@media (min-width: 721px) { .fm-mega-toggle { pointer-events: none; cursor: default; } }
@media (max-width: 720px) {
  body.fm-menu-is-open { overflow: hidden; }
  .fm-header { backdrop-filter: none; }
  .fm-menu-backdrop { position: fixed; z-index: 65; inset: 0; display: none; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(9, 14, 11, .68); }
  body.fm-menu-is-open .fm-menu-backdrop { display: block; }
  .fm-nav { position: fixed; z-index: 70; top: 0; bottom: 0; left: 0; right: auto; display: flex; width: min(88vw, 420px); height: 100dvh; max-height: 100dvh; align-items: stretch; justify-content: flex-start; flex-direction: column; gap: 0; padding: 0 0 max(12px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 0 16px 16px 0; background: #fff; box-shadow: 18px 0 50px rgba(16, 27, 20, .2); font-size: 13px; font-weight: 600; text-align: left; white-space: normal; -webkit-overflow-scrolling: touch; transform: translateX(-105%); transition: transform .25s ease; }
  .fm-nav.is-open { display: flex; transform: translateX(0); }
  .fm-mobile-nav-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; gap: 8px; min-height: 70px; padding: 10px 14px; border-bottom: 1px solid var(--fm-line); background: #fff; }
  .fm-mobile-search { display: flex; min-width: 0; flex: 1; align-items: center; border: 1px solid var(--fm-line); border-radius: 10px; background: #f7f8f7; }
  .fm-mobile-search input[type="search"] { width: 100%; height: 46px; padding: 0 14px; border: 0; outline: 0; background: transparent; font-size: 13px; }
  .fm-mobile-search button { display: grid; width: 48px; height: 46px; padding: 0; place-items: center; border: 0; color: var(--fm-muted); background: transparent; }
  .fm-menu-close { width: 42px; height: 42px; padding: 0; border: 0; color: var(--fm-ink); background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; }
  .fm-nav > a, .fm-mega-row { min-height: 50px; padding: 0 20px; border-bottom: 1px solid var(--fm-line); }
  .fm-nav > a { display: flex; align-items: center; justify-content: flex-start; }
  .fm-nav > a, .fm-mega-trigger { font-family: inherit; font-size: 13px; font-weight: 700; text-transform: uppercase; }
  .fm-mega-row { display: flex; }
  .fm-mega-trigger { justify-content: flex-start; padding: 0; }
  .fm-mega-row .fm-mega-toggle { display: none; }
  .fm-mega-menu { position: static; display: block; width: 100%; max-height: none; padding: 0; overflow: visible; border: 0; border-radius: 0; box-shadow: none; transform: none; }
  .fm-mega-grid { display: block; columns: auto; }
  .fm-mega-group { border-bottom: 1px solid var(--fm-line); }
  .fm-mega-group__head { display: flex; min-height: 50px; align-items: stretch; }
  .fm-mega-group h3 { display: flex; flex: 1; align-items: center; margin: 0; padding: 0 0 0 40px; }
  .fm-mega-group h3 a { display: flex; width: 100%; height: 100%; align-items: center; }
  .fm-mega-group-toggle { display: grid; width: 50px; padding: 0; place-items: center; border: 0; border-left: 1px solid var(--fm-line); color: var(--fm-ink); background: #fff; cursor: pointer; }
  .fm-mega-group-toggle span { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s ease; }
  .fm-mega-group.is-mobile-open .fm-mega-group-toggle span { transform: rotate(45deg); }
  .fm-mega-group__links { display: none; padding: 4px 24px 14px; background: #fbfcfa; }
  .fm-mega-group.is-mobile-open .fm-mega-group__links { display: grid; }
  .fm-mega-group__links a { padding: 9px 8px; border-bottom: 1px solid rgba(223,229,223,.7); font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.fm-scroll-top { position: fixed; z-index: 45; right: 24px; bottom: 24px; display: grid; width: 54px; height: 54px; padding: 0; place-items: center; border: 1px solid var(--fm-line); border-radius: 50%; color: var(--fm-ink); background: #fff; box-shadow: 0 8px 24px rgba(23,33,27,.18); opacity: 0; pointer-events: none; cursor: pointer; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, color .2s ease; }
.fm-scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fm-scroll-top:hover { color: var(--fm-green); }
.fm-scroll-top span { width: 14px; height: 14px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg) translate(3px, 3px); }
@media (max-width: 720px) { .fm-scroll-top { right: 16px; bottom: 16px; width: 50px; height: 50px; } }

/* Category catalogue */
.fm-category-hero { position: relative; overflow: hidden; padding: 66px 0; color: #fff; background: #39423d; }
.fm-category-hero::before { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(25,31,27,.94), rgba(25,31,27,.68)), var(--fm-category-image, none); background-position: center; background-size: cover; content: ""; }
.fm-category-hero > .fm-container { position: relative; z-index: 1; }
.fm-category-hero .fm-eyebrow { color: #d8e8df; }
.fm-category-hero h1 { color: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: clamp(2.8rem, 6vw, 5.1rem); font-weight: 800; letter-spacing: -.045em; }
.fm-hero-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; font-size: 1rem; font-weight: 750; }
.fm-hero-breadcrumbs a:hover, .fm-hero-breadcrumbs .is-current { color: #ef9a91; }
.fm-catalog-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 42px; align-items: start; }
.fm-catalog-main { min-width: 0; }
.fm-catalog-main .fm-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fm-catalog-sidebar { position: sticky; top: 104px; padding: 25px 23px; border: 1px solid var(--fm-line); border-radius: 16px; background: #fff; }
.fm-catalog-sidebar h2 { margin: 0 0 17px; font-size: 1.25rem; }
.fm-catalog-sidebar a { display: block; padding: 7px 0; color: var(--fm-muted); font-size: .9rem; }
.fm-catalog-sidebar a:hover, .fm-catalog-sidebar a.is-active { color: var(--fm-green-2); font-weight: 800; }
.fm-catalog-all { margin-bottom: 8px; text-transform: uppercase; }
.fm-catalog-category-group { border-top: 1px solid var(--fm-line); }
.fm-catalog-category-heading { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.fm-catalog-category-heading > a { flex: 1; padding: 5px 0; color: var(--fm-ink); font-size: .9rem; font-weight: 800; text-transform: uppercase; }
.fm-catalog-category-heading > a.is-active { color: var(--fm-green-2); }
.fm-catalog-category-toggle { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 0; color: var(--fm-ink); background: transparent; font-size: 1.2rem; cursor: pointer; }
.fm-catalog-category-items { padding: 0 0 12px 13px; }
@media (max-width: 980px) { .fm-catalog-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 25px; } .fm-catalog-main .fm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .fm-category-hero { padding: 48px 0; } .fm-catalog-layout { grid-template-columns: 1fr; } .fm-catalog-sidebar { position: static; } }
@media (max-width: 480px) { .fm-catalog-main .fm-product-grid { grid-template-columns: 1fr; } }

/* Image-led catalogue cards */
.fm-product-card { overflow: visible; border: 0; border-radius: 0; background: transparent; }
.fm-product-card:hover { transform: none; box-shadow: none; }
.fm-product-card__image { position: relative; overflow: hidden; aspect-ratio: 1 / 1; padding: 0; background: #fff; }
.fm-product-card__image img { object-fit: contain; mix-blend-mode: normal; transition: transform .25s ease; }
.fm-product-card:hover .fm-product-card__image img { transform: scale(1.02); }
.fm-product-card__body { padding: 16px 0 8px; }
.fm-product-card__category { display: none; }
.fm-product-card h3 { min-height: 2.6em; font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
.fm-product-card__footer { justify-content: flex-start; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.fm-price { color: var(--fm-ink); font-size: 1.08rem; font-weight: 650; }
.fm-old-price { color: #27828d; font-size: 1.08rem; font-weight: 500; }
.fm-sale-badge { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 5px 8px; border-radius: 5px; color: #fff; background: #27828d; font-size: .75rem; font-weight: 800; letter-spacing: .03em; }
.fm-product-card--sold-out .fm-product-card__image::after { position: absolute; inset: 0; z-index: 1; content: ""; background: rgba(116, 113, 109, .28); }
.fm-sold-out-badge { position: absolute; top: 50%; left: 50%; z-index: 2; color: #fff; font-size: clamp(1.15rem, 2vw, 1.75rem); font-weight: 750; letter-spacing: .035em; white-space: nowrap; transform: translate(-50%, -50%); }
.fm-product-card--sold-out .fm-sale-badge { display: none; }
.fm-product-sold-out { display: inline-flex; margin: 0 0 18px; padding: 7px 12px; border-radius: 4px; color: #fff; background: #77736f; font-weight: 800; letter-spacing: .06em; }
.fm-product-detail__image { position: relative; overflow: hidden; }
.fm-product-detail__image .fm-sold-out-badge { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.fm-product-detail__image.is-sold-out::after { position: absolute; inset: 0; z-index: 1; content: ""; background: rgba(116, 113, 109, .28); }
.fm-add-to-cart:disabled { border-color: #8b8b88; background: #8b8b88; cursor: not-allowed; transform: none; }
.fm-card-arrow { display: none; }
.fm-product-grid--home .fm-product-card__image { padding: 0; }
.fm-product-grid--home .fm-product-card__body { padding: 14px 0 8px; }
@media (hover: hover) and (min-width: 721px) {
  .fm-product-card { position: relative; transform-origin: center; transition: transform .28s ease, filter .28s ease; }
  .fm-product-card:hover, .fm-product-card:focus-within { z-index: 4; transform: translateY(-10px) scale(1.045); filter: drop-shadow(0 18px 22px rgba(23, 33, 27, .2)); }
  .fm-product-card:hover .fm-product-card__image img, .fm-product-card:focus-within .fm-product-card__image img { transform: scale(1.08); }
}

/* Compact product cards on smaller screens */
@media (max-width: 720px) {
  .fm-product-card__image { height: 190px; aspect-ratio: auto; padding: 12px; }
  .fm-product-card__body { padding: 14px 0 8px; }
  .fm-product-card__category { margin-bottom: 5px; font-size: .68rem; }
  .fm-product-card h3 { min-height: 2.5em; font-size: .92rem; line-height: 1.28; }
  .fm-product-card__footer { margin-top: 10px; }
  .fm-price { font-size: .96rem; }
  .fm-card-arrow { width: 28px; height: 28px; }
}
@media (max-width: 480px) {
  .fm-product-card__image { height: 175px; }
  .fm-catalog-main .fm-product-card,
  .fm-product-grid--home .fm-product-card { width: 100%; max-width: 330px; margin-inline: auto; }
}

/* Quotation cart */
.fm-cart-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.fm-cart-count { display: grid; min-width: 25px; height: 25px; padding: 0 6px; place-items: center; border-radius: 99px; color: #fff; background: var(--fm-green); font-size: .75rem; }
.fm-add-row { display: flex; align-items: end; gap: 12px; }
.fm-add-row label { color: var(--fm-muted); font-size: .8rem; font-weight: 800; }
.fm-product-quantity { display: block; width: 88px; height: 48px; margin-top: 4px; padding: 0 12px; border: 1px solid var(--fm-line); border-radius: 12px; background: #fff; }
.fm-product-options { display: grid; grid-template-columns: minmax(220px, 440px); gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--fm-line); }
.fm-product-options label { color: var(--fm-ink); font-size: .82rem; font-weight: 800; }
.fm-product-options select { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--fm-line); border-radius: 10px; background: #fff; color: var(--fm-ink); font: inherit; font-weight: 500; }
.fm-add-feedback { min-height: 24px; margin: 10px 0 0; color: var(--fm-green-2); font-weight: 800; }
.fm-add-feedback a { text-decoration: underline; }
.fm-estimate-note { color: var(--fm-muted); font-size: .8rem; }
.fm-cart-page h1 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.055em; }
.fm-cart-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .7fr); gap: 34px; align-items: start; margin-top: 38px; }
.fm-cart-items { display: grid; gap: 12px; }
.fm-cart-list-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.fm-cart-list-head h2 { margin: 0; }
.fm-cart-item { display: grid; grid-template-columns: 105px minmax(0, 1fr) 85px 115px; gap: 18px; align-items: center; padding: 15px; border: 1px solid var(--fm-line); border-radius: 15px; background: #fff; }
.fm-cart-item img, .fm-cart-placeholder { width: 105px; height: 90px; object-fit: contain; border-radius: 10px; background: var(--fm-cream); }
.fm-cart-item small { display: block; color: var(--fm-muted); }
.fm-cart-item label { color: var(--fm-muted); font-size: .75rem; font-weight: 800; }
.fm-item-quantity { display: block; width: 75px; margin-top: 4px; padding: 8px; border: 1px solid var(--fm-line); border-radius: 9px; }
.fm-cart-item-selections { display: grid; gap: 2px; margin-top: 8px; color: var(--fm-muted); font-size: .78rem; line-height: 1.4; }
.fm-cart-item-selections span { display: block; }
.fm-remove-item { position: relative; display: grid; width: 34px; height: 34px; margin-top: 10px; padding: 0; place-items: center; border: 0; border-radius: 8px; color: #3158d8; background: #eef2ff; cursor: pointer; }
.fm-remove-item:hover { color: #fff; background: #3158d8; }
.fm-trash-icon, .fm-trash-icon::before, .fm-trash-icon::after { display: block; content: ""; }
.fm-trash-icon { position: relative; width: 12px; height: 14px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 2px 2px; }
.fm-trash-icon::before { position: absolute; width: 16px; height: 2px; top: -4px; left: -4px; border-radius: 2px; background: currentColor; }
.fm-trash-icon::after { position: absolute; width: 6px; height: 2px; top: -7px; left: 1px; border-radius: 2px 2px 0 0; background: currentColor; }
.fm-cart-summary { position: sticky; top: 105px; padding: 28px; border-radius: 20px; background: var(--fm-cream); }
.fm-cart-summary h2 { margin-top: 0; }
.fm-summary-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--fm-line); }
.fm-summary-total { margin-bottom: 12px; padding: 15px 0; font-size: 1.08rem; }
.fm-quote-form { display: grid; gap: 11px; margin-top: 22px; }
.fm-quote-form label { color: var(--fm-muted); font-size: .78rem; font-weight: 800; }
.fm-quote-form input, .fm-quote-form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 11px; border: 1px solid var(--fm-line); border-radius: 10px; background: #fff; }
.fm-quote-form button:disabled { opacity: .45; cursor: not-allowed; }
.fm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.fm-form-status { min-height: 24px; margin-bottom: 0; font-weight: 800; }
.fm-form-status.is-success { color: var(--fm-green-2); }
.fm-form-status.is-error { color: #9c3e35; }
.fm-quote-success { display: grid; gap: 5px; margin-top: 16px; padding: 15px; border: 1px solid #aac9b7; border-radius: 12px; background: #f1f8f3; }
.fm-quote-success strong { color: var(--fm-ink); font-size: 1rem; }
.fm-quote-success span { color: var(--fm-green-2); font-size: .82rem; }
.fm-quote-success b { font-size: .95rem; letter-spacing: .03em; }
.fm-cart-empty { padding: 48px; border: 1px dashed var(--fm-line); border-radius: 18px; text-align: center; }
@media (max-width: 980px) { .fm-cart-layout { grid-template-columns: 1fr; } .fm-cart-summary { position: static; } }
@media (max-width: 720px) { .fm-header__inner { gap: 12px; } .fm-cart-item { grid-template-columns: 80px minmax(0, 1fr); } .fm-cart-item img, .fm-cart-placeholder { width: 80px; height: 75px; } .fm-cart-item > label, .fm-cart-item > strong { grid-column: 2; } .fm-product-options { grid-template-columns: 1fr; } }
@media (max-width: 920px) { .fm-related-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .fm-related-products { padding-top: 58px; } .fm-related-products__grid { grid-template-columns: 1fr; } }

/* Legal pages, consent notices and cookie controls */
.fm-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.fm-footer__legal a, .fm-cookie-settings { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fm-legal-hero h1 { max-width: 900px; }
.fm-legal-document { display: grid; grid-template-columns: minmax(210px, .32fr) minmax(0, 1fr); gap: 46px 70px; align-items: start; }
.fm-legal-document article { max-width: 820px; }
.fm-legal-document article + article { grid-column: 2; padding-top: 42px; border-top: 1px solid var(--fm-line); }
.fm-legal-document h2 { margin: 0 0 30px; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.04em; }
.fm-legal-document h3 { margin: 30px 0 8px; font-size: 1.14rem; }
.fm-legal-document p { color: var(--fm-muted); }
.fm-legal-document a { color: var(--fm-green-2); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.fm-legal-summary { position: sticky; top: 112px; display: grid; gap: 5px; padding: 24px; border: 1px solid var(--fm-line); border-radius: 16px; background: var(--fm-cream); }
.fm-legal-summary strong { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.fm-legal-summary span { font-weight: 800; }
.fm-legal-summary p { margin: 12px 0 0; color: var(--fm-muted); font-size: .83rem; }
.fm-legal-consent { display: flex !important; flex-direction: row !important; gap: 9px; align-items: flex-start; color: var(--fm-muted) !important; font-size: .76rem !important; font-weight: 500 !important; line-height: 1.45; }
.fm-legal-consent input { flex: 0 0 auto; width: 17px !important; height: 17px; margin: 2px 0 0 !important; }
.fm-legal-consent a, .fm-price-disclaimer a { color: var(--fm-green-2); font-weight: 800; text-decoration: underline; }
.fm-price-disclaimer { margin: 4px 0; padding: 12px 14px; border-left: 3px solid var(--fm-accent); color: var(--fm-muted); background: #fff; font-size: .76rem; line-height: 1.5; }
.fm-cookie-notice { position: fixed; z-index: 120; right: 20px; bottom: 20px; left: 20px; display: flex; width: min(960px, calc(100% - 40px)); margin-inline: auto; padding: 22px 24px; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--fm-line); border-radius: 16px; background: #fff; box-shadow: 0 22px 65px rgba(23,33,27,.24); }
.fm-cookie-notice[hidden] { display: none !important; }
.fm-cookie-notice strong { display: block; margin-bottom: 4px; }
.fm-cookie-notice p { max-width: 690px; margin: 0; color: var(--fm-muted); font-size: .84rem; }
.fm-cookie-notice p a { color: var(--fm-green-2); font-weight: 800; text-decoration: underline; }
.fm-cookie-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.fm-cookie-actions .fm-button { padding: 10px 15px; white-space: nowrap; }
@media (max-width: 760px) {
  .fm-legal-document { grid-template-columns: 1fr; gap: 34px; }
  .fm-legal-document article + article { grid-column: 1; }
  .fm-legal-summary { position: static; }
  .fm-cookie-notice { right: 12px; bottom: 12px; left: 12px; display: grid; width: auto; padding: 18px; }
  .fm-cookie-actions { flex-wrap: wrap; }
}
