:root {
  --office-ink: #202520;
  --office-muted: #687068;
  --office-green: #314c3b;
  --office-green-dark: #20372a;
  --office-sage: #dfe7df;
  --office-sand: #f2efe8;
  --office-line: #dedfd8;
  --office-white: #fff;
  --office-radius: 18px;
}

/* Furniture 2-inspired refinement: search-first navigation and calmer B2B cards. */
.office-catalog-mode {
  --office-ink: #202622;
  --office-muted: #69716b;
  --office-green: #405b49;
  --office-green-dark: #2d4636;
  --office-sage: #e5ebe4;
  --office-sand: #f5f2ec;
  --office-line: #e3e3dc;
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.office-catalog-mode .whb-general-header { background: rgba(255,255,255,.97); }
.office-catalog-mode .whb-general-header .container { max-width: 1260px; }
.office-catalog-mode .whb-general-header-inner { min-height: 82px; }
.office-catalog-mode .whb-header-bottom { display: none !important; }
.office-catalog-mode .site-logo .wd-logo::before { font-size: 27px; }
.office-catalog-mode .wd-header-cart,
.office-catalog-mode .wd-header-wishlist,
.office-catalog-mode .wd-header-compare { padding: 8px; border-radius: 999px; transition: background .2s ease; }
.office-catalog-mode .wd-header-cart:hover,
.office-catalog-mode .wd-header-wishlist:hover,
.office-catalog-mode .wd-header-compare:hover { background: #f3f4ef; }
.office-header-tools-source { display: none; }
.office-catalog-mode .whb-general-header .wd-tools-count { display: inline-flex; align-items: center; justify-content: center; }

.office-discovery { position: relative; z-index: 12; border-bottom: 1px solid var(--office-line); background: #fbfaf7; }
.office-discovery-inner { width: min(100% - 48px, 1220px); margin: 0 auto; padding: 18px 0 14px; }
.office-discovery-main { display: grid; grid-template-columns: minmax(420px, 1.45fr) minmax(390px, .8fr); align-items: center; gap: 22px; }
.office-product-search { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; height: 52px; padding-left: 18px; overflow: hidden; border: 1px solid #d8dcd6; border-radius: 999px; background: #fff; box-shadow: 0 4px 18px rgba(33,43,36,.035); }
.office-product-search > svg { width: 20px; height: 20px; fill: none; stroke: #687269; stroke-width: 1.8; stroke-linecap: round; }
.office-product-search input[type="search"] { width: 100%; height: 50px; padding: 0 13px; border: 0; background: transparent; box-shadow: none; font-size: 14px; }
.office-product-search input[type="search"]:focus { box-shadow: none; }
.office-product-search button { align-self: stretch; min-width: 90px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--office-green); color: #fff; font-size: 13px; font-weight: 800; }
.office-discovery-help { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.office-discovery-help > span { max-width: 250px; color: var(--office-muted); font-size: 12px; line-height: 1.45; }
.office-discovery-help > span b { display: block; color: var(--office-ink); font-size: 13px; }
.office-discovery-help .office-quote-trigger { min-height: 44px; flex: 0 0 auto; padding: 0 18px; border-radius: 999px; font-size: 12px; }
.office-category-ribbon { position: relative; display: grid; grid-template-columns: .85fr repeat(6, 1fr); gap: 6px; margin-top: 13px; }
.office-category-ribbon > a,
.office-category-menu > a { min-width: 0; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 10px; border-radius: 10px; color: #313a33; font-size: 12px; font-weight: 750; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.office-category-ribbon > a:hover,
.office-category-menu > a:hover,
.office-category-menu.is-open > a,
.office-category-menu:focus-within > a { background: #ecefe9; color: var(--office-green); }
.office-category-menu { min-width: 0; display: flex; }
.office-category-menu > a { width: 100%; }
.office-category-menu.has-mega > a::after { width: 6px; height: 6px; margin: -3px 0 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ''; transform: rotate(45deg); opacity: .65; }
.office-category-ribbon > a svg,
.office-category-menu > a svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.office-category-ribbon .office-category-ribbon-all { background: var(--office-ink); color: #fff; }
.office-category-ribbon .office-category-ribbon-all:hover { background: var(--office-green); color: #fff; }
.office-series-mega { position: absolute; z-index: 80; top: 100%; right: 0; left: 0; padding-top: 10px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; }
.office-category-menu:hover .office-series-mega,
.office-category-menu.is-open .office-series-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.office-series-mega-inner { max-height: min(620px, calc(100vh - 235px)); padding: 20px; overflow-y: auto; border: 1px solid #e0e3dc; border-radius: 16px; background: rgba(255,255,253,.985); box-shadow: 0 24px 65px rgba(28,39,31,.18); scrollbar-width: thin; scrollbar-color: #bdc5bd transparent; }
.office-series-mega-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 15px; padding: 0 2px 14px; border-bottom: 1px solid #e8e9e4; }
.office-series-mega-head > div:first-child span { display: block; margin-bottom: 2px; color: #899189; font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.office-series-mega-head strong { color: var(--office-ink); font-size: 20px; letter-spacing: -.025em; }
.office-series-mega-head > div:last-child { display: flex; align-items: center; gap: 16px; }
.office-series-mega-head small { color: #858d86; font-size: 10px; font-weight: 750; }
.office-series-mega-head a { color: var(--office-green); font-size: 11px; font-weight: 850; white-space: nowrap; }
.office-series-mega-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.office-series-mega-card { min-width: 0; display: flex; flex-direction: column; padding: 6px; border: 1px solid transparent; border-radius: 12px; color: var(--office-ink); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.office-series-mega-card:hover,
.office-series-mega-card:focus-visible { border-color: #d9dfd8; background: #f4f6f1; color: var(--office-green); transform: translateY(-1px); }
.office-series-mega-image { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #f1f3ef; }
.office-series-mega-image img { width: 100%; height: 100%; padding: 0; object-fit: cover; }
.office-series-mega-image > span { color: #9aa19a; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.office-series-mega-copy { min-width: 0; padding: 8px 3px 2px; text-align: center; }
.office-series-mega-copy strong { display: -webkit-box; overflow: hidden; color: inherit; font-size: 13px; line-height: 1.3; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.office-series-mega-copy small { display: none; }

.office-hero { min-height: 610px; grid-template-columns: minmax(0, 1fr) minmax(460px, .95fr); gap: clamp(38px, 5vw, 74px); padding-top: 52px; padding-bottom: 52px; background: linear-gradient(115deg, #f7f4ed 0%, #edf1eb 100%); }
.office-hero-copy { padding: 38px 0; }
.office-hero h1 { font-size: clamp(44px, 4.8vw, 70px); }
.office-hero-visual { min-height: 500px; overflow: hidden; border-radius: 28px; background: #e8ece6; box-shadow: 0 24px 65px rgba(36,49,40,.12); }
.office-hero-visual::before { display: none; }
.office-hero-visual img { width: 100%; height: 500px; max-height: none; object-fit: cover; object-position: center; mix-blend-mode: normal; }
.office-hero-badge { right: 22px; bottom: 22px; min-width: 220px; color: #fff !important; text-decoration: none; }
.office-hero-badge:hover { transform: translateY(-2px); }

.office-category-card { min-height: 245px; padding: 25px; background: linear-gradient(145deg, #fcfcf9, #f4f5f0); }
.office-category-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--office-green) !important; }
.office-category-card-top i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #e8eee7; font-style: normal; }
.office-category-card-top svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.office-category-card-top small { color: #9aa39b; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.office-category-card h3 { margin-top: 31px; }

.office-featured-card { border: 1px solid #ebe9e1; box-shadow: 0 12px 34px rgba(32,42,35,.045); }
.office-featured-card > a { aspect-ratio: 4 / 3; overflow: hidden; background: #fafaf7; }
.office-featured-card img { padding: 15px; transition: transform .25s ease; }
.office-featured-card:hover img { transform: scale(1.035); }
.office-featured-card h3 { min-height: 46px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.office-brand-band { display: flex; align-items: center; justify-content: space-between; gap: 42px; padding-top: 34px; padding-bottom: 34px; border-top: 1px solid var(--office-line); background: #fff; }
.office-brand-band > div { display: flex; align-items: center; gap: 28px; }
.office-brand-band span { color: var(--office-muted); font-size: 12px; font-weight: 700; }
.office-brand-band strong { color: var(--office-ink); font-size: clamp(18px, 2vw, 24px); letter-spacing: -.025em; }
.office-brand-band p { max-width: 570px; margin: 0; color: var(--office-muted); font-size: 13px; line-height: 1.55; text-align: right; }

.office-catalog-heading { margin-top: 2px; margin-bottom: 22px; padding: 28px 32px; border: 1px solid #e7e5dd; background: linear-gradient(115deg, #f6f3ec, #edf2ed); }
.office-catalog-heading h1 { font-size: clamp(32px, 3.5vw, 48px); }
.office-product-filters { margin-bottom: 28px; padding: 18px 20px; border-radius: 13px; background: #fbfbf8; }
.office-product-filters.is-collapsed { box-shadow: none; }
.office-filter-toggle { min-height: 38px; padding: 0 14px; border: 1px solid #cdd5ce; border-radius: 999px; background: #fff; }
.office-filter-toggle:hover { border-color: var(--office-green); background: #edf1ec; }

.office-catalog-mode .product-grid-item { overflow: hidden; padding-bottom: 16px; border-color: #e5e6e0; border-radius: 16px; }
.office-catalog-mode .product-grid-item .product-image-link { aspect-ratio: 4 / 3; display: block; overflow: hidden; background: #f8f8f5; }
.office-catalog-mode .product-grid-item .product-image-link img { width: 100%; height: 100%; padding: 13px; object-fit: contain; transition: transform .25s ease; }
.office-catalog-mode .product-grid-item:hover .product-image-link img { transform: scale(1.035); }
.office-catalog-mode .product-grid-item .wd-product-cats { margin-top: 14px; padding: 0 18px; }
.office-catalog-mode .product-grid-item .wd-entities-title { min-height: 43px; display: -webkit-box; overflow: hidden; margin-top: 5px; font-size: 15px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.office-product-meta { min-height: 34px; padding: 7px 18px 0; overflow: hidden; color: #8a918b; font-size: 10px; font-weight: 700; line-height: 1.35; letter-spacing: .025em; text-overflow: ellipsis; }
.office-catalog-mode .wd-product-wrapper .office-card-specs { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1px; margin: 4px 18px 0; overflow: hidden; border: 1px solid #e1e6e0; border-radius: 6px; background: #e1e6e0; }
.office-catalog-mode .wd-product-wrapper .office-card-specs > div { min-width: 0; padding: 3px 5px; background: #f8f9f6; }
.office-catalog-mode .wd-product-wrapper .office-card-specs dt { margin: 0 0 1px; color: #858d85; font-size: 7px !important; font-weight: 800; line-height: 1.05 !important; letter-spacing: .045em; text-transform: uppercase; }
.office-catalog-mode .wd-product-wrapper .office-card-specs dd { margin: 0; overflow: hidden; color: #3f4d43; font-size: 10px !important; font-weight: 750; line-height: 1.1 !important; text-overflow: ellipsis; white-space: nowrap; }
.office-product-color { min-height: 43px; margin: 8px 18px 0; padding: 7px 10px; border: 1px solid #e4e7e1; border-radius: 8px; background: #f7f8f5; color: #435047; font-size: 11px; line-height: 1.35; }
.office-product-color span,
.office-product-color strong { display: block; }
.office-product-color span { margin-bottom: 2px; color: #8a918b; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.office-product-color strong { font-weight: 750; }
.office-catalog-mode .product-grid-item .price { margin-top: 7px; font-size: 16px; }
.office-card-actions { display: block; margin-top: 9px; }
.office-details { width: 100%; border-color: #d9ddd8; background: #fafbf8; }
.office-details:hover { border-color: var(--office-green); background: #edf1ec; color: var(--office-green); }

.office-catalog-mode.single-product .woocommerce-product-gallery { overflow: hidden; border: 1px solid #e8e8e2; border-radius: 20px; background: #fafaf7; }
.office-catalog-mode.single-product .woocommerce-product-gallery__image a { display: flex; align-items: center; justify-content: center; min-height: 520px; }
.office-catalog-mode.single-product .woocommerce-product-gallery__image img { width: 100%; max-height: 560px; padding: 24px; object-fit: contain; }
@media (min-width: 1025px) {
  .office-catalog-mode.single-product .product-images > .woocommerce-product-gallery { position: sticky; top: 24px; z-index: 2; }
}
.office-catalog-mode.single-product .product_title { font-size: clamp(28px, 3.2vw, 45px); line-height: 1.12; letter-spacing: -.035em; }
.office-product-color-summary { margin: 12px 0 18px; padding: 14px 16px; border: 1px solid #dce3dc; border-radius: 11px; background: #f3f6f2; }
.office-product-color-summary > span,
.office-product-color-summary > strong { display: block; }
.office-product-color-summary > span { color: #747d75; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.office-product-color-summary > strong { margin-top: 3px; color: var(--office-green-dark); font-size: 15px; }
.office-product-color-options { margin-top: 12px; padding-top: 11px; border-top: 1px solid #dce3dc; }
.office-product-color-options small { display: block; margin-bottom: 7px; color: #687068; font-size: 11px; font-weight: 700; }
.office-product-color-options > div { display: flex; flex-wrap: wrap; gap: 6px; }
.office-product-color-options a,
.office-product-color-options [aria-current="true"] { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 9px; border: 1px solid #cbd4cc; border-radius: 999px; background: #fff; color: #425047; font-size: 10px; font-weight: 700; line-height: 1.25; }
.office-product-color-options a:hover { border-color: var(--office-green); color: var(--office-green); }
.office-product-color-options [aria-current="true"] { border-color: var(--office-green); background: var(--office-green); color: #fff; }
.office-variation-color-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(108px,1fr)); gap: 8px; margin-top: 12px; }
.office-variation-color-choice { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: center; gap: 8px; min-height: 52px; padding: 5px 9px 5px 5px; border: 1px solid #ccd4cc; border-radius: 12px; background: #fff; color: #435047; font-size: 11px; font-weight: 750; line-height: 1.2; text-align: left; cursor: pointer; }
.office-variation-color-choice:hover { border-color: var(--office-green); color: var(--office-green); }
.office-variation-color-choice.is-active { border-color: var(--office-green); box-shadow: 0 0 0 3px #dce7dc; color: var(--office-green-dark); }
.office-variation-color-choice:disabled { opacity: .42; cursor: not-allowed; }
.office-variation-color-sample { width: 40px; height: 40px; border: 1px solid rgba(44,52,46,.22); border-radius: 9px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); }
.office-variation-color-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.office-variation-color-help { color: #737d75; font-size: 10px; line-height: 1.4; }
.office-variation-color-clear { flex: 0 0 auto; padding: 0; border: 0; background: none; color: #5e6b61; font-size: 10px; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.office-variation-color-clear[hidden] { display: none !important; }
.office-variation-color-clear:hover { color: var(--office-green); }
.office-custom-color-picker-ready .office-native-color-row { display: none; }
.office-assembly-picker { margin: 10px 0 18px; padding: 14px 16px; border: 1px solid #dce3dc; border-radius: 11px; background: #f8faf7; }
.office-assembly-picker legend { display: flex; align-items: baseline; justify-content: space-between; width: 100%; margin: 0; padding: 0; color: #747d75; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.office-assembly-picker legend strong { color: var(--office-green-dark); font-size: 14px; letter-spacing: 0; text-transform: none; }
.office-assembly-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.office-assembly-choice { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 9px; min-height: 62px; padding: 7px 10px 7px 7px; border: 1px solid #ccd4cc; border-radius: 12px; background: #fff; color: #435047; cursor: pointer; }
.office-assembly-choice:hover { border-color: var(--office-green); }
.office-assembly-choice.is-active { border-color: var(--office-green); box-shadow: 0 0 0 3px #dce7dc; }
.office-assembly-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.office-assembly-choice input:focus-visible + .office-assembly-plan { outline: 2px solid var(--office-green); outline-offset: 2px; }
.office-assembly-choice > span:last-child { display: grid; gap: 2px; }
.office-assembly-choice strong { color: var(--office-green-dark); font-size: 13px; }
.office-assembly-choice small { color: #737d75; font-size: 10px; line-height: 1.3; }
.office-assembly-plan { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 9px; background: #edf2ec; }
.office-assembly-plan svg { width: 29px; height: 29px; fill: #526558; }
.office-assembly-plan.is-right svg { transform: scaleX(-1); }
.office-assembly-help { margin: 9px 0 0; color: #737d75; font-size: 10px; line-height: 1.45; }
.office-assembly-error { margin: 7px 0 0; color: #a3332c; font-size: 11px; font-weight: 750; }
.office-assembly-error[hidden] { display: none !important; }
.office-assembly-picker.has-error { border-color: #c96a62; box-shadow: 0 0 0 3px rgba(201,106,98,.12); }
.office-catalog-mode.single-product .woocommerce-product-gallery__image img { transition: transform .22s ease; transform-origin: center; }
.office-catalog-mode.single-product.office-mirror-assembly-left .woocommerce-product-gallery__image img { transform: scaleX(-1); }
.office-single-cta { background: linear-gradient(115deg, #e7eee7, #dfe8df); }

@media (max-width: 1024px) {
  .office-discovery-inner { width: min(100% - 36px, 940px); }
  .office-discovery-main { grid-template-columns: 1fr auto; }
  .office-discovery-help > span { display: none; }
  .office-category-ribbon { display: flex; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .office-category-ribbon > a,
  .office-category-ribbon > .office-category-menu { min-width: 142px; }
  .office-series-mega { display: none !important; }
  .office-category-ribbon .office-category-ribbon-all { min-width: 112px; }
  .office-hero { grid-template-columns: 1fr; }
  .office-hero-visual { min-height: 440px; }
  .office-hero-visual img { height: 440px; }
  .office-brand-band { align-items: flex-start; flex-direction: column; gap: 16px; }
  .office-brand-band p { text-align: left; }
}

@media (max-width: 767px) {
  .office-catalog-mode .whb-general-header-inner { min-height: 64px; }
  .office-discovery-inner { width: calc(100% - 28px); padding: 12px 0 9px; }
  .office-discovery-main { display: block; }
  .office-product-search { height: 46px; padding-left: 14px; }
  .office-product-search input[type="search"] { height: 44px; font-size: 13px; }
  .office-product-search button { min-width: 62px; padding: 0 13px; font-size: 11px; }
  .office-discovery-help { display: none; }
  .office-category-ribbon { margin-top: 8px; margin-right: -14px; margin-left: -14px; padding: 0 14px 4px; }
  .office-category-ribbon > a,
  .office-category-ribbon > .office-category-menu { min-width: 125px; }
  .office-category-ribbon > a,
  .office-category-menu > a { min-height: 41px; padding: 6px 9px; font-size: 11px; }
  .office-category-ribbon > a svg,
  .office-category-menu > a svg { width: 19px; height: 19px; }
  .office-category-ribbon .office-category-ribbon-all { min-width: 92px; }
  .office-hero { padding-top: 26px; padding-bottom: 28px; }
  .office-hero-copy { padding: 22px 0 18px; }
  .office-hero h1 { font-size: 39px; }
  .office-hero-visual { min-height: 310px; border-radius: 20px; }
  .office-hero-visual img { height: 310px; max-height: none; padding: 0; object-fit: cover; }
  .office-hero-badge { right: 12px; bottom: 12px; min-width: 190px; padding: 14px 17px; }
  .office-category-card { min-height: 210px; }
  .office-brand-band > div { width: 100%; flex-wrap: wrap; gap: 12px 22px; }
  .office-brand-band span { width: 100%; }
  .office-catalog-heading { padding: 23px 20px; }
  .office-catalog-heading > p:last-child { font-size: 14px; }
  .office-product-filters { padding: 15px; }
  .office-filter-head small { max-width: 220px; font-size: 11px; }
  .office-filter-toggle { padding: 0 11px; font-size: 11px; }
  .office-catalog-mode.single-product .woocommerce-product-gallery__image a { min-height: 330px; }
  .office-catalog-mode.single-product .woocommerce-product-gallery__image img { max-height: 360px; padding: 14px; }
  .office-catalog-mode.single-product .product_title { font-size: 30px; }
  .office-variation-color-options { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .office-variation-color-choice { grid-template-columns: 36px minmax(0,1fr); min-height: 48px; padding-right: 6px; font-size: 10px; }
  .office-variation-color-sample { width: 36px; height: 36px; }
  .office-variation-color-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .office-assembly-picker { padding: 13px; }
  .office-assembly-choice { grid-template-columns: 38px minmax(0,1fr); min-height: 58px; padding-right: 6px; }
  .office-assembly-plan { width: 38px; height: 38px; }
  .office-assembly-plan svg { width: 25px; height: 25px; }
}

.office-catalog-mode { color: var(--office-ink); }
.office-catalog-mode .main-page-wrapper { padding-top: 0; }
.office-catalog-mode .site-content { margin-bottom: 0; }
.office-catalog-mode .whb-top-bar,
.office-catalog-mode .create-nav-msg,
.office-catalog-mode .wd-header-search { display: none !important; }
.office-catalog-mode.home .page-title,
.office-catalog-mode.home .entry-header,
.office-catalog-mode.home .sidebar-container { display: none !important; }
.office-catalog-mode.woocommerce-shop .page-title,
.office-catalog-mode.woocommerce-shop .page-description,
.office-catalog-mode.tax-product_cat .page-title { display: none !important; }
.office-catalog-mode.home .main-page-wrapper > .container,
.office-catalog-mode.home .content-layout-wrapper { width: 100%; max-width: none; padding-right: 0; padding-left: 0; }
.office-catalog-mode.home .content-layout-wrapper { display: block; }
.office-catalog-mode.home .wd-content-area { width: 100% !important; max-width: none !important; padding-right: 0; padding-left: 0; }
.office-catalog-mode.home .site-content,
.office-catalog-mode.home .entry-content { margin: 0; padding: 0; }
.office-catalog-mode .wd-header-my-account { display: none !important; }
.office-catalog-mode .site-logo img { display: none; }
.office-catalog-mode .site-logo .wd-logo::before { content: 'SIMFI'; color: var(--office-ink); font-size: 25px; font-weight: 900; letter-spacing: -.04em; }
.office-catalog-mode .site-logo .wd-logo::after { content: 'OFFICE'; margin-left: 8px; color: var(--office-green); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.office-catalog-mode .footer-container { display: none; }
.office-catalog-mode .mobile-nav .menu-item-account { display: none !important; }
.office-catalog-mode button,
.office-catalog-mode .button { border-radius: 8px; }
.office-catalog-mode .price { color: var(--office-green) !important; font-weight: 700; }

.office-eyebrow { margin: 0 0 14px; color: var(--office-green); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.office-home { background: var(--office-white); }
.office-home > section { padding-left: max(24px, calc((100vw - 1220px) / 2)); padding-right: max(24px, calc((100vw - 1220px) / 2)); }

.office-hero { min-height: 670px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; overflow: hidden; background: linear-gradient(110deg, #f6f4ee 0%, #eef1ec 100%); }
.office-hero-copy { padding: 80px 0; position: relative; z-index: 2; }
.office-hero h1 { max-width: 720px; margin: 0 0 26px; color: var(--office-ink); font-size: clamp(44px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.045em; }
.office-hero-lead { max-width: 670px; margin: 0; color: #535b54; font-size: 18px; line-height: 1.65; }
.office-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.office-primary, .office-quote-trigger, .office-submit { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 0; border-radius: 8px; background: var(--office-green); color: #fff !important; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.office-primary:hover, .office-quote-trigger:hover, .office-submit:hover { background: var(--office-green-dark); transform: translateY(-1px); }
.office-hero .office-quote-trigger { border: 1px solid #bfc7bf; background: rgba(255,255,255,.68); color: var(--office-ink) !important; }
.office-hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: var(--office-muted); font-size: 13px; }
.office-hero-points span::before { content: '✓'; margin-right: 7px; color: var(--office-green); font-weight: 900; }
.office-hero-visual { min-height: 580px; position: relative; display: flex; align-items: center; justify-content: center; }
.office-hero-visual::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.78); }
.office-hero-visual img { width: 620px; max-height: 520px; position: relative; object-fit: contain; mix-blend-mode: multiply; }
.office-hero-badge { position: absolute; right: 0; bottom: 70px; min-width: 190px; padding: 18px 22px; border-radius: 14px; background: rgba(32,37,32,.94); color: #fff; box-shadow: 0 18px 40px rgba(32,37,32,.18); }
.office-hero-badge strong, .office-hero-badge span { display: block; }
.office-hero-badge strong { font-size: 24px; }
.office-hero-badge span { color: #d5ddd6; font-size: 12px; }

.office-home-section { padding-top: 96px; padding-bottom: 96px; }
.office-section-heading { max-width: 780px; margin-bottom: 42px; }
.office-section-heading h2 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
.office-section-heading > p:last-child { color: var(--office-muted); font-size: 17px; }
.office-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.office-category-card { min-height: 260px; position: relative; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid var(--office-line); border-radius: var(--office-radius); background: #fafaf7; color: var(--office-ink) !important; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.office-category-card:hover { transform: translateY(-4px); border-color: #bbc6bd; box-shadow: 0 20px 44px rgba(31,47,37,.08); }
.office-category-card > span { color: #9aa39b; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.office-category-card h3 { margin: 42px 0 10px; font-size: 24px; }
.office-category-card p { max-width: 330px; color: var(--office-muted); line-height: 1.55; }
.office-category-card b { margin-top: auto; color: var(--office-green); font-size: 13px; }

.office-featured { background: var(--office-sand); }
.office-featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.office-featured-card { overflow: hidden; border-radius: 14px; background: #fff; }
.office-featured-card > a { display: block; aspect-ratio: 1; background: #fff; }
.office-featured-card img { width: 100%; height: 100%; object-fit: contain; }
.office-featured-card > div { padding: 20px; }
.office-featured-card span { color: #8a918a; font-size: 11px; letter-spacing: .08em; }
.office-featured-card h3 { margin: 8px 0 12px; font-size: 17px; line-height: 1.35; }
.office-featured-card h3 a { color: var(--office-ink); }
.office-text-link { display: inline-block; margin-top: 30px; color: var(--office-green); font-weight: 800; }

.office-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding-top: 84px; padding-bottom: 84px; background: var(--office-green); color: #fff; }
.office-process > div { padding: 20px 52px; border-right: 1px solid rgba(255,255,255,.16); }
.office-process > div:last-child { border: 0; }
.office-process span { color: #b9c9bd; font-size: 13px; font-weight: 800; }
.office-process h3 { margin: 22px 0 10px; color: #fff; font-size: 24px; }
.office-process p { margin: 0; color: #d6dfd8; line-height: 1.6; }

.office-catalog-heading { margin: 0 0 30px; padding: 34px 36px; border-radius: var(--office-radius); background: linear-gradient(115deg, #f1efe8, #e8eee9); }
.wd-shop-tools > .office-catalog-heading { width: 100%; flex: 0 0 100%; }
.office-catalog-heading h1 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.035em; }
.office-catalog-heading > p:last-child { max-width: 820px; margin: 0; color: var(--office-muted); font-size: 16px; line-height: 1.6; }
.office-series-directory { margin: 0 0 52px; }
.office-series-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.office-series-heading > div { max-width: 820px; }
.office-series-heading h2, .office-individual-products h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.office-series-heading > div > p:last-child, .office-individual-products > p:last-child { margin: 0; color: var(--office-muted); line-height: 1.6; }
.office-series-heading > span,
.office-series-count { flex: 0 0 auto; padding: 8px 13px; border-radius: 999px; background: var(--office-sage); color: var(--office-green); font-size: 12px; font-weight: 800; white-space: nowrap; }
.office-series-heading-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.office-series-sort label { display: grid; gap: 4px; }
.office-series-sort label > span { color: #7f887f; font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.office-series-sort select { min-width: 205px; height: 40px; padding: 0 38px 0 13px; border: 1px solid var(--office-line); border-radius: 20px; background-color: #fff; color: var(--office-ink); font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.office-series-sort select:focus { border-color: var(--office-green); outline: 2px solid rgba(49,76,59,.13); outline-offset: 1px; }
.office-series-view-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; }
.office-series-view-toggle button { box-sizing: border-box; width: 40px; min-width: 40px; max-width: 40px; height: 40px; min-height: 40px; max-height: 40px; display: grid; flex: 0 0 40px; place-items: center; padding: 0; border: 1px solid var(--office-line); border-radius: 50%; background: #fff; color: #889189; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.office-series-view-toggle button:hover { color: var(--office-green); background: #edf1ec; }
.office-series-view-toggle button.is-active { border-color: var(--office-green); color: #fff; background: var(--office-green); box-shadow: 0 4px 12px rgba(49,76,59,.2); }
.office-series-view-toggle button:focus-visible { outline: 2px solid var(--office-green); outline-offset: 2px; }
.office-series-view-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.office-series-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.office-series-directory[data-series-view="large"] .office-series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.office-series-card { overflow: hidden; border: 1px solid var(--office-line); border-radius: var(--office-radius); background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.office-series-card:hover { transform: translateY(-4px); border-color: #b8c4ba; box-shadow: 0 18px 44px rgba(29,42,33,.09); }
.office-series-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #f7f6f2, #eef1ed); }
.office-series-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.office-series-card:hover .office-series-image img { transform: scale(1.025); }
.office-series-card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 10px; padding: 13px 14px 15px; }
.office-series-card-body p { margin: 0 0 3px; color: #8a928b; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.office-series-card-body h3 { margin: 0; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.office-series-card-body h3 a { color: var(--office-ink); }
.office-series-card-body > span { padding-top: 2px; color: var(--office-muted); font-size: 10px; white-space: nowrap; }
.office-series-card-stats { display: grid; justify-items: end; gap: 3px; }
.office-series-card-stats small { color: var(--office-muted); font-size: 10px; }
.office-series-card-stats strong { color: var(--office-green); font-size: 11px; }
.office-series-card-stats strong.is-incomplete { color: #929992; font-weight: 700; }
.office-series-card-stats .woocommerce-Price-amount { font: inherit; }
.office-series-link { grid-column: 1 / -1; padding-top: 6px; border-top: 1px solid #eceee9; color: var(--office-green); font-size: 11px; font-weight: 800; }
.office-series-directory[data-series-view="large"] .office-series-card-body { gap: 12px 18px; padding: 20px 22px 22px; }
.office-series-directory[data-series-view="large"] .office-series-card-body p { margin-bottom: 4px; font-size: 11px; }
.office-series-directory[data-series-view="large"] .office-series-card-body h3 { font-size: 22px; }
.office-series-directory[data-series-view="large"] .office-series-card-body > span { padding-top: 3px; font-size: 12px; }
.office-series-directory[data-series-view="large"] .office-series-link { padding-top: 8px; font-size: 13px; }
.office-series-back { margin: 2px 0 18px; }
.office-series-back a { color: var(--office-green); font-size: 14px; font-weight: 800; }
.content-layout-wrapper > .office-series-overview { grid-column: 1 / -1; order: -1; width: 100%; min-width: 0; }
.office-series-profile { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 26px 34px; margin: 0 0 34px; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--office-line); border-radius: 18px; background: linear-gradient(115deg, #f5f3ed 0%, #eef3ef 100%); }
.office-series-profile.no-specifications { grid-template-columns: minmax(0, 1fr); }
.office-series-profile-copy { min-width: 0; }
.office-series-profile-copy h1 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.08; letter-spacing: -.04em; }
.office-series-description { max-width: 920px; margin: 18px 0 0; color: #606960; font-size: 15px; line-height: 1.65; }
.office-series-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.office-series-facts > span { display: grid; gap: 2px; min-width: 130px; padding: 10px 13px; border: 1px solid rgba(49,76,59,.12); border-radius: 10px; background: rgba(255,255,255,.68); }
.office-series-facts > span:last-child { flex: 1 1 330px; }
.office-series-facts small { color: #7b847c; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.office-series-facts strong { color: var(--office-ink); font-size: 12px; line-height: 1.35; }
.office-series-palette { min-width: 0; margin-top: 22px; padding: 16px 18px; border: 1px solid rgba(49,76,59,.14); border-radius: 14px; background: rgba(255,255,255,.72); }
.office-series-palette-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.office-series-palette-head .office-eyebrow { margin-bottom: 3px; }
.office-series-palette-head h2 { margin: 0; font-size: 18px; }
.office-series-palette-head > span { color: var(--office-muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.office-series-palette ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 7px; margin: 0; padding: 0; list-style: none; }
.office-series-palette li { display: flex; align-items: center; gap: 7px; min-width: 0; height: 50px; padding: 6px 10px 6px 6px; border: 1px solid #cbd5cc; border-radius: 12px; background: #fff; color: var(--office-ink); font-size: 10px; font-weight: 800; }
.office-series-palette li > span { width: 24px; height: 24px; flex: 0 0 24px; border: 1px solid rgba(31,42,34,.14); border-radius: 50%; }
.office-series-palette li > b { min-width: 0; line-height: 1.3; }
.office-series-palette p { margin: 10px 0 0; color: var(--office-muted); font-size: 11px; }
.office-series-colors-more { margin-top: 9px; }
.office-series-colors-more summary,
.office-series-more summary { width: fit-content; cursor: pointer; color: var(--office-green); font-size: 11px; font-weight: 800; }
.office-series-colors-more[open] summary,
.office-series-more[open] summary { margin-bottom: 10px; }
.office-series-specifications { min-width: 0; padding: 20px; border: 1px solid rgba(49,76,59,.14); border-radius: 14px; background: rgba(255,255,255,.6); }
.office-series-specifications-head { margin-bottom: 14px; }
.office-series-specifications-head .office-eyebrow { margin-bottom: 5px; }
.office-series-specifications-head h2 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; }
.office-series-profile > .office-series-specifications .office-series-specs { grid-template-columns: 1fr; }
.office-series-more { margin-top: 12px; }
.office-series-more .office-series-specs { margin-top: 10px; }
.office-series-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.office-series-specs > div { display: grid; grid-template-columns: minmax(105px, .85fr) minmax(0, 1.15fr); align-items: start; gap: 12px; min-width: 0; padding: 11px 13px; border: 1px solid rgba(49,76,59,.12); border-radius: 10px; background: rgba(255,255,255,.68); }
.office-series-specs dt { color: #788078; font-size: 11px; font-weight: 700; line-height: 1.35; }
.office-series-specs dd { min-width: 0; margin: 0; color: var(--office-ink); font-size: 12px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.office-product-series-passport { max-width: 1500px; }
.office-product-series-passport > h2 { margin-bottom: 8px; }
.office-product-series-passport .office-passport-lead { max-width: 900px; margin: 0; color: var(--office-muted); }
.office-product-overview { max-width: 1500px; }
.office-product-overview > h2 { margin: 0 0 8px; }
.office-product-overview .office-passport-lead { max-width: 950px; margin: 0 0 22px; color: var(--office-muted); }
.office-product-source-notes { max-width: 1050px; margin-top: 26px; padding: 20px 22px; border: 1px solid rgba(49,76,59,.12); border-radius: 12px; background: #f7f8f5; }
.office-product-source-notes h3 { margin: 0 0 8px; font-size: 19px; }
.office-product-source-notes p { margin: 0; color: var(--office-muted); line-height: 1.65; }
.office-standard-product-summary { color: var(--office-muted); line-height: 1.65; }
.office-passport-section { margin-top: 28px; }
.office-passport-section + .office-passport-section { padding-top: 26px; border-top: 1px solid rgba(49,76,59,.14); }
.office-passport-section h3 { margin: 0 0 12px; font-size: clamp(19px, 1.8vw, 24px); }
.office-passport-section > p { max-width: 980px; margin: -3px 0 14px; color: var(--office-muted); }
.office-product-specs > div { background: #f7f8f5; }
.office-passport-document-links { display: flex; flex-wrap: wrap; gap: 10px; }
.office-passport-document-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--office-green); border-radius: 9px; background: var(--office-green); color: #fff; font-size: 13px; font-weight: 800; }
.office-passport-document-links a:hover { background: #fff; color: var(--office-green); }
.office-passport-documents > p { margin-top: 11px; font-size: 12px; }
.office-single-documents { margin: 20px 0 0; padding: 17px; border: 1px solid #dce3dc; border-radius: 13px; background: #f7f9f6; }
.office-single-documents h2 { margin: 0; font-size: 20px; line-height: 1.25; }
.office-single-document-links { display: grid; gap: 8px; margin-top: 13px; }
.office-single-document-links a { display: grid; grid-template-columns: 52px minmax(0,1fr); align-items: center; gap: 11px; min-height: 52px; padding: 7px 12px 7px 7px; border: 1px solid #ccd6cd; border-radius: 10px; background: #fff; color: var(--office-green-dark); }
.office-single-document-links a:hover { border-color: var(--office-green); }
.office-single-document-links span { display: grid; min-height: 38px; place-items: center; border-radius: 8px; background: var(--office-green); color: #fff; font-size: 10px; font-weight: 850; }
.office-single-document-links strong { font-size: 13px; }
.office-single-documents > p { margin: 10px 0 0; color: var(--office-muted); font-size: 10px; line-height: 1.45; }
.office-series-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.office-series-gallery-head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; }
.office-series-gallery-block { margin: 0 0 42px; }
.office-series-gallery-head > div { max-width: 780px; }
.office-series-gallery-head p:last-child { margin: 9px 0 0; color: var(--office-muted); }
.office-series-gallery-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.office-series-gallery-controls > span { align-self: center; margin-right: 6px; color: var(--office-muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.office-series-gallery-controls button { width: 44px; height: 44px; padding: 0; border: 1px solid #ccd4cc; border-radius: 50%; background: #fff; color: var(--office-green); font-size: 20px; cursor: pointer; }
.office-series-gallery-controls button:hover { border-color: var(--office-green); background: var(--office-green); color: #fff; }
.office-series-gallery-controls button:disabled { opacity: .35; cursor: default; }
.office-series-gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(70%, 1fr); gap: 18px; overflow-x: auto; padding: 0 0 10px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.office-series-gallery-slide { min-width: 0; margin: 0; scroll-snap-align: start; }
.office-series-gallery-slide a { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 15px; background: #eef0ed; }
/* Series galleries often contain portrait product scenes (especially chairs).
   Preserve the complete composition instead of cropping it to the wide slide. */
.office-series-gallery-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .35s ease; }
.office-series-gallery-slide a:hover img { transform: scale(1.018); }
.office-series-gallery-slide figcaption { padding: 9px 3px 0; color: var(--office-muted); font-size: 12px; }
.office-series-documents { margin: 0 0 42px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--office-line); border-radius: 18px; background: #f7f8f5; }
.office-series-documents-head { margin-bottom: 18px; }
.office-series-documents-head h2 { margin: 0; font-size: clamp(25px, 2.7vw, 36px); letter-spacing: -.03em; }
.office-series-documents-head p:last-child { max-width: 820px; margin: 9px 0 0; color: var(--office-muted); line-height: 1.55; }
.office-series-document-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.office-series-document-card { display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 14px; min-width: 0; padding: 16px; border: 1px solid #d7ddd6; border-radius: 13px; background: #fff; color: var(--office-ink); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.office-series-document-card:hover { transform: translateY(-2px); border-color: var(--office-green); box-shadow: 0 12px 28px rgba(29,42,33,.08); }
.office-series-document-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 12px; background: var(--office-green); color: #fff; font-size: 13px; font-weight: 900; }
.office-series-document-card > span:last-child { display: grid; gap: 3px; min-width: 0; }
.office-series-document-card small { color: #879087; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.office-series-document-card strong { overflow-wrap: anywhere; font-size: 15px; line-height: 1.3; }
.office-series-document-card em { color: var(--office-muted); font-size: 11px; font-style: normal; line-height: 1.4; }
.office-series-document-card b { margin-top: 5px; color: var(--office-green); font-size: 11px; }
.office-catalog-mode .pswp__caption__center { max-width: min(900px, calc(100vw - 120px)); text-align: center; font-size: 14px; font-weight: 600; }
.office-catalog-mode .pswp__button { border-radius: 0; background-color: transparent !important; box-shadow: none; }
.office-catalog-mode .pswp__button:hover { background-color: rgba(255,255,255,.1) !important; }
.office-catalog-mode .pswp__button--arrow--left,
.office-catalog-mode .pswp__button--arrow--right { position: absolute; z-index: 3; top: 50%; width: 70px; height: 100px; margin: 0; transform: translateY(-50%); }
.office-catalog-mode .pswp__button--arrow--left { right: auto; left: 0; }
.office-catalog-mode .pswp__button--arrow--right { right: 0; left: auto; }
.office-individual-products { margin: 0 0 20px; padding-top: 8px; }
.office-product-filters { margin: 0 0 36px; padding: 22px; border: 1px solid var(--office-line); border-radius: 14px; background: #fff; }
.office-filter-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.office-filter-head strong, .office-filter-head small { display: block; }
.office-filter-head strong { font-size: 18px; }
.office-filter-head small { margin-top: 3px; color: var(--office-muted); }
.office-filter-toggle { padding: 7px 0; border: 0; background: transparent; color: var(--office-green); font-size: 12px; font-weight: 700; cursor: pointer; }
.office-filter-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.office-product-filters.is-collapsed .office-filter-fields { display: none; }
.office-filter-fields label > span { display: block; margin-bottom: 7px; color: #505750; font-size: 12px; font-weight: 700; }
.office-filter-fields select, .office-filter-fields input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d6d9d4; border-radius: 7px; background: #fff; }
.office-range { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.office-check { display: flex !important; align-items: center; gap: 9px; padding-top: 24px; }
.office-check input { width: 18px; height: 18px; }
.office-check span { margin: 0 !important; }
.office-filter-actions { display: flex; align-items: center; gap: 16px; padding-top: 21px; }
.office-filter-actions button { height: 44px; padding: 0 24px; border: 0; border-radius: 7px; background: var(--office-green); color: #fff; font-weight: 700; }
.office-filter-actions a { color: var(--office-muted); font-size: 13px; }

.office-catalog-mode .product-grid-item { height: 100%; padding-bottom: 18px; border: 1px solid #e2e3dd; border-radius: 13px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.office-catalog-mode .product-grid-item:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(29,42,33,.08); }
.office-catalog-mode .product-grid-item .product-image-link { border-radius: 12px 12px 0 0; background: #fafafa; }
.office-catalog-mode .product-grid-item .wd-entities-title,
.office-catalog-mode .product-grid-item .price { padding-left: 18px; padding-right: 18px; }
.office-catalog-mode .product-grid-item .wd-product-wrapper,
.office-catalog-mode .product-grid-item .product-element-bottom { height: 100%; display: flex; flex-direction: column; }
.office-catalog-mode .product-grid-item .product-element-bottom { flex: 1 1 auto; }
.office-catalog-mode .product-grid-item .wd-product-card-hover { position: static !important; height: auto !important; margin-top: auto; padding: 0; visibility: visible !important; opacity: 1 !important; transform: none !important; }
.office-catalog-mode .product-grid-item .wd-product-card-hover .hover-content { display: none !important; }
.office-catalog-mode .product-grid-item .wrap-quickview-button { z-index: 4; }
.office-catalog-mode .product-grid-item .wd-product-grid-slider-nav > div { background: rgba(255,255,255,.92); box-shadow: 0 4px 16px rgba(29,42,33,.12); }
.office-catalog-mode .product-grid-item .wd-bottom-actions { position: static !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 40px auto; align-items: center; gap: 10px 8px; height: auto !important; padding: 0 18px !important; border: 0 !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
.office-catalog-mode .product-grid-item .wd-add-btn { position: static !important; grid-column: 1 / -1; grid-row: 2; display: block !important; width: 100%; height: auto !important; margin: 0; padding: 0 !important; border: 0 !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
.office-catalog-mode .product-grid-item .wd-add-btn .button { width: 100%; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; background: var(--office-green); color: #fff; font-size: 12px; font-weight: 800; }
.office-catalog-mode .product-grid-item .wd-add-btn .button:hover { background: var(--office-green-dark); }
.office-catalog-mode .product-grid-item .wd-wishlist-btn,
.office-catalog-mode .product-grid-item .wd-compare-btn { display: inline-flex !important; }
.office-catalog-mode .product-grid-item .wrap-wishlist-button,
.office-catalog-mode .product-grid-item .wrap-compare-button,
.office-catalog-mode .product-grid-item .wrap-quickview-button { position: static !important; display: inline-flex !important; align-items: center; justify-content: center; width: 100%; height: 40px; margin: 0 !important; padding: 0 !important; border: 0 !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
.office-catalog-mode .product-grid-item .wrap-wishlist-button { grid-column: 1; grid-row: 1; }
.office-catalog-mode .product-grid-item .wrap-compare-button { grid-column: 2; grid-row: 1; }
.office-catalog-mode .product-grid-item .wrap-quickview-button { grid-column: 3; grid-row: 1; }
.office-catalog-mode .product-grid-item .wrap-wishlist-button .wd-action-btn,
.office-catalog-mode .product-grid-item .wrap-compare-button .wd-action-btn,
.office-catalog-mode .product-grid-item .wrap-quickview-button .wd-action-btn { position: static !important; display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; visibility: visible !important; opacity: 1 !important; transform: none !important; }
.office-catalog-mode .product-grid-item .wrap-wishlist-button .wd-action-btn > a,
.office-catalog-mode .product-grid-item .wrap-compare-button .wd-action-btn > a,
.office-catalog-mode .product-grid-item .wrap-quickview-button .wd-action-btn > a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.office-catalog-mode .product-grid-item .wrap-compare-button .wd-compare-btn { visibility: visible !important; opacity: 1 !important; transform: none !important; }
.office-catalog-mode .product-labels .out-of-stock.wd-shape-round { width: auto; min-width: 88px; height: auto; min-height: 34px; padding: 8px 13px; border-radius: 999px; white-space: nowrap; line-height: 18px; }
.office-card-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; margin: 16px 18px 0; }
.office-details, .office-card-actions .office-quote-trigger { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 7px; font-size: 12px; font-weight: 700; }
.office-details { border: 1px solid #ccd1cc; color: var(--office-ink); }
.office-card-actions .office-quote-trigger { min-height: 42px; padding: 0 12px; }

.office-catalog-mode form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.office-catalog-mode form.cart .quantity { margin: 0; }
.office-catalog-mode form.cart .single_add_to_cart_button { min-height: 48px; border-radius: 8px; background: var(--office-green); color: #fff; font-weight: 800; }
.office-catalog-mode form.cart .single_add_to_cart_button:hover { background: var(--office-green-dark); }
.office-approval-notice { display: grid; gap: 5px; margin: 0 0 28px; padding: 18px 20px; border: 1px solid #cbd8ce; border-radius: 12px; background: #eef4ef; }
.office-approval-notice strong { color: var(--office-green); font-size: 17px; }
.office-approval-notice span { color: #566158; line-height: 1.55; }
.office-catalog-mode .cart-actions .button,
.office-catalog-mode .wc-proceed-to-checkout .button,
.office-catalog-mode #place_order { border-radius: 8px; background: var(--office-green); color: #fff; font-weight: 800; }
.office-catalog-mode .wc-proceed-to-checkout .button:hover,
.office-catalog-mode #place_order:hover { background: var(--office-green-dark); }
.office-approval-consent { margin: 14px 0 18px !important; padding: 14px; border-radius: 8px; background: #f4f5f2; }
.office-catalog-mode.woocommerce-cart .page-title .entry-title,
.office-catalog-mode.woocommerce-checkout .page-title .entry-title { letter-spacing: -.03em; }

/* Служебные страницы магазина должны использовать всю ширину, без блоговой колонки. */
.office-catalog-mode.page-id-5365 .sidebar-container,
.office-catalog-mode.woocommerce-cart .sidebar-container,
.office-catalog-mode.woocommerce-checkout .sidebar-container { display: none !important; }
.office-catalog-mode.page-id-5365 .site-content,
.office-catalog-mode.woocommerce-cart .site-content,
.office-catalog-mode.woocommerce-checkout .site-content { --wd-col-lg: 12 !important; width: 100%; max-width: 100%; }
.office-catalog-mode.page-id-5365 .wd-compare-table { overflow-x: auto; }

.office-single-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0 16px; padding: 22px; border-radius: 13px; background: var(--office-sage); }
.office-single-cta > div { min-width: 0; }
.office-single-cta strong, .office-single-cta span { display: block; }
.office-single-cta strong { font-size: 17px; }
.office-single-cta span { margin-top: 4px; color: #59635b; font-size: 13px; }
.office-single-cta .office-quote-trigger { flex: 0 1 auto; max-width: 100%; min-width: 0; padding: 12px 18px; white-space: normal; text-align: center; line-height: 1.25; overflow-wrap: anywhere; }
.product-quick-view .office-single-cta { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 14px; padding: 18px; }
.product-quick-view .office-single-cta .office-quote-trigger { width: 100%; }
.product-quick-view .office-quick-view-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 14px 0 18px; padding: 14px 0; border-top: 1px solid var(--office-line); border-bottom: 1px solid var(--office-line); }
.product-quick-view .office-quick-view-tools .wd-action-btn { margin: 0; }
.product-quick-view .office-quick-view-tools .wd-action-btn > a { min-height: 38px; display: inline-flex; align-items: center; }
.office-service-notes { display: grid; gap: 1px; margin: 16px 0; border: 1px solid var(--office-line); border-radius: 12px; background: var(--office-line); overflow: hidden; }
.office-service-notes > div { padding: 15px 17px; background: #fff; }
.office-service-notes b, .office-service-notes span { display: block; }
.office-service-notes b { font-size: 13px; }
.office-service-notes span { margin-top: 3px; color: var(--office-muted); font-size: 12px; line-height: 1.45; }

.office-product-recommendations { min-width: 0; padding: 38px 0 14px; }
.office-product-recommendations + .office-product-recommendations { margin-top: 34px; border-top: 1px solid var(--office-line); }
.office-product-recommendations-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.office-product-recommendations-head > div { max-width: 900px; }
.office-product-recommendations-head h2 { margin: 0 0 8px; font-size: clamp(26px, 2.7vw, 38px); line-height: 1.12; letter-spacing: -.03em; }
.office-product-recommendations-head p:last-child { margin: 0; color: var(--office-muted); font-size: 14px; line-height: 1.55; }
.office-product-recommendations-head > a { flex: 0 0 auto; padding-bottom: 3px; color: var(--office-green); font-size: 13px; font-weight: 850; white-space: nowrap; }
.office-product-recommendations .related-products { margin-top: 0; }
.office-product-recommendations .related-products > .wd-el-title:empty { display: none; }
.office-product-recommendations .product-image-link { aspect-ratio: 4 / 3; overflow: hidden; background: #fafafa; }
.office-product-recommendations .product-image-link img { width: 100%; height: 100%; padding: 13px; object-fit: contain; object-position: center; }

.office-quote-dialog { width: min(680px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 34px; border: 0; border-radius: 18px; box-shadow: 0 30px 100px rgba(15,25,18,.3); }
.office-quote-dialog::backdrop { background: rgba(24,31,26,.62); backdrop-filter: blur(4px); }
.office-quote-dialog h2 { margin: 0 40px 10px 0; font-size: 32px; }
.office-quote-dialog > p:not(.office-eyebrow) { color: var(--office-muted); }
.office-dialog-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef0ec; font-size: 25px; cursor: pointer; }
.office-quote-dialog form { display: grid; gap: 14px; margin-top: 24px; }
.office-quote-dialog label > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.office-quote-dialog input:not([type=checkbox]), .office-quote-dialog textarea { width: 100%; border: 1px solid #d5d8d3; border-radius: 7px; background: #fff; }
.office-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.office-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--office-muted); }
.office-consent span { font-weight: 400 !important; line-height: 1.45; }
.office-honeypot { position: absolute; left: -10000px; }
.office-submit { width: 100%; }
.office-toast { position: fixed; right: 24px; bottom: 24px; z-index: 99999; max-width: 420px; padding: 18px 22px; border-radius: 10px; background: var(--office-green); color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.2); }

.office-site-footer { display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: 50px; padding: 58px max(24px, calc((100vw - 1220px) / 2)); background: #1e2821; color: #dce3dd; }
.office-footer-brand { color: #fff !important; font-size: 23px; font-weight: 900; letter-spacing: -.03em; }
.office-footer-brand span { margin-left: 6px; color: #9db2a2; font-size: 11px; letter-spacing: .16em; }
.office-site-footer p, .office-footer-note { margin: 14px 0 0; color: #aebbb0; font-size: 13px; line-height: 1.6; }
.office-site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.office-site-footer nav a, .office-site-footer nav button { min-height: auto; padding: 0; border: 0; background: transparent; color: #eef2ee !important; font-size: 13px; font-weight: 700; cursor: pointer; }
.office-footer-note { margin: 0; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }

@media (max-width: 1024px) {
  .office-hero { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .office-hero-copy { padding-bottom: 20px; }
  .office-hero-visual { min-height: 430px; }
  .office-hero-visual::before { width: 420px; height: 420px; }
  .office-category-grid { grid-template-columns: repeat(2, 1fr); }
  .office-series-grid,
  .office-series-directory[data-series-view="large"] .office-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .office-series-view-toggle { display: none; }
  .office-series-heading-actions { width: 100%; flex-wrap: wrap; }
  .office-series-sort { flex: 1 1 230px; }
  .office-series-sort select { width: 100%; }
  .office-series-profile { grid-template-columns: 1fr; }
  .office-series-palette { grid-column: 1; }
  .office-series-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .office-filter-fields { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .office-catalog-mode { max-width: 100%; overflow-x: clip; }
  .office-catalog-mode .woocommerce-breadcrumb { display: flex; flex-wrap: wrap; max-width: 100%; white-space: normal; }
  .office-catalog-mode .woocommerce-breadcrumb a,
  .office-catalog-mode .woocommerce-breadcrumb span { white-space: normal; overflow-wrap: anywhere; }
  .office-catalog-mode .office-catalog-heading,
  .office-catalog-mode .office-series-directory,
  .office-catalog-mode .office-series-heading,
  .office-catalog-mode .office-series-heading > div { min-width: 0; max-width: 100%; }
  .office-catalog-mode .products.wd-grid-g { grid-template-columns: 1fr !important; }
  .office-home > section { padding-left: 18px; padding-right: 18px; }
  .office-hero-copy { padding-top: 54px; }
  .office-hero h1 { font-size: 42px; }
  .office-hero-lead { font-size: 16px; }
  .office-hero-actions { display: grid; }
  .office-hero-visual { min-height: 340px; }
  .office-hero-visual::before { width: 300px; height: 300px; }
  .office-hero-visual img { max-height: 320px; }
  .office-hero-badge { right: 8px; bottom: 25px; }
  .office-home-section { padding-top: 64px; padding-bottom: 64px; }
  .office-category-grid, .office-featured-grid, .office-process { grid-template-columns: 1fr; }
  .office-series-grid,
  .office-series-directory[data-series-view="large"] .office-series-grid { grid-template-columns: 1fr; }
  .office-series-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .office-series-card-body { padding: 17px 18px 19px; }
  .office-series-profile { padding: 24px 18px; }
  .office-series-profile-copy h1 { font-size: 34px; }
  .office-series-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .office-series-facts > span:last-child { grid-column: 1 / -1; }
  .office-series-palette-head { align-items: flex-start; }
  .office-series-gallery-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .office-series-specs { grid-template-columns: 1fr; }
  .office-series-specs > div { grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr); gap: 10px; }
  .office-series-specifications-head > span { align-self: end; }
  .office-series-gallery-controls { align-self: flex-end; margin-top: 0; }
  .office-series-gallery-track { grid-auto-columns: 88%; }
  .office-series-document-grid { grid-template-columns: 1fr; }
  .office-product-recommendations { padding-top: 28px; }
  .office-product-recommendations + .office-product-recommendations { margin-top: 20px; }
  .office-product-recommendations-head { align-items: flex-start; flex-direction: column; gap: 11px; margin-bottom: 18px; }
  .office-product-recommendations-head > a { white-space: normal; }
  .office-category-card { min-height: 220px; }
  .office-process > div { padding: 28px 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .office-filter-fields { grid-template-columns: 1fr; }
  .office-check, .office-filter-actions { padding-top: 0; }
  .office-card-actions { grid-template-columns: 1fr; }
  .office-single-cta { align-items: stretch; flex-direction: column; }
  .office-form-row { grid-template-columns: 1fr; }
  .office-site-footer { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; padding-bottom: 44px; }
  .office-footer-note { padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .office-quote-dialog { padding: 26px 20px; }
  .office-quote-dialog h2 { font-size: 26px; }
}

/* Late overrides keep the new design above WoodMart's legacy compatibility rules. */
.office-catalog-mode .whb-general-header-inner { min-height: 82px; }
.office-catalog-mode .whb-header-bottom { display: none !important; }
.office-catalog-mode .site-logo .wd-logo::before { font-size: 27px; }
.office-hero { min-height: 610px; grid-template-columns: minmax(0, 1fr) minmax(460px, .95fr); gap: clamp(38px, 5vw, 74px); padding-top: 52px; padding-bottom: 52px; background: linear-gradient(115deg, #f7f4ed 0%, #edf1eb 100%); }
.office-hero-copy { padding: 38px 0; }
.office-hero h1 { font-size: clamp(44px, 4.8vw, 70px); }
.office-hero-visual { min-height: 500px; overflow: hidden; border-radius: 28px; background: #e8ece6; box-shadow: 0 24px 65px rgba(36,49,40,.12); }
.office-hero-visual::before { display: none; }
.office-hero-visual img { width: 100%; height: 500px; max-height: none; padding: 0; object-fit: cover; object-position: center; mix-blend-mode: normal; }
.office-hero-badge { right: 22px; bottom: 22px; min-width: 220px; }
.office-category-card { min-height: 245px; padding: 25px; background: linear-gradient(145deg, #fcfcf9, #f4f5f0); }
.office-category-card h3 { margin-top: 31px; }
.office-featured-card > a { aspect-ratio: 4 / 3; overflow: hidden; background: #fafaf7; }
.office-featured-card img { padding: 15px; }
.office-catalog-heading { margin-top: 2px; margin-bottom: 22px; padding: 28px 32px; border: 1px solid #e7e5dd; background: linear-gradient(115deg, #f6f3ec, #edf2ed); }
.office-product-filters { margin-bottom: 28px; padding: 18px 20px; border-radius: 13px; background: #fbfbf8; }
.office-filter-toggle { min-height: 38px; padding: 0 14px; border: 1px solid #cdd5ce; border-radius: 999px; background: #fff; }
.office-card-actions { display: block; margin-top: 9px; }
.office-catalog-mode .product-grid-item .wd-add-btn .button,
.office-catalog-mode form.cart .single_add_to_cart_button { background: var(--office-green) !important; color: #fff !important; }
.office-catalog-mode .product-grid-item .wd-add-btn .button:hover,
.office-catalog-mode form.cart .single_add_to_cart_button:hover { background: var(--office-green-dark) !important; }

@media (max-width: 1024px) {
  .office-hero { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .office-hero-copy { padding: 38px 0 20px; }
  .office-hero-visual { min-height: 440px; }
  .office-hero-visual img { height: 440px; max-height: none; }
}

@media (max-width: 767px) {
  .office-catalog-mode .whb-general-header-inner { min-height: 64px; }
  .office-hero { padding-top: 26px; padding-bottom: 28px; }
  .office-hero-copy { padding: 22px 0 18px; }
  .office-hero h1 { font-size: 39px; }
  .office-hero-visual { min-height: 310px; border-radius: 20px; }
  .office-hero-visual img { height: 310px; max-height: none; padding: 0; object-fit: cover; }
  .office-hero-badge { right: 12px; bottom: 12px; min-width: 190px; padding: 14px 17px; }
  .office-category-card { min-height: 210px; }
  .office-catalog-heading { padding: 23px 20px; }
  .office-product-filters { padding: 15px; }
}

/* Native WoodMart catalogue sidebar with reliable GET filters. */
.office-catalog-sidebar .widget-area { padding: 0; }
.office-catalog-sidebar .office-product-filters { width: 100%; margin: 0; padding: 27px; border: 1px solid #e5e6e0; border-radius: 21px; background: #fff; box-shadow: 0 16px 44px rgba(29,42,33,.065); }
.office-catalog-sidebar .office-filter-head { display: block; padding-bottom: 21px; border-bottom: 1px solid #e3e6e1; }
.office-catalog-sidebar .office-filter-head strong { color: var(--office-ink); font-size: 27px; line-height: 1.1; letter-spacing: -.035em; }
.office-catalog-sidebar .office-filter-head small { margin-top: 8px; color: #747d75; font-size: 12px; line-height: 1.5; }
.office-catalog-sidebar .office-filter-toggle { display: none !important; }
.office-catalog-sidebar .office-filter-fields,
.office-catalog-sidebar .office-product-filters.is-collapsed .office-filter-fields { display: block; margin-top: 0; }
.office-catalog-sidebar .office-filter-group-title { margin: 0; padding: 23px 0 8px; color: var(--office-green); font-size: 11px; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; }
.office-catalog-sidebar .office-filter-group-title + label { padding-top: 9px; }
.office-catalog-sidebar .office-filter-fields > label { display: block; margin: 0; padding: 18px 0; border-bottom: 1px solid #e8e9e4; }
.office-catalog-sidebar .office-color-filter { min-width: 0; margin: 0; padding: 18px 0 20px; border: 0; border-bottom: 1px solid #e8e9e4; }
.office-catalog-sidebar .office-color-filter legend { width: 100%; margin: 0 0 12px; padding: 0; color: #313a33; font-size: 13px; font-weight: 850; }
.office-catalog-sidebar .office-color-filter-hint { margin: 0; padding: 12px 13px; border: 1px solid #dfe6df; border-radius: 10px; background: #f6f8f5; color: #657168; font-size: 12px; line-height: 1.45; }
.office-catalog-sidebar .office-color-swatches { display: grid; gap: 4px; max-height: 304px; margin-right: -6px; padding: 3px 7px 3px 2px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bdc5bd transparent; }
.office-catalog-sidebar .office-color-choice { position: relative; display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 10px; min-width: 0; margin: 0; padding: 6px 8px 6px 6px; border-radius: 10px; color: #465048; font-size: 11px; line-height: 1.3; cursor: pointer; transition: background .18s ease, color .18s ease; }
.office-catalog-sidebar .office-color-choice:hover { background: #edf1ec; color: var(--office-green); }
.office-catalog-sidebar .office-color-choice input[type="radio"] { position: absolute; width: 1px !important; height: 1px !important; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.office-catalog-sidebar .office-color-swatch-sample { position: relative; width: 30px; height: 30px; border: 1px solid rgba(44,52,46,.2); border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.34); }
.office-catalog-sidebar .office-color-choice-all .office-color-swatch-sample { background: repeating-linear-gradient(135deg,#fff 0 5px,#e4e6e1 5px 10px); }
.office-catalog-sidebar .office-color-choice input:checked + .office-color-swatch-sample { border-color: var(--office-green); box-shadow: 0 0 0 3px #dce7dc, inset 0 0 0 2px rgba(255,255,255,.42); }
.office-catalog-sidebar .office-color-choice input:checked ~ span:last-child { color: var(--office-green); font-weight: 800; }
.office-catalog-sidebar .office-color-choice input:focus-visible + .office-color-swatch-sample { outline: 2px solid var(--office-green); outline-offset: 3px; }
.office-catalog-sidebar .office-filter-fields > label > span { margin-bottom: 10px; color: #313a33; font-size: 13px; font-weight: 850; }
.office-catalog-sidebar .office-filter-fields select,
.office-catalog-sidebar .office-filter-fields input[type="number"] { height: 50px; padding-right: 13px; padding-left: 13px; border-color: #d9ddd7; border-radius: 12px; background-color: #fbfcfa; box-shadow: none; font-size: 13px; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.office-catalog-sidebar .office-filter-fields select:focus,
.office-catalog-sidebar .office-filter-fields input[type="number"]:focus { border-color: var(--office-green); background: #fff; box-shadow: 0 0 0 3px rgba(64,91,73,.09); }
.office-catalog-sidebar .office-range { gap: 9px; }
.office-catalog-sidebar .office-check { min-height: 48px; padding: 14px 0; }
.office-catalog-sidebar .office-check input { flex: 0 0 18px; }
.office-catalog-sidebar .office-check > span { margin: 0; font-size: 12px; line-height: 1.35; }
.office-catalog-sidebar .office-filter-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding-top: 23px; }
.office-catalog-sidebar .office-filter-actions button { width: 100%; height: 50px; border-radius: 999px; background: var(--office-green); font-size: 12px; font-weight: 850; letter-spacing: .02em; }
.office-catalog-sidebar .office-filter-actions button:hover { background: var(--office-green-dark); }
.office-catalog-sidebar .office-filter-actions a { align-self: center; color: #667068; font-size: 12px; font-weight: 750; }

@media (min-width: 1025px) {
  .office-discovery-inner { width: calc(100% - clamp(32px, 3vw, 64px)); max-width: none; }
  .office-catalog-mode.woocommerce-shop .content-layout-wrapper.container,
  .office-catalog-mode.tax-product_cat .content-layout-wrapper.container { width: calc(100% - clamp(32px, 3vw, 64px)); max-width: none; }
  .office-catalog-sidebar .office-product-filters { position: sticky; top: 22px; }
}

@media (max-width: 1024px) {
  .office-catalog-sidebar .office-product-filters { padding: 18px; border: 0; border-radius: 0; box-shadow: none; }
  .office-catalog-mode .wd-show-sidebar-btn { display: inline-flex; }
}

/* Full catalogue hub: desktop-only directory based on the existing category
   tree and filter URLs. The normal menu remains the mobile fallback. */
.office-catalog-hub { position: fixed; z-index: 99999; inset: 0; display: grid; place-items: start center; padding: clamp(72px, 8vh, 116px) clamp(18px, 4vw, 70px) 28px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.office-catalog-hub.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.office-catalog-hub__backdrop { position: absolute; inset: 0; background: rgba(23,31,26,.45); backdrop-filter: blur(3px); }
.office-catalog-hub__panel { position: relative; width: min(1440px, 100%); height: min(800px, calc(100dvh - clamp(100px, 10vh, 140px))); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(217,223,216,.9); border-radius: 22px; background: #fff; box-shadow: 0 35px 90px rgba(18,30,22,.28); transform: translateY(-12px); transition: transform .22s ease; }
.office-catalog-hub.is-open .office-catalog-hub__panel { transform: translateY(0); }
.office-catalog-hub__head { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 16px 26px; border-bottom: 1px solid #e7eae4; background: #fcfcfa; }
.office-catalog-hub__head span { display: block; margin-bottom: 3px; color: #8b938b; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.office-catalog-hub__head strong { color: var(--office-ink); font-size: 25px; letter-spacing: -.03em; }
.office-catalog-hub__close { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f27c5c; color: #fff; font-size: 34px; font-weight: 300; line-height: 1; transition: transform .18s ease, background .18s ease; }
.office-catalog-hub__close:hover { background: #df6849; transform: rotate(90deg); }
.office-catalog-hub__body { min-height: 0; flex: 1 1 auto; display: grid; grid-template-columns: minmax(238px, .42fr) minmax(0, 1fr); overflow: hidden; }
.office-catalog-hub__nav { padding: 19px 15px; border-right: 1px solid #e7eae4; background: #f7f8f5; }
.office-catalog-hub__tab { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: #6f7971; text-align: left; font-size: 15px; font-weight: 700; transition: color .16s ease, background .16s ease; }
.office-catalog-hub__tab svg { width: 23px; height: 23px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.office-catalog-hub__tab:hover, .office-catalog-hub__tab.is-active { background: #e6eeea; color: var(--office-green); }
.office-catalog-hub__content { min-width: 0; min-height: 0; padding: clamp(25px, 3vw, 48px); overflow-y: auto; overscroll-behavior: contain; }
.office-catalog-hub__section { display: none !important; }
.office-catalog-hub__section.is-active { display: block !important; }
.office-catalog-hub__section[hidden] { display: none !important; }
.office-catalog-hub__section header { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #edf0eb; }
.office-catalog-hub__section header p { margin: 0 0 5px; color: #879187; font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.office-catalog-hub__section h2 { margin: 0; color: var(--office-ink); font-size: clamp(28px, 2.6vw, 43px); line-height: 1.05; letter-spacing: -.04em; }
.office-catalog-hub__section header > a { flex: 0 0 auto; color: var(--office-green); font-size: 13px; font-weight: 850; white-space: nowrap; }
.office-catalog-hub__quick { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 18px 0 2px; }
.office-catalog-hub__quick > span { margin-right: 4px; color: #879187; font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.office-catalog-hub__quick a { padding: 7px 10px; border: 1px solid #dfe5dd; border-radius: 999px; background: #f7f9f5; color: #405449; font-size: 12px; font-weight: 750; line-height: 1.2; }
.office-catalog-hub__quick a:hover { border-color: #bdcfbe; background: #e8f0e8; color: var(--office-green); }
.office-catalog-hub__columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(26px, 5vw, 80px); padding: 29px 0 12px; }
.office-catalog-hub__columns > div { min-width: 0; }
.office-catalog-hub__columns h3 { margin: 0 0 13px; color: var(--office-ink); font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.office-catalog-hub__columns a { display: block; width: fit-content; margin: 0 0 11px; color: #485249; font-size: 15px; line-height: 1.35; }
.office-catalog-hub__columns a:hover { color: var(--office-green); text-decoration: underline; text-underline-offset: 3px; }
html.office-catalog-hub-open { overflow: hidden; }
@media (max-width: 1024px) { .office-catalog-hub { display: none !important; } }

/* Series-first category pages: full-width overview, then sidebar + products. */
.office-category-overview { width: min(1222px, calc(100% - 30px)); margin: 0 auto 42px; }
.content-layout-wrapper > .office-category-overview { grid-column: 1 / -1; order: -1; width: 100%; max-width: none; min-width: 0; }
.office-category-overview > .woocommerce-breadcrumb { margin: 0 0 24px; }
.office-category-overview .office-series-directory { margin-bottom: 0; }
.office-series-parent .shop-loop-head > .wd-shop-tools:first-child .wd-breadcrumbs { display: none; }

@media (min-width: 1025px) {
  .office-category-overview { width: calc(100% - clamp(32px, 3vw, 64px)); max-width: none; }
}

@media (max-width: 1024px) {
  .office-category-overview { width: 100%; margin-bottom: 28px; padding-right: 15px; padding-left: 15px; }
  .office-category-overview > .woocommerce-breadcrumb { margin-bottom: 16px; }
}

/* Instant faceted filtering. */
.office-catalog-sidebar .office-filter-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.office-filter-reset { flex: 0 0 auto; padding-top: 4px; color: #6b746d; font-size: 11px; font-weight: 750; white-space: nowrap; }
.office-filter-reset:hover { color: var(--office-green); }
.office-catalog-sidebar .office-filter-fields { position: relative; }
.office-product-filters.is-applying { opacity: .58; pointer-events: none; }
.office-product-filters.is-applying::after { position: absolute; z-index: 3; top: 20px; right: 20px; width: 18px; height: 18px; border: 2px solid #cbd3cb; border-top-color: var(--office-green); border-radius: 50%; content: ''; animation: office-filter-spin .65s linear infinite; }
@keyframes office-filter-spin { to { transform: rotate(360deg); } }

.office-catalog-sidebar .office-facet { min-width: 0; margin: 0; padding: 18px 0 20px; border: 0; border-bottom: 1px solid #e8e9e4; }
.office-catalog-sidebar .office-facet legend,
.office-catalog-sidebar .office-slider-filter > strong { width: 100%; margin: 0 0 12px; padding: 0; color: #313a33; font-size: 14px; font-weight: 850; }
.office-facet-options { display: grid; gap: 2px; }
.office-facet-options.is-scrollable { max-height: 248px; margin-right: -6px; padding-right: 6px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bdc5bd transparent; }
.office-facet-option { display: grid; grid-template-columns: 19px minmax(0,1fr) auto; align-items: center; gap: 9px; min-height: 38px; margin: 0; padding: 6px 5px; border-radius: 9px; color: #485149; font-size: 12px; line-height: 1.3; cursor: pointer; transition: color .16s ease, background .16s ease; }
.office-facet-option:hover { background: #edf1ec; color: var(--office-green); }
.office-facet-option.is-unavailable,
.office-color-choice.is-unavailable { color: #a6ada7; cursor: not-allowed; }
.office-facet-option.is-unavailable:hover,
.office-color-choice.is-unavailable:hover { background: transparent; color: #a6ada7; }
.office-facet-option.is-unavailable .office-facet-mark { border-color: #e4e7e3; background: #f8f9f7; }
.office-facet-option.is-unavailable .office-filter-count,
.office-color-choice.is-unavailable .office-filter-count { border-color: #eaede9; color: #b1b7b1; background: #fafbfa; }
.office-facet-option input[type="checkbox"] { position: absolute; width: 1px !important; height: 1px !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.office-facet-mark { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #cdd3cd; border-radius: 4px; background: #fff; color: #fff; }
.office-facet-option input:checked + .office-facet-mark { border-color: var(--office-green); background: var(--office-green); }
.office-facet-option input:checked + .office-facet-mark::after { content: '✓'; font-size: 11px; font-weight: 900; }
.office-facet-option input:focus-visible + .office-facet-mark { outline: 2px solid var(--office-green); outline-offset: 2px; }
.office-facet-option input:checked ~ .office-facet-label { color: var(--office-green); font-weight: 800; }
.office-filter-count { min-width: 28px; padding: 3px 7px; border: 1px solid #dfe2de; border-radius: 999px; color: #7a827b; font-size: 10px; font-weight: 700; line-height: 1.2; text-align: center; }
.office-facet-empty { margin: 8px 4px; color: #7b837c; font-size: 11px; }

.office-catalog-sidebar .office-color-filter { padding-top: 18px; }
.office-catalog-sidebar .office-color-swatches { gap: 2px; max-height: 326px; margin-right: -6px; padding: 0 6px 0 0; }
.office-catalog-sidebar .office-color-choice { grid-template-columns: 32px minmax(0,1fr) auto; gap: 10px; min-height: 43px; padding: 5px; }
.office-catalog-sidebar .office-color-choice input[type="checkbox"] { position: absolute; width: 1px !important; height: 1px !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.office-catalog-sidebar .office-color-swatch-sample { width: 30px; height: 30px; overflow: hidden; }
.office-color-choice input:checked + .office-color-swatch-sample { border-color: #27342b; box-shadow: 0 0 0 3px #dce7dc, inset 0 0 0 2px rgba(255,255,255,.42); }
.office-color-choice input:checked + .office-color-swatch-sample::after { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: rgba(255,255,255,.78); color: #27342b; content: '×'; font-size: 22px; font-weight: 500; line-height: 1; }
.office-color-choice input:checked ~ .office-facet-label { color: var(--office-green); font-weight: 800; }

.office-slider-filter { padding: 19px 0 23px; border-bottom: 1px solid #e8e9e4; }
.office-slider-filter > strong { display: block; }
.office-slider-values { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 13px; color: #323a34; font-size: 12px; font-weight: 800; }
.office-slider-values span { color: #a1a7a1; font-weight: 500; }
.office-slider-track { height: 20px; position: relative; margin: 0 7px; }
.office-slider-track::before,
.office-slider-track > span { position: absolute; top: 9px; right: 0; left: 0; height: 3px; border-radius: 999px; content: ''; }
.office-slider-track::before { background: #dfe3de; }
.office-slider-track > span { right: auto; background: var(--office-green); }
.office-slider-track input[type="range"] { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 20px; margin: 0; padding: 0; border: 0; background: transparent; pointer-events: none; appearance: none; -webkit-appearance: none; }
.office-slider-track input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: transparent; }
.office-slider-track input[type="range"]::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -7px; border: 2px solid var(--office-green); border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(31,49,37,.18); cursor: grab; pointer-events: auto; appearance: none; -webkit-appearance: none; }
.office-slider-track input[type="range"]::-moz-range-track { height: 3px; background: transparent; }
.office-slider-track input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 2px solid var(--office-green); border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(31,49,37,.18); cursor: grab; pointer-events: auto; }
.office-slider-track input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--office-green); outline-offset: 3px; }

.office-active-filters { width: 100%; flex: 0 0 100%; order: 50; display: flex; flex-wrap: wrap; gap: 8px; scroll-margin-top: 24px; }
.office-active-filters:empty { display: block; height: 0; }
.office-active-filter-clear,
.office-active-filter-chip { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid #dfe3de; border-radius: 999px; background: #fff; color: #354139; font-size: 11px; font-weight: 800; line-height: 1.2; }
.office-active-filter-clear { border-color: #c8d0c9; background: #edf1ec; }
.office-active-filter-clear:hover,
.office-active-filter-chip:hover { border-color: var(--office-green); color: var(--office-green); }
.office-active-filter-chip span { font-size: 16px; font-weight: 500; line-height: .7; }
#office-products-start { scroll-margin-top: 118px; }

@media (min-width: 1025px) {
  /* A sticky child may only stick within the height of its grid item. Keep
     the sidebar stretched to the full product grid rather than its own form. */
  .office-catalog-sidebar { align-self: stretch; min-height: 0; }
  .office-catalog-sidebar .office-product-filters {
    position: relative;
    top: auto;
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #bdc5bd transparent;
  }
  .office-catalog-sidebar .office-product-filters.is-office-filter-fixed {
    position: fixed !important;
    top: 18px;
    z-index: 50;
    margin: 0;
  }
  body.admin-bar .office-catalog-sidebar .office-product-filters.is-office-filter-fixed { top: 50px; }
  .office-catalog-sidebar .office-product-filters::-webkit-scrollbar { width: 8px; }
  .office-catalog-sidebar .office-product-filters::-webkit-scrollbar-thumb { border: 2px solid #fff; border-radius: 99px; background: #c4ccc3; }
  .office-catalog-sidebar .office-product-filters::-webkit-scrollbar-track { background: transparent; }
}

/* Verified public contact and trust surface */
.office-contact-strip { background:#f2f4ef; border-bottom:1px solid #dce2dc; color:#506056; font-size:13px; }
.office-contact-strip__inner { max-width:1220px; margin:0 auto; padding:9px 24px; display:flex; flex-wrap:wrap; gap:8px 22px; align-items:center; }
.office-contact-strip a { color:#254735; font-weight:700; text-decoration:none; }
.office-contact-strip a:hover { text-decoration:underline; }
.office-footer-contacts { margin-top:18px !important; }
.office-footer-contacts a, .office-footer-note a { color:#eef2ee !important; font-weight:700; text-decoration:none; }
.office-footer-contacts a:hover, .office-footer-note a:hover { text-decoration:underline; }
.office-footer-note strong { display:block; color:#eef2ee; font-size:15px; }
.office-footer-note .office-quote-trigger { margin-top:10px !important; min-height:42px !important; padding:0 17px !important; border:1px solid #b9c9bb !important; border-radius:6px !important; background:#eef2ee !important; color:#243c2d !important; }
.office-consent a { color:inherit; text-decoration:underline; }
@media (max-width: 767px) {
 .office-contact-strip__inner { padding:8px 16px; gap:5px 14px; }
 .office-contact-strip__inner span:first-child { flex-basis:100%; }
}

/* Contact page map */
.office-contact-map { margin-top:42px; padding:30px; border:1px solid #dce2dc; border-radius:14px; background:#f7f8f5; }
.office-contact-map h2 { margin-top:0; }
.office-contact-map p { color:#5b6a60; }
.office-contact-map [id^="yamap"] { overflow:hidden; border-radius:10px; }
@media (max-width: 767px) { .office-contact-map { margin-top:28px; padding:18px; } }

/* Series thumbnails: preserve the full furniture composition in menus and category directories. */
.office-series-mega-image,
.office-series-image { background:#f6f7f4; }
.office-series-mega-image img,
.office-series-image img {
  padding:8px;
  object-fit:contain;
  object-position:center;
}

/* Override WoodMart image height:auto: it made square source images overflow and crop inside 4:3 series frames. */
.office-series-mega-image > img,
.office-series-image > img {
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  box-sizing:border-box;
  object-fit:contain !important;
  object-position:center;
}

/* A definite image box is required: percentage height otherwise resolves to auto in aspect-ratio frames. */
.office-series-mega-image,
.office-series-image { position:relative; }
.office-series-mega-image > img,
.office-series-image > img {
  position:absolute !important;
  inset:0;
  width:100% !important;
  height:100% !important;
}

/* Compact decision-making data for every product card on category archives. */
.office-card-specs {
  display:grid;
  align-content:start;
  min-height:158px;
  margin:8px 18px 0;
  padding:6px 10px;
  border:1px solid #e1e5df;
  border-radius:9px;
  background:#f7f8f5;
}
.office-card-specs > div {
  display:grid;
  grid-template-columns:minmax(72px, .85fr) minmax(0, 1.15fr);
  align-items:start;
  gap:7px;
  padding:5px 0;
  border-top:1px solid #e5e8e3;
}
.office-card-specs > div:first-child { border-top:0; }
.office-card-specs dt,
.office-card-specs dd {
  min-width:0;
  margin:0;
  font-size:10.5px;
  line-height:1.3;
}
.office-card-specs dt { color:#7a837c; font-weight:650; }
.office-card-specs dd {
  display:-webkit-box;
  overflow:hidden;
  color:#39463d;
  font-weight:760;
  text-align:right;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

/* Compact two-column summary: no fixed height and no hidden values. */
.office-catalog-mode .wd-product-wrapper .office-card-specs {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:1px;
  min-height:0 !important;
  margin:4px 18px 0 !important;
  padding:0 !important;
  background:#e1e6e0;
}
.office-catalog-mode .wd-product-wrapper .office-card-specs > div {
  display:block !important;
  min-width:0;
  padding:3px 5px !important;
  border:0 !important;
  background:#f8f9f6;
  text-align:center;
}
.office-catalog-mode .wd-product-wrapper .office-card-specs dt {
  margin:0 0 1px !important;
  font-size:7px !important;
  line-height:1.05 !important;
}
.office-catalog-mode .wd-product-wrapper .office-card-specs dd {
  display:block !important;
  overflow:visible !important;
  font-size:10px !important;
  line-height:1.1 !important;
  text-align:center !important;
  white-space:normal !important;
  overflow-wrap:anywhere;
  -webkit-line-clamp:unset !important;
}
@media (max-width:767px) {
  .office-catalog-mode .wd-product-wrapper .office-card-specs { margin-right:10px !important; margin-left:10px !important; }
}
@media (max-width: 767px) {
  .office-card-specs {
    min-height:0;
    margin-right:10px;
    margin-left:10px;
    padding:6px 8px;
  }
  .office-card-specs > div { grid-template-columns:1fr; gap:1px; }
  .office-card-specs dd { text-align:left; }
}
