/* =========================================================================
   United Building Depot — main stylesheet
   Brand: Navy #002C74 · Red #C8002C
   ========================================================================= */

:root {
	--navy: #002c74;
	--navy-900: #001b4a;
	--navy-800: #022463;
	--navy-700: #0b3d8f;
	--navy-100: #dde5f5;
	--navy-50: #eef2fa;
	--red: #c8002c;
	--red-700: #a30024;
	--red-50: #fdecef;
	--ink: #111827;
	--text: #1f2937;
	--muted: #5b6475;
	--line: #e3e8f0;
	--bg: #f5f7fb;
	--white: #ffffff;
	--green: #15803d;
	--green-50: #e7f6ec;
	--orange: #d97706;
	--orange-50: #fef3e2;
	--sky: #0ea5e9;
	--sky-50: #e0f2fe;
	--font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 14px;
	--radius-sm: 8px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(0, 27, 74, .06), 0 1px 3px rgba(0, 27, 74, .08);
	--shadow: 0 6px 20px rgba(0, 27, 74, .10);
	--shadow-lg: 0 18px 50px rgba(0, 27, 74, .18);
	--container: 1280px;
	--gutter: 20px;
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
body.ubd-no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; z-index: 10000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; width: auto; height: auto; clip: auto; clip-path: none; }
.ubd-icon { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }

.ubd-container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ubd-main { min-height: 50vh; }
.ubd-section { padding: 56px 0; }
.ubd-section--tight { padding: 28px 0; }

/* ---------- Buttons ---------- */
.ubd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.1; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; white-space: nowrap; text-decoration: none; }
.ubd-btn:hover { transform: translateY(-1px); }
.ubd-btn:active { transform: translateY(0); }
.ubd-btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(200, 0, 44, .25); }
.ubd-btn--red:hover { background: var(--red-700); color: #fff; }
.ubd-btn--navy { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(0, 44, 116, .22); }
.ubd-btn--navy:hover { background: var(--navy-700); color: #fff; }
.ubd-btn--white { background: #fff; color: var(--navy); }
.ubd-btn--white:hover { background: var(--navy-50); color: var(--navy); }
.ubd-btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.ubd-btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.ubd-btn--outline-red { background: #fff; color: var(--red); border-color: var(--red); }
.ubd-btn--outline-red:hover { background: var(--red); color: #fff; }
.ubd-btn--sm { padding: 9px 16px; font-size: 13.5px; }
.ubd-btn--lg { padding: 15px 28px; font-size: 16px; }
.ubd-btn--block { width: 100%; }
.ubd-btn[disabled], .ubd-btn.is-loading { opacity: .65; pointer-events: none; }
.ubd-iconbtn { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; transition: all .15s; }
.ubd-iconbtn:hover, .ubd-iconbtn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.ubd-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 15px; }
.ubd-link-arrow:hover { color: var(--red); }
.ubd-link-arrow .ubd-icon { transition: transform .15s; }
.ubd-link-arrow:hover .ubd-icon { transform: translateX(3px); }
.ubd-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--navy-50); padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.ubd-eyebrow--red { color: var(--red); background: var(--red-50); }

/* ---------- Section heads ---------- */
.ubd-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ubd-section-head--center { justify-content: center; text-align: center; }
.ubd-section-head--center .ubd-section-head__text { display: flex; flex-direction: column; align-items: center; }
.ubd-section-title { margin: 0; }
.ubd-section-subtitle { margin: 6px 0 0; color: var(--muted); max-width: 640px; }
.ubd-section-head > .ubd-btn, .ubd-section-head > .ubd-link-arrow { flex: none; margin-bottom: 4px; }

/* ---------- Badges / chips ---------- */
.ubd-offer { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; color: #fff; background: var(--red); line-height: 1; white-space: nowrap; }
.ubd-offer--sale, .ubd-offer--hot { background: var(--red); }
.ubd-offer--special, .ubd-offer--bundle { background: var(--navy); }
.ubd-offer--new { background: var(--green); }
.ubd-offer--clearance { background: var(--orange); }
.ubd-offer--lg { font-size: 14px; padding: 8px 14px; }
.ubd-offer--on-image { position: absolute; top: 14px; left: 14px; z-index: 5; }
.ubd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ubd-chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: 13.5px; font-weight: 600; border: 1px solid transparent; }
.ubd-chip:hover { border-color: var(--navy); }
.ubd-chip--red { background: var(--red-50); color: var(--red); }
.ubd-chip--red:hover { border-color: var(--red); color: var(--red); }
.ubd-count { position: absolute; top: -6px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; line-height: 1; border: 2px solid #fff; }

/* =========================================================================
   Header
   ========================================================================= */
.ubd-header { position: relative; z-index: 900; background: #fff; }
.ubd-topbar { background: var(--navy-900); color: #cdd7ec; font-size: 13px; }
.ubd-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.ubd-topbar__msg { margin: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ubd-topbar__msg .ubd-icon { color: var(--red); }
.ubd-topbar__sep { margin: 0 8px; opacity: .5; }
.ubd-topbar__promo { color: #fff; font-weight: 600; }
.ubd-topbar__links { list-style: none; display: flex; gap: 18px; align-items: center; flex: none; }
.ubd-topbar__links li { display: inline-flex; align-items: center; gap: 6px; }
.ubd-topbar__links a { color: #e6ecf8; display: inline-flex; align-items: center; gap: 6px; }
.ubd-topbar__links a:hover { color: #fff; }
.ubd-topbar__phone { font-weight: 700; color: #fff !important; }

.ubd-header__main { border-bottom: 1px solid var(--line); }
.ubd-header__row { display: flex; align-items: center; gap: 24px; min-height: 92px; --header-left: 250px; }
.ubd-header__brand { display: flex; flex-direction: column; flex: 0 0 auto; width: var(--header-left); }
.ubd-header__brand .ubd-logo img, .ubd-header__brand .custom-logo { height: 64px; width: auto; }
.ubd-header__tagline { margin: 2px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.ubd-header__search { flex: 0 1 640px; max-width: 640px; min-width: 0; margin-left: -24px; }
.ubd-header__search--mobile { display: none; padding-bottom: 12px; }
.ubd-header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.ubd-header__action, .ubd-header__phone { display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: none; border: 0; color: var(--ink); line-height: 1.15; text-align: left; }
.ubd-header__action:hover, .ubd-header__phone:hover { background: var(--navy-50); color: var(--navy); }
.ubd-header__icon { position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ubd-header__phone .ubd-header__icon { background: var(--red-50); color: var(--red); }
.ubd-header__action-text { display: flex; flex-direction: column; }
.ubd-header__action-text small { font-size: 11px; color: var(--muted); font-weight: 500; }
.ubd-header__action-text strong { font-family: var(--font-head); font-size: 14px; font-weight: 700; }
.ubd-header__burger { display: none; width: 48px; height: 48px; border: 0; background: var(--navy); color: #fff; border-radius: 12px; align-items: center; justify-content: center; }

/* Search */
.ubd-search { position: relative; display: flex; align-items: center; background: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: 3px 3px 3px 18px; }
.ubd-search__input { flex: 1; border: 0; outline: 0; background: none; font-size: 15px; min-width: 0; padding: 8px 0; color: var(--ink); }
.ubd-search__input::placeholder { color: #8a93a5; }
.ubd-search__btn { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.ubd-search__btn:hover { background: var(--red-700); }
.ubd-search__results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 950; overflow: hidden; max-height: 70vh; overflow-y: auto; }
.ubd-search__group { padding: 8px 0; }
.ubd-search__group + .ubd-search__group { border-top: 1px solid var(--line); }
.ubd-search__label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 16px; }
.ubd-search__item { display: flex; align-items: center; gap: 12px; padding: 8px 16px; color: var(--ink); }
.ubd-search__item:hover, .ubd-search__item:focus { background: var(--navy-50); color: var(--navy); }
.ubd-search__item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.ubd-search__item strong { display: block; font-size: 14px; font-weight: 600; }
.ubd-search__item span { font-size: 12px; color: var(--muted); }
.ubd-search__item .ubd-offer { margin-left: auto; }
.ubd-search__more { display: block; padding: 12px 16px; text-align: center; font-weight: 700; background: var(--navy-50); color: var(--navy); }
.ubd-search__empty { padding: 16px; color: var(--muted); font-size: 14px; }

/* Nav */
.ubd-nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0, 27, 74, .06); }
.ubd-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; --header-left: 250px; }
.ubd-nav__list { list-style: none; display: flex; align-items: center; gap: 4px; padding-left: var(--header-left, 250px); }
.ubd-nav__item { position: relative; }
.ubd-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.ubd-nav__link:hover, .ubd-nav__item.is-active > .ubd-nav__link { background: var(--navy-50); color: var(--navy); }
.ubd-nav__caret { color: var(--muted); transition: transform .2s; }
.ubd-nav__item:hover > .ubd-nav__link .ubd-nav__caret, .ubd-nav__item.is-open > .ubd-nav__link .ubd-nav__caret { transform: rotate(180deg); }
.ubd-nav__toggle { display: none; }
.ubd-nav__badge { background: var(--red); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 999px; letter-spacing: .06em; }
.ubd-nav__item--pill-red > .ubd-nav__link { background: var(--red); color: #fff; box-shadow: 0 6px 14px rgba(200, 0, 44, .25); }
.ubd-nav__item--pill-red > .ubd-nav__link:hover, .ubd-nav__item--pill-red.is-active > .ubd-nav__link { background: var(--red-700); color: #fff; }
.ubd-nav__item--pill-red .ubd-nav__badge { background: #fff; color: var(--red); }
.ubd-nav__item--pill-navy > .ubd-nav__link { background: var(--navy); color: #fff; }
.ubd-nav__item--pill-navy > .ubd-nav__link:hover { background: var(--navy-700); color: #fff; }
.ubd-nav__cta { display: flex; gap: 10px; flex: none; }

/* Dropdown */
.ubd-nav__sub { list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; z-index: 920; }
.ubd-nav__item:hover > .ubd-nav__sub, .ubd-nav__item.is-open > .ubd-nav__sub, .ubd-nav__item:focus-within > .ubd-nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.ubd-nav__sub li a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.ubd-nav__sub li a:hover { background: var(--navy-50); color: var(--navy); }

/* Mega menu */
.ubd-nav__item.has-mega { position: static; }
.ubd-mega { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 920; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; padding: 0 var(--gutter); }
.ubd-nav__item.has-mega:hover > .ubd-mega, .ubd-nav__item.has-mega.is-open > .ubd-mega, .ubd-nav__item.has-mega:focus-within > .ubd-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.ubd-mega__inner { max-width: var(--container); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px 24px 16px; }
.ubd-mega__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 18px; }
.ubd-mega__col { padding: 10px; border-radius: 12px; transition: background .15s; }
.ubd-mega__col:hover { background: var(--navy-50); }
.ubd-mega__dept { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.ubd-mega__dept:hover { color: var(--red); }
.ubd-mega__icon { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ubd-mega__links { list-style: none; padding-left: 44px; }
.ubd-mega__links a { display: block; font-size: 13px; color: var(--muted); padding: 2px 0; }
.ubd-mega__links a:hover { color: var(--navy); }
.ubd-mega__flyer { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 0 44px; font-size: 12px; font-weight: 700; color: var(--red); }
.ubd-mega__footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Mobile menu */
.ubd-mobile { position: fixed; inset: 0; z-index: 1200; visibility: hidden; }
.ubd-mobile.is-open { visibility: visible; }
.ubd-mobile__backdrop { position: absolute; inset: 0; background: rgba(0, 27, 74, .55); opacity: 0; transition: opacity .25s; }
.ubd-mobile.is-open .ubd-mobile__backdrop { opacity: 1; }
.ubd-mobile__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(380px, 90vw); background: #fff; transform: translateX(-100%); transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.ubd-mobile.is-open .ubd-mobile__panel { transform: translateX(0); }
.ubd-mobile__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ubd-mobile__head .ubd-logo img, .ubd-mobile__head .custom-logo { height: 48px; width: auto; }
.ubd-mobile__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.ubd-mobile__body { overflow-y: auto; padding: 16px; flex: 1; }
.ubd-mobile__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.ubd-mobile__list { list-style: none; }
.ubd-mobile__list > li { border-bottom: 1px solid var(--line); }
.ubd-mobile__list a, .ubd-mobile__acc { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 4px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); background: none; border: 0; text-align: left; }
.ubd-mobile__list a .ubd-icon, .ubd-mobile__acc .ubd-icon:first-child { color: var(--navy); }
.ubd-mobile__caret { margin-left: auto; transition: transform .2s; }
.ubd-mobile__acc[aria-expanded="true"] .ubd-mobile__caret { transform: rotate(180deg); }
.ubd-mobile__sub { list-style: none; display: none; padding: 0 0 8px 12px; }
.ubd-mobile__group.is-open .ubd-mobile__sub { display: block; }
.ubd-mobile__sub a { font-weight: 600; font-size: 14px; padding: 9px 4px; }
.ubd-mobile__sub a.is-link { color: var(--red); }
.ubd-mobile__contact { margin-top: 18px; padding: 14px; background: var(--navy-50); border-radius: 12px; font-size: 14px; }
.ubd-mobile__contact a { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 4px 0; }
.ubd-mobile__contact p { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: var(--muted); }

/* =========================================================================
   Hero slider
   ========================================================================= */
.ubd-hero { padding-top: 22px; }
.ubd-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-50); aspect-ratio: 1600 / 540; }
.ubd-slider__track { position: relative; width: 100%; height: 100%; }
.ubd-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.ubd-slider__slide.is-active { opacity: 1; pointer-events: auto; z-index: 2; }
.ubd-slider__link, .ubd-slider__link picture, .ubd-slider__link img { display: block; width: 100%; height: 100%; }
.ubd-slider__link img { object-fit: cover; }
.ubd-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s, background .2s; }
.ubd-slider:hover .ubd-slider__arrow, .ubd-slider:focus-within .ubd-slider__arrow { opacity: 1; }
.ubd-slider__arrow:hover { background: var(--red); color: #fff; }
.ubd-slider__arrow--prev { left: 16px; }
.ubd-slider__arrow--next { right: 16px; }
.ubd-slider__dots { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.ubd-slider__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .55); padding: 0; transition: all .2s; }
.ubd-slider__dots button.is-active { width: 28px; background: var(--red); }
.ubd-hero--fallback .ubd-hero__fallback { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; }
.ubd-hero--fallback h2 { color: #fff; max-width: 760px; margin: 12px auto 16px; }
.ubd-hero--fallback p { color: #cdd7ec; }

/* =========================================================================
   Trust bar
   ========================================================================= */
.ubd-trust { margin-top: -26px; position: relative; z-index: 3; }
.ubd-trust__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.ubd-trust__item { display: flex; align-items: center; gap: 14px; padding: 18px 22px; position: relative; }
.ubd-trust__item + .ubd-trust__item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.ubd-trust__icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; background: var(--navy); box-shadow: 0 6px 14px rgba(0, 44, 116, .25); }
.ubd-trust__item--2 .ubd-trust__icon, .ubd-trust__item--4 .ubd-trust__icon { background: var(--red); box-shadow: 0 6px 14px rgba(200, 0, 44, .25); }
.ubd-trust__text { display: flex; flex-direction: column; line-height: 1.3; }
.ubd-trust__text strong { font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.ubd-trust__text span { font-size: 13px; color: var(--muted); }

/* =========================================================================
   Departments
   ========================================================================= */
.ubd-dept-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ubd-dept { position: relative; }
.ubd-dept__link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.08; background: var(--navy-900); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.ubd-dept__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ubd-dept__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ubd-dept__link:hover .ubd-dept__img { transform: scale(1.06); }
.ubd-dept__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 27, 74, 0) 35%, rgba(0, 27, 74, .55) 65%, rgba(0, 27, 74, .92) 100%); }
.ubd-dept__num { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-head); font-weight: 800; font-size: 12px; color: #fff; background: rgba(0, 27, 74, .65); backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 999px; }
.ubd-dept__offer { position: absolute; top: 12px; right: 12px; z-index: 2; font-family: var(--font-head); font-weight: 800; font-size: 11px; color: #fff; background: var(--red); padding: 5px 9px; border-radius: 999px; }
.ubd-dept__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon name arrow" "icon meta arrow"; column-gap: 10px; align-items: center; color: #fff; }
.ubd-dept__icon { grid-area: icon; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); display: inline-flex; align-items: center; justify-content: center; }
.ubd-dept__name { grid-area: name; font-family: var(--font-head); font-weight: 800; font-size: 15px; line-height: 1.15; }
.ubd-dept__meta { grid-area: meta; font-size: 12px; color: #c9d4ea; }
.ubd-dept__arrow { grid-area: arrow; width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: inline-flex; align-items: center; justify-content: center; transform: translateX(6px); opacity: 0; transition: all .2s; }
.ubd-dept__link:hover .ubd-dept__arrow { transform: translateX(0); opacity: 1; }
.ubd-dept__flyer { position: absolute; left: 12px; bottom: -11px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--red); font-size: 11px; font-weight: 800; border: 1px solid var(--line); box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s; }
.ubd-dept:hover .ubd-dept__flyer { opacity: 1; }
.ubd-dept-cta { margin-top: 30px; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.ubd-dept-cta__icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); flex: none; }
.ubd-dept-cta__text { display: flex; flex-direction: column; }
.ubd-dept-cta__text strong { font-family: var(--font-head); font-size: 17px; }
.ubd-dept-cta__text span { color: var(--muted); font-size: 14px; }
.ubd-dept-cta__actions { margin-left: auto; display: flex; gap: 10px; }

/* =========================================================================
   Promo banners
   ========================================================================= */
.ubd-promo-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ubd-promo__link { position: relative; display: flex; align-items: stretch; justify-content: space-between; min-height: 200px; height: 100%; border-radius: var(--radius); overflow: hidden; color: #fff; padding: 22px 0 22px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.ubd-promo__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.ubd-promo--navy .ubd-promo__link { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); }
.ubd-promo--red .ubd-promo__link { background: linear-gradient(135deg, var(--red-700), var(--red)); }
.ubd-promo--sky .ubd-promo__link { background: linear-gradient(135deg, #0b4aa8, #2f7de1); }
.ubd-promo--gradient .ubd-promo__link { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 45%, var(--red) 130%); }
.ubd-promo--dark .ubd-promo__link { background: linear-gradient(135deg, #1b2130, #2f3747); }
.ubd-promo__link::before { content: ""; position: absolute; right: -40px; top: -40px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ubd-promo__badge { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; color: var(--red); font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.ubd-promo__text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; flex: 1; min-width: 0; padding-right: 8px; }
.ubd-promo__kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.ubd-promo__highlight { font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -.02em; }
.ubd-promo__title { font-family: var(--font-head); font-weight: 800; font-size: 16px; margin-top: 4px; }
.ubd-promo__sub { font-size: 13px; opacity: .85; }
.ubd-promo__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ubd-promo__img { position: relative; z-index: 1; width: 40%; display: flex; align-items: center; justify-content: flex-end; padding-right: 16px; }
.ubd-promo__img img { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 4px solid rgba(255, 255, 255, .95); box-shadow: 0 14px 28px rgba(0, 0, 0, .35); transform: rotate(-6deg); transition: transform .3s; }
.ubd-promo__link:hover .ubd-promo__img img { transform: rotate(0) scale(1.04); }

/* =========================================================================
   Flyer banner
   ========================================================================= */
.ubd-flyer-banner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%); color: #fff; padding: 40px 48px; overflow: hidden; position: relative; min-height: 300px; box-shadow: var(--shadow); }
.ubd-flyer-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(200, 0, 44, .35), transparent 45%), radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .08), transparent 40%); }
.ubd-flyer-banner:hover { color: #fff; }
.ubd-flyer-banner__text { position: relative; z-index: 1; }
.ubd-flyer-banner__badge { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.ubd-flyer-banner__text h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 10px; }
.ubd-flyer-banner__text p { color: #cdd7ec; max-width: 520px; margin-bottom: 22px; font-size: 16px; }
.ubd-flyer-banner__visual { position: relative; z-index: 1; min-height: 240px; }
.ubd-flyer-banner__visual > img { width: 100%; border-radius: var(--radius); }
.ubd-flyer-banner__pages { position: relative; height: 250px; }
.ubd-flyer-banner__page { position: absolute; width: 180px; background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); color: var(--ink); transition: transform .3s; }
.ubd-flyer-banner__page img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.ubd-flyer-banner__tag { position: absolute; top: 18px; left: 18px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 999px; }
.ubd-flyer-banner__name { display: block; font-family: var(--font-head); font-weight: 800; font-size: 13px; margin-top: 8px; }
.ubd-flyer-banner__page--0 { left: 0; top: 30px; transform: rotate(-8deg); z-index: 1; }
.ubd-flyer-banner__page--1 { left: 50%; top: 0; transform: translateX(-50%) rotate(2deg); z-index: 3; }
.ubd-flyer-banner__page--2 { right: 0; top: 36px; transform: rotate(9deg); z-index: 2; }
.ubd-flyer-banner:hover .ubd-flyer-banner__page--0 { transform: rotate(-12deg) translateY(-6px); }
.ubd-flyer-banner:hover .ubd-flyer-banner__page--1 { transform: translateX(-50%) rotate(0) translateY(-10px); }
.ubd-flyer-banner:hover .ubd-flyer-banner__page--2 { transform: rotate(13deg) translateY(-6px); }

/* =========================================================================
   Flyer offers carousel
   ========================================================================= */
.ubd-flyer-offers__box { border: 3px solid var(--red); border-radius: var(--radius-lg); padding: 28px 28px 24px; background: #fff; }
.ubd-carousel__nav { display: flex; gap: 8px; }
.ubd-carousel__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; transition: all .15s; }
.ubd-carousel__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.ubd-carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -8px; padding: 8px; }
.ubd-carousel::-webkit-scrollbar { display: none; }
.ubd-carousel__track { list-style: none; display: flex; gap: 16px; }
.ubd-offer-card { flex: 0 0 200px; scroll-snap-align: start; }
.ubd-offer-card > a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.ubd-offer-card > a:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.ubd-offer-card__img { position: relative; display: block; aspect-ratio: 1; background: var(--bg); }
.ubd-offer-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ubd-offer-card__badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 12px; padding: 5px 9px; border-radius: 999px; }
.ubd-offer-card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; flex: 1; }
.ubd-offer-card__name { font-family: var(--font-head); font-weight: 800; font-size: 14px; }
.ubd-offer-card__meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.ubd-offer-card__body .ubd-btn { margin-top: auto; }
.ubd-offer-card--all > a { background: var(--navy-50); border-style: dashed; border-color: var(--navy-100); }
.ubd-offer-card__all { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 24px 14px; height: 100%; color: var(--navy); }
.ubd-offer-card__all strong { font-family: var(--font-head); font-size: 15px; }
.ubd-offer-card__all > span { font-size: 12.5px; color: var(--muted); }

/* =========================================================================
   Product cards
   ========================================================================= */
.ubd-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ubd-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; height: 100%; }
.ubd-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ubd-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--bg); overflow: hidden; }
.ubd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ubd-card:hover .ubd-card__media img { transform: scale(1.04); }
.ubd-card__media .ubd-offer { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
.ubd-card--flyer .ubd-card__media .ubd-offer { max-width: calc(100% - 58px); }
.ubd-card__noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: #b4bccd; }
.ubd-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.ubd-card__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.ubd-card__title { font-size: 15px; margin: 0; line-height: 1.3; }
.ubd-card__title a { color: var(--ink); }
.ubd-card__title a:hover { color: var(--navy); }
.ubd-card__desc { font-size: 13px; color: var(--muted); margin: 0; }
.ubd-card__note { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--navy); margin: 0; }
.ubd-card__price { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 16px; }
.ubd-card__actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.ubd-card__actions .ubd-btn { flex: 1; }
/* Flyer mode */
.ubd-card--flyer { border-width: 2px; cursor: pointer; }
.ubd-card--flyer .ubd-card__media { aspect-ratio: 4 / 3.4; }
.ubd-card__select { position: absolute; top: 10px; right: 10px; z-index: 6; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: rgba(255, 255, 255, .9); color: transparent; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: all .15s; }
.ubd-card--flyer:hover .ubd-card__select { border-color: var(--navy); color: var(--navy-100); }
.ubd-card--flyer.is-selected { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(0, 44, 116, .15), var(--shadow); }
.ubd-card--flyer.is-selected .ubd-card__select { background: var(--navy); border-color: var(--navy); color: #fff; }
.ubd-card--flyer.is-selected .ubd-card__pick { background: var(--green); box-shadow: none; }
.ubd-card--flyer.is-selected .ubd-card__pick span::before { content: "✓ "; }
.ubd-card--flyer .ubd-card__title { font-size: 16px; }

/* =========================================================================
   About / areas / FAQ / CTA
   ========================================================================= */
.ubd-about { background: var(--bg); }
.ubd-about__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.ubd-about__visual > img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ubd-about__collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ubd-about__collage img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }
.ubd-about__collage img:nth-child(2) { transform: translateY(16px); }
.ubd-about__collage img:nth-child(3) { transform: translateY(-16px); }
.ubd-about__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); border: 4px solid var(--red); }
.ubd-about__text p { color: var(--muted); font-size: 17px; }
.ubd-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.ubd-stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; }
.ubd-stats strong { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1; }
.ubd-stats span { font-size: 13px; color: var(--muted); margin-top: 6px; }
.ubd-about__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.ubd-areas__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 40px; background: #fff; }
.ubd-areas__text p { color: var(--muted); }
.ubd-areas__address { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy) !important; }
.ubd-areas__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ubd-areas__list li { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: 13.5px; font-weight: 600; }
.ubd-areas__list .ubd-icon { color: var(--red); }

.ubd-faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.ubd-faq__head p { color: var(--muted); }
.ubd-accordion { display: flex; flex-direction: column; gap: 10px; }
.ubd-accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.ubd-accordion__item[open] { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.ubd-accordion__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-family: var(--font-head); font-weight: 700; font-size: 16px; cursor: pointer; color: var(--ink); }
.ubd-accordion__item summary::-webkit-details-marker { display: none; }
.ubd-accordion__item summary .ubd-icon { color: var(--red); transition: transform .2s; flex: none; }
.ubd-accordion__item[open] summary .ubd-icon { transform: rotate(180deg); }
.ubd-accordion__body { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.ubd-accordion__body p { margin: 0; }

.ubd-cta { background: linear-gradient(110deg, var(--red-700), var(--red) 55%, #e8294f); color: #fff; padding: 44px 0; }
.ubd-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ubd-cta__text h2 { color: #fff; margin-bottom: 6px; }
.ubd-cta__text p { margin: 0; color: #ffe1e7; max-width: 640px; }
.ubd-cta__actions { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }
.ubd-cta .ubd-btn--red { background: var(--navy-900); box-shadow: none; }
.ubd-cta .ubd-btn--red:hover { background: var(--navy); }

/* =========================================================================
   Footer
   ========================================================================= */
.ubd-footer { background: radial-gradient(circle at 0% 0%, #0a2f7e 0%, var(--navy-900) 45%, #04122f 100%); color: #c9d4ea; padding: 56px 0 24px; }
.ubd-footer a { color: #dbe4f5; }
.ubd-footer a:hover { color: #fff; }
.ubd-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ubd-footer__badge { display: inline-block; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #ffb3c0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; }
.ubd-footer__brand .ubd-logo img { height: 74px; width: auto; }
.ubd-footer__desc { margin: 16px 0 20px; font-size: 15px; line-height: 1.7; max-width: 560px; }
.ubd-footer__boxes { display: flex; gap: 14px; flex-wrap: wrap; }
.ubd-footer__box { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); min-width: 200px; color: #fff; }
.ubd-footer__box small { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9fb0d2; }
.ubd-footer__box strong { font-family: var(--font-head); font-size: 17px; color: #fff; }
a.ubd-footer__box:hover { border-color: var(--red); }
.ubd-footer__col h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.ubd-footer__links { list-style: none; }
.ubd-footer__links li { margin-bottom: 9px; }
.ubd-footer__links a { font-size: 15px; }
.ubd-footer__address { font-style: normal; font-size: 14.5px; line-height: 1.6; margin-bottom: 10px; color: #fff; }
.ubd-footer__hours { list-style: none; font-size: 14.5px; margin-bottom: 10px; }
.ubd-footer__support { font-size: 14px; color: #9fb0d2; }
.ubd-footer__social { list-style: none; display: flex; gap: 10px; margin-top: 12px; }
.ubd-footer__social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); display: inline-flex; align-items: center; justify-content: center; }
.ubd-footer__social a:hover { background: var(--red); border-color: var(--red); }
.ubd-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 14px; }
.ubd-footer__copy { margin: 0; }
.ubd-footer__payments { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.ubd-footer__payments li { background: #fff; color: var(--navy-900); font-family: var(--font-head); font-weight: 800; font-size: 12px; padding: 6px 12px; border-radius: 8px; letter-spacing: .02em; }

/* =========================================================================
   Page heads, breadcrumbs, prose
   ========================================================================= */
.ubd-page-head { padding: 26px 0 20px; }
.ubd-page-head--compact { padding-bottom: 12px; }
.ubd-page-head__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ubd-page-head__image { flex: 0 0 260px; }
.ubd-page-head__image img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }

/* Department / category banner — same format as the homepage slider (1600 × 540), content below it. */
.ubd-page-head--banner { padding-top: 18px; }
.ubd-page-head--banner .ubd-page-head__row { margin-top: 26px; }
.ubd-page-head--banner .ubd-page-head__text { max-width: 900px; }
.ubd-page-head--banner .ubd-page-title { margin-top: 0; }
.ubd-cat-banner { position: relative; margin-top: 14px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-50); aspect-ratio: 1600 / 540; }
.ubd-cat-banner > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ubd-cat-banner--auto { background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%); color: #fff; }
.ubd-cat-banner__bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) saturate(1.2); opacity: .28; }
.ubd-cat-banner__inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 0 6% 0 6%; }
.ubd-cat-banner__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; max-width: 60%; }
.ubd-cat-banner__copy strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 18px rgba(0, 27, 74, .4); }
.ubd-cat-banner__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: #dbe4f7; }
.ubd-eyebrow--light { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); }
.ubd-cat-banner__photo { position: relative; z-index: 2; flex: 0 0 auto; width: 26%; max-width: 420px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255, 255, 255, .85); box-shadow: var(--shadow-lg); }
.ubd-cat-banner__photo img { width: 100%; height: 100%; object-fit: cover; }
.ubd-page-title { margin: 6px 0 8px; }
.ubd-page-desc { color: var(--muted); max-width: 760px; }
.ubd-page-desc p:last-child { margin-bottom: 0; }
.ubd-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.ubd-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #aab3c5; }
.ubd-breadcrumbs a { color: var(--muted); }
.ubd-breadcrumbs a:hover { color: var(--navy); }
.ubd-breadcrumbs span { color: var(--ink); font-weight: 600; }
.ubd-prose { max-width: 820px; font-size: 17px; line-height: 1.75; padding-bottom: 56px; }
.ubd-prose--page { padding-top: 6px; }
.ubd-prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.ubd-prose h3 { margin-top: 1.4em; }
.ubd-prose ul, .ubd-prose ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.ubd-prose li { margin-bottom: .4em; }
.ubd-prose a { text-decoration: underline; text-underline-offset: 3px; }
.ubd-prose__thumb img { border-radius: var(--radius); margin-bottom: 24px; }
.ubd-prose blockquote { border-left: 4px solid var(--red); margin: 1.4em 0; padding: .4em 1.2em; background: var(--bg); border-radius: 0 8px 8px 0; }
.ubd-prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.ubd-prose th, .ubd-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.ubd-prose th { background: var(--navy-50); }
.ubd-prose img { border-radius: var(--radius-sm); }
.wp-block-image img { border-radius: var(--radius-sm); }
.ubd-empty { text-align: center; padding: 60px 20px; color: var(--muted); max-width: 640px; margin: 0 auto; }
.ubd-empty .ubd-icon { color: var(--navy-100); margin-bottom: 10px; }
.ubd-empty h1, .ubd-empty h2 { margin-bottom: 8px; }
.ubd-empty__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.ubd-empty--tall { padding: 80px 20px; }
.ubd-404__code { display: block; font-family: var(--font-head); font-weight: 800; font-size: 96px; line-height: 1; color: var(--navy-100); }
.ubd-404__search { max-width: 520px; margin: 20px auto 8px; }

/* =========================================================================
   Flyers page
   ========================================================================= */
.ubd-flyers__how { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--green-50); color: var(--green); font-size: 14px; font-weight: 600; }
.ubd-flyers__layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding-bottom: 60px; align-items: start; }
.ubd-flyers__sidebar { position: sticky; top: 16px; }
.ubd-flyers__sidebar-toggle { display: none; }
.ubd-flyers__depts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ubd-flyers__sidebar-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 16px 8px; margin: 0; }
.ubd-flyers__list { list-style: none; }
.ubd-flyers__list a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--ink); border-left: 3px solid transparent; transition: background .15s; }
.ubd-flyers__list a:hover { background: var(--navy-50); color: var(--navy); }
.ubd-flyers__list li.is-active a { background: var(--navy-50); color: var(--navy); border-left-color: var(--red); font-weight: 700; }
.ubd-flyers__icon { width: 32px; height: 32px; border-radius: 9px; background: var(--bg); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ubd-flyers__list li.is-active .ubd-flyers__icon { background: var(--navy); color: #fff; }
.ubd-flyers__name { display: flex; flex-direction: column; font-size: 14px; line-height: 1.2; }
.ubd-flyers__name small { font-size: 11px; color: var(--red); font-weight: 700; margin-top: 2px; }
.ubd-flyers__chev { margin-left: auto; color: #b4bccd; }
.ubd-flyers__help { padding: 16px; border-top: 1px solid var(--line); background: var(--bg); font-size: 14px; }
.ubd-flyers__help strong { font-family: var(--font-head); display: block; margin-bottom: 4px; }
.ubd-flyers__help p { color: var(--muted); margin-bottom: 10px; font-size: 13px; }

/* Flyers overview: one full-width banner per department (same 1600 × 540 format as the hero slider), stacked. */
.ubd-flyer-depts { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 14px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.ubd-flyer-depts__chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: border-color .15s, box-shadow .15s; }
.ubd-flyer-depts__chip:hover { border-color: var(--navy); color: var(--navy); box-shadow: var(--shadow-sm); }
.ubd-flyer-depts__chip small { display: block; font-size: 11px; color: var(--red); font-weight: 700; line-height: 1.1; }
.ubd-flyer-depts__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-50); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ubd-flyer-stack { display: grid; gap: 26px; }
.ubd-flyer-stack__help { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 30px 0 60px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.ubd-flyer-stack__help strong { font-family: var(--font-head); font-size: 18px; display: block; margin-bottom: 4px; }
.ubd-flyer-stack__help p { margin: 0; color: var(--muted); font-size: 14px; max-width: 640px; }
.ubd-flyer-stack__help-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.ubd-flyer-hero { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.ubd-flyer-hero:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ubd-flyer-hero .ubd-cat-banner { margin-top: 0; border-radius: 0; box-shadow: none; }
.ubd-cat-banner__link { display: block; width: 100%; height: 100%; }
.ubd-cat-banner--auto .ubd-cat-banner__link { position: absolute; inset: 0; z-index: 3; }
.ubd-flyer-hero .ubd-cat-banner > .ubd-cat-banner__link > img, .ubd-flyer-hero .ubd-cat-banner > img { transition: transform .5s ease; }
.ubd-flyer-hero:hover .ubd-cat-banner img { transform: scale(1.02); }
.ubd-flyer-hero__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.ubd-flyer-hero__info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ubd-flyer-hero__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.ubd-flyer-hero__title { margin: 0; font-size: 18px; line-height: 1.2; }
.ubd-flyer-hero__title a { color: var(--ink); }
.ubd-flyer-hero__title a:hover { color: var(--red); }
.ubd-flyer-hero__meta { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.ubd-flyer-hero__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.ubd-flyer-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ubd-flyer-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 13.5px; }
.ubd-flyer-tabs a:hover { border-color: var(--navy); color: var(--navy); }
.ubd-flyer-tabs__num { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }

.ubd-flyer-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 28px; scroll-margin-top: 20px; }
.ubd-flyer-sheet__head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px 24px; background: linear-gradient(100deg, var(--navy-900), var(--navy) 70%, var(--navy-700)); color: #fff; }
.ubd-flyer-sheet__brand { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, .2); }
.ubd-flyer-sheet__brand img { height: 46px; width: auto; }
.ubd-flyer-sheet__page { font-size: 11px; color: #9fb0d2; white-space: nowrap; }
.ubd-flyer-sheet__badge { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.ubd-flyer-sheet__titles h2 { color: #fff; font-size: 1.4rem; margin: 0 0 4px; }
.ubd-flyer-sheet__titles p { color: #cdd7ec; font-size: 14px; margin: 0; max-width: 640px; }
.ubd-flyer-sheet__valid { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ubd-flyer-grid { display: grid; gap: 16px; padding: 20px; background: repeating-linear-gradient(45deg, #fff 0 12px, #fbfcfe 12px 24px); }
.ubd-flyer-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ubd-flyer-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ubd-flyer-sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); background: #fff; }
.ubd-flyer-sheet__foot > span { display: inline-flex; align-items: center; gap: 6px; }

/* Sticky selection bar */
.ubd-selectbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 27, 74, .15); transform: translateY(100%); transition: transform .25s ease; }
.ubd-selectbar.is-visible { transform: translateY(0); }
.ubd-selectbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.ubd-selectbar__info { display: flex; align-items: center; gap: 10px; }
.ubd-selectbar__count { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.ubd-selectbar__label { font-weight: 700; }
.ubd-selectbar__thumbs { display: flex; margin-left: 10px; }
.ubd-selectbar__thumbs img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-sm); margin-left: -8px; }
.ubd-selectbar__actions { display: flex; align-items: center; gap: 12px; }
.ubd-selectbar__clear { background: none; border: 0; color: var(--muted); font-weight: 600; text-decoration: underline; }
body.ubd-selectbar-open { padding-bottom: 90px; }

/* =========================================================================
   Modal + quote form
   ========================================================================= */
.ubd-modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; }
.ubd-modal.is-open { visibility: visible; }
.ubd-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 17, 48, .6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; }
.ubd-modal.is-open .ubd-modal__backdrop { opacity: 1; }
.ubd-modal__dialog { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 40px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(16px) scale(.98); opacity: 0; transition: all .22s ease; display: flex; }
.ubd-modal.is-open .ubd-modal__dialog { transform: none; opacity: 1; }
.ubd-modal__close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.ubd-modal__close:hover { background: var(--red); color: #fff; }
.ubd-modal__body { width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; }

.ubd-quote { display: grid; grid-template-columns: 320px 1fr; min-height: 420px; }
.ubd-quote__list { background: var(--bg); border-right: 1px solid var(--line); padding: 24px 20px; display: flex; flex-direction: column; }
.ubd-quote__list h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 6px; }
.ubd-quote__count { margin-left: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.ubd-quote__hint { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.ubd-quote__items { list-style: none; display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; }
.ubd-quote__item { display: grid; grid-template-columns: auto 44px 1fr auto; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.ubd-quote__item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy); }
.ubd-quote__item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.ubd-quote__item-name { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.ubd-quote__item-offer { display: block; font-size: 11px; color: var(--red); font-weight: 700; }
.ubd-quote__item-remove { background: none; border: 0; color: #b4bccd; padding: 4px; }
.ubd-quote__item-remove:hover { color: var(--red); }
.ubd-quote__item.is-unchecked { opacity: .5; }
.ubd-quote__empty { font-size: 13.5px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 10px; padding: 14px; }
.ubd-quote__list-actions { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.ubd-quote__clear { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; }
.ubd-quote__form-wrap { padding: 28px 30px; }
.ubd-quote__title { font-size: 1.5rem; margin-bottom: 4px; }
.ubd-quote__sub { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

.ubd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ubd-form__field { display: flex; flex-direction: column; gap: 5px; }
.ubd-form__field--full { grid-column: 1 / -1; }
.ubd-form__field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.ubd-form__field label > span { color: var(--red); }
.ubd-form__optional { color: var(--muted) !important; font-weight: 500 !important; }
.ubd-form input[type="text"], .ubd-form input[type="email"], .ubd-form input[type="tel"], .ubd-form select, .ubd-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ubd-form input:focus, .ubd-form select:focus, .ubd-form textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 44, 116, .12); }
.ubd-form .is-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(200, 0, 44, .12) !important; }
.ubd-form__check label { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; font-size: 13.5px; color: var(--muted); }
.ubd-form__check input { margin-top: 3px; accent-color: var(--navy); }
.ubd-form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.ubd-form__error { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--red-50); color: var(--red); font-size: 14px; font-weight: 600; }
.ubd-form__actions { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.ubd-form__note { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--muted); }
.ubd-form__note .ubd-icon { color: var(--green); }
.ubd-quote__success { text-align: center; padding: 40px 20px; }
.ubd-quote__success-icon { color: var(--green); margin-bottom: 10px; }
.ubd-quote__success p { color: var(--muted); max-width: 480px; margin: 0 auto 20px; }
.ubd-quote__success-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Quote page */
.ubd-quote-page__box { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 36px; }
.ubd-quote--inline .ubd-quote__form-wrap { padding: 28px; }
.ubd-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 60px; }
.ubd-steps li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n t" "n d"; column-gap: 14px; background: var(--bg); border-radius: var(--radius); padding: 18px; }
.ubd-steps li span { grid-area: n; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.ubd-steps li strong { grid-area: t; font-family: var(--font-head); }
.ubd-steps li em { grid-area: d; font-style: normal; font-size: 14px; color: var(--muted); }

/* Contact page */
.ubd-contact__layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; padding-bottom: 60px; align-items: start; }
.ubd-contact__info { display: grid; gap: 12px; }
.ubd-contact__card { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
a.ubd-contact__card:hover { border-color: var(--navy); color: var(--ink); }
.ubd-contact__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ubd-contact__card small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ubd-contact__card strong { display: block; font-family: var(--font-head); font-size: 16px; }
.ubd-contact__card em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.ubd-contact__map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }
.ubd-contact__form { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.ubd-contact__form > p { color: var(--muted); font-size: 14.5px; }

/* Departments page */
.ubd-dept-list { display: flex; flex-direction: column; gap: 18px; padding-bottom: 60px; }
.ubd-dept-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; background: #fff; scroll-margin-top: 20px; }
.ubd-dept-row__img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.ubd-dept-row__img img { width: 100%; height: 100%; object-fit: cover; }
.ubd-dept-row__img .ubd-offer { position: absolute; top: 10px; left: 10px; }
.ubd-dept-row__body h2 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin-bottom: 8px; }
.ubd-dept-row__body h2 a { color: var(--ink); }
.ubd-dept-row__body h2 small { font-size: 13px; color: var(--muted); font-weight: 500; }
.ubd-dept-row__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ubd-dept-row__body p { color: var(--muted); font-size: 15px; }
.ubd-dept-row__actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* Blog */
.ubd-blog__layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-bottom: 60px; }
.ubd-blog__layout:not(:has(.ubd-sidebar)) { grid-template-columns: 1fr; }
.ubd-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ubd-post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ubd-post-card__media { display: block; aspect-ratio: 16/10; background: var(--bg); }
.ubd-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ubd-post-card__noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: #b4bccd; }
.ubd-post-card__body { padding: 16px 18px 18px; }
.ubd-post-card__title { font-size: 1.15rem; }
.ubd-post-card__title a { color: var(--ink); }
.ubd-post-meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ubd-sidebar .widget { background: var(--bg); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.ubd-sidebar .widget ul { list-style: none; }
.ubd-sidebar .widget li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.ubd-pagination { margin-top: 30px; }
.ubd-pagination .nav-links { display: flex; gap: 6px; justify-content: center; }
.ubd-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.ubd-pagination .page-numbers.current, .ubd-pagination .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.ubd-post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; }
.ubd-comments { margin-top: 40px; }
.ubd-comments__list { list-style: none; }
.ubd-comments .comment-body { background: var(--bg); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.ubd-comments .comment-form input[type="text"], .ubd-comments .comment-form input[type="email"], .ubd-comments .comment-form input[type="url"], .ubd-comments .comment-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ubd-comments .submit { background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; }

/* Toast + back to top */
.ubd-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(10px); z-index: 1400; background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transition: all .2s; pointer-events: none; display: flex; align-items: center; gap: 8px; }
.ubd-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.ubd-toast .ubd-icon { color: #4ade80; }
.ubd-backtotop { position: fixed; right: 22px; bottom: 22px; z-index: 700; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .2s; }
.ubd-backtotop.is-visible { opacity: 1; visibility: visible; }
.ubd-backtotop:hover { background: var(--red); }
body.ubd-selectbar-open .ubd-backtotop { bottom: 100px; }

/* =========================================================================
   WooCommerce
   ========================================================================= */
.ubd-shop .woocommerce-notices-wrapper { margin-bottom: 10px; }
.ubd-shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--bg); border-radius: 12px; margin: 10px 0 22px; }
.ubd-shop-bar .woocommerce-result-count { margin: 0; color: var(--muted); font-size: 14px; }
.ubd-shop-bar .woocommerce-ordering { margin: 0; }
.ubd-shop-bar .woocommerce-ordering select { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 32px 8px 14px; background: #fff; font-size: 14px; }
.ubd-shop ul.products { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 30px; padding: 0; }
.ubd-shop ul.products::before, .ubd-shop ul.products::after { display: none; }
.ubd-shop ul.products li.product { width: auto; margin: 0; float: none; }
.woocommerce-pagination ul.page-numbers { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 10px 0 50px; border: 0; }
.woocommerce-pagination ul.page-numbers li { border: 0; }
.woocommerce-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.woocommerce-pagination .page-numbers.current, .woocommerce-pagination .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Single product */
.ubd-shop div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.ubd-shop div.product div.woocommerce-product-gallery, .woocommerce .ubd-shop div.product div.woocommerce-product-gallery { position: relative; width: 100% !important; float: none; margin: 0; }
.ubd-shop div.product .woocommerce-product-gallery__wrapper { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.ubd-shop div.product .woocommerce-product-gallery img { width: 100%; }
.ubd-shop div.product .flex-control-thumbs { list-style: none; display: flex; gap: 8px; margin-top: 10px; padding: 0; }
.ubd-shop div.product .flex-control-thumbs li { width: 80px; }
.ubd-shop div.product .flex-control-thumbs img { border-radius: 8px; border: 2px solid transparent; cursor: pointer; opacity: .7; }
.ubd-shop div.product .flex-control-thumbs img.flex-active, .ubd-shop div.product .flex-control-thumbs img:hover { border-color: var(--navy); opacity: 1; }
.ubd-shop div.product .woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 9; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.ubd-shop div.product div.summary, .woocommerce .ubd-shop div.product div.summary { width: 100%; float: none; clear: none; margin: 0; }
.ubd-shop div.product .product_title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: 8px; }
.ubd-shop div.product .woocommerce-product-details__short-description { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.ubd-shop div.product .product_meta { font-size: 13.5px; color: var(--muted); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ubd-shop div.product .product_meta > span { display: block; margin-bottom: 4px; }
.ubd-single-actions { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin: 8px 0 18px; }
.ubd-single-note { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--navy); font-weight: 600; margin: 10px 0 0; }
.ubd-single-pricing { font-size: 14.5px; color: var(--muted); margin: 10px 0 14px; }
.ubd-single-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.ubd-single-call { margin: 14px 0 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ubd-single-call a { font-weight: 700; }
.ubd-single-flyer { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--red); }
.ubd-single-trust { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.ubd-single-trust li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ubd-single-trust .ubd-icon { color: var(--green); }
.ubd-shop div.product .woocommerce-tabs { grid-column: 1 / -1; }
.ubd-shop div.product .woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.ubd-shop div.product .woocommerce-tabs ul.tabs::before, .ubd-shop div.product .woocommerce-tabs ul.tabs li::before, .ubd-shop div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.ubd-shop div.product .woocommerce-tabs ul.tabs li { border: 0; background: none; margin: 0; padding: 0; border-radius: 0; }
.ubd-shop div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; font-family: var(--font-head); font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; }
.ubd-shop div.product .woocommerce-tabs ul.tabs li.active a { color: var(--navy); border-bottom-color: var(--red); }
.ubd-shop div.product .woocommerce-tabs .panel { max-width: 860px; font-size: 16px; line-height: 1.75; }
.ubd-shop div.product .woocommerce-tabs .panel h2 { font-size: 1.3rem; }
.ubd-shop div.product section.related, .ubd-shop div.product section.up-sells { grid-column: 1 / -1; margin-top: 10px; }
.ubd-shop div.product section.related > h2, .ubd-shop div.product section.up-sells > h2 { margin-bottom: 18px; }
.ubd-shop .woocommerce-product-gallery .ubd-offer--on-image { font-size: 13px; }

/* Cart / checkout / account — light polish */
.ubd-shop .woocommerce-cart-form table, .woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--navy); color: #fff; border-radius: 999px; font-weight: 700; padding: 12px 22px; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--navy-700); color: #fff; }
.woocommerce button.button.alt, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt { background: var(--red); }
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--red-700); }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error { border-top-color: var(--navy); border-radius: 10px; }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--navy); }
.woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--navy-50); color: var(--navy); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ubd-page .woocommerce { padding-bottom: 50px; }


/* =========================================================================
   Custom pages: About, Services, Contractors, Service Areas, Sitemap
   ========================================================================= */
.ubd-lead { font-size: 17.5px; }
.ubd-page-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.ubd-prose--inline { padding-bottom: 0; max-width: none; font-size: 16.5px; }
.ubd-prose--inline h2 { margin-top: 0; }
.ubd-feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ubd-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.ubd-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ubd-feature__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ubd-feature__icon--red { background: var(--red); }
.ubd-feature h3, .ubd-feature__title { font-size: 17px; margin-bottom: 6px; }
.ubd-feature p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ubd-values { background: var(--bg); }
.ubd-dept-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.ubd-dept-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; }
.ubd-dept-chips a:hover { border-color: var(--navy); color: var(--navy); }
.ubd-dept-chips .ubd-icon { color: var(--red); }

.ubd-service-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 10px 0 10px; }
.ubd-service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.ubd-service__head { display: flex; align-items: center; gap: 14px; }
.ubd-service__head h2 { font-size: 1.2rem; margin: 0; }
.ubd-service__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-50); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ubd-service p { margin: 0; color: var(--muted); }
.ubd-service__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ubd-service__points li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ubd-service__points .ubd-icon { color: var(--green); }
.ubd-service__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.ubd-process { background: var(--bg); }
.ubd-process__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.ubd-process__steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.ubd-process__num { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.ubd-process__steps strong { display: block; font-family: var(--font-head); font-size: 16px; margin-bottom: 4px; }
.ubd-process__steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

.ubd-trade-who { background: var(--navy-900); color: #fff; }
.ubd-trade-who__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.ubd-trade-who .ubd-section-title { color: #fff; }
.ubd-trade-who p { color: #c9d4ea; }
.ubd-trade-who .ubd-eyebrow { background: rgba(255, 255, 255, .1); color: #ffb3c0; }
.ubd-check-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.ubd-check-grid li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ubd-check-grid .ubd-icon { color: #4ade80; flex: none; }
.ubd-trade-form__layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: start; }
.ubd-trade-form__side p { color: var(--muted); }
.ubd-steps--compact { grid-template-columns: 1fr; padding-bottom: 0; gap: 12px; }

.ubd-zone-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 4px 0 26px; font-size: 14px; color: var(--muted); }
.ubd-zone-legend li { display: inline-flex; align-items: center; gap: 8px; }
.ubd-zone { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.ubd-zone--a { background: var(--navy); }
.ubd-zone--b { background: var(--red); }
.ubd-area-group { margin-bottom: 34px; }
.ubd-area-group h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ubd-city-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ubd-city { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 20px; }
.ubd-city h3 { font-size: 17px; margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ubd-city h3 small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.ubd-city p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.ubd-city .ubd-link-arrow { background: none; border: 0; padding: 0; font-size: 14px; cursor: pointer; }
.ubd-areas-page .ubd-areas__list { margin-top: 4px; }

.ubd-sitemap { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 30px; padding-bottom: 60px; }
.ubd-sitemap__col h2 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; padding-bottom: 10px; border-bottom: 2px solid var(--red); margin-bottom: 14px; }
.ubd-sitemap__col > ul { list-style: none; }
.ubd-sitemap__col > ul > li { padding: 5px 0; }
.ubd-sitemap__depts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.ubd-sitemap__depts > li { padding: 8px 0 !important; }
.ubd-sitemap__depts ul { list-style: none; padding-left: 14px; margin-top: 4px; }
.ubd-sitemap__depts ul li { font-size: 14px; padding: 2px 0; }
.ubd-sitemap__depts ul a { color: var(--muted); }
.ubd-sitemap__flyer { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 800; color: var(--red); background: var(--red-50); padding: 2px 8px; border-radius: 999px; }
.ubd-footer__bottom-left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.ubd-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.ubd-footer__legal a { color: #9fb0d2; }
.ubd-footer__legal a:hover { color: #fff; }
.ubd-deletion-page .ubd-contact__layout { padding-bottom: 60px; }

@media (max-width: 1024px) {
	.ubd-feature-grid { grid-template-columns: repeat(2, 1fr); }
	.ubd-process__steps { grid-template-columns: repeat(2, 1fr); }
	.ubd-trade-who__inner, .ubd-trade-form__layout { grid-template-columns: 1fr; }
	.ubd-city-grid { grid-template-columns: repeat(2, 1fr); }
	.ubd-sitemap { grid-template-columns: 1fr 1fr; }
	.ubd-sitemap__col--wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.ubd-feature-grid, .ubd-service-grid, .ubd-process__steps, .ubd-city-grid, .ubd-check-grid, .ubd-sitemap, .ubd-sitemap__depts { grid-template-columns: 1fr; }
	.ubd-service { padding: 18px; }
	.ubd-service__actions { flex-direction: column; align-items: flex-start; }
	.ubd-footer__bottom-left { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
	.ubd-header__row, .ubd-nav__inner { --header-left: 190px; }
	.ubd-nav__list { padding-left: 0; }
	.ubd-header__action-text { display: none; }
	.ubd-header__phone .ubd-header__action-text { display: flex; }
	.ubd-mega__grid { grid-template-columns: repeat(4, 1fr); }
	.ubd-dept-grid { grid-template-columns: repeat(4, 1fr); }
	.ubd-product-grid, .ubd-shop ul.products, .ubd-flyer-grid--4 { grid-template-columns: repeat(3, 1fr); }
	.ubd-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
}

@media (max-width: 1024px) {
	:root { --header-h: 64px; }
	.ubd-topbar__hours { display: none; }
	.ubd-header__search { display: none; }
	.ubd-header__search--mobile { display: block; }
	.ubd-header__row { min-height: 78px; gap: 14px; }
	.ubd-header__brand { width: auto; }
	.ubd-nav__list { padding-left: 0; }
	.ubd-header__brand .ubd-logo img, .ubd-header__brand .custom-logo { height: 54px; }
	.ubd-header__tagline { display: none; }
	.ubd-header__phone .ubd-header__action-text { display: none; }
	.ubd-header__burger { display: inline-flex; }
	.ubd-nav { display: none; }
	.ubd-trust { margin-top: 20px; }
	.ubd-trust__list { grid-template-columns: repeat(2, 1fr); }
	.ubd-trust__item:nth-child(3)::before { display: none; }
	.ubd-trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.ubd-dept-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
	.ubd-promo-grid { grid-template-columns: repeat(2, 1fr); }
	.ubd-flyer-banner { grid-template-columns: 1fr; padding: 32px; }
	.ubd-flyer-banner__visual { display: none; }
	.ubd-about__inner, .ubd-areas__inner, .ubd-faq__inner, .ubd-contact__layout { grid-template-columns: 1fr; gap: 28px; }
	.ubd-about__visual { max-width: 520px; }
	.ubd-footer__top { grid-template-columns: 1fr 1fr; }
	.ubd-footer__brand { grid-column: 1 / -1; }
	.ubd-flyers__layout { grid-template-columns: 1fr; }
	.ubd-flyers__sidebar { position: static; }
	.ubd-flyers__sidebar-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); }
	.ubd-flyers__sidebar-toggle .ubd-flyers__caret { margin-left: auto; transition: transform .2s; }
	.ubd-flyers__sidebar-toggle[aria-expanded="true"] .ubd-flyers__caret { transform: rotate(180deg); }
	.ubd-flyers__depts { display: none; margin-top: 10px; }
	.ubd-flyers__sidebar.is-open .ubd-flyers__depts { display: block; }
	.ubd-flyers__list { display: grid; grid-template-columns: 1fr 1fr; }
	.ubd-flyers__help { display: none; }
	.ubd-flyer-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.ubd-flyer-sheet__head { grid-template-columns: 1fr; gap: 10px; }
	.ubd-flyer-sheet__brand { flex-direction: row; border-right: 0; padding-right: 0; gap: 10px; }
	.ubd-flyer-sheet__brand img { height: 36px; }
	.ubd-quote { grid-template-columns: 1fr; }
	.ubd-quote__list { border-right: 0; border-bottom: 1px solid var(--line); }
	.ubd-quote__items { max-height: 200px; }
	.ubd-modal { padding: 10px; }
	.ubd-modal__dialog, .ubd-modal__body { max-height: calc(100vh - 20px); }
	.ubd-shop div.product { grid-template-columns: 1fr; gap: 24px; }
	.ubd-steps { grid-template-columns: 1fr; }
	.ubd-blog__layout { grid-template-columns: 1fr; }
	.ubd-dept-row { grid-template-columns: 160px 1fr; }
	.ubd-page-head__image { display: none; }
	.ubd-cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 15px; }
	.ubd-section { padding: 40px 0; }
	.ubd-topbar__inner { justify-content: center; }
	.ubd-topbar__promo, .ubd-topbar__sep { display: none; }
	.ubd-topbar__links li:not(:last-child) { display: none; }
	.ubd-header__actions .ubd-header__action:not(.ubd-open-quote-list) { display: none; }
	.ubd-header__icon { width: 40px; height: 40px; }
	.ubd-hero { padding-top: 14px; }
	.ubd-slider { border-radius: 14px; }
	.ubd-cat-banner { border-radius: 14px; margin-top: 10px; }
	.ubd-page-head--banner .ubd-page-head__row { margin-top: 18px; }
	.ubd-cat-banner__inner { padding: 0 5%; gap: 16px; }
	.ubd-cat-banner__copy .ubd-eyebrow { font-size: 10px; padding: 4px 9px; margin-bottom: 6px; }
	.ubd-cat-banner__meta { display: none; }
	.ubd-cat-banner__photo { width: 28%; border-width: 3px; }
	.ubd-slider__arrow { opacity: 1; width: 36px; height: 36px; }
	.ubd-slider__arrow--prev { left: 8px; }
	.ubd-slider__arrow--next { right: 8px; }
	.ubd-trust__list { grid-template-columns: 1fr; }
	.ubd-trust__item { padding: 14px 16px; border-top: 1px solid var(--line); }
	.ubd-trust__item::before { display: none !important; }
	.ubd-section-head { flex-direction: column; align-items: flex-start; }
	.ubd-section-head--center { align-items: center; }
	.ubd-dept-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.ubd-dept__body { padding: 12px; }
	.ubd-dept__name { font-size: 13.5px; }
	.ubd-dept__icon { width: 30px; height: 30px; }
	.ubd-dept__arrow { display: none; }
	.ubd-dept-cta { flex-direction: column; align-items: flex-start; }
	.ubd-dept-cta__actions { margin-left: 0; }
	.ubd-promo-grid { grid-template-columns: 1fr; }
	.ubd-promo__link { min-height: 170px; }
	.ubd-flyer-banner { padding: 26px 22px; }
	.ubd-flyer-offers__box { padding: 20px 14px 16px; }
	.ubd-offer-card { flex-basis: 170px; }
	.ubd-product-grid, .ubd-shop ul.products, .ubd-flyer-grid--4, .ubd-flyer-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.ubd-flyer-stack { gap: 16px; }
	.ubd-flyer-hero { border-radius: 14px; }
	.ubd-flyer-stack__help { flex-direction: column; align-items: flex-start; padding: 18px; margin: 20px 0 40px; }
	.ubd-flyer-stack__help-actions { width: 100%; flex-wrap: wrap; }
	.ubd-flyer-stack__help-actions .ubd-btn { flex: 1 1 auto; justify-content: center; }
	.ubd-flyer-hero__bar { flex-wrap: wrap; padding: 12px 14px; }
	.ubd-flyer-hero__actions { width: 100%; justify-content: space-between; }
	.ubd-flyer-hero__title { font-size: 16px; }
	.ubd-card__body { padding: 10px 10px 12px; }
	.ubd-card__title { font-size: 14px; }
	.ubd-card--flyer .ubd-card__title { font-size: 14px; }
	.ubd-card__actions { flex-wrap: wrap; }
	.ubd-card__desc { display: none; }
	.ubd-flyer-grid { padding: 12px; }
	.ubd-flyer-sheet__foot { flex-direction: column; align-items: flex-start; }
	.ubd-flyers__list { grid-template-columns: 1fr; }
	.ubd-selectbar__label, .ubd-selectbar__thumbs { display: none; }
	.ubd-selectbar__inner { min-height: 68px; }
	.ubd-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.ubd-stats strong { font-size: 22px; }
	.ubd-stats li { padding: 12px; }
	.ubd-areas__inner { padding: 22px 18px; }
	.ubd-footer__top { grid-template-columns: 1fr; gap: 26px; }
	.ubd-footer__bottom { flex-direction: column; align-items: flex-start; }
	.ubd-form__grid { grid-template-columns: 1fr; }
	.ubd-quote__form-wrap { padding: 20px 16px; }
	.ubd-quote__list { padding: 18px 16px; }
	.ubd-dept-row { grid-template-columns: 1fr; }
	.ubd-dept-row__img { max-width: 220px; }
	.ubd-post-grid { grid-template-columns: 1fr; }
	.ubd-cta { padding: 34px 0; }
	.ubd-404__code { font-size: 72px; }
	.ubd-page-head__row { flex-direction: column; align-items: flex-start; }
}

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