/* =========================================================================
   Graffix Tools — site header & footer
   ========================================================================= */
.gts-wrap { width: min(1280px, 100% - 48px); margin: 0 auto; }

/* top bar */
.gts-topbar { background: #050506; border-bottom: 1px solid #1A1C21; color: #A6A3A0; font-family: 'Share Tech Mono', ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.gts-topbar .gts-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.gts-topbar a { color: #F2F0EC; text-decoration: none; }
.gts-topbar a:hover { color: #2EA6FF; }
.gts-led { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #A3E635; box-shadow: 0 0 6px #A3E635; margin-right: 6px; vertical-align: 1px; animation: gts-blink 1.8s ease-in-out infinite; }
@keyframes gts-blink { 50% { opacity: .2; } }

/* header */
.gts-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 900;
	background: rgba(8,8,10,.82); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
	border-bottom: 1px solid #22252B; box-shadow: 0 1px 0 rgba(46,166,255,.15); transition: background .3s ease; }
.gts-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, #1E90FF 30%, #A3E635 70%, transparent); opacity: .55; }
.gts-bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.gts-logo { display: flex; align-items: center; flex: 0 0 auto; }
.gts-logo img { height: 58px; width: auto; display: block; transition: transform .3s ease; }
.gts-logo:hover img { transform: scale(1.04) rotate(-1deg); }

.gts-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.gts-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.gts-menu > li { position: relative; }
.gts-menu a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: #F2F0EC; text-decoration: none;
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.gts-menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: #1E90FF; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.gts-menu > li > a:hover::after, .gts-menu > .current-menu-item > a::after { transform: scaleX(1); }
.gts-menu a:hover { color: #FFFFFF; }
.gts-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 220px; background: #111317; border: 1px solid #2A2D33; border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease; }
.gts-menu li:hover > .sub-menu, .gts-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gts-menu .sub-menu a { width: 100%; font-size: 15px; }

.gts-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.gts-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 4px; color: #F2F0EC; transition: background .2s, color .2s; }
.gts-icon:hover { background: rgba(255,255,255,.06); color: #2EA6FF; }
.gts-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #A3E635; color: #0A0A0C; font: 700 11px/18px 'Barlow Condensed', sans-serif; text-align: center; }
.gts-cart-count.is-empty { display: none; }
.gts-shop { display: inline-flex; align-items: center; min-height: 44px; margin-left: 6px; padding: 0 20px; background: #0070D8; color: #FFFFFF; text-decoration: none;
	font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase;
	clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background .2s; }
.gts-shop:hover { background: #1E90FF; color: #FFFFFF; }
.gts-toggle { display: none; width: 44px; height: 44px; border: 1px solid #3A3E46; border-radius: 4px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.gts-toggle span { display: block; width: 20px; height: 2px; background: #F2F0EC; transition: transform .25s ease, opacity .2s; }
.gts-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gts-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gts-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.gts-header a:focus-visible, .gts-toggle:focus-visible { outline: 2px solid #2EA6FF; outline-offset: 2px; }

/* page title strip on inner pages (Glidex breadcrumb) — make it match */
.gts-title-wrap .main-title-section-wrapper { background: #0D0E11 !important; border-bottom: 1px solid #1A1C21; }
.gts-title-wrap .main-title-section h1 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: #F2F0EC; }

@media (max-width: 1080px) {
	.gts-toggle { display: inline-flex; }
	.gts-shop { display: none; }
	.gts-nav { position: absolute; left: 0; right: 0; top: 100%; display: block; background: #0B0C0F; border-bottom: 1px solid #22252B; box-shadow: 0 20px 40px rgba(0,0,0,.6);
		max-height: 0; overflow: hidden; transition: max-height .35s ease; }
	.gts-nav.is-open { max-height: 80vh; overflow-y: auto; }
	.gts-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
	.gts-menu a { width: 100%; min-height: 52px; border-bottom: 1px solid #1A1C21; font-size: 19px; }
	.gts-menu > li > a::after { display: none; }
	.gts-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: transparent; padding: 0 0 0 14px; }
	.gts-bar { justify-content: space-between; }
}
@media (max-width: 560px) {
	.gts-topbar .gts-wrap > span { display: none; }
	.gts-topbar .gts-wrap { justify-content: center; }
	.gts-logo img { height: 46px; }
	.gts-bar { min-height: 64px; gap: 10px; }
}

/* footer */
.gts-footer { position: relative; background: #070708; color: #A6A3A0; border-top: 1px solid #1A1C21; }
.gts-hazard { height: 10px; background: repeating-linear-gradient(-45deg, #FFD400 0 16px, #15171B 16px 32px); }
.gts-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 64px 0 48px; }
.gts-foot-brand { display: flex; flex-direction: column; gap: 14px; }
.gts-foot-brand img { height: 84px; width: auto; align-self: flex-start; }
.gts-foot-brand p { margin: 0; line-height: 1.6; max-width: 340px; }
.gts-foot-contact a { color: #F2F0EC; font-weight: 600; text-decoration: none; }
.gts-foot-contact a:hover { color: #2EA6FF; }
.gts-foot-col { display: flex; flex-direction: column; gap: 10px; }
.gts-foot-h { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: #F2F0EC; margin-bottom: 4px; }
.gts-foot-col a { color: #C9C6C1; text-decoration: none; width: fit-content; }
.gts-foot-col a:hover { color: #2EA6FF; }
.gts-foot-bottom { border-top: 1px solid #16181C; }
.gts-foot-bottom .gts-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; font-size: 13px; color: #8E8B87; }
@media (max-width: 900px) { .gts-foot-grid { grid-template-columns: 1fr 1fr; } .gts-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .gts-foot-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) { .gts-led { animation: none; } .gts-nav { transition: none; } }

/* Glidex floats #main: the footer must clear it or it paints over the page */
.gts-footer { clear: both; float: none; width: 100%; }
.gts-topbar, .gts-header { clear: both; }

/* Glidex styles every <button>; reset the menu toggle */
.gts-header button.gts-toggle,
.gts-header button.gts-toggle:hover,
.gts-header button.gts-toggle:focus {
	background: transparent !important; color: #F2F0EC !important; border: 1px solid #3A3E46 !important; border-radius: 4px !important;
	padding: 0 !important; width: 44px; height: 44px; min-width: 0; box-shadow: none !important; font: inherit; text-transform: none; line-height: 1;
}
.gts-header button.gts-toggle:hover { border-color: #2EA6FF !important; }
@media (min-width: 1081px) { .gts-header button.gts-toggle { display: none !important; } }
@media (max-width: 1080px) {
	.gts-header button.gts-toggle { display: inline-flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 5px !important; }
}
.gts-header button.gts-toggle span { position: static !important; display: block !important; width: 20px !important; height: 2px !important; margin: 0 !important; padding: 0 !important; background: #F2F0EC !important; border: 0 !important; }
.gts-header button.gts-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gts-header button.gts-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gts-header button.gts-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Buttons: one style site-wide, matching the homepage .gth-btn
   (replaces Glidex's lime-to-blue gradient buttons everywhere)
   ========================================================================= */
body .button, body a.button, body button.button, body input.button,
body input[type="submit"], body button[type="submit"]:not(.gts-toggle):not(.search-submit),
body .wdt-button, body .wpcf7-submit, body .single_add_to_cart_button, body .checkout-button,
body #place_order, body .woocommerce-Button, body .wc-block-components-button, body .wc-forward, body .added_to_cart {
	position: relative; overflow: hidden; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 26px !important; margin: 0; border: 0 !important; border-radius: 4px !important;
	background: #0070D8 !important; background-image: none !important; color: #FFFFFF !important;
	box-shadow: 0 0 0 1px rgba(46,166,255,.4), 0 10px 30px rgba(30,144,255,.25) !important;
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif !important; font-weight: 700 !important; font-size: 17px !important; line-height: 1 !important;
	letter-spacing: .08em !important; text-transform: uppercase !important; text-decoration: none !important; text-shadow: none !important; white-space: nowrap;
	clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
	transition: background-color .2s ease, transform .25s ease, box-shadow .25s ease !important; cursor: pointer; }
body .button::after, body .wdt-button::after, body .single_add_to_cart_button::after, body .checkout-button::after, body .wc-forward::after {
	content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; pointer-events: none; }
body .button:hover::after, body .wdt-button:hover::after, body .single_add_to_cart_button:hover::after, body .checkout-button:hover::after, body .wc-forward:hover::after { transform: translateX(120%); }
body .button:hover, body input[type="submit"]:hover, body .wdt-button:hover, body .wpcf7-submit:hover, body .single_add_to_cart_button:hover, body .checkout-button:hover, body #place_order:hover, body .wc-forward:hover {
	background: #1E90FF !important; background-image: none !important; color: #FFFFFF !important; transform: translateY(-1px); }
body .button:focus-visible, body input[type="submit"]:focus-visible, body .wdt-button:focus-visible { outline: 2px solid #2EA6FF !important; outline-offset: 3px; }
body .button.disabled, body .button:disabled, body .single_add_to_cart_button.disabled { opacity: .45 !important; cursor: not-allowed; transform: none; }
/* secondary actions: ghost, like the homepage .gth-btn.is-ghost */
body .button.product_type_variable, body .button.wc-backward, body .woocommerce-cart-form .button[name="update_cart"], body .yith-wcqv-button,
body .woocommerce-MyAccount-content .button.view, body .button.alt-ghost {
	background: transparent !important; color: #F2F0EC !important; box-shadow: inset 0 0 0 1px #4A4E57 !important; }
body .button.product_type_variable:hover, body .button.wc-backward:hover, body .woocommerce-cart-form .button[name="update_cart"]:hover {
	background: transparent !important; color: #F2F0EC !important; box-shadow: inset 0 0 0 1px #2EA6FF !important; }
/* SE360 and blade products: lime, like the homepage .gth-btn.is-lime */
body .gts-card.is-lime .button:not(.product_type_variable) { background: #A3E635 !important; color: #0A0A0C !important; box-shadow: 0 10px 30px rgba(163,230,53,.2) !important; }

/* Win over Glidex's inline ".woocommerce a.button" gradient (same rules, higher specificity) */
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) :is(a, button, input).button,
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) :is(a, button, input).button.alt,
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) :is(a, button, input).button:is(.disabled, :disabled),
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) :is(a, button, input).button.alt:is(.disabled, :disabled),
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) :is(a, button, input).button.alt.disabled:hover,
html body #respond input#submit {
	background: #0070D8 !important; background-image: none !important; color: #FFFFFF !important; border: 0 !important; border-radius: 4px !important;
	box-shadow: 0 0 0 1px rgba(46,166,255,.4), 0 10px 30px rgba(30,144,255,.25) !important;
	font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase !important; }
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) :is(a, button, input).button:hover,
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) :is(a, button, input).button.alt:hover,
html body #respond input#submit:hover {
	background: #1E90FF !important; background-image: none !important; color: #FFFFFF !important; }
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) :is(a, button, input).button:is(.product_type_variable, .wc-backward, .yith-wcqv-button),
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) .woocommerce-cart-form :is(a, button, input).button[name="update_cart"] {
	background: transparent !important; color: #F2F0EC !important; box-shadow: inset 0 0 0 1px #4A4E57 !important; }
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) :is(a, button, input).button:is(.product_type_variable, .wc-backward, .yith-wcqv-button):hover,
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) .woocommerce-cart-form :is(a, button, input).button[name="update_cart"]:hover {
	background: transparent !important; color: #F2F0EC !important; box-shadow: inset 0 0 0 1px #2EA6FF !important; }
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) .gts-card.is-lime :is(a, button).button:not(.product_type_variable),
:is(html body.woocommerce, html body.woocommerce-page, html body .woocommerce) .gts-card.is-lime :is(a, button).button:not(.product_type_variable):hover {
	background: #A3E635 !important; color: #0A0A0C !important; box-shadow: 0 10px 30px rgba(163,230,53,.2) !important; }
/* the logged-in admin bar search keeps its own look */
#wpadminbar input[type="submit"], #wpadminbar .adminbar-button { all: revert; }
