/* PooyandehX — shared brand system, storefront and responsive application shell. */
:root {
  --ink: #14253b;
  --muted: #657387;
  --blue: #1466d8;
  --blue-dark: #0d4aa5;
  --navy: #102b4d;
  --gold: #dbaa50;
  --accent: #11796f;
  --accent-dark: #0b5e56;
  --accent-soft: #e8f5f2;
  --line: #e5eaf1;
  --surface: #f5f7fa;
  --radius: 18px;
  --shadow: 0 12px 40px #152e4e0a;
}
html { scroll-behavior: smooth; scroll-padding-top: 160px; }
body.site-body { font-family: 'Manrope', sans-serif; color: var(--ink); background: #fff; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.65; -webkit-font-smoothing: antialiased; }
html[lang=fa] body { font-family: 'Vazirmatn', sans-serif; }
html[lang=ar] body { font-family: 'Noto Sans Arabic', sans-serif; }
button, input, select, textarea { font: inherit; }
button, summary, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1466d8; outline-offset: 4px; }
[hidden] { display: none !important; }
.site-width, .site-main { width: min(100% - 64px, 1280px); margin-inline: auto; }
.site-main { flex: 1; padding-block: 36px 72px; min-width: 0; }
.home-page .site-main { padding-block-start: 30px; }
.px-icon { flex: 0 0 auto; width: 22px; height: 22px; }
.gold-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; background: var(--gold); border-radius: 50%; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; transform: translateY(-150%); z-index: 200; padding: 10px 20px; background: white; color: var(--blue); border-radius: 8px; }
.skip-link:focus { transform: none; }
.utility-bar { color: #e4ebf5; background: var(--navy); font-size: 11px; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility-inner p { display: flex; align-items: center; gap: 9px; }
.utility-bar [role=group] a { font-size: 10px; padding: 2px 10px; color: #bfcddd; border-radius: 5px; }
.utility-bar [role=group] a[aria-current=true] { color: #fff; background: #ffffff1a; }
.utility-bar [role=group] a:hover { background: #ffffff12; }
.site-header { background: #ffffffee; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); }
.header-main { display: flex; align-items: center; gap: 44px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; text-decoration: none; }
/* Window the supplied image to its original bird head; no redraw or lettering. */
.brand-mark { display: block; overflow: hidden; width: 56px; height: 54px; direction: ltr; flex-shrink: 0; }
.brand-mark img { height: 54px; width: auto; max-width: none; object-fit: initial; }
.brand-wordmark { display: block; font: 800 19px/1.1 'Manrope', sans-serif; letter-spacing: -.7px; color: var(--ink); }
.brand-wordmark > span { color: var(--blue); }
.brand-wordmark small { display: block; margin-top: 7px; font-size: 8px; letter-spacing: 3.3px; font-weight: 600; color: var(--muted); }
html[dir=rtl] .brand-wordmark small { letter-spacing: 0; font-size: 10px; }
html[lang=fa] .brand-wordmark small { font-family: 'Vazirmatn', sans-serif; }
html[lang=ar] .brand-wordmark small { font-family: 'Noto Sans Arabic', sans-serif; }
.header-search { display: flex; gap: 12px; align-items: center; border: 1px solid #e9edf3; background: var(--surface); border-radius: 12px; padding: 6px 7px 6px 17px; flex: 1; min-width: 0; }
.header-search > .px-icon { color: #8794a6; width: 19px; }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 0; font-size: 12px; color: var(--ink); }
.header-search:focus-within { box-shadow: 0 0 0 3px #1466d81a; border-color: #88afe5; }
.header-search button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--blue); color: white; flex-shrink: 0; }
.header-search button:hover { background: var(--blue-dark); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-account { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; max-width: 200px; }
.header-actions a:hover { color: var(--blue); }
.header-divider { height: 26px; width: 1px; background: var(--line); }
.header-cart { position: relative; display: grid; place-items: center; width: 38px; height: 38px; }
.cart-count { position: absolute; inset-block-start: -3px; inset-inline-end: -3px; font: 700 9px/17px 'Manrope', sans-serif; min-width: 17px; padding-inline: 4px; height: 17px; background: var(--blue); color: #fff; border-radius: 20px; text-align: center; border: 2px solid #fff; box-sizing: content-box; }
.header-nav-wrap { border-top: 1px solid #244d7c; background: linear-gradient(100deg, #153b68, #102b4d); box-shadow: inset 0 -1px #dbaa5040; color: #edf4ff; }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; min-height: 54px; font-size: 12px; font-weight: 600; }
.header-nav > a { position: relative; padding-block: 17px; white-space: nowrap; }
.header-nav > a:hover, .header-nav > a[aria-current=page] { color: #f0cd89; }
.header-nav > a:focus-visible, .catalog-menu summary:focus-visible { outline-color: #f0cd89; }
.header-nav > a[aria-current=page]::after { content: ''; position: absolute; bottom: -1px; height: 3px; inset-inline: 0; background: var(--gold); border-radius: 3px 3px 0 0; }
.header-shortcuts { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; padding-block: 5px; flex-shrink: 0; }
.header-shortcuts > a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; white-space: nowrap; }
.header-shortcuts > a:focus-visible { outline-color: #f0cd89; }
.header-shortcuts > a[aria-current=page] { box-shadow: inset 0 -3px #f0cd89; }
.header-nav .nav-business { padding: 8px 12px; border: 1px solid #dbaa5066; border-radius: 8px; background: #dbaa5012; color: #f0cd89; }
.header-nav .nav-admin { background: #f0cd89; border-color: #f0cd89; color: #102b4d; }
.header-nav .nav-admin:hover { background: #ffe0a6; border-color: #ffe0a6; }
.header-nav .nav-business:hover { background: #dbaa5026; }
.nav-admin .px-icon { width: 18px; height: 18px; }
.nav-business .px-icon { width: 17px; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.catalog-menu { position: relative; flex-shrink: 0; }
.catalog-menu summary { display: flex; align-items: center; gap: 9px; padding-inline-end: 26px; border-inline-end: 1px solid #ffffff2b; }
.catalog-menu summary > .px-icon { width: 17px; color: #f0cd89; }
.menu-chevron { margin-inline-start: 16px; font-size: 18px; color: #cfdef1; }
.catalog-menu-panel { position: absolute; inset-block-start: 42px; inset-inline-start: 0; width: 244px; padding: 12px; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 15px 40px #14253b20; background: #fff; color: var(--ink); border-radius: 12px; }
.catalog-menu-panel a { display: block; padding: 10px 13px; border-radius: 7px; }
.catalog-menu-panel a:hover { background: var(--surface); color: var(--blue); }
.mobile-menu, .mobile-dock { display: none; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; display: flex; align-items: center; gap: 9px; color: var(--muted); }
html[dir=rtl] .eyebrow { letter-spacing: 0; font-size: 12px; }
.home-hero { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 456px; border-radius: 22px; overflow: hidden; background: #eff4fa; }
.hero-copy { padding: 51px 48px 42px; display: flex; flex-direction: column; justify-content: center; }
.hero-copy .eyebrow { color: #546c88; }
.hero-copy h1 { font-size: clamp(34px, 3.25vw, 48px); line-height: 1.22; font-weight: 800; letter-spacing: -1.5px; margin-block: 20px 18px; max-width: 480px; }
.hero-copy h1 span { display: block; color: var(--blue); }
html[dir=rtl] .hero-copy h1 { letter-spacing: 0; font-size: clamp(29px, 2.8vw, 42px); line-height: 1.65; margin-block: 14px; }
.hero-description { font-size: 13px; line-height: 1.9; color: #596c82; max-width: 385px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.brand-button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; padding: 13px 21px; background: var(--blue); color: white; border-radius: 10px; font-size: 12px; font-weight: 700; min-height: 48px; transition: background .2s, transform .2s; }
.brand-button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.brand-button .px-icon { width: 18px; }
.hero-secondary { font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.hero-secondary:hover { color: var(--blue); }
.hero-secondary .px-icon { width: 15px; }
.hero-note { margin-top: 30px; display: flex; align-items: center; gap: 9px; color: #617286; font-size: 10px; }
.hero-note-icon { display: grid; place-items: center; width: 26px; height: 26px; background: #ffffff99; border-radius: 50%; color: var(--blue); }
.hero-note .px-icon { width: 15px; }
.hero-media { position: relative; min-width: 0; min-height: 456px; }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; position: absolute; inset: 0; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, #071c3338); pointer-events: none; }
.hero-media-label { position: absolute; z-index: 1; bottom: 29px; inset-inline: 27px; background: #ffffffeb; backdrop-filter: blur(14px); border-radius: 12px; display: flex; align-items: center; padding: 15px 17px; gap: 12px; box-shadow: 0 12px 32px #132b4318; font-size: 12px; font-weight: 700; }
.hero-label-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: #eaf1fb; color: var(--blue); }
.hero-media-label small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.hero-label-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-inline-start: auto; flex-shrink: 0; }
.hero-image-number { position: absolute; top: 25px; inset-inline-end: 25px; color: #ffffffd9; background: #12233847; padding: 5px 10px; border-radius: 5px; font: 600 8px 'Manrope', sans-serif; letter-spacing: 2px; }
.benefit-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; margin-top: 8px; border-bottom: 1px solid var(--line); gap: 24px; }
.benefit-strip > div { display: flex; align-items: center; gap: 14px; justify-content: center; }
.benefit-strip .px-icon { width: 25px; height: 25px; color: #345573; }
.benefit-strip span { font-size: 11px; font-weight: 700; }
.benefit-strip small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.home-section { margin-top: 48px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { font-size: 25px; line-height: 1.4; font-weight: 800; letter-spacing: -.65px; }
html[dir=rtl] .section-heading h2 { letter-spacing: 0; font-size: 25px; }
.section-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 11px; font-weight: 700; white-space: nowrap; }
.section-link .px-icon { width: 16px; }
.section-link:hover { color: var(--blue-dark); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { display: flex; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 14px; padding: 21px 17px; transition: border-color .2s, box-shadow .2s, transform .2s; background: #fff; min-width: 0; }
.category-card:hover { transform: translateY(-3px); border-color: #b5cceb; box-shadow: var(--shadow); }
.category-symbol { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: #eff4fb; color: #49739b; flex-shrink: 0; }
.category-symbol > .px-icon { width: 30px; height: 30px; stroke-width: 1.25; }
.category-symbol--mdf { background: #f4eee5; color: #966e41; }
.category-symbol--particleboard { background: #edf3ed; color: #59846c; }
.category-symbol--edge-band { background: #eef1f8; color: #6b7ba5; }
.category-symbol--hardware { background: #fbf2df; color: #987428; }
.category-description { min-width: 0; }
.category-description strong { display: block; font-size: 12px; font-weight: 700; }
.category-description small { display: block; font-size: 9px; color: var(--muted); margin-top: 4px; }
.category-arrow { margin-inline-start: auto; color: #9aa9ba; }
.category-arrow .px-icon { width: 15px; }
.rail-heading-actions { display: flex; align-items: center; gap: 24px; }
.rail-controls { display: flex; gap: 7px; }
.rail-controls button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .2s; }
.rail-controls button:hover { background: var(--blue); border-color: var(--blue); color: white; }
.rail-controls button:disabled { color: #aeb8c6; background: var(--surface); cursor: default; border-color: var(--line); }
.rail-controls .px-icon { width: 17px; }
.reverse-arrow { display: flex; transform: rotate(180deg); }
html[dir=rtl] .brand-button > .px-icon, html[dir=rtl] .header-search button > .px-icon, html[dir=rtl] .hero-secondary > .px-icon,
html[dir=rtl] .section-link > .px-icon, html[dir=rtl] .banner-link > .px-icon, html[dir=rtl] .category-arrow > .px-icon,
html[dir=rtl] .nav-business > .px-icon, html[dir=rtl] .rail-controls .px-icon, html[dir=rtl] .footer-help-link > .px-icon,
html[dir=rtl] .rail-mobile-hint > .px-icon { transform: rotate(180deg); }
.product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 14px; }
.product-rail::-webkit-scrollbar { display: none; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-rail > .product-card { scroll-snap-align: start; }
.rail-mobile-hint { display: none; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .2s, border-color .2s; min-width: 0; }
.product-card:hover { box-shadow: 0 10px 30px #14253b0c; border-color: #bacce1; }
.product-image-link { display: block; padding: 10px 10px 0; }
.product-image { height: 185px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; background: #f5f6f8; }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-placeholder { color: #a6b4c3; }
.product-placeholder .px-icon { width: 56px; height: 56px; stroke-width: 1; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 17px 17px 15px; }
.product-category { color: #6d8097; font-size: 9px; font-weight: 500; }
.product-card h3 { font-size: 12px; font-weight: 700; line-height: 1.7; margin-top: 5px; overflow-wrap: anywhere; }
.product-card h3 a:hover { color: var(--blue); }
.product-sku { color: #93a1b3; font-size: 9px; margin-top: 5px; text-align: start; }
.product-stock-count { color: #63738a; font-size: 11px; line-height: 1.8; margin-top: 7px; overflow-wrap: anywhere; }
.product-price { margin-top: auto; padding-top: 15px; }
.product-price .text-xl { font-size: 17px; line-height: 1.5; font-weight: 800; }
.product-price .text-xs { font-size: 9px; margin-top: 3px; }
.product-price .text-amber-700 { font-size: 12px; }
.product-stock { display: flex; align-items: center; gap: 6px; font-size: 9px; margin-top: 11px; }
.product-stock > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.in-stock { color: #218363; }.on-order { color: #a07821; }
.product-add { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 38px; margin-top: 13px; border-radius: 8px; background: #eef4fd; color: #205ba4; font-size: 10px; font-weight: 700; transition: background .2s; }
.product-add .px-icon { width: 15px; }
.product-add:hover { background: var(--blue); color: #fff; }
.product-add[aria-pressed=true] { background: #eaf5ef; color: #267351; }
.collection-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.collection-banner { display: flex; align-items: center; justify-content: space-between; padding: 33px 32px; border-radius: 18px; overflow: hidden; min-height: 232px; gap: 10px; transition: transform .2s; }
.collection-banner:hover { transform: translateY(-3px); }
.collection-banner > div:first-child { max-width: 65%; z-index: 1; }
.collection-banner h2 { font-size: 22px; font-weight: 800; line-height: 1.4; margin-block: 9px; letter-spacing: -.5px; }
html[dir=rtl] .collection-banner h2 { letter-spacing: 0; line-height: 1.75; }
.collection-banner p:not(.eyebrow) { font-size: 11px; color: var(--muted); }
.banner-link { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; margin-top: 17px; }
.banner-link > .px-icon { width: 16px; }
.wood-banner { background: #f6f1e9; }
.wood-swatches { position: relative; width: 122px; height: 165px; flex: 0 0 122px; transform: rotate(-14deg); }
.wood-swatches > span { position: absolute; width: 64px; height: 147px; border-radius: 6px; border: 1px solid #6e481827; background: repeating-linear-gradient(92deg, #ab784b 0 3px, #c39b6d 4px 6px, #b38554 7px 13px); box-shadow: 10px 14px 20px #472c1e20; }
.wood-swatches > span:nth-child(1) { left: 8px; top: 10px; transform: rotate(-20deg); background: repeating-linear-gradient(92deg, #533b2b 0 3px, #74513b 4px 6px, #674831 7px 13px); }
.wood-swatches > span:nth-child(2) { left: 32px; top: 4px; transform: rotate(-3deg); }
.wood-swatches > span:nth-child(3) { left: 56px; top: 4px; transform: rotate(19deg); background: repeating-linear-gradient(92deg, #d8c5a5 0 3px, #e9dcc4 4px 6px, #ddcbb2 7px 13px); }
.hardware-banner { background: #eaf1f9; }
.hardware-art { position: relative; width: 120px; height: 150px; flex: 0 0 120px; transform: rotate(-20deg); }
.hardware-art > span { position: absolute; left: 6px; top: 10px; height: 132px; width: 18px; border-radius: 6px; background: linear-gradient(90deg, #6e5021, #e7c990 50%, #b28b4c); box-shadow: 8px 12px 18px #22395124; }
.hardware-art > span::before, .hardware-art > span::after { content: ''; position: absolute; left: 15px; width: 15px; height: 12px; background: inherit; border-radius: 4px; }
.hardware-art > span::before { top: 8px; }.hardware-art > span::after { bottom: 8px; }
.hardware-art > span:nth-child(2) { left: 43px; top: 3px; background: linear-gradient(90deg, #818d99, #e1e7ee 50%, #a6b2bd); }
.hardware-art > span:nth-child(3) { left: 80px; top: 10px; background: linear-gradient(90deg, #182432, #4a586a 50%, #202f43); }
.business-banner { padding: 34px 40px; display: flex; align-items: center; gap: 27px; border-radius: 18px; background: var(--navy); color: white; }
.business-symbol { width: 69px; height: 69px; background: #ffffff0b; border: 1px solid #ffffff13; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; color: #c4d8f0; }
.business-symbol .px-icon { width: 36px; height: 36px; stroke-width: 1.2; }
.business-banner .eyebrow { color: #e5bc73; }
.business-banner h2 { font-size: 24px; font-weight: 700; line-height: 1.5; margin-top: 5px; }
.business-banner p:not(.eyebrow) { color: #b4c5d9; font-size: 11px; margin-top: 5px; max-width: 660px; }
.brand-button--light { margin-inline-start: auto; background: #fff; color: var(--navy); flex-shrink: 0; }
.brand-button--light:hover { background: #eff4fa; }
.site-footer { background: #f5f7fa; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1fr; gap: 55px; padding-block: 55px 43px; }
.footer-brand .brand-mark { width: 49px; height: 47px; }.footer-brand .brand-mark img { height: 47px; }
.footer-brand .brand-wordmark { font-size: 17px; }.footer-brand .brand-wordmark small { font-size: 9px; letter-spacing: 1.5px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.9; max-width: 310px; margin-top: 22px; }
.footer-signature { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #58718b; margin-top: 17px; }
.footer-grid h2 { font-size: 15px; font-weight: 800; line-height: 1.6; margin-bottom: 17px; }
.footer-grid > div > a:not(.brand):not(.footer-help-link), .footer-logout { display: block; font-size: 13px; color: var(--muted); padding-block: 6px; text-align: start; }
.footer-grid a:hover, .footer-logout:hover { color: var(--blue); }
.footer-help-icon { display: grid; place-items: center; height: 35px; width: 35px; border-radius: 10px; color: var(--blue); background: #e6edf8; margin-bottom: 14px; }
.footer-help h2 { margin-bottom: 7px; }.footer-help p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.footer-help-link { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--blue); margin-top: 14px; }.footer-help-link .px-icon { width: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e0e6ef; gap: 20px; padding-block: 17px; font-size: 11px; color: var(--muted); }
.footer-bottom [role=group] a { font-size: 12px; }
.cart-toast { display: flex; align-items: center; gap: 20px; position: fixed; bottom: 28px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--navy); color: white; font-size: 12px; border-radius: 12px; padding: 15px 21px; box-shadow: 0 10px 36px #102b4d30; z-index: 80; max-width: calc(100% - 32px); }
html[dir=rtl] .cart-toast { transform: translateX(50%); }
.cart-toast a { color: #f3cd8f; font-weight: 700; white-space: nowrap; }
/* Keep all existing application forms and workflows in the same visual system. */
.px-card { border-radius: 16px; box-shadow: 0 4px 20px #152e4e05; border-color: var(--line); }
.px-input { border-radius: 10px; min-height: 43px; border-color: #dce3ed; background-color: #fff; }
.px-btn, .px-btn-light, .px-btn-danger { border-radius: 9px; min-height: 41px; }
.px-btn, .bg-blue-700 { background-color: var(--blue); }.text-blue-700 { color: var(--blue); }
.px-btn:hover, .hover\:bg-blue-800:hover { background-color: var(--blue-dark); }
.px-btn.px-btn-accent { background-color: var(--accent); color: #fff; border-color: var(--accent); }
.px-btn.px-btn-accent:hover { background-color: var(--accent-dark); border-color: var(--accent-dark); }
.px-btn.px-btn-accent:focus-visible { outline-color: var(--accent-dark); }
.site-main > h1 { letter-spacing: -.5px; color: var(--ink); font-weight: 800; }
html[dir=rtl] .site-main > h1 { letter-spacing: 0; }
.site-main table { border-collapse: separate; border-spacing: 0; }
.site-main th { color: #67778d; font-size: 11px; font-weight: 600; background: #f4f7fb; padding-block: 15px; }
.site-main td { padding-block: 14px; border-bottom: 1px solid #f0f3f7; }
.site-main tbody tr:last-child td { border-bottom: 0; }
.site-main tbody tr:hover { background: #f8faff; }
.admin-page { background: #f6f8fc !important; }
.admin-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.admin-sidebar { --admin-sidebar-top: 168px; padding: 20px 12px; background: linear-gradient(180deg, #f1f6fd, #fff 180px); border: 1px solid #dce6f3; border-top: 3px solid var(--gold); border-radius: 16px; box-shadow: 0 8px 24px #102b4d07; position: sticky; top: var(--admin-sidebar-top); max-height: calc(100vh - var(--admin-sidebar-top) - 16px); max-height: calc(100dvh - var(--admin-sidebar-top) - 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.admin-sidebar-title { font-size: 10px; color: #355679; font-weight: 700; padding: 0 13px 14px; }
.admin-sidebar a { display: block; font-size: 11px; border-radius: 8px; padding: 10px 13px; color: #63738a; margin-block: 3px; }
.admin-sidebar a:hover { color: #144b86; background: #e9f1fc; box-shadow: inset 0 -1px #dbaa5040; }
.admin-sidebar a[aria-current=page], .admin-sidebar a.is-active { background: linear-gradient(110deg, #1b5899, #12385f); color: #fff; font-weight: 700; border-inline-start: 3px solid var(--gold); box-shadow: 0 4px 10px #12385f16; }
.admin-product-tabs { padding: 6px; border: 1px solid #dce6f3; border-radius: 12px; background: #edf3fb; gap: 5px; }
.admin-product-tabs>a { border-radius: 8px; border-bottom-color: transparent; color: #405b7c; margin-bottom: 0; }
.admin-product-tabs>a:hover { background: #fff; color: #164b83; }
.admin-product-tabs>a[aria-current=page] { color: #fff; background: #164b83; border-bottom-color: var(--gold); box-shadow: 0 3px 8px #164b8314; }
.offers-toolbar { flex-wrap: wrap; }
.offer-card { border-top: 2px solid #dbaa5070; }
.offer-card-header>div { min-width: 0; }
.offer-health-detail { line-height: 1.9; text-align: start; }
.offer-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.offer-actions form { display: inline-flex; }
.offer-actions .px-btn-light,.offer-actions .px-btn-danger { min-height: 36px; padding: 8px 12px; font-size: 12px; }
.offer-facts { text-align: start; }
.offer-facts>div { min-width: 0; padding-block: 8px; }
.offer-facts dt { line-height: 1.8; }
.offer-facts dd { margin-top: 5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.offer-facts bdi { display: inline-block; }
html[dir=rtl] .offer-edit-form input[dir=ltr] { text-align: right; }
.admin-content { min-width: 0; }.admin-content h1 { font-weight: 800; }
@media (max-width: 1100px) {
  .header-main { gap: 25px; }.header-nav { gap: 0 16px; font-size: 11px; }
  .hero-copy { padding: 34px; }.hero-media, .home-hero { min-height: 435px; }
  .category-card { padding: 17px 13px; gap: 10px; }.category-symbol { width: 46px; height: 46px; }
  .category-arrow { display: none; }.footer-grid { gap: 32px; }
  .product-rail { grid-auto-columns: calc((100% - 36px) / 3); }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .business-banner { padding: 28px; }.business-banner h2 { font-size: 21px; }
}
@media (max-width: 850px) {
  .site-width, .site-main { width: calc(100% - 40px); }
  .header-main { min-height: 82px; gap: 22px; }.brand-wordmark { font-size: 16px; }.brand-wordmark small { font-size: 7px; letter-spacing: 2.7px; }
  .brand-mark { width: 48px; height: 46px; }.brand-mark img { height: 46px; }
  .header-actions { gap: 10px; }.header-account span { display: none; }.header-divider { display: none; }
  .header-nav { gap: 0 16px; }.header-nav > a:nth-last-of-type(n+5) { display: none; }.header-nav > a.nav-suppliers { display: block; }
  .hero-copy { padding: 29px; }.hero-copy h1 { font-size: 32px; }html[dir=rtl] .hero-copy h1 { font-size: 29px; }
  .home-hero, .hero-media { min-height: 405px; }.hero-actions { gap: 14px; }.hero-secondary { font-size: 10px; }
  .hero-description { font-size: 12px; }.hero-media-label { inset-inline: 16px; bottom: 19px; padding: 12px; }
  .hero-note { margin-top: 24px; }.benefit-strip { gap: 17px; grid-template-columns: 1fr 1fr; padding-block: 24px; }
  .benefit-strip > div { justify-content: flex-start; padding-inline-start: 18px; }
  .category-grid { grid-template-columns: 1fr 1fr; }.category-arrow { display: block; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-symbol { width: 58px; height: 58px; }.category-card { padding: 17px 22px; }
  .collection-banner { padding: 24px; }.collection-banner h2 { font-size: 20px; }.collection-banner > div:first-child { max-width: 72%; }
  .wood-swatches { flex-basis: 80px; width: 80px; transform: scale(.8) rotate(-14deg); margin-inline-end: -20px; }
  .hardware-art { flex-basis: 80px; width: 80px; transform: scale(.8) rotate(-20deg); margin-inline-end: -20px; }
  .business-banner { gap: 20px; }.business-symbol { display: none; }.business-banner .brand-button { font-size: 10px; padding-inline: 15px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }.footer-help { display: none; }
  .admin-shell { grid-template-columns: 170px minmax(0, 1fr); gap: 18px; }.admin-sidebar { --admin-sidebar-top: 150px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 138px; }
  body.site-body { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .site-width, .site-main { width: calc(100% - 32px); }.site-main { padding-block: 25px 44px; }.home-page .site-main { padding-block-start: 18px; }
  .utility-inner { min-height: 30px; gap: 6px; }.utility-inner p { font-size: 9px; }.utility-inner p .gold-dot { display: none; }
  .utility-bar [role=group] { gap: 0; }.utility-bar [role=group] a { font-size: 9px; padding-inline: 6px; }
  .header-main { min-height: 124px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding-block: 13px; position: relative; }
  .brand-mark { width: 45px; height: 43px; }.brand-mark img { height: 43px; }.brand { gap: 9px; }
  .brand-wordmark { font-size: 16px; }.brand-wordmark small { font-size: 7px; letter-spacing: 2.5px; margin-top: 5px; }
  .header-actions { display: none; }.header-search { grid-column: 1 / -1; grid-row: 2; border-radius: 10px; padding: 4px 5px 4px 13px; gap: 8px; }
  .header-nav > a, .header-nav > .catalog-menu { display: none !important; }
  .header-nav { min-height: 54px; }
  .header-shortcuts { width: 100%; margin-inline-start: 0; }
  .header-shortcuts > a { flex: 1 1 auto; min-width: 0; font-size: 11px; }
  .header-search input { font-size: 11px; padding-block: 7px; }.header-search button { width: 31px; height: 31px; border-radius: 7px; }
  .mobile-menu { display: block; grid-row: 1; grid-column: 2; }
  .mobile-menu > summary { width: 40px; height: 40px; display: grid; place-items: center; background: #153b68; color: #fff; border-radius: 10px; border: 1px solid #dbaa5080; }
  .mobile-menu-panel { position: absolute; inset-inline: 0; top: 65px; z-index: 55; background: #fff; padding: 13px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 45px #14253b25; max-height: 65vh; overflow-y: auto; }
  .mobile-menu-panel > a, .mobile-menu-panel button { display: block; padding: 10px 12px; border-radius: 7px; font-size: 12px; text-align: start; }
  .mobile-menu-panel > a:hover { background: var(--surface); color: var(--blue); }
  .mobile-menu-panel { border-top: 3px solid var(--gold); }
  .mobile-menu-panel > a[aria-current=page] { background: #edf3fb; color: #164b83; border-inline-start: 3px solid var(--gold); font-weight: 700; }
  .home-hero { grid-template-columns: 1fr; min-height: 0; border-radius: 16px; }.hero-copy { padding: 28px 24px 24px; }
  .hero-copy h1 { font-size: 34px; letter-spacing: -1px; margin-block: 13px; line-height: 1.23; }html[dir=rtl] .hero-copy h1 { font-size: 29px; line-height: 1.6; }
  .hero-copy .eyebrow { font-size: 10px; }.hero-description { max-width: 100%; font-size: 12px; line-height: 1.85; }
  .hero-actions { margin-top: 20px; gap: 18px; }.brand-button { min-height: 44px; font-size: 11px; padding: 11px 16px; }.hero-secondary { font-size: 10px; }
  .hero-note { margin-top: 19px; font-size: 9px; }.hero-media { min-height: 240px; }.hero-media > img { object-position: center; }
  .hero-media-label { inset-inline: 17px; bottom: 17px; font-size: 10px; padding: 10px 12px; border-radius: 9px; }.hero-media-label small { font-size: 9px; }.hero-label-icon { width: 32px; height: 32px; }.hero-label-icon .px-icon { width: 19px; }
  .hero-image-number { top: 16px; inset-inline-end: 16px; font-size: 7px; }
  .benefit-strip { gap: 22px 13px; padding-block: 24px; }.benefit-strip > div { padding-inline-start: 3px; gap: 9px; }
  .benefit-strip > div .px-icon { width: 21px; height: 21px; }.benefit-strip span { font-size: 10px; }.benefit-strip small { font-size: 8px; margin-top: 2px; }
  .home-section { margin-top: 32px; }.section-heading { margin-bottom: 17px; gap: 10px; }.section-heading h2, html[dir=rtl] .section-heading h2 { font-size: 21px; }
  .section-heading .eyebrow { font-size: 9px; }.section-link { font-size: 10px; gap: 5px; }.section-link .px-icon { width: 13px; }
  .category-grid { gap: 10px; }.category-card { padding: 15px 12px; flex-direction: column; align-items: flex-start; gap: 10px; border-radius: 12px; position: relative; }
  .category-symbol { width: 45px; height: 45px; border-radius: 13px; }.category-symbol .px-icon { width: 25px; height: 25px; }.category-description strong { font-size: 11px; }.category-description small { font-size: 9px; }
  .category-arrow { position: absolute; inset-inline-end: 12px; top: 28px; }
  .product-rail { grid-auto-columns: minmax(205px, 64%); gap: 13px; margin-inline-end: -16px; padding-inline-end: 16px; }.product-image { height: 155px; }.product-card-body { padding: 14px; }.product-card h3 { font-size: 11px; }
  .catalog-grid { gap: 10px; }.catalog-grid .product-image { height: 136px; }.catalog-grid .product-card-body { padding: 12px; }.catalog-grid .product-price .text-xl { font-size: 14px; }.catalog-grid .product-add { font-size: 9px; gap: 4px; }
  .rail-heading-actions { gap: 10px; }.rail-controls { display: none; }.rail-mobile-hint { display: flex; align-items: center; justify-content: center; gap: 7px; color: #8391a3; font-size: 9px; margin-top: 6px; }.rail-mobile-hint .px-icon { width: 13px; }
  .collection-banners { grid-template-columns: 1fr; gap: 14px; }.collection-banner { padding: 25px; min-height: 204px; border-radius: 14px; }.collection-banner h2 { font-size: 21px; }
  .wood-swatches { flex-basis: 100px; width: 100px; transform: scale(.85) rotate(-14deg); margin-inline-end: -5px; }.hardware-art { flex-basis: 100px; width: 100px; transform: scale(.85) rotate(-20deg); margin-inline-end: -5px; }
  .business-banner { flex-direction: column; align-items: flex-start; padding: 27px 24px; border-radius: 14px; gap: 19px; }.business-banner h2 { font-size: 21px; }.business-banner .brand-button { margin-inline-start: 0; font-size: 11px; }.business-banner p:not(.eyebrow) { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 36px 30px; }.footer-brand { grid-column: 1 / -1; }.footer-brand p { max-width: 100%; font-size: 13px; margin-top: 15px; }.footer-brand .brand-wordmark { font-size: 17px; }
  .footer-grid h2 { margin-bottom: 12px; }.footer-bottom { flex-direction: column; justify-content: center; gap: 11px; padding-block: 20px; font-size: 11px; text-align: center; }
  .mobile-dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 70; bottom: 0; inset-inline: 0; padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)); background: #ffffffed; backdrop-filter: blur(20px); border-top: 1px solid #e4eaf3; box-shadow: 0 -4px 24px #14253b08; }
  .mobile-dock a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 53px; font-size: 9px; color: #7b889a; border-radius: 10px; font-weight: 500; }.mobile-dock a .px-icon { width: 21px; height: 21px; }
  .mobile-dock a[aria-current=page] { color: #164b83; background: #edf4ff; box-shadow: inset 0 2px var(--gold); font-weight: 700; }.mobile-dock a:hover { color: var(--blue); }.dock-icon { position: relative; display: flex; }
  .mobile-dock .cart-count { font-size: 8px; line-height: 13px; height: 13px; min-width: 13px; inset-inline-end: -10px; inset-block-start: -6px; padding-inline: 2px; }
  .cart-toast { bottom: calc(89px + env(safe-area-inset-bottom, 0px)); width: max-content; font-size: 10px; padding: 13px 16px; gap: 14px; }
  .site-main > .grid { gap: 12px; }.site-main > .grid > .product-card { min-width: 0; }
  .admin-shell { display: block; }.admin-sidebar { position: static; max-height: none; overflow: visible; padding: 9px; margin-bottom: 20px; }.admin-sidebar-title { padding: 6px 8px; }
  .admin-sidebar nav { display: flex; overflow-x: auto; gap: 5px; padding-bottom: 5px; }.admin-sidebar a { flex-shrink: 0; white-space: nowrap; font-size: 10px; margin: 0; padding: 8px 10px; }.admin-sidebar a[aria-current=page], .admin-sidebar a.is-active { border-inline-start: none; border-bottom: 2px solid var(--gold); }
}
@media (max-width: 360px) {
  .utility-inner p { font-size: 8px; }.hero-copy { padding: 24px 19px; }.hero-copy h1 { font-size: 30px; }html[dir=rtl] .hero-copy h1 { font-size: 26px; }.hero-actions { gap: 13px; }.brand-button { padding-inline: 12px; }
  .benefit-strip small { font-size: 7px; }.collection-banner { padding-inline: 19px; }.collection-banner > div:first-child { max-width: 65%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Brand directory and product brand links. */
.brands-page { padding-block: 1.5rem 3rem; }
.brands-heading h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: .5rem; }
.brands-heading p, .brand-card > span { color: #64748b; }
.brands-search { margin-block: 1.75rem; max-width: 42rem; }
.brands-search label { display: block; font-weight: 600; margin-bottom: .5rem; }
.brands-search > div { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.brands-search input { flex: 1; min-width: 10rem; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
.brand-card { display: flex; flex-direction: column; align-items: center; gap: .65rem; text-align: center; padding: 2rem 1rem; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; transition: border-color .2s, box-shadow .2s; overflow-wrap: anywhere; }
.brand-card:hover, .brand-card:focus-visible { border-color: #b68b44; box-shadow: 0 8px 24px #0f172a0d; }
.brand-card h2 { font-size: 1.15rem; font-weight: 750; }
.brand-monogram { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: #f4efe5; color: #805d28; font-size: 1.5rem; font-weight: 800; }
.brand-card .brand-card-action { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; color: #805d28; font-weight: 600; }
.brand-card-action svg { width: 1rem; height: 1rem; }
.brands-empty { padding: 2rem; background: #f8fafc; border-radius: 1rem; }
.product-brand-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: #805d28; }
.product-brand-link .brand-monogram { width: 1.6rem; height: 1.6rem; font-size: .65rem; }

.brand-logo { display: block; width: 10rem; height: 5rem; object-fit: contain; }
.product-brand-link .brand-logo { width: 3.5rem; height: 1.8rem; }
