/* Header: rebuild of Elementor Theme Builder header (post 30).
   Every number below was measured on live at 1920/1440/1280/1100/1024/768/767/390px (Nov 2026). */

/* In-flow footprint: live reserves 50px above the content (30px padding + 20px empty container),
   so the fixed 80px bar overlaps the top 30px of the page. Below 768px it reserves nothing. */
.tlt-site-header{display:block;height:50px;margin:0;}

.tlt-header{position:fixed;top:0;left:0;right:0;z-index:999;display:flex;align-items:center;gap:20px;
	height:80px;padding:10px;box-sizing:border-box;background:#000;
	transition:background .3s,border .3s,box-shadow .3s,transform .4s;}
.admin-bar .tlt-header{top:var(--wp-admin--admin-bar--height,32px);}

.tlt-header__main{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:0;padding:0 20px 0 0;height:60px;}

/* Logo: 60px tall (291px wide) on desktop, 175px wide from 1200px down; small logo below 768px. */
.tlt-header .wp-block-image{margin:0;}
.tlt-header__logo{flex:0 0 auto;margin-right:20px!important;}
.tlt-header__logo img{display:block;width:auto;height:60px;max-width:none;}
.tlt-header__logo-sm{display:none!important;}

/* Search (markup and colours come from snippet #21's [tillett_header_search]) */
.tlt-header__main > .tillett-header-search{flex:0 0 205px;max-width:205px;}
.tlt-header .tillett-header-search-form{width:100%;}

.tlt-header__main > .tillett-header-search{margin-left:auto;}

/* Mini-Cart: styled as the Elementor menu cart (yellow parallelogram, £ total, solid cart icon, count badge). */
/* Live cart widget a86f5e7: a 98px slot with a 22px right margin; the 109px button overflows it. */
.tlt-header__cart{flex:0 0 auto;width:auto;margin:0 calc(.5px + .73vw) 0 0;} /* slot = button width; with £0.00 that is live's 98px slot + 11px overflow, 22px margin at 1440 */
.tlt-header .wc-block-mini-cart{display:block;}
.tlt-header .wc-block-mini-cart__button{position:relative;display:inline-flex;align-items:center;gap:15px;height:46px;margin:0;padding:10px 16px;box-sizing:border-box;
	font-family:inherit;font-size:15px;font-weight:400;line-height:15px;color:#1a1a1a;background:#f9d616;border:1px solid #69727d;border-radius:0;
	clip-path:polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%);transition:.3s;cursor:pointer;opacity:1;}
.tlt-header .wc-block-mini-cart__button:hover{background:#fff;color:#1a1a1a;transform:translate(5px,-5px);opacity:1;}
.tlt-header .wc-block-mini-cart__amount{order:0;display:inline!important;font-size:15px;font-weight:400;color:#1a1a1a;}
.tlt-header .wc-block-mini-cart__quantity-badge{order:1;position:relative;display:flex;width:24px;height:24px;}
.tlt-header .wc-block-mini-cart__icon{display:none!important;}
.tlt-header .wc-block-mini-cart__quantity-badge::before{content:"";display:block;width:24px;height:24px;background:#1a1a1a;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath d='M188 167H938C943 167 949 169 953 174 957 178 959 184 958 190L926 450C919 502 875 542 823 542H263L271 583C281 631 324 667 373 667H854C866 667 875 676 875 687S866 708 854 708H373C304 708 244 659 230 591L129 83H21C9 83 0 74 0 62S9 42 21 42H146C156 42 164 49 166 58L188 167ZM771 750C828 750 875 797 875 854S828 958 771 958 667 912 667 854 713 750 771 750ZM354 750C412 750 458 797 458 854S412 958 354 958 250 912 250 854 297 750 354 750Z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath d='M188 167H938C943 167 949 169 953 174 957 178 959 184 958 190L926 450C919 502 875 542 823 542H263L271 583C281 631 324 667 373 667H854C866 667 875 676 875 687S866 708 854 708H373C304 708 244 659 230 591L129 83H21C9 83 0 74 0 62S9 42 21 42H146C156 42 164 49 166 58L188 167ZM771 750C828 750 875 797 875 854S828 958 771 958 667 912 667 854 713 750 771 750ZM354 750C412 750 458 797 458 854S412 958 354 958 250 912 250 854 297 750 354 750Z'/%3E%3C/svg%3E") center/contain no-repeat;}
.tlt-header .wc-block-mini-cart__badge{position:absolute;top:-7px;right:-7px;left:auto;transform:none;display:block!important;
	min-width:16px;width:16px;height:16px;margin:0;padding:0;box-sizing:border-box;border:0;border-radius:100%;
	font-size:10px;font-weight:400;line-height:16px;text-align:center;color:#f9d616!important;background:#1a1a1a!important;}

/* 1300px and down: menu steps are in the megamenu block. From 1200px the logo and search shrink. */
@media (max-width:1200px){
	.tlt-header__logo img{width:175px;height:auto;}
	.tlt-header__main > .tillett-header-search{flex-basis:150px;max-width:150px;}
	.tlt-header .tillett-header-search-input{min-width:0;width:100%;}
}

/* Tablet (768 to 1024): logo, search, hamburger, cart. */
@media (max-width:1024px){
	.tlt-header__cart{flex:0 0 auto;width:auto;margin:-1px;}
}

/* Mobile (767 and below): small logo, no search, 76px bar, nothing reserved in flow. */
@media (max-width:767px){
	.tlt-site-header{height:0;}
	.tlt-header{height:76px;padding:8px 10px;gap:6px;}
	.tlt-header__main{padding:0 0 0 10px;height:60px;}
	.tlt-header__logo{display:none!important;}
	.tlt-header__logo-sm{display:block!important;}
	.tlt-header__logo-sm img{display:block;width:auto;height:36px;}
	.tlt-header__main > .tillett-header-search{display:none!important;}
	.tlt-header .wc-block-mini-cart__button{height:30px;gap:4px;padding:6px 8px;font-size:12px;line-height:12px;}
	.tlt-header .wc-block-mini-cart__amount{font-size:12px;line-height:1;}
	.tlt-header .wc-block-mini-cart__quantity-badge,.tlt-header .wc-block-mini-cart__quantity-badge::before{width:16px;height:16px;}
	.tlt-header .wc-block-mini-cart__badge{min-width:14px;width:14px;height:14px;line-height:14px;}
	html,body{overflow-x:hidden;max-width:100vw;}
}

.tlt-header__logo a,.tlt-header__logo-sm a{display:block;line-height:0;}

/* Search box: same rules the live header applies on top of snippet #21 (Hello reset gives the field its border). */
.tlt-header .tillett-header-search,.tlt-header .tillett-header-search-form{width:100%;max-width:100%;}
.tlt-header .tillett-header-search-input{min-width:0;width:100%;}
