/* Header ONBOARD2026 — onboardstore.id's v1 header (module_mainheader_1 + the site's
   userstyle.css), measured in headless Chrome at 1440 and 390px:
   - 55px black bar, NOT sticky (it scrolls away with the page — set sticky=0 on the menu).
   - 42px burger at x=21 with 30x4 bars; first link text at x=72, 16px Roboto 700,
     0.05em tracking, 2px below centre (v1's `ul { top: 2px }`); no hover change,
     only a 0.3s colour transition.
   - logo 45px tall, centred (25px under 1080px, 22px and 2px low under 768px).
   - cart glyph 26px in a 12px-padded box flush with the right edge (10px on phones).
   - the burger itself becomes the X (0.3s cubic-bezier(.4,0,.2,1)) and stays on top
     while the full-screen black menu drops from the top (height 0 -> 100vh, 0.4s ease;
     reproduced as a translate, which moves the content with the edge the same way). */
/* positioned so the z-index holds without sticky; the burger (the X) must sit above the menu */
.ob-hdr { position: relative; background: #000; color: #fff; height: 55px; border: 0; box-shadow: none; z-index: 310; }
/* no side padding: equal 1fr columns put the logo on the exact centre (x=720 / 195);
   the burger carries the 21px itself */
.ob-hdr-in {
    position: relative; height: 100%; padding: 0;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.ob-hdr-side { display: flex; align-items: center; height: 100%; min-width: 0; }
.ob-hdr-right { justify-content: flex-end; }
.ob-hdr-link {
    position: relative; top: 2px;
    color: #fff; text-decoration: none; text-transform: uppercase; white-space: nowrap;
    font-family: 'Roboto', Arial, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .05em;
    line-height: 18.4px; padding: 0 9px;
}
.ob-hdr-link-end { padding-right: 0; }
.ob-hdr-link:hover, .ob-hdr-link:focus { color: #fff; opacity: 1; }
.ob-hdr-logo { display: flex; align-items: center; justify-content: center; height: 100%; }
.ob-hdr-logo .cms2-logo { padding: 0; margin: 0; display: flex; align-items: center; }
.ob-hdr-logo .cms2-logo img { height: 45px; width: auto; display: block; }

.ob-hdr .cms2-burger {
    display: flex; width: 42px; height: 42px; padding: 6px; gap: 5px; margin: 0 0 0 21px; flex: none;
}
.ob-hdr .cms2-burger span {
    height: 4px; border-radius: 2px; background: #fff;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.ob-hdr .cms2-burger.open span:first-child { transform: translateY(9px) rotate(45deg); }
.ob-hdr .cms2-burger.open span:nth-child(2) { opacity: 0; }
.ob-hdr .cms2-burger.open span:last-child { transform: translateY(-9px) rotate(-45deg); }

.ob-hdr .cms2-cart {
    color: #fff; padding: 0 12px; height: 50px; display: flex; align-items: center;
    transition: opacity 1s, box-shadow 1s;
}
.ob-hdr .cms2-cart svg { width: 26px; height: 26px; position: relative; top: -3px; }  /* v1 .cart-icon { top: -5px } */
/* v1's glyph: white fill (the header's `fill:#fff`) inside the dark #231F20 outline it was drawn with */
.ob-hdr .cms2-cart { --cms2-cart-outline: #231F20; }
/* v1's count: plain header-coloured text raised beside the glyph, no pill */
.ob-hdr .cms2-cart-badge {
    position: relative; top: -10px; right: auto; left: 2px;
    min-width: 0; height: auto; padding: 0; border-radius: 0;
    background: none; color: #fff; font-size: 16px; font-weight: 400; line-height: 0;
}
/* The search icon sits BETWEEN the last nav link and the cart, and
   .ob-hdr-link-end deliberately strips that link's right padding so it can sit
   flush against the cart — which left CONTACT touching the glyph with no gap at
   all. Giving the icon the cart's own 12px box restores the rhythm without
   changing .ob-hdr-link-end: the icon's left padding now supplies the gap after
   CONTACT, and its right plus the cart's left give the 24px the two glyphs want
   between them. v1 had no search, so there is nothing upstream to match here. */
.ob-hdr .cms2-search {
    color: #fff;
    /* padding: 0 12px; */
    padding: 5px 0px 0px 12px;
    height: 50px;
    display: flex;
    align-items: center;
}
/* raised the same 3px as the cart glyph: the two sit side by side, so they
   want to agree with each other rather than each with the bar centre */
.ob-hdr .cms2-search svg { width: 22px; height: 22px; display: block; position: relative; top: -3px; }

/* While the menu is open the bar keeps only the burger (now the X) above it; the rest
   is covered by the menu on the live site. Hidden at once on open (the menu's edge
   passes the 55px bar in the first few ms of its 0.4s drop) and shown again only once
   it has risen back past the bar on close. */
.ob-hdr .ob-hdr-link,
.ob-hdr .ob-hdr-logo,
.ob-hdr .cms2-cart,
.ob-hdr .cms2-search { transition: color .3s cubic-bezier(.4, 0, .2, 1), visibility 0s .38s; }
.ob-hdr:has(.cms2-burger.open) .ob-hdr-link,
.ob-hdr:has(.cms2-burger.open) .ob-hdr-logo,
.ob-hdr:has(.cms2-burger.open) .cms2-cart,
.ob-hdr:has(.cms2-burger.open) .cms2-search { visibility: hidden; transition: none; }

@media (max-width: 1080px) {
    .ob-hdr-logo .cms2-logo img { height: 25px; }
}
@media (max-width: 768px) {
    .ob-hdr-logo .cms2-logo img { height: 22px; position: relative; top: 2px; }
    .ob-hdr .cms2-cart { padding: 0 10px 0 4px; }
}
@media (max-width: 360px) {
    .ob-hdr-link { font-size: 13px; padding: 0 4px; }
}

/* ---------------------------------------------------------------- drawer */
.cms2-drawer {
    width: 100vw; padding: 0; background: #000;
    transform: translateY(-100%); visibility: hidden;
    transition: transform .4s ease, visibility 0s .4s;
    z-index: 300;
}
.cms2-drawer.open { transform: none; visibility: visible; transition: transform .4s ease, visibility 0s; }
.cms2-drawer::before { inset: 0; background: #000; box-shadow: none; }
.cms2-drawer-backdrop { display: none !important; }
/* The burger above is the close control, as on the live site; the drawer keeps its
   55px top row empty so the list starts where the live one does (y=74). Escape and
   the burger both close it. */
.cms2-drawer-top { height: 55px; padding: 0; }
.cms2-drawer-top .cms2-logo,
.cms2-drawer-close { display: none; }
/* `ul.` outranks module.css's `.cms2-drawer ul { padding: 0 }` */
.cms2-drawer ul.cms2-drawer-level { background: #000; padding: 19px 60px 40px; }
.cms2-drawer a,
.cms2-drawer-expand {
    display: flex; align-items: center; height: 60px; padding: 0 10px 0 0;
    font-family: 'Roboto', Arial, sans-serif; font-size: 1.2em; font-weight: 400;
    letter-spacing: normal; line-height: 22px; text-transform: uppercase; color: #fff;
    border-bottom: 1px solid #999;
}
.cms2-drawer a:hover, .cms2-drawer a.active, .cms2-drawer a:active, .cms2-drawer-expand.active { color: #fff; }
.cms2-drawer li > a.active::after,
.cms2-drawer-row:has(> .active)::after { display: none; }
.cms2-drawer-group { color: #fff; }
@media (max-width: 564px) {
    .cms2-drawer ul.cms2-drawer-level { padding: 19px 20px 40px; }
}

/* -------------------------------------------------------- cart dropdown */
/* The ERP cart drawer (modules/sbcart, same cart.js class names as v1) shaped like
   v1's global/cms/oldsystem/css/cart.css: a 500px box hanging 90px below the cart,
   flush right, 5px corners, hard black shadow; header hidden while empty. It scrolls
   with the page like the header it belongs to. Colours: site custom CSS
   (#111 box, #b1cfd7 text, red checkout — the site's old userstyle.css). */
.sb-cart .cartWrapper { position: absolute; top: 0; right: 0; z-index: 9; }
.sb-cart .cartContentsWrapper,
.sb-cart .cartWrapper.cartAtTop .cartContentsWrapper {
    position: absolute; top: 95px; right: 0; width: 500px;
    border-radius: 5px; box-shadow: 1px 1px 10px 2px #000;
    font-family: 'Roboto', Arial, sans-serif; font-size: 16px; line-height: 1.15;
}
.sb-cart .cartContentsHeader {
    height: 50px; border-radius: 5px 5px 0 0; font-size: 1.2em; letter-spacing: normal;
}
.sb-cart .noItemsInCart .cartContentsHeader { display: none; }
.sb-cart .cartContentsBody_inner { padding: 8px; overflow-y: auto; }
.sb-cart .noItemsMessage { padding: 0; display: flex; align-items: center; justify-content: center; }
.sb-cart .cartContent_Item { gap: 0; padding: 15px 0 20px; margin-bottom: 10px; }
/* v1 rules off every line, the last one included (module.css drops it on :last-child) */
.sb-cart .cartContentsBody_inner .cartContent_Item:last-child { border-bottom: 1px solid #444; }
.sb-cart .ccb_left { flex: 0 0 20%; display: flex; align-items: center; justify-content: center; }
.sb-cart .ccb_left img { width: 100%; height: auto; border-radius: 10px; }
.sb-cart .ccb_center { flex: 0 0 60%; padding: 0 20px; box-sizing: border-box; }
/* a fixed fifth: a long price overflows to the LEFT (flex-end) as on live, instead of
   widening the column past the drawer's edge */
.sb-cart .ccb_right { flex: 0 0 20%; min-width: 0; align-items: flex-end; }
.sb-cart .ccb_right a { position: relative; top: -10px; }
.sb-cart .ccb_name, .sb-cart .ccb_aditionalinfo { margin: 0 0 16px; }
.sb-cart .ccb_aditionalinfo { gap: 0; }
.sb-cart .ccbr_priceDetails { gap: 0; }
.sb-cart .removeFromCart { line-height: 18.4px; }
.sb-cart .removeFromCart .material-icons { font-size: 24px; }
/* quantity: v1 cart.css — 12px above, a 30px row, the arrows reversed (down, number, up) */
.sb-cart .ccbItemDescQty { margin-top: 12px; display: flex; align-items: center; justify-content: flex-start; gap: 0; }
.sb-cart .ccbItemDescQty > label, .sb-cart .ccbItemDescQty > strong { font-weight: 700; }
.sb-cart .ccbItemDescQty_wrapp {
    display: flex; flex-direction: row-reverse; align-items: center; justify-content: center;
    height: 30px; margin-left: 10px; padding: 0 10px;
}
.sb-cart .ccbItemDescQty_wrapp a { font-size: 3em; display: flex; justify-content: center; line-height: 1.15; }
.sb-cart .ccbItemDescQty_wrapp a i { font-size: 24px; }
.sb-cart .ccbidQty_number { width: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.2em; }
/* On live the cart sits inside the v1 header's .menu-right, whose `a { padding: 0 16px }`
   (<=1440px; 10px <=1170px) reaches every link in it: the line photo (so 57px wide, not
   89), the remove icon, the qty arrows and "Continue Shopping". */
@media (max-width: 1440px) { .sb-cart .cartContentsWrapper a { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 1170px) { .sb-cart .cartContentsWrapper a { padding-left: 10px; padding-right: 10px; } }
.sb-cart .ccb_name,
.sb-cart .ccb_aditionalinfo,
.sb-cart .ccbr_priceLabel,
.sb-cart .ccbr_priceDetails,
.sb-cart .ccfPriceTitle,
.sb-cart .ccfPriceTotal { font: inherit; letter-spacing: normal; }
.sb-cart .ccb_name { text-transform: none; }
.sb-cart .ccfPriceWrapper { padding: 0 0 20px; border-top: 0; }
.sb-cart .ccfPriceTotal { font-size: 1.3em; text-transform: uppercase; }
.sb-cart .ccfNavWrapper a.cartBtn_goToCheckout {
    height: 36px; padding: 0 16px; border-radius: 2px; background: #000; box-shadow: none;
    font-family: inherit; font-size: 14px; font-weight: 400; line-height: 36px; letter-spacing: normal;
    text-transform: uppercase;
}
.sb-cart .continueShopping { font-size: 16px; }
@media (max-width: 1080px) {
    .sb-cart .cartContentsWrapper,
    .sb-cart .cartWrapper.cartAtTop .cartContentsWrapper { position: fixed; top: 70px; right: 0; width: 100%; }
}
@media (max-width: 768px) {
    .sb-cart .ccb_left { flex-basis: 35%; }
    .sb-cart .ccb_center { flex-basis: 45%; }
}
