/* SY LABEL WORLD — site header.
 * Colours and sizes are injected from the plugin settings (BPP_Header::inline_css).
 * Desktop rules live here; the phone/tablet layout is switched on by a generated media query. */

.bpp-hd, .bpp-hd-drawer, .bpp-hd-cartpanel {
	--bpp-hd-gold: #c0a356;
	--bpp-hd-black: #292929;
	--bpp-hd-brown: #755603;
	--bpp-hd-bg: linear-gradient(rgba(192, 163, 86, .16), rgba(192, 163, 86, .16)), #fff;
	--bpp-hd-h: 96px;
	--bpp-hd-logo: 60px;
}
.bpp-hd, .bpp-hd-drawer { box-sizing: border-box; }
.bpp-hd *, .bpp-hd *::before, .bpp-hd *::after,
.bpp-hd-drawer *, .bpp-hd-drawer *::before, .bpp-hd-drawer *::after { box-sizing: border-box; }

/* ----------------------------------------------------------------- Bar */
.bpp-hd {
	position: relative; z-index: 9990; width: 100%; background: var(--bpp-hd-bg);
	color: var(--bpp-hd-brown); font-family: inherit; line-height: 1.3;
	transition: box-shadow .25s ease;
}
.bpp-hd--sticky { position: sticky; top: 0; }
body.admin-bar .bpp-hd--sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar .bpp-hd--sticky { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .bpp-hd--sticky { top: 0; } }
.bpp-hd.is-scrolled { box-shadow: 0 6px 22px rgba(41, 41, 41, .09); }

.bpp-hd-inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
	min-height: var(--bpp-hd-h); width: 100%; max-width: 1600px; margin: 0 auto; padding: .5rem clamp(1rem, 4vw, 4.5rem);
}

/* ---------------------------------------------------------------- Logo */
.bpp-hd .bpp-hd-logo { display: flex; align-items: center; justify-self: start; text-decoration: none; color: var(--bpp-hd-brown); line-height: 0; }
.bpp-hd .bpp-hd-logo-img { display: block; height: var(--bpp-hd-logo); width: auto; max-width: min(60vw, 300px); object-fit: contain; border: 0; margin: 0; }
.bpp-hd .bpp-hd-logo-text { font-size: 1.5rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1.2; }

/* ----------------------------------------------------------------- Menu */
.bpp-hd-nav { justify-self: center; }
.bpp-hd .bpp-hd-menu { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.7rem); margin: 0; padding: 0; list-style: none; }
.bpp-hd .bpp-hd-menu li { position: relative; margin: 0; padding: 0; list-style: none; }
.bpp-hd .bpp-hd-menu a {
	position: relative; display: block; padding: .45rem 0; color: var(--bpp-hd-brown); font-size: 1.05rem; font-weight: 500; line-height: 1.3;
	text-decoration: none; background: none; border: 0; transition: color .2s;
}
.bpp-hd .bpp-hd-menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px; background: var(--bpp-hd-gold);
	transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.bpp-hd .bpp-hd-menu > li > a:hover, .bpp-hd .bpp-hd-menu > li > a:focus-visible,
.bpp-hd .bpp-hd-menu > li.current-menu-item > a, .bpp-hd .bpp-hd-menu > li.current-menu-ancestor > a { color: var(--bpp-hd-black); }
.bpp-hd .bpp-hd-menu > li > a:hover::after, .bpp-hd .bpp-hd-menu > li > a:focus-visible::after,
.bpp-hd .bpp-hd-menu > li.current-menu-item > a::after, .bpp-hd .bpp-hd-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }

/* Desktop dropdowns */
.bpp-hd .bpp-hd-menu .sub-menu {
	position: absolute; top: 100%; left: -1rem; z-index: 5; min-width: 220px; margin: 0; padding: .5rem 1rem; list-style: none;
	background: var(--bpp-hd-bg); box-shadow: 0 14px 30px rgba(41, 41, 41, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.bpp-hd .bpp-hd-menu li:hover > .sub-menu, .bpp-hd .bpp-hd-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bpp-hd .bpp-hd-menu .sub-menu a { padding: .55rem 0; font-size: .98rem; white-space: nowrap; }
.bpp-hd .bpp-hd-menu .sub-menu a:hover { color: var(--bpp-hd-black); }

/* -------------------------------------------------------------- Actions */
.bpp-hd-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.5rem, 1.2vw, 1rem); justify-self: end; }
.bpp-hd .bpp-hd-contact, .bpp-hd-drawer .bpp-hd-contact {
	display: inline-flex; align-items: center; justify-content: center; padding: .85rem 2.1rem; border: 0; border-radius: 999px;
	background: var(--bpp-hd-gold); color: var(--bpp-hd-brown); font-size: 1.1rem; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
	transition: background-color .2s, color .2s, transform .2s; box-shadow: none;
}
.bpp-hd .bpp-hd-contact:hover, .bpp-hd .bpp-hd-contact:focus-visible, .bpp-hd-drawer .bpp-hd-contact:hover, .bpp-hd-drawer .bpp-hd-contact:focus-visible { background: var(--bpp-hd-black); color: #fff; }


.bpp-hd .bpp-hd-icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	color: var(--bpp-hd-brown); background: none; border: 0; border-radius: 50%; text-decoration: none; transition: color .2s, background-color .2s;
}
.bpp-hd .bpp-hd-icon:hover, .bpp-hd .bpp-hd-icon:focus-visible { color: var(--bpp-hd-black); background: rgba(41, 41, 41, .06); }
.bpp-hd .bpp-hd-svg { display: block; width: 24px; height: 24px; }
.bpp-hd .bpp-hd-badge {
	position: absolute; top: 3px; right: 1px; display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--bpp-hd-black); color: #fff; font-size: 11px; font-weight: 600; line-height: 1;
}
.bpp-hd .bpp-hd-badge[hidden] { display: none; }

/* Menu button (phones/tablets only; shown by the generated media query) */
.bpp-hd .bpp-hd-toggle, .bpp-hd-drawer .bpp-hd-close {
	display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 0 -8px; padding: 0; justify-self: start;
	background: none; border: 0; border-radius: 50%; color: var(--bpp-hd-gold); cursor: pointer; box-shadow: none;
}
.bpp-hd .bpp-hd-toggle:hover, .bpp-hd .bpp-hd-toggle:focus-visible,
.bpp-hd-drawer .bpp-hd-close:hover, .bpp-hd-drawer .bpp-hd-close:focus-visible { background: rgba(41, 41, 41, .06); color: var(--bpp-hd-brown); }
.bpp-hd .bpp-hd-toggle .bpp-hd-svg { width: 28px; height: 28px; }

/* --------------------------------------------------------------- Drawer */
.bpp-hd-overlay { position: fixed; inset: 0; z-index: 99980; background: rgba(41, 41, 41, .5); opacity: 0; transition: opacity .3s ease; }
.bpp-hd-overlay.is-open { opacity: 1; }
.bpp-hd-drawer {
	position: fixed; top: 0; bottom: 0; left: 0; z-index: 99990; display: flex; flex-direction: column; width: min(86vw, 360px); max-width: 100%;
	padding: 1rem 1.5rem 2rem; overflow-y: auto; background: var(--bpp-hd-bg); color: var(--bpp-hd-brown);
	transform: translateX(-102%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s, box-shadow .3s;
}
.bpp-hd-drawer.is-open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s, box-shadow .3s; box-shadow: 8px 0 30px rgba(41, 41, 41, .18); }
@media (min-width: 783px) { body.admin-bar .bpp-hd-drawer { top: 32px; } }
@media (min-width: 601px) and (max-width: 782px) { body.admin-bar .bpp-hd-drawer { top: 46px; } }
body.bpp-hd-open { overflow: hidden; }

.bpp-hd-drawer .bpp-hd-close { display: flex; align-self: flex-start; margin: 0 0 .75rem -8px; }
.bpp-hd-drawer .bpp-hd-drawer-nav { flex: 1 1 auto; }
.bpp-hd-drawer .bpp-hd-menu { margin: 0; padding: 0; list-style: none; }
.bpp-hd-drawer .bpp-hd-menu li { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(117, 86, 3, .16); }
.bpp-hd-drawer .bpp-hd-menu a {
	display: block; padding: 1rem .25rem; color: var(--bpp-hd-brown); font-size: 1.15rem; font-weight: 500; line-height: 1.3; text-decoration: none; background: none; border: 0;
}
.bpp-hd-drawer .bpp-hd-menu a:hover, .bpp-hd-drawer .bpp-hd-menu a:focus-visible,
.bpp-hd-drawer .bpp-hd-menu li.current-menu-item > a { color: var(--bpp-hd-black); }
.bpp-hd-drawer .bpp-hd-menu .sub-menu { margin: 0 0 .5rem; padding: 0 0 0 1rem; list-style: none; }
.bpp-hd-drawer .bpp-hd-menu .sub-menu li { border-bottom: 0; }
.bpp-hd-drawer .bpp-hd-menu .sub-menu a { padding: .55rem .25rem; font-size: 1rem; font-weight: 400; }
.bpp-hd-drawer .bpp-hd-drawer-cta { margin-top: 1.75rem; }
.bpp-hd-drawer .bpp-hd-contact { display: flex; width: 100%; justify-content: center; padding: 1rem 1.5rem; }

@media (prefers-reduced-motion: reduce) {
	.bpp-hd, .bpp-hd-drawer, .bpp-hd-overlay, .bpp-hd .bpp-hd-menu a::after, .bpp-hd .bpp-hd-menu .sub-menu { transition: none; }
}

/* ---- Theme-proofing -------------------------------------------------------
 * Elementor kits / themes style EVERY <button> (solid background, pill radius, big padding)
 * and recolour it on :hover and :focus (a tap on a phone). Keep these buttons transparent. */
.bpp-hd .bpp-hd-toggle, .bpp-hd .bpp-hd-toggle:focus, .bpp-hd .bpp-hd-toggle:active,
.bpp-hd-drawer .bpp-hd-close, .bpp-hd-drawer .bpp-hd-close:focus, .bpp-hd-drawer .bpp-hd-close:active {
	background: transparent !important; color: var(--bpp-hd-gold) !important; border: 0 !important; border-radius: 50% !important;
	padding: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; box-shadow: none !important; text-transform: none !important;
	font-size: inherit !important; line-height: 1 !important; min-width: 0 !important; width: 44px !important; height: 44px !important;
}
.bpp-hd .bpp-hd-toggle:hover, .bpp-hd .bpp-hd-toggle:focus-visible,
.bpp-hd-drawer .bpp-hd-close:hover, .bpp-hd-drawer .bpp-hd-close:focus-visible {
	background: rgba(41, 41, 41, .06) !important; color: var(--bpp-hd-brown) !important;
}
.bpp-hd .bpp-hd-toggle:focus:not(:focus-visible), .bpp-hd-drawer .bpp-hd-close:focus:not(:focus-visible) { outline: none; }
.bpp-hd .bpp-hd-toggle:focus-visible, .bpp-hd-drawer .bpp-hd-close:focus-visible { outline: 2px solid var(--bpp-hd-gold); outline-offset: 2px; }

/* ------------------------------------------------------------ Cart popup */
.bpp-hd-cartpanel {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 99990; display: flex; flex-direction: column; width: min(92vw, 420px); max-width: 100%;
	background: var(--bpp-hd-bg); color: var(--bpp-hd-brown); box-sizing: border-box; font-family: inherit; line-height: 1.4;
	transform: translateX(102%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s, box-shadow .3s;
}
.bpp-hd-cartpanel *, .bpp-hd-cartpanel *::before, .bpp-hd-cartpanel *::after { box-sizing: border-box; }
.bpp-hd-cartpanel.is-open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s, box-shadow .3s; box-shadow: -8px 0 30px rgba(41, 41, 41, .18); }
@media (min-width: 783px) { body.admin-bar .bpp-hd-cartpanel { top: 32px; } }
@media (min-width: 601px) and (max-width: 782px) { body.admin-bar .bpp-hd-cartpanel { top: 46px; } }

.bpp-hd-cartpanel-head {
	display: flex; align-items: center; justify-content: space-between; padding: .6rem .75rem .6rem 1.5rem; border-bottom: 1px solid rgba(117, 86, 3, .16);
	font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bpp-hd-brown);
}
.bpp-hd-cartpanel-head .bpp-hd-close { margin: 0; justify-self: auto; }
.bpp-hd-cartpanel-body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.bpp-hd-minicart { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 100%; }

/* Items */
.bpp-hd-minicart .bpp-hd-items { flex: 1 1 auto; margin: 0; padding: .5rem 1.5rem; list-style: none; }
.bpp-hd-minicart .bpp-hd-item { position: relative; display: flex; align-items: flex-start; gap: .9rem; margin: 0; padding: 1rem 0; list-style: none; border-bottom: 1px solid rgba(117, 86, 3, .14); transition: opacity .2s; }
.bpp-hd-minicart .bpp-hd-item.is-removing { opacity: .4; pointer-events: none; }
.bpp-hd-minicart .bpp-hd-item-thumb { flex: none; width: 68px; line-height: 0; background: rgba(192, 163, 86, .12); }
.bpp-hd-minicart .bpp-hd-item-img { display: block; width: 68px; height: 84px; object-fit: cover; border: 0; border-radius: 0; margin: 0; }
.bpp-hd-minicart .bpp-hd-item-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .2rem; padding-right: 1.6rem; }
.bpp-hd-minicart .bpp-hd-item-name, .bpp-hd-minicart .bpp-hd-item-name a { font-size: 1rem; font-weight: 500; line-height: 1.3; color: var(--bpp-hd-brown); text-decoration: none; }
.bpp-hd-minicart .bpp-hd-item-name a:hover { color: var(--bpp-hd-black); }
.bpp-hd-minicart dl.variation { margin: 0; padding: 0; font-size: .82rem; line-height: 1.4; color: rgba(117, 86, 3, .85); }
.bpp-hd-minicart dl.variation dt, .bpp-hd-minicart dl.variation dd { display: inline; margin: 0; padding: 0; font-weight: 400; }
.bpp-hd-minicart dl.variation dd p { display: inline; margin: 0; }
.bpp-hd-minicart dl.variation dd::after { content: ""; display: block; }
.bpp-hd-minicart .bpp-hd-item-price { font-size: .92rem; color: var(--bpp-hd-black); }
.bpp-hd-minicart .bpp-hd-remove {
	position: absolute; top: .85rem; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
	color: var(--bpp-hd-brown); background: transparent; font-size: 1.4rem; line-height: 1; text-decoration: none; transition: background-color .2s, color .2s;
}
.bpp-hd-minicart .bpp-hd-remove:hover, .bpp-hd-minicart .bpp-hd-remove:focus-visible { background: rgba(41, 41, 41, .08); color: var(--bpp-hd-black); }

/* Subtotal + buttons */
.bpp-hd-minicart .bpp-hd-subtotal { display: flex; align-items: baseline; justify-content: space-between; margin: 0; padding: 1.1rem 1.5rem .8rem; border-top: 1px solid rgba(117, 86, 3, .16); font-size: 1rem; color: var(--bpp-hd-brown); }
.bpp-hd-minicart .bpp-hd-subtotal strong { font-size: 1.15rem; font-weight: 600; color: var(--bpp-hd-black); }
.bpp-hd-minicart .bpp-hd-cart-actions { display: flex; flex-direction: column; gap: .6rem; padding: 0 1.5rem 1.5rem; }

.bpp-hd-cartpanel .bpp-hd-btn {
	display: flex; align-items: center; justify-content: center; width: 100%; padding: .95rem 1.5rem; border: 1px solid var(--bpp-hd-gold); border-radius: 999px;
	font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; box-shadow: none; transition: background-color .2s, color .2s, border-color .2s;
}
.bpp-hd-cartpanel .bpp-hd-btn--gold { background: var(--bpp-hd-gold); color: var(--bpp-hd-brown); }
.bpp-hd-cartpanel .bpp-hd-btn--outline { background: transparent; color: var(--bpp-hd-brown); }
.bpp-hd-cartpanel .bpp-hd-btn:hover, .bpp-hd-cartpanel .bpp-hd-btn:focus-visible { background: var(--bpp-hd-black); border-color: var(--bpp-hd-black); color: #fff; }

/* Empty */
.bpp-hd-minicart .bpp-hd-empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 2.5rem 1.5rem; text-align: center; }
.bpp-hd-minicart .bpp-hd-empty .bpp-hd-svg { width: 56px; height: 56px; color: var(--bpp-hd-gold); stroke-width: 1.1; }
.bpp-hd-minicart .bpp-hd-empty p { margin: 0 0 .4rem; font-size: 1.1rem; color: var(--bpp-hd-brown); }
.bpp-hd-minicart .bpp-hd-empty .bpp-hd-btn { width: auto; min-width: 200px; }

/* Close button in the cart header: same theme-proofing as the menu drawer */
.bpp-hd-cartpanel .bpp-hd-close, .bpp-hd-cartpanel .bpp-hd-close:focus, .bpp-hd-cartpanel .bpp-hd-close:active {
	display: flex !important; align-items: center; justify-content: center; background: transparent !important; color: var(--bpp-hd-gold) !important; border: 0 !important;
	border-radius: 50% !important; padding: 0 !important; box-shadow: none !important; width: 44px !important; height: 44px !important; min-width: 0 !important; cursor: pointer;
}
.bpp-hd-cartpanel .bpp-hd-close:hover, .bpp-hd-cartpanel .bpp-hd-close:focus-visible { background: rgba(41, 41, 41, .06) !important; color: var(--bpp-hd-brown) !important; }
.bpp-hd-cartpanel .bpp-hd-close:focus:not(:focus-visible) { outline: none; }
.bpp-hd-cartpanel .bpp-hd-close:focus-visible { outline: 2px solid var(--bpp-hd-gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .bpp-hd-cartpanel { transition: none; } }

/* ------------------------------------------------- Language switcher (GTranslate) */
.bpp-hd .bpp-hd-lang { display: flex; align-items: center; margin: 0; padding: 0; line-height: 1.2; }
.bpp-hd-lang .gtranslate_wrapper, .bpp-hd-lang .gt_switcher_wrapper { display: flex; align-items: center; gap: .5rem; margin: 0; padding: 0; position: static; }
.bpp-hd-lang a, .bpp-hd-lang .gt_selected a, .bpp-hd-lang .glink {
	color: var(--bpp-hd-brown); font-size: .98rem; font-weight: 500; text-decoration: none; background: none; border: 0;
}
.bpp-hd-lang a:hover, .bpp-hd-lang .glink:hover { color: var(--bpp-hd-black); background: none; }
.bpp-hd-lang select {
	max-width: 100%; margin: 0; padding: .5rem 1.8rem .5rem 1rem; color: var(--bpp-hd-brown); font-size: .98rem; font-weight: 500; line-height: 1.2;
	background-color: transparent; border: 1px solid rgba(117, 86, 3, .35); border-radius: 999px; box-shadow: none; cursor: pointer;
}
.bpp-hd-lang select:hover, .bpp-hd-lang select:focus { color: var(--bpp-hd-black); border-color: var(--bpp-hd-gold); background-color: transparent; }
.bpp-hd-lang img { display: inline-block; width: 22px; height: auto; margin: 0; border: 0; border-radius: 2px; vertical-align: middle; }
.bpp-hd-drawer .bpp-hd-drawer-lang { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(117, 86, 3, .16); }
.bpp-hd-drawer .bpp-hd-lang { display: flex; }
