: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;
}

.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 { flex: 0 0 auto; padding: 8px 13px; border-radius: 999px; background: var(--office-sage); color: var(--office-green); font-size: 12px; font-weight: 800; }
.office-series-grid { display: 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: contain; 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: 1fr auto; align-items: start; gap: 12px 18px; padding: 20px 22px 22px; }
.office-series-card-body p { margin: 0 0 4px; color: #8a928b; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.office-series-card-body h3 { margin: 0; font-size: 22px; line-height: 1.25; }
.office-series-card-body h3 a { color: var(--office-ink); }
.office-series-card-body > span { padding-top: 3px; color: var(--office-muted); font-size: 12px; white-space: nowrap; }
.office-series-link { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid #eceee9; color: var(--office-green); font-size: 13px; font-weight: 800; }
.office-series-back { margin: -12px 0 30px; }
.office-series-back a { color: var(--office-green); font-size: 14px; font-weight: 800; }
.office-series-profile { margin: 0 0 36px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--office-line); border-radius: 18px; background: #f7f8f5; }
.office-series-profile-head, .office-series-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.office-series-profile-head h2, .office-series-gallery-head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; }
.office-series-profile-head > span { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; background: #e4ebe5; color: var(--office-green); font-size: 11px; font-weight: 800; }
.office-series-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid #dfe4df; }
.office-series-specs > div { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(180px, 1.2fr); gap: 18px; padding: 13px 18px 13px 0; border-bottom: 1px solid #dfe4df; }
.office-series-specs > div:nth-child(odd) { margin-right: 24px; }
.office-series-specs dt { color: #7a837b; font-size: 12px; font-weight: 700; }
.office-series-specs dd { margin: 0; color: var(--office-ink); font-size: 13px; font-weight: 700; }
.office-series-colors { margin-top: 28px; }
.office-series-colors h3 { margin: 0 0 13px; font-size: 18px; }
.office-series-colors ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.office-series-colors li { padding: 9px 13px; border: 1px solid #ccd5cd; border-radius: 999px; background: #fff; color: var(--office-ink); font-size: 12px; font-weight: 800; }
.office-series-colors p { margin: 12px 0 0; color: var(--office-muted); font-size: 12px; }
.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: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 15px; background: #eef0ed; }
.office-series-gallery-slide img { width: 100%; height: 100%; object-fit: cover; 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-lightbox { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; background: #111; color: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.office-series-lightbox::backdrop { background: rgba(12,18,14,.82); backdrop-filter: blur(4px); }
.office-series-lightbox figure { display: flex; flex-direction: column; width: 100%; height: min(82vh, 820px); margin: 0; touch-action: pan-y; }
.office-series-lightbox img { display: block; width: 100%; min-height: 0; flex: 1 1 auto; object-fit: contain; }
.office-series-lightbox figcaption { padding: 12px 56px 14px 18px; color: #e7eae7; font-size: 13px; }
.office-series-lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.58); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.office-series-lightbox-close:hover { background: #fff; color: #18281e; }
.office-series-lightbox-nav { position: absolute; z-index: 2; top: 50%; width: 52px; height: 52px; padding: 0; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.58); color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }
.office-series-lightbox-nav:hover { background: #fff; color: #18281e; }
.office-series-lightbox-prev { left: 14px; }
.office-series-lightbox-next { right: 14px; }
.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,
.office-catalog-mode .product-grid-item .wrap-quickview-button { display: none !important; }
.office-catalog-mode .product-grid-item .wd-bottom-actions,
.office-catalog-mode .product-grid-item .wd-add-btn { position: static !important; display: block !important; height: auto !important; padding: 0 !important; border: 0 !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
.office-catalog-mode .product-grid-item .wd-add-btn { margin: 14px 18px 0; }
.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-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 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 0 auto; }
.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-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 { 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 { 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-head, .office-series-gallery-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .office-series-specs { grid-template-columns: 1fr; }
  .office-series-specs > div, .office-series-specs > div:nth-child(odd) { grid-template-columns: 1fr; gap: 4px; margin-right: 0; padding-right: 0; }
  .office-series-gallery-controls { align-self: flex-end; margin-top: 0; }
  .office-series-gallery-track { grid-auto-columns: 88%; }
  .office-series-lightbox { width: calc(100vw - 16px); max-height: calc(100vh - 16px); border-radius: 12px; }
  .office-series-lightbox figure { height: min(88vh, 820px); }
  .office-series-lightbox-nav { width: 46px; height: 46px; background: rgba(0,0,0,.68); }
  .office-series-lightbox-prev { left: 8px; }
  .office-series-lightbox-next { right: 8px; }
  .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; }
}
