/* =============================================================================
   AB Components supplying Nordfab Ducting - site theme (19 Nov 2026)
   Loaded AFTER css/main.css. One token set drives every colour.
   To change the brand colour: edit --accent / --accent-hover / --accent-soft / --on-accent.
     Signal orange (live): #c2410c / #a3360a / #fff1e8 / #fff
     Nordfab blue:         #0b5cad / #094a8c / #e8f1fb / #fff
     Safety yellow:        #f2b705 / #d9a404 / #fff8dc / #14171b
   Shape rule: cards/panels 12px, buttons + inputs 8px, chips/badges full pill.
   New components are prefixed ab- so they never collide with the template classes.
   ============================================================================= */
:root {
  --ink: #14171b; --graphite: #1f2329; --graphite-2: #2b3038;
  --steel-50: #f4f6f8; --steel-100: #eaedf1; --steel-200: #d8dde3; --steel-400: #98a1ad; --steel-600: #59626e;
  --text: #1a1e23; --surface: #ffffff;
  --accent: #c2410c; --accent-hover: #a3360a; --accent-soft: #fff1e8; --on-accent: #ffffff;
  --radius: 12px; --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(20 23 27 / .06), 0 8px 24px rgb(20 23 27 / .06);
  --shadow-lift: 0 2px 4px rgb(20 23 27 / .06), 0 16px 40px rgb(20 23 27 / .12);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

/* ---------- global base (overrides template Open Sans / PT Serif) ---------- */
body { font-family: var(--font) !important; color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; font-size: 15px; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font) !important; color: var(--text); letter-spacing: -.015em; }
a { transition: color .2s; }
a:hover { color: var(--accent-hover); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ab-mono, .list-value, .product-card .author { font-family: var(--mono); }
.ab-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.ab-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons (new + template) ---------- */
.ab-btn, .btn--primary, .btn-primary, .btn-outlined--primary, .btn-outlined, .place-order, .btn.btn--primary {
  border-radius: var(--radius-sm) !important; font-weight: 650 !important; font-family: var(--font) !important;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .1s ease-out !important;
}
.ab-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; line-height: 1; text-decoration: none; }
.ab-btn:active, .btn:active, .place-order:active { transform: scale(.97); }
.ab-btn-primary, .btn--primary, .btn-primary, .place-order { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--on-accent) !important; }
.ab-btn-primary:hover, .btn--primary:hover, .btn-primary:hover, .place-order:hover { background: var(--accent-hover) !important; border-color: var(--accent-hover) !important; color: var(--on-accent) !important; }
.btn-outlined--primary, .btn-outlined { background: transparent !important; border: 1.5px solid var(--accent) !important; color: var(--accent) !important; }
.btn-outlined--primary:hover, .btn-outlined:hover { background: var(--accent) !important; color: var(--on-accent) !important; }
.ab-btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.ab-btn-ghost:hover { background: rgb(255 255 255 / .1); color: inherit; }
.ab-btn-light { background: #fff; color: var(--ink); }
.ab-btn-light:hover { background: var(--steel-100); color: var(--ink); }
.ab-btn i { font-size: 18px; }
.ab-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--accent); }
.ab-link i { transition: transform .2s var(--ease); }
.ab-link:hover i { transform: translateX(3px); }

/* ---------- forms (template + new) ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], select, textarea, .form-control, .nice-select {
  border-radius: var(--radius-sm) !important; border-color: var(--steel-200) !important; font-family: var(--font);
}
input:focus, select:focus, textarea:focus, .form-control:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-soft) !important; outline: none; }

/* =============================================================================
   HEADER
   ============================================================================= */
.ab-topbar { background: var(--ink); color: #c9ced5; font-size: 13px; }
.ab-topbar .ab-container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.ab-topbar a { color: #c9ced5; } .ab-topbar a:hover { color: #fff; }
.ab-topbar .ab-contact { display: flex; gap: 22px; }
.ab-topbar i { color: var(--accent); margin-right: 6px; vertical-align: -2px; font-size: 15px; }

.ab-header { background: #fff; border-bottom: 1px solid var(--steel-200); }
.ab-header .ab-container { display: grid; grid-template-columns: 250px minmax(0, 1fr) auto; align-items: center; gap: 32px; min-height: 84px; }
.ab-logo img { height: 56px; width: auto; display: block; }
.ab-search { display: flex; height: 48px; border: 1.5px solid var(--steel-200); border-radius: var(--radius-sm); overflow: hidden; background: #fff; transition: border-color .2s; margin: 0; }
.ab-search:focus-within { border-color: var(--accent); }
.ab-search input[type="search"], .ab-search input[type="text"] { flex: 1; border: 0 !important; padding: 0 16px; min-width: 0; height: 100%; box-shadow: none !important; border-radius: 0 !important; background: transparent; font-size: 15px; }
.ab-search input::placeholder { color: #6b7480; }
.ab-search button { border: 0; background: var(--accent); color: var(--on-accent); width: 58px; cursor: pointer; font-size: 20px; transition: background-color .2s; }
.ab-search button:hover { background: var(--accent-hover); }
.ab-search-tip { margin: 4px 0 0 2px; font-size: 12px; color: var(--steel-600); }

.ab-actions { display: flex; gap: 22px; align-items: center; }
.ab-act { position: relative; }
.ab-act > .cart-total, .ab-act > .ab-act-btn { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--steel-600); line-height: 1.2; cursor: pointer; background: none; padding: 6px 0; }
.ab-act .ab-ico { position: relative; font-size: 27px; color: var(--text); display: inline-flex; }
.ab-act strong, .ab-act .account-name, .ab-act .price { display: block; color: var(--text); font-size: 14px; font-weight: 700; }
.ab-act .price i { display: none; }
.ab-act .text-number { position: absolute; top: -6px; right: -9px; min-width: 18px; height: 18px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; line-height: 1; }
.ab-drop {
  position: absolute; right: 0; top: calc(100% + 8px); width: 330px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: 14px; z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top right; transition: opacity .18s ease-out, transform .25s var(--ease), visibility 0s .18s;
}
.ab-act:hover > .ab-drop, .ab-act:focus-within > .ab-drop, .ab-act.is-open > .ab-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ab-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.ab-drop .account-dropdown-list { list-style: none; margin: 0; padding: 0; }
.ab-drop .account-dropdown-list a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--text); font-size: 14px; }
.ab-drop .account-dropdown-list a:hover { background: var(--steel-50); }
.ab-drop .account-dropdown-list .divider { height: 1px; background: var(--steel-200); margin: 6px 0; }
.ab-drop .btn-block { display: flex; gap: 8px; }
.ab-drop .btn-block .ab-btn { flex: 1; justify-content: center; height: 42px; font-size: 14px; }
.ab-drop .ab-btn-outline { border-color: var(--steel-200); color: var(--text); background: #fff; }
.ab-drop .ab-btn-outline:hover { border-color: var(--text); }
.ab-drop .cart-product { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--steel-100); font-size: 13.5px; }
.ab-drop .cart-product img { width: 56px; height: 56px; object-fit: contain; background: var(--steel-50); border-radius: 6px; }
.ab-drop .single-cart-block + .single-cart-block { margin-top: 10px; }
.ab-drop #cart-items-container, .ab-drop #cart-items-container-mobile { max-height: 320px; overflow: auto; }

/* nav bar */
.ab-navbar { background: var(--graphite); color: #fff; position: sticky; top: 0; z-index: 45; }
.ab-navbar .ab-container { display: flex; align-items: center; min-height: 54px; gap: 8px; position: relative; }
.ab-cat-trigger { width: 280px; height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: var(--accent); color: var(--on-accent); border: 0; font-weight: 700; cursor: pointer; flex-shrink: 0; font-size: 15px; }
.ab-cat-trigger .ab-chev { margin-left: auto; transition: transform .25s var(--ease); }
.ab-cat-trigger[aria-expanded="true"] .ab-chev { transform: rotate(180deg); }
.ab-mainnav { display: flex; gap: 2px; margin-left: 12px; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.ab-mainnav a { display: block; padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 550; color: #dfe3e8; transition: background-color .2s, color .2s; }
.ab-mainnav a:hover, .ab-mainnav a[aria-current="page"] { background: var(--graphite-2); color: #fff; }
.ab-navphone { margin-left: auto; color: #dfe3e8; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.ab-navphone:hover { color: #fff; }
.ab-navphone small { color: var(--steel-400); font-weight: 400; font-size: 13px; }
.ab-burger { display: none; background: none; border: 0; color: #fff; font-size: 26px; padding: 8px; margin-left: auto; cursor: pointer; }

/* category list: shared by navbar dropdown, homepage sidebar, mobile drawer */
.ab-catlist { list-style: none; margin: 0; padding: 6px; background: #fff; }
.ab-catlist > li { position: relative; }
.ab-catlist > li > a { display: grid; grid-template-columns: 34px 1fr auto 14px; align-items: center; gap: 12px; padding: 7px 12px; border-radius: var(--radius-sm); color: var(--text); font-weight: 550; font-size: 14.5px; transition: background-color .15s; }
.ab-catlist > li > a img { width: 34px; height: 34px; object-fit: contain; }
.ab-catlist .ab-count { font-size: 12px; color: var(--steel-400); font-family: var(--mono); }
.ab-catlist .ab-chev { color: var(--steel-400); font-size: 13px; }
.ab-catlist > li:hover > a, .ab-catlist > li:focus-within > a { background: var(--steel-50); color: var(--text); }
.ab-catlist > li:hover > a .ab-chev { color: var(--accent); }
.ab-flyout { position: absolute; left: calc(100% + 6px); top: -6px; width: 300px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: 14px; z-index: 60; opacity: 0; visibility: hidden; transform: scale(.97) translateX(-6px); transform-origin: left top; transition: opacity .18s ease-out, transform .25s var(--ease), visibility 0s .18s; }
.ab-catlist > li:hover > .ab-flyout, .ab-catlist > li:focus-within > .ab-flyout { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ab-flyout .ab-fly-title { margin: 0 0 8px; font-size: 13px; color: var(--steel-600); font-weight: 650; }
.ab-flyout a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 14px; color: var(--text); }
.ab-flyout a:hover { background: var(--accent-soft); color: var(--accent-hover); }
.ab-flyout a span { color: var(--steel-400); font-family: var(--mono); font-size: 12px; }
.ab-catdrop { position: absolute; top: 54px; left: 24px; width: 280px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lift); display: none; z-index: 55; }
.ab-catdrop.is-open { display: block; }

/* mobile drawer */
.ab-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.ab-drawer .ab-scrim { position: absolute; inset: 0; background: rgb(20 23 27 / .5); opacity: 0; transition: opacity .25s ease; }
.ab-drawer .ab-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); background: #fff; transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y: auto; display: flex; flex-direction: column; }
.ab-drawer.is-open { pointer-events: auto; }
.ab-drawer.is-open .ab-scrim { opacity: 1; }
.ab-drawer.is-open .ab-panel { transform: none; }
.ab-drawer .ab-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--steel-200); font-weight: 700; }
.ab-drawer .ab-close { border: 0; background: var(--steel-50); width: 40px; height: 40px; border-radius: 99px; font-size: 20px; cursor: pointer; }
.ab-drawer .ab-catlist .ab-flyout { display: none; }
.ab-drawer .ab-catlist > li > a { grid-template-columns: 34px 1fr auto; }
.ab-drawer .ab-catlist .ab-chev { display: none; }
.ab-drawer .ab-links { list-style: none; margin: 0; padding: 8px 18px 24px; border-top: 1px solid var(--steel-200); }
.ab-drawer .ab-links a { display: block; padding: 10px 0; font-weight: 600; color: var(--text); }

/* =============================================================================
   HOMEPAGE
   ============================================================================= */
.ab-hero { padding: 20px 0 8px; background: var(--steel-50); }
.ab-hero-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr) 300px; gap: 20px; min-height: 476px; }
.ab-hero-side { background: #fff; border-radius: 0 0 var(--radius) var(--radius); margin-top: -20px; box-shadow: var(--shadow); align-self: start; }
.ab-slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--graphite); isolation: isolate; min-height: 476px; }
.ab-slide { position: absolute; inset: 0; display: grid; align-items: center; padding: 48px 56px; opacity: 0; visibility: hidden; }
.ab-slide.is-active { opacity: 1; visibility: visible; }
.ab-slide .ab-bg { position: absolute; inset: 0; z-index: -1; }
.ab-slide .ab-bg img { width: 100%; height: 100%; object-fit: cover; }
.ab-slide-dark { color: #fff; }
.ab-slide-dark h1, .ab-slide-dark h2 { color: #fff; }
.ab-slide-dark .ab-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 23 27 / .88) 0%, rgb(20 23 27 / .6) 45%, rgb(20 23 27 / .05) 100%); }
.ab-slide-light { background: linear-gradient(120deg, #eef1f5, #dfe5ec); }
.ab-slide .ab-copy { max-width: 470px; }
.ab-slide-light .ab-copy { max-width: 46%; }
.ab-slide h1, .ab-slide h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 750; line-height: 1.08; letter-spacing: -.025em; margin: 0; font-stretch: 88%; }
.ab-slide p { margin: 14px 0 26px; font-size: 17px; opacity: .9; max-width: 42ch; }
.ab-slide .ab-actions-row { display: flex; gap: 12px; flex-wrap: wrap; }
.ab-cutouts { position: absolute; right: 3%; top: 50%; transform: translateY(-50%); width: 46%; height: 84%; }
.ab-cutouts img { position: absolute; filter: drop-shadow(0 18px 24px rgb(20 23 27 / .18)); }
.ab-dots { position: absolute; left: 56px; bottom: 26px; display: flex; gap: 8px; z-index: 3; }
.ab-dots button { width: 28px; height: 4px; border-radius: 99px; border: 0; background: rgb(255 255 255 / .35); cursor: pointer; padding: 0; position: relative; overflow: hidden; }
.ab-slider[data-tone="light"] .ab-dots button { background: rgb(20 23 27 / .18); }
.ab-dots button span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.ab-promo-tall { border-radius: var(--radius); background: var(--graphite); color: #fff; padding: 28px; display: flex; flex-direction: column; overflow: hidden; }
.ab-promo-tall:hover { color: #fff; }
.ab-promo-tall .ab-tag { align-self: flex-start; font-size: 12px; font-weight: 700; background: var(--accent); color: var(--on-accent); padding: 4px 10px; border-radius: 99px; }
.ab-promo-tall h2 { margin: 14px 0 0; font-size: 1.7rem; color: #fff; font-weight: 700; line-height: 1.12; font-stretch: 88%; }
.ab-promo-tall p { color: #c9ced5; margin: 8px 0 18px; font-size: 14.5px; }
.ab-promo-tall .ab-link { color: #fff; }
.ab-promo-tall img { margin-top: auto; width: 88%; align-self: center; filter: drop-shadow(0 20px 26px rgb(0 0 0 / .45)); transition: transform .5s var(--ease); }
.ab-promo-tall:hover img { transform: translateY(-6px) rotate(-2deg); }

.ab-section { padding: 64px 0; }
.ab-section-tint { background: var(--steel-50); }
.ab-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.ab-head h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; margin: 0; font-stretch: 90%; letter-spacing: -.02em; }

.ab-catstrip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.ab-catstrip::-webkit-scrollbar { display: none; }
.ab-cattile { scroll-snap-align: start; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 18px 16px 16px; display: flex; flex-direction: column; color: var(--text); transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.ab-cattile .ab-well { height: 120px; display: grid; place-items: center; margin-bottom: 14px; }
.ab-cattile .ab-well img { max-height: 110px; width: auto; transition: transform .45s var(--ease); }
.ab-cattile:hover { border-color: transparent; box-shadow: var(--shadow-lift); transform: translateY(-3px); color: var(--text); }
.ab-cattile:hover .ab-well img { transform: scale(1.06); }
.ab-cattile h3 { font-size: 1.02rem; font-weight: 650; margin: 0; }
.ab-cattile .ab-meta { font-size: 13px; color: var(--steel-600); margin-top: 2px; }
.ab-stripnav { display: flex; gap: 8px; }
.ab-stripnav button { width: 42px; height: 42px; border-radius: 99px; border: 1px solid var(--steel-200); background: #fff; cursor: pointer; font-size: 18px; transition: border-color .2s; display: grid; place-items: center; }
.ab-stripnav button:hover { border-color: var(--text); }

.ab-duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.ab-banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; color: #fff; display: flex; align-items: flex-end; padding: 32px; isolation: isolate; }
.ab-banner:hover { color: #fff; }
.ab-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ab-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(20 23 27 / .94) 0%, rgb(20 23 27 / .72) 55%, rgb(20 23 27 / .25) 100%); }
.ab-banner:hover > img { transform: scale(1.04); }
.ab-banner h3 { font-size: 1.55rem; color: #fff; margin: 0; font-weight: 700; font-stretch: 88%; }
.ab-banner p { margin: 6px 0 16px; color: #d6dae0; max-width: 40ch; }

.ab-tabs { display: flex; gap: 6px; background: var(--steel-100); padding: 4px; border-radius: 99px; flex-wrap: wrap; }
.ab-tabs button { border: 0; background: transparent; padding: 8px 18px; border-radius: 99px; font-weight: 600; cursor: pointer; color: var(--steel-600); transition: background-color .2s, color .2s; }
.ab-tabs button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgb(20 23 27 / .12); }
.ab-tabpanel[hidden] { display: none; }
.ab-pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ab-pcard { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--text); transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .2s; }
.ab-pcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: transparent; color: var(--text); }
.ab-pcard .ab-well { background: var(--steel-50); aspect-ratio: 1 / .82; display: grid; place-items: center; overflow: hidden; }
.ab-pcard .ab-well img { width: 74%; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.ab-pcard:hover .ab-well img { transform: scale(1.05); }
.ab-pcard .ab-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ab-pcard .ab-fam { font-size: 12.5px; color: var(--steel-600); }
.ab-pcard h3 { font-size: 15px; font-weight: 600; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
.ab-pcard .ab-sku { color: var(--steel-600); font-family: var(--mono); font-size: 12px; }
.ab-pcard .ab-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.ab-price { font-weight: 750; font-size: 19px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--text); }
.ab-price small { font-size: 12px; font-weight: 500; color: var(--steel-600); margin-left: 4px; letter-spacing: 0; }
.ab-go { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--steel-200); display: grid; place-items: center; font-size: 18px; transition: background-color .2s, color .2s, border-color .2s; }
.ab-pcard:hover .ab-go { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.ab-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.ab-band > img { position: absolute; left: 0; width: 100%; height: 115%; top: -7.5%; object-fit: cover; z-index: -2; }
.ab-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(20 23 27 / .92) 0%, rgb(20 23 27 / .7) 50%, rgb(20 23 27 / .25) 100%); }
.ab-band .ab-container { padding-top: 96px; padding-bottom: 96px; }
.ab-band .ab-copy { max-width: 540px; }
.ab-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 750; margin: 0; font-stretch: 88%; letter-spacing: -.025em; }
.ab-band p { color: #d6dae0; font-size: 17px; margin: 14px 0 28px; }
.ab-stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.ab-stats strong { display: block; font-size: 2rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.ab-stats span { color: var(--steel-400); font-size: 14px; }

.ab-bento { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.ab-feature { grid-row: 1 / span 3; border-radius: var(--radius); background: linear-gradient(160deg, var(--steel-100), var(--steel-200)); padding: 32px; display: flex; flex-direction: column; overflow: hidden; color: var(--text); }
.ab-feature:hover { color: var(--text); }
.ab-feature h3 { font-size: 1.6rem; font-weight: 700; margin: 0; font-stretch: 88%; }
.ab-feature p { color: var(--steel-600); margin: 8px 0 18px; }
.ab-feature img { margin-top: auto; width: 92%; align-self: center; filter: drop-shadow(0 22px 28px rgb(20 23 27 / .25)); transition: transform .6s var(--ease); }
.ab-feature:hover img { transform: translateY(-6px); }
.ab-mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 12px; color: var(--text); transition: border-color .2s, box-shadow .3s var(--ease); }
.ab-mini:hover { border-color: transparent; box-shadow: var(--shadow-lift); color: var(--text); }
.ab-mini .ab-well { background: var(--steel-50); border-radius: var(--radius-sm); aspect-ratio: 1; display: grid; place-items: center; }
.ab-mini .ab-well img { width: 80%; mix-blend-mode: multiply; }
.ab-mini h3 { font-size: 14px; font-weight: 600; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.ab-mini .ab-price { font-size: 16px; margin-top: 4px; display: block; }

.ab-services { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--steel-200); border-radius: var(--radius); background: #fff; }
.ab-service { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.ab-service + .ab-service { border-left: 1px solid var(--steel-200); }
.ab-service i { font-size: 30px; color: var(--accent); flex-shrink: 0; }
.ab-service strong { display: block; font-size: 15px; }
.ab-service span { color: var(--steel-600); font-size: 14px; }

/* =============================================================================
   FOOTER
   ============================================================================= */
.ab-footer { background: var(--ink); color: #b9c0c9; margin-top: 64px; }
.ab-footer .ab-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.ab-footer h2 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 650; letter-spacing: 0; }
.ab-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ab-footer a { color: #b9c0c9; }
.ab-footer a:hover { color: #fff; }
.ab-footer .ab-about img { height: 52px; width: auto; margin-bottom: 16px; }
.ab-footer address { font-style: normal; line-height: 1.7; margin: 0 0 16px; }
.ab-footer .ab-social { display: flex; gap: 10px; }
.ab-footer .ab-social a { width: 38px; height: 38px; border-radius: 99px; border: 1px solid #3a414b; display: grid; place-items: center; font-size: 18px; }
.ab-footer .ab-social a:hover { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.ab-footer .ab-news p { margin: 0 0 14px; }
.ab-footer .ab-bottom { border-top: 1px solid #2a3038; }
.ab-footer .ab-bottom .ab-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; flex-wrap: wrap; }
.ab-footer .ab-bottom img { height: 28px; width: auto; opacity: .9; }

/* =============================================================================
   EXISTING PAGES: listing, product, cart, checkout, account (template restyle)
   ============================================================================= */
/* breadcrumb strip */
.breadcrumb-section { background: transparent !important; padding: 18px 0 6px !important; }
.breadcrumb { background: none !important; padding: 0 !important; margin: 0 !important; font-size: 13.5px; }
.breadcrumb-item, .breadcrumb-item a { color: var(--steel-600) !important; }
.breadcrumb-item a:hover { color: var(--text) !important; }
.breadcrumb-item.active { color: var(--text) !important; font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--steel-400) !important; content: "\203A" !important; }

/* listing toolbar + grid cards */
.shop-toolbar { color: var(--steel-600); }
.shop-toolbar .nice-select, .shop-toolbar select { height: 42px; line-height: 40px; }
.product-view-mode { display: none !important; }
.product-card { background: #fff; border: 1px solid var(--steel-200) !important; border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .2s; height: 100%; }
.product-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: transparent !important; }
.product-grid-content { display: flex; flex-direction: column; height: 100%; }
.product-grid-content .product-header { order: 2; padding: 12px 16px 0; text-align: left !important; }
.product-grid-content .product-card--body { order: 1; display: contents; }
.product-grid-content .product-card--body .card-image { order: 1; background: var(--steel-50); margin: 0 !important; aspect-ratio: 1 / .82; display: grid; place-items: center; overflow: hidden; }
.product-grid-content .card-image img { width: 74% !important; height: auto !important; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.product-card:hover .card-image img { transform: scale(1.05); }
.product-grid-content .price-block { order: 3; padding: 6px 16px 16px; text-align: left !important; margin-top: auto; }
.product-card .author { font-size: 12px !important; color: var(--steel-600) !important; text-transform: none !important; letter-spacing: 0; }
.product-card h3, .product-card h3 a { font-size: 15px !important; font-weight: 600 !important; color: var(--text) !important; line-height: 1.3 !important; text-transform: none !important; }
.product-card h3 a:hover { color: var(--accent-hover) !important; }
.product-card .price, .price-block .price { color: var(--text) !important; font-weight: 750 !important; font-size: 19px !important; font-variant-numeric: tabular-nums; }
.product-card .price::after { content: " ex VAT"; font-size: 12px; font-weight: 500; color: var(--steel-600); }
.rating-block, .card-link, .hover-btns, .product-card .hover-contents .hover-btns { display: none !important; }   /* no reviews exist: template stars were placeholders */
.pagination-block { margin-top: 36px; }
.pagination-block a, .pagination-block span, .pagination-btns a { border-radius: var(--radius-sm) !important; font-weight: 600; }
.pagination-block .active, .pagination-block .active a, .pagination-btns .active a { background: var(--text) !important; color: #fff !important; border-color: var(--text) !important; }

/* product page */
.product-details-info .tag-block { font-size: 14px; color: var(--steel-600); }
.product-details-info .tag-block a { color: var(--accent); font-weight: 650; }
.product-details-info .product-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important; font-weight: 750 !important; line-height: 1.12 !important; letter-spacing: -.025em; font-stretch: 90%; margin: 8px 0 14px !important; text-transform: none !important; }
.product-details-info .list-unstyled { color: var(--steel-600); font-size: 14px; }
.product-details-info .price-new { color: var(--text) !important; font-size: 34px !important; font-weight: 750 !important; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.product-single-image, .product-details-slider .single-slide { background: var(--steel-50); border-radius: var(--radius); overflow: hidden; }
.product-single-image img, .product-details-slider img { mix-blend-mode: multiply; }
.add-to-cart-row .btn, .add-cart-btn .btn { height: 50px; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 24px !important; font-size: 16px; }
.product-attributes-section h2, .section-title h2 { font-weight: 700 !important; }
.ab-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 26px; }
.ab-spec { background: var(--steel-50); border-radius: var(--radius-sm); padding: 14px 16px; }
.ab-spec:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ab-spec span { display: block; font-size: 12.5px; color: var(--steel-600); }
.ab-spec strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.product-image-note { color: var(--steel-600) !important; }

/* cart / checkout / account */
.cart-table table, .order-table, .checkout-cart-total { border-radius: var(--radius); }
.cart-table th, table thead th { background: var(--steel-50) !important; color: var(--text) !important; font-weight: 650; border-color: var(--steel-200) !important; }
.checkout-cart-total, .checkout-form, .order-summary, .myaccount-content, .login-form, .register-form { border-radius: var(--radius); }
.checkout-quick-box p a, .myaccount-tab-menu a.active, .myaccount-tab-menu a:hover { color: var(--accent) !important; }
.myaccount-tab-menu a.active { background: var(--accent-soft) !important; }
.section-title, .section-title--bordered { border-color: var(--steel-200) !important; }
.bg-primary { background-color: var(--graphite) !important; }
.text-primary { color: var(--accent) !important; }
.border-primary { border-color: var(--accent) !important; }
#scrollUp { background: var(--graphite) !important; color: #fff !important; border-radius: 99px !important; border: 0 !important; }
.modal-content { border-radius: var(--radius); border: 0; }

/* hide the old template header/footer pieces if any page still prints them */
.site-header.header-2, .site-mobile-menu, .site-footer { display: none !important; }

/* =============================================================================
   MOTION + RESPONSIVE
   ============================================================================= */
.ab-motion .ab-reveal { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

@media (max-width: 1199px) {
  .ab-hero-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .ab-hero-side { display: none; }
  .ab-catstrip { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .ab-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-header .ab-container { grid-template-columns: 200px minmax(0, 1fr) auto; gap: 20px; }
  .ab-navphone { display: none; }
  .ab-services { grid-template-columns: repeat(2, 1fr); }
  .ab-service:nth-child(3) { border-left: 0; }
  .ab-service:nth-child(n+3) { border-top: 1px solid var(--steel-200); }
}
@media (max-width: 991px) {
  .ab-hero-grid { grid-template-columns: 1fr; }
  .ab-promo-tall { display: none; }
  .ab-slider { min-height: 440px; }
  .ab-duo, .ab-bento { grid-template-columns: 1fr; }
  .ab-feature { grid-row: auto; }
  .ab-footer .ab-cols { grid-template-columns: 1fr 1fr; }
  .ab-mainnav, .ab-cat-trigger, .ab-catdrop { display: none !important; }
  .ab-burger { display: inline-flex; margin-left: 0; }
  .ab-navbar .ab-container { min-height: 50px; }
  .ab-actions .ab-act-text { display: none; }
  .ab-specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ab-container { padding: 0 16px; }
  .ab-topbar .ab-lead { display: none; }
  .ab-topbar .ab-contact { width: 100%; justify-content: space-between; gap: 12px; }
  .ab-header .ab-container { grid-template-columns: 1fr auto; padding-top: 10px; padding-bottom: 12px; row-gap: 10px; min-height: 0; }
  .ab-logo img { height: 44px; }
  .ab-searchwrap { grid-column: 1 / -1; grid-row: 2; }
  .ab-search-tip { display: none; }
  .ab-slide { padding: 32px 24px 64px; }
  .ab-slide-light .ab-copy { max-width: 100%; }
  .ab-cutouts { display: none; }
  .ab-dots { left: 24px; }
  .ab-catstrip { grid-auto-columns: 46%; }
  .ab-pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ab-pcard .ab-body { padding: 12px; }
  .ab-services { grid-template-columns: 1fr; }
  .ab-service + .ab-service { border-left: 0; border-top: 1px solid var(--steel-200); }
  .ab-footer .ab-cols { grid-template-columns: 1fr; gap: 32px; }
  .ab-section { padding: 48px 0; }
  .ab-head { flex-direction: column; align-items: flex-start; }
  .ab-stats { gap: 24px; }
  .ab-drop { width: min(330px, 92vw); }
}

/* template pages: same content width as the new header/footer so edges line up */
@media (min-width: 1200px) { .site-wrapper .container, main .container { max-width: 1320px; padding-left: 24px; padding-right: 24px; } }
.product-details-info .list-value { font-family: var(--font); color: var(--text); font-weight: 600; }
.product-details-info .list-unstyled li:first-child .list-value { font-family: var(--mono); font-weight: 500; }
.ab-burger { align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.ab-burger i { font-size: 24px; }
