/*
Theme Name: Aerospace GSE 2026
Theme URI: https://www.mutedmarketing.com
Description: Aerospace GSE premium redesign by Muted Marketing
Author: Muted Marketing
Author URI: https://www.mutedmarketing.com
Template: aerospace
Version: 3.4
Text Domain: aerospace-gse-2026
*/

/* ================================
   FONTS
================================ */

@font-face {
  font-family: 'Azo Sans';
  src: url('fonts/azo-sans-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Azo Sans';
  src: url('fonts/azo-sans-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Azo Sans';
  src: url('fonts/azo-sans-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Azo Sans';
  src: url('fonts/azo-sans-black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ================================
   ROOT + GLOBAL
================================ */

:root {
  --ag-pink: #e6007e;
  --ag-pink-dark: #b90066;
  --ag-dark: #0d1b20;
  --ag-ink: #172328;
  --ag-grey: #3a4b52;
  --ag-soft: #f5f7f8;
  --ag-border: rgba(58,75,82,.14);
  --ag-shadow: 0 24px 70px rgba(10,22,28,.12);
  --ag-font: 'Azo Sans', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 !important;
  background: #fff !important;
  color: var(--ag-grey) !important;
  font-family: var(--ag-font) !important;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ag-pink);
  text-decoration: none;
}

a:hover {
  color: var(--ag-pink-dark);
}

p {
  color: var(--ag-grey);
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea,
nav {
  font-family: var(--ag-font) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ag-ink);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}

.ag-wrap,
.about-container,
.brand-container,
.acr-container,
.contact-container,
.locations-container,
.partners-container,
.loan-container,
.news-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

#content,
.ag-site-content,
#primary,
main,
article,
.page,
.post {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* ================================
   HEADER
================================ */

#masthead.ag-header {
  position: sticky !important;
  top: 0;
  z-index: 99999;
  background: var(--ag-dark) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}

.admin-bar #masthead.ag-header {
  top: 32px;
}

.ag-topbar {
  background: var(--ag-pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.ag-topbar__inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.ag-topbar a,
.ag-topbar span {
  color: #fff !important;
}

.ag-topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ag-nav {
  background: var(--ag-dark);
}

.ag-nav__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 28px;
}

.ag-logo img,
.custom-logo {
  max-width: 225px !important;
  height: auto !important;
  display: block;
}

.ag-menu__list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.ag-menu__list li {
  position: relative;
  list-style: none;
  margin: 0;
}

.ag-menu__list > li > a {
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 18px 0;
}

.ag-menu__list > li > a:hover {
  color: var(--ag-pink) !important;
}

.ag-menu__list .menu-item-has-children > a::after {
  content: "⌄";
  color: var(--ag-pink);
  font-size: 12px;
  margin-left: 7px;
}

.ag-menu__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff !important;
  border: 1px solid var(--ag-border);
  border-radius: 18px;
  padding: 12px !important;
  box-shadow: 0 24px 70px rgba(10,22,28,.22);
  display: none;
  z-index: 999999;
}

.ag-menu__list li:hover > .sub-menu,
.ag-menu__list li:focus-within > .sub-menu {
  display: block;
}

.ag-menu__list .sub-menu a {
  display: flex;
  width: 100%;
  padding: 14px 16px !important;
  border-radius: 12px;
  color: var(--ag-ink) !important;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.2;
}

.ag-menu__list .sub-menu a:hover {
  background: rgba(230,0,126,.08) !important;
  color: var(--ag-pink) !important;
}

.ag-nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
}

.ag-search,
.ag-search-toggle,
.ag-link {
  display: none !important;
}

.ag-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ag-pink);
  color: #fff !important;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(230,0,126,.32);
}

.ag-cta:hover {
  background: var(--ag-pink-dark);
  color: #fff !important;
}

.ag-menu-toggle {
  display: none;
  border: 0;
  background: #fff;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  cursor: pointer;
}

.ag-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ag-dark);
  margin: 4px auto;
}

/* ================================
   COMMON BUTTONS
================================ */

.brand-actions,
.acr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.brand-btn,
.acr-btn,
.locations-btn,
.partners-btn,
.loan-link,
.about-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ag-font) !important;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .04em;
  border-radius: 999px;
}

.brand-btn,
.acr-btn {
  padding: 16px 26px;
}

.brand-btn--pink,
.acr-btn--pink,
.locations-btn {
  background: var(--ag-pink);
  color: #fff !important;
  box-shadow: 0 16px 40px rgba(230,0,126,.32);
}

.brand-btn--outline,
.acr-btn--outline {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff !important;
  background: transparent;
}

.brand-btn--white,
.acr-btn--white,
.locations-btn--white {
  background: #fff;
  color: var(--ag-pink) !important;
}

/* ================================
   HOME
================================ */

.ag-home {
  overflow: hidden;
  background: #fff;
}

.ag-eyebrow,
.brand-kicker,
.acr-kicker {
  color: var(--ag-pink) !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ag-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ag-dark);
}

.ag-hero__media,
.ag-hero__fallback,
.ag-hero__shade {
  position: absolute;
  inset: 0;
}

.ag-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 67.5vw;
  min-height: 120%;
  min-width: 213.33vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

.ag-hero__fallback {
  background: url('/wp-content/uploads/2019/03/background.jpg') center/cover no-repeat;
  opacity: .35;
}

.ag-hero__shade {
  background:
    linear-gradient(90deg, rgba(10,22,28,.92), rgba(10,22,28,.70), rgba(230,0,126,.24));
  z-index: 1;
}

.ag-hero__content {
  position: relative;
  z-index: 2;
  padding: 110px 0;
  color: #fff;
}

.ag-hero h1 {
  color: #fff;
  font-size: clamp(48px, 6vw, 92px);
  max-width: 940px;
  text-transform: uppercase;
}

.ag-hero h1 span {
  color: var(--ag-pink);
}

.ag-hero__lead {
  color: rgba(255,255,255,.88) !important;
  max-width: 680px;
  font-size: 22px !important;
  margin-bottom: 34px;
}

.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 25px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

.ag-btn--pink {
  background: var(--ag-pink);
  color: #fff !important;
}

.ag-btn--ghost {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff !important;
  background: rgba(255,255,255,.08);
}

.ag-logo-strip {
  background: var(--ag-dark);
  overflow: hidden;
}

.ag-logo-strip__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.ag-section {
  padding: 90px 0;
}

.ag-section--white {
  background: #fff;
}

.ag-section--soft {
  background: var(--ag-soft);
}

.ag-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.ag-section__head h2,
.ag-aircraft-panel h2,
.ag-values-grid h2,
.ag-cta-band h2 {
  font-size: clamp(34px, 4vw, 62px);
  text-transform: uppercase;
}

.ag-card-grid--six,
.ag-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ag-category-card,
.ag-product-card,
.ag-value-card {
  background: #fff;
  border: 1px solid var(--ag-border);
  box-shadow: 0 16px 44px rgba(10,22,28,.06);
}

.ag-category-card {
  min-height: 260px;
  padding: 30px;
  color: var(--ag-ink) !important;
}

.ag-category-card h3 {
  font-size: 21px;
  text-transform: uppercase;
}

.ag-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(230,0,126,.09);
  color: var(--ag-pink);
  margin-bottom: 28px;
}

.ag-aircraft-panel {
  background: var(--ag-dark);
  color: #fff;
  padding: 100px 0;
}

.ag-aircraft-panel__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.ag-aircraft-panel h2,
.ag-aircraft-panel p {
  color: #fff !important;
}

.ag-aircraft-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ag-aircraft-list a {
  min-height: 136px;
  padding: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ag-values-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 54px;
  align-items: center;
}

.ag-value-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ag-value-card {
  padding: 28px 22px;
}

.ag-product-card {
  padding: 18px;
  color: var(--ag-ink) !important;
}

.ag-product-card__image {
  height: 170px;
  display: grid;
  place-items: center;
  background: var(--ag-soft);
  margin-bottom: 18px;
}

.ag-product-card__image img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.ag-cta-band {
  background: linear-gradient(135deg, var(--ag-pink), #8c004d);
  padding: 74px 0;
  color: #fff;
}

.ag-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ag-cta-band h2,
.ag-cta-band p {
  color: #fff !important;
}

/* ================================
   BRAND / SUPPLIER PAGES
================================ */

.brand-hero,
.acr-hero,
.contact-hero,
.locations-hero,
.loan-hero,
.partners-hero,
.news-hero,
.about-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand-hero__overlay,
.acr-hero__overlay,
.contact-hero__overlay,
.locations-hero__overlay,
.loan-hero__overlay,
.partners-hero__overlay,
.news-hero__overlay,
.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,22,28,.92), rgba(10,22,28,.58), rgba(230,0,126,.22));
}

.brand-hero__inner,
.acr-hero__inner,
.contact-hero__inner,
.locations-hero__inner,
.loan-hero__inner,
.partners-hero__inner,
.news-hero__inner,
.about-hero__inner {
  position: relative;
  z-index: 2;
}

.brand-hero h1,
.acr-hero h1,
.contact-hero h1,
.locations-hero h1,
.loan-hero h1,
.partners-hero h1,
.news-hero h1,
.about-hero h1 {
  color: #fff;
  font-size: clamp(52px, 8vw, 108px);
  max-width: 950px;
  text-transform: uppercase;
}

.brand-hero p,
.acr-lead,
.contact-hero p,
.locations-hero p,
.loan-hero p,
.partners-hero p,
.news-hero p,
.about-hero p {
  color: #fff !important;
  font-size: 21px;
  max-width: 760px;
}

.aeroforge-hero { background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-11.jpg') center/cover no-repeat; }
.fishpole-hero { background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-10.jpg') center/cover no-repeat; }
.eagle-hero { background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-9.jpg') center/cover no-repeat; }
.malabar-hero { background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-8.jpg') center/cover no-repeat; }
.tronair-hero { background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-7.jpg') center/cover no-repeat; }
.columbus-hero { background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-13.jpg') center/cover no-repeat; }

.brand-intro,
.brand-split,
.brand-service,
.acr-intro,
.acr-split,
.acr-specialisms,
.acr-aircraft,
.acr-training,
.loan-intro,
.loan-audience,
.loan-capabilities,
.partners-intro,
.contact-section,
.locations-intro,
.news-section,
.about-intro,
.about-mission,
.about-partners {
  padding: 90px 0;
  background: #fff;
}

.brand-intro__grid,
.brand-split__grid,
.brand-dark__grid,
.brand-cta__inner,
.acr-intro__grid,
.acr-split__grid,
.acr-dark__grid,
.acr-training__grid,
.acr-cta__inner,
.loan-intro__grid,
.loan-dark__grid,
.loan-cta__inner,
.partners-intro__grid,
.partners-service__grid,
.partners-cta__inner,
.locations-intro__grid,
.locations-cta__inner,
.about-intro__grid,
.about-dark__grid,
.about-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  align-items: center;
}

.brand-intro h2,
.brand-split h2,
.brand-dark h2,
.brand-service h2,
.brand-cta h2,
.acr-intro h2,
.acr-split h2,
.acr-dark h2,
.acr-specialisms h2,
.acr-aircraft h2,
.acr-training h2,
.acr-cta h2,
.loan-intro h2,
.loan-section-head h2,
.loan-dark h2,
.loan-capabilities h2,
.loan-cta h2,
.partners-intro h2,
.partners-section-head h2,
.partners-service h2,
.partners-cta h2,
.locations-intro h2,
.locations-cta h2,
.about-intro h2,
.about-dark h2,
.about-mission h2,
.about-section-head h2,
.about-cta h2,
.news-section-head h2,
.news-cta h2 {
  font-size: clamp(34px, 4vw, 58px);
  text-transform: uppercase;
}

.brand-card-grid,
.acr-card-grid,
.acr-special-grid,
.acr-aircraft-grid,
.loan-process-grid,
.loan-card-grid,
.partners-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-card,
.acr-card,
.loan-card,
.loan-step,
.partner-card,
.news-card {
  background: #fff;
  border: 1px solid var(--ag-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(10,22,28,.06);
}

.brand-dark,
.acr-dark,
.loan-dark,
.partners-service,
.about-dark {
  padding: 90px 0;
  background: radial-gradient(circle at top right, rgba(230,0,126,.22), transparent 35%), var(--ag-dark);
}

.brand-dark h2,
.brand-dark p,
.acr-dark h2,
.acr-dark p,
.loan-dark h2,
.loan-dark p,
.partners-service h2,
.partners-service p,
.about-dark h2,
.about-dark p {
  color: #fff !important;
}

.brand-benefits,
.acr-benefits,
.loan-benefits,
.about-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.brand-benefits div,
.acr-benefits div,
.loan-benefits div,
.about-benefits div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 24px;
  border-radius: 16px;
  font-weight: 800;
}

.brand-cta,
.acr-cta,
.loan-cta,
.partners-cta,
.locations-cta,
.news-cta,
.about-cta {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--ag-pink), #9f145b);
}

.brand-cta h2,
.brand-cta p,
.acr-cta h2,
.acr-cta p,
.loan-cta h2,
.loan-cta p,
.partners-cta h2,
.partners-cta p,
.locations-cta h2,
.locations-cta p,
.news-cta h2,
.news-cta p,
.about-cta h2,
.about-cta p {
  color: #fff !important;
}

/* ================================
   ABOUT PAGE SPECIFIC
================================ */

.about-hero {
  background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-3.jpg') center/cover no-repeat;
}

.about-hero .brand-btn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 54px !important;
  padding: 16px 28px !important;
}

.about-global {
  position: relative;
  padding: 120px 0;
  background:
    linear-gradient(rgba(10,22,28,.90), rgba(10,22,28,.88)),
    url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
}

.about-global__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(230,0,126,.25), transparent 34%);
}

.about-global__content {
  position: relative;
  z-index: 2;
}

.about-global h2,
.about-global p {
  color: #fff !important;
}

.about-global p {
  color: rgba(255,255,255,.86) !important;
}

.about-global__cta {
  display: inline-flex;
  margin-top: 30px;
  padding: 18px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ag-pink), #b10063);
  color: #fff !important;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.about-partner-strip {
  width: 100%;
  padding: 90px 0;
  background: #fff;
  overflow: hidden;
}

.about-partner-strip__heading {
  max-width: 1240px;
  margin: 0 auto 44px;
  padding: 0 28px;
}

.about-partner-strip__marquee {
  width: 100%;
  overflow: hidden;
  background: var(--ag-soft);
  padding: 28px 0;
  border-top: 1px solid var(--ag-border);
  border-bottom: 1px solid var(--ag-border);
}

.about-partner-strip__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: aboutPartnerScroll 38s linear infinite;
}

.about-partner-strip__marquee:hover .about-partner-strip__track {
  animation-play-state: paused;
}

.about-partner-strip__track a {
  flex: 0 0 220px;
  width: 220px;
  height: 90px;
  display: grid;
  place-items: center;
}

.about-partner-strip__track img {
  max-width: 190px !important;
  max-height: 70px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

@keyframes aboutPartnerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================================
   CONTACT / LOCATIONS / NEWS
================================ */

.contact-hero,
.news-hero {
  background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-5.jpg') center/cover no-repeat;
}

.locations-hero {
  background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-4.jpg') center/cover no-repeat;
}

.loan-hero {
  background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-6.jpg') center/cover no-repeat;
}

.partners-hero {
  background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-3.jpg') center/cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
}

.contact-form-card,
.contact-info-card {
  background: #fff;
  border-radius: 22px;
  padding: 42px;
  box-shadow: var(--ag-shadow);
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
  border-radius: 12px !important;
}

.contact-form-card input[type="submit"],
.contact-form-card .gform_button {
  background: var(--ag-pink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 15px 28px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.locations-map-section {
  padding: 80px 0;
  background: var(--ag-dark);
}

.locations-map-wrap {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  overflow: hidden;
  padding: 24px;
}

.locations-map {
  width: 100%;
  display: block;
}

.location-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 3;
}

.location-pin span {
  display: block;
  width: 34px;
  height: 34px;
  background: var(--ag-pink);
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.location-pin span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  top: 8px;
  left: 8px;
}

.pin-uk { top: 38%; left: 47%; }
.pin-europe { top: 42%; left: 53%; }
.pin-middle-east { top: 52%; left: 59%; }
.pin-africa { top: 67%; left: 55%; }
.pin-americas { top: 51%; left: 25%; }

.news-section {
  background: var(--ag-soft);
}

.news-grid {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.news-card {
  overflow: hidden;
  padding: 0;
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ================================
   FOOTER
================================ */

.ag-footer {
  background: var(--ag-dark);
  color: rgba(255,255,255,.78);
}

.ag-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .75fr .9fr 1fr;
  gap: 42px;
  padding: 64px 0;
}

.ag-footer h3 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.ag-footer p,
.ag-footer li,
.ag-footer address {
  color: rgba(255,255,255,.74);
  font-size: 15px;
}

.ag-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.ag-footer a {
  color: rgba(255,255,255,.78);
}

.ag-footer a:hover {
  color: #fff;
}

.ag-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.10);
}

.ag-footer__bottom .ag-wrap {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================================
   WOOCOMMERCE / LEGACY
================================ */

#divisions {
  display: none !important;
}

.product-price,
.product-subtotal,
.product-total,
th.product-total {
  display: none !important;
}

.woocommerce-page .content-area,
.woocommerce-account .content-area {
  max-width: 1200px;
  margin: 70px auto !important;
  padding: 0 24px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
input[type="submit"] {
  background: var(--ag-pink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 0 !important;
  font-weight: 900 !important;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1280px) {
  .ag-nav__inner {
    grid-template-columns: 220px 1fr auto;
    gap: 18px;
  }

  .ag-menu__list {
    gap: 14px;
  }

  .ag-menu__list > li > a {
    font-size: 12px;
  }

  .ag-cta {
    padding: 14px 20px;
    font-size: 12px;
  }
}

@media (max-width: 980px) {
  .admin-bar #masthead.ag-header {
    top: 0;
  }

  .ag-topbar {
    display: none;
  }

  .ag-nav__inner {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
  }

  .ag-menu-toggle {
    display: block;
  }

  .ag-menu,
  .ag-nav__actions {
    display: none;
  }

  body.ag-menu-open .ag-menu,
  body.ag-menu-open .ag-nav__actions {
    display: block;
    width: 100%;
  }

  body.ag-menu-open .ag-nav__inner {
    flex-wrap: wrap;
  }

  .ag-menu__list {
    width: 100%;
    display: grid;
    gap: 0;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .ag-menu__list > li > a {
    display: block;
    padding: 14px 0;
  }

  .ag-menu__list .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    min-width: 0;
    margin: 0 0 12px;
  }

  .brand-intro__grid,
  .brand-split__grid,
  .brand-dark__grid,
  .brand-cta__inner,
  .acr-intro__grid,
  .acr-split__grid,
  .acr-dark__grid,
  .acr-training__grid,
  .acr-cta__inner,
  .loan-intro__grid,
  .loan-dark__grid,
  .loan-cta__inner,
  .partners-intro__grid,
  .partners-service__grid,
  .partners-cta__inner,
  .locations-intro__grid,
  .locations-cta__inner,
  .about-intro__grid,
  .about-dark__grid,
  .about-cta__inner,
  .ag-aircraft-panel__grid,
  .ag-values-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .brand-card-grid,
  .acr-card-grid,
  .acr-special-grid,
  .acr-aircraft-grid,
  .loan-process-grid,
  .loan-card-grid,
  .partners-grid,
  .news-grid,
  .ag-card-grid--six,
  .ag-product-grid,
  .ag-aircraft-list,
  .ag-value-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .ag-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ag-wrap,
  .about-container,
  .brand-container,
  .acr-container,
  .contact-container,
  .locations-container,
  .partners-container,
  .loan-container,
  .news-container {
    padding: 0 20px;
  }

  .ag-logo img,
  .custom-logo {
    max-width: 185px !important;
  }

  .brand-hero,
  .acr-hero,
  .contact-hero,
  .locations-hero,
  .loan-hero,
  .partners-hero,
  .news-hero,
  .about-hero {
    min-height: 520px;
  }

  .brand-hero h1,
  .acr-hero h1,
  .contact-hero h1,
  .locations-hero h1,
  .loan-hero h1,
  .partners-hero h1,
  .news-hero h1,
  .about-hero h1,
  .ag-hero h1 {
    font-size: 48px;
  }

  .brand-card-grid,
  .acr-card-grid,
  .acr-special-grid,
  .acr-aircraft-grid,
  .loan-process-grid,
  .loan-card-grid,
  .partners-grid,
  .news-grid,
  .ag-card-grid--six,
  .ag-product-grid,
  .ag-aircraft-list,
  .ag-value-cards,
  .brand-benefits,
  .acr-benefits,
  .loan-benefits,
  .about-benefits {
    grid-template-columns: 1fr;
  }

  .ag-footer__grid {
    grid-template-columns: 1fr;
  }

  .about-partner-strip__track {
    gap: 44px;
  }

  .about-partner-strip__track a {
    flex-basis: 180px;
    width: 180px;
  }
}
/* PRODUCT CATEGORY PAGE CLEANUP */

body.tax-product_cat #content,
body.post-type-archive-product #content {
  background: #f5f7f8 !important;
}

body.tax-product_cat .woocommerce,
body.post-type-archive-product .woocommerce {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 70px 28px !important;
}

body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
  margin-bottom: 34px !important;
}

body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title {
  font-size: clamp(42px, 5vw, 74px) !important;
  text-transform: uppercase !important;
  color: #172328 !important;
}

body.tax-product_cat ul.products,
body.post-type-archive-product ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat ul.products li.product,
body.post-type-archive-product ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(58,75,82,.12) !important;
  border-radius: 22px !important;
  padding: 22px !important;
  box-shadow: 0 20px 50px rgba(10,22,28,.06) !important;
  overflow: hidden !important;
}

body.tax-product_cat ul.products li.product img,
body.post-type-archive-product ul.products li.product img {
  width: 100% !important;
  height: 230px !important;
  object-fit: contain !important;
  background: #f5f7f8 !important;
  border-radius: 16px !important;
  padding: 18px !important;
  margin-bottom: 20px !important;
}

body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
  font-size: 20px !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  color: #172328 !important;
}

body.tax-product_cat ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button {
  margin-top: 18px !important;
  background: #e6007e !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 13px 20px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

@media (max-width: 950px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: 1fr !important;
  }
}
/* FORCE HEADER TEXT WHITE */

.ag-header,
.ag-header a,
.ag-menu__list > li > a,
.ag-menu__list li a,
.ag-link,
.ag-menu .menu-item a {
  color: #ffffff !important;
}

/* hover colour */
.ag-menu__list > li > a:hover,
.ag-menu__list li a:hover,
.ag-link:hover {
  color: #ff008a !important;
}

/* active/current menu item */
.current-menu-item > a,
.current_page_item > a,
.current-menu-parent > a,
.current-page-ancestor > a {
  color: #ff008a !important;
}

/* dropdown arrows */
.ag-menu__list .menu-item-has-children > a:after,
.ag-menu__list .page_item_has_children > a:after {
  color: #ffffff !important;
}

/* keep nav dark */
.ag-nav {
  background: rgba(2, 14, 22, 0.96) !important;
}

/* dropdown menu styling */
.ag-menu .sub-menu {
  background: #081821 !important;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
}

.ag-menu .sub-menu a {
  color: #ffffff !important;
  padding: 14px 18px !important;
}

.ag-menu .sub-menu a:hover {
  background: rgba(255,0,138,.08);
  color: #ff008a !important;
}
.services-hero {
  background-image:
    linear-gradient(90deg, rgba(3,14,22,.9), rgba(3,14,22,.58), rgba(230,0,126,.2)),
    url('/wp-content/uploads/2026/01/Untitled-design-5.jpg');
  background-size: cover;
  background-position: center;
}

.brand-card {
  color: inherit !important;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(10,22,28,.12);
}

/* =========================================================
   MUTED MARKETING FINAL PATCH - HEADER / HOME / SHOP
   Safe overrides for Aerospace GSE 2026
========================================================= */

/* Hide skip link unless keyboard focused */
.ag-skip-link,
.skip-link {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ag-skip-link:focus,
.skip-link:focus {
  left: 18px !important;
  top: 18px !important;
  width: auto !important;
  height: auto !important;
  z-index: 999999 !important;
  background: #fff !important;
  color: #172328 !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
}

/* Header readability */
#masthead.ag-header,
#masthead.ag-header .ag-nav {
  background: #07161d !important;
}

#masthead.ag-header a,
#masthead.ag-header .ag-menu__list > li > a,
#masthead.ag-header .ag-menu__list li a,
#masthead.ag-header .ag-link {
  color: #fff !important;
}

#masthead.ag-header .ag-menu__list > li > a:hover,
#masthead.ag-header .ag-menu__list li a:hover,
#masthead.ag-header .current-menu-item > a,
#masthead.ag-header .current_page_item > a,
#masthead.ag-header .current-menu-parent > a {
  color: #e6007e !important;
}

#masthead.ag-header .ag-menu__list .menu-item-has-children > a:after,
#masthead.ag-header .ag-menu__list .page_item_has_children > a:after {
  color: #fff !important;
}

#masthead.ag-header .ag-menu .sub-menu,
#masthead.ag-header .ag-menu__list .sub-menu {
  background: #081821 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

#masthead.ag-header .ag-menu .sub-menu a,
#masthead.ag-header .ag-menu__list .sub-menu a {
  color: #fff !important;
  padding: 14px 18px !important;
}

#masthead.ag-header .ag-menu .sub-menu a:hover,
#masthead.ag-header .ag-menu__list .sub-menu a:hover {
  background: rgba(230,0,126,.12) !important;
  color: #ff008a !important;
}

/* Hide old strips and show only the clean OEM strip */
.ag-logo-strip,
.about-partner-strip {
  display: none !important;
}

.ag-oem-strip {
  width: 100% !important;
  min-height: 122px !important;
  height: 122px !important;
  background: #fff !important;
  display: grid !important;
  grid-template-columns: 230px 1fr !important;
  align-items: center !important;
  overflow: hidden !important;
  border-top: 1px solid rgba(58,75,82,.12) !important;
  border-bottom: 1px solid rgba(58,75,82,.12) !important;
}

.ag-oem-strip__label {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding-left: 54px !important;
  border-right: 1px solid rgba(58,75,82,.18) !important;
  color: #e6007e !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  font-size: 15px !important;
  line-height: 1.05 !important;
  background: #fff !important;
}

.ag-oem-strip__marquee {
  overflow: hidden !important;
  width: 100% !important;
  height: 122px !important;
  background: #fff !important;
}

.ag-oem-strip__track {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 78px !important;
  width: max-content !important;
  height: 122px !important;
  animation: agOemScrollFinal 36s linear infinite !important;
}

.ag-oem-strip__marquee:hover .ag-oem-strip__track {
  animation-play-state: paused !important;
}

.ag-oem-strip__track a {
  flex: 0 0 220px !important;
  width: 220px !important;
  height: 122px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ag-oem-strip__track img {
  width: auto !important;
  height: auto !important;
  max-width: 205px !important;
  max-height: 78px !important;
  object-fit: contain !important;
  display: block !important;
}

@keyframes agOemScrollFinal {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero proof text removed from layout if an old copy remains */
.ag-hero__proof {
  display: none !important;
}

/* Product/category archive layout */
.ag-product-archive,
body.tax-product_cat #content,
body.post-type-archive-product #content {
  background: #f5f7f8 !important;
}

.ag-archive-hero {
  background: linear-gradient(135deg, #07161d 0%, #10242c 58%, rgba(230,0,126,.32) 100%) !important;
  padding: 82px 0 72px !important;
  color: #fff !important;
}

.ag-archive-hero h1 {
  color: #fff !important;
  font-size: clamp(46px, 6vw, 86px) !important;
  text-transform: uppercase !important;
  max-width: 980px !important;
}

.ag-archive-hero p,
.ag-archive-description,
.ag-archive-description p {
  color: rgba(255,255,255,.86) !important;
  max-width: 760px !important;
  font-size: 19px !important;
}

.ag-archive-section {
  padding: 70px 0 !important;
  background: #f5f7f8 !important;
}

.ag-archive-layout {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: start !important;
}

.ag-archive-sidebar {
  background: #fff !important;
  border: 1px solid rgba(58,75,82,.12) !important;
  border-radius: 22px !important;
  padding: 24px !important;
  box-shadow: 0 18px 44px rgba(10,22,28,.06) !important;
  overflow: hidden !important;
}

.ag-archive-sidebar h3 {
  font-size: 20px !important;
  text-transform: uppercase !important;
  margin-bottom: 18px !important;
}

.ag-archive-sidebar input,
.ag-archive-sidebar select {
  max-width: 100% !important;
  width: 100% !important;
  border: 1px solid rgba(58,75,82,.18) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
}

.ag-product-grid--archive,
body.tax-product_cat ul.products,
body.post-type-archive-product ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ag-product-card,
body.tax-product_cat ul.products li.product,
body.post-type-archive-product ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(58,75,82,.12) !important;
  border-radius: 22px !important;
  padding: 22px !important;
  box-shadow: 0 20px 50px rgba(10,22,28,.06) !important;
  overflow: hidden !important;
  min-height: 100% !important;
  color: #172328 !important;
}

.ag-product-card__image,
body.tax-product_cat ul.products li.product img,
body.post-type-archive-product ul.products li.product img {
  width: 100% !important;
  height: 230px !important;
  object-fit: contain !important;
  background: #f5f7f8 !important;
  border-radius: 16px !important;
  padding: 18px !important;
  margin: 0 0 20px !important;
}

.ag-product-card__image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ag-product-card__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.ag-product-card h3,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product h2,
body.post-type-archive-product ul.products li.product h2 {
  font-size: 21px !important;
  line-height: 1.05 !important;
  color: #172328 !important;
  text-transform: uppercase !important;
  margin: 0 0 14px !important;
}

.ag-product-card__link,
body.tax-product_cat ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button {
  display: inline-flex !important;
  margin-top: 18px !important;
  background: transparent !important;
  color: #e6007e !important;
  border-radius: 999px !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

@media (max-width: 1000px) {
  .ag-archive-layout {
    grid-template-columns: 1fr !important;
  }

  .ag-product-grid--archive,
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .ag-oem-strip {
    grid-template-columns: 145px 1fr !important;
    min-height: 105px !important;
    height: 105px !important;
  }

  .ag-oem-strip__label {
    padding-left: 20px !important;
    font-size: 11px !important;
  }

  .ag-oem-strip__marquee,
  .ag-oem-strip__track,
  .ag-oem-strip__track a {
    height: 105px !important;
  }

  .ag-oem-strip__track {
    gap: 42px !important;
  }

  .ag-oem-strip__track a {
    flex-basis: 160px !important;
    width: 160px !important;
  }

  .ag-oem-strip__track img {
    max-width: 145px !important;
    max-height: 60px !important;
  }

  .ag-product-grid--archive,
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   AEROSPACE GSE v1.5 FINAL PATCH
   Header dropdown, front aircraft accordion, Woo margins,
   contact/news/loan/ACR/JacXson refinements
========================================================= */

/* Header dropdown: black text and cleaner one-line layout */
#masthead.ag-header .ag-menu__list {
  gap: clamp(14px, 1.6vw, 28px) !important;
  flex-wrap: nowrap !important;
}

#masthead.ag-header .ag-menu__list > li > a {
  white-space: nowrap !important;
}

#masthead.ag-header .ag-menu .sub-menu,
#masthead.ag-header .ag-menu__list .sub-menu {
  background: #ffffff !important;
  border: 1px solid rgba(58,75,82,.14) !important;
  border-radius: 16px !important;
  min-width: 260px !important;
  overflow: visible !important;
}

#masthead.ag-header .ag-menu .sub-menu a,
#masthead.ag-header .ag-menu__list .sub-menu a {
  color: #172328 !important;
  background: transparent !important;
  white-space: nowrap !important;
}

#masthead.ag-header .ag-menu .sub-menu a:hover,
#masthead.ag-header .ag-menu__list .sub-menu a:hover {
  background: rgba(230,0,126,.08) !important;
  color: #e6007e !important;
}

/* Home hero copy left */
.ag-hero__content {
  margin-left: 0 !important;
  margin-right: auto !important;
  align-items: flex-start !important;
  text-align: left !important;
}

/* Home aircraft selector accordion */
.ag-aircraft-accordion {
  display: grid;
  gap: 18px;
}

.ag-aircraft-group {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}

.ag-aircraft-group summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 28px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
}

.ag-aircraft-group summary::-webkit-details-marker { display: none; }

.ag-aircraft-group summary span {
  color: var(--ag-pink);
  font-size: 12px;
  letter-spacing: .12em;
}

.ag-aircraft-models {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 22px 22px;
}

.ag-aircraft-models a {
  min-height: 116px;
  padding: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ag-aircraft-models a span {
  color: rgba(255,255,255,.75);
}

.ag-aircraft-models a:hover {
  border-color: var(--ag-pink);
  transform: translateY(-3px);
}

/* CTA band button always visible and aligned */
.ag-cta-band__inner {
  align-items: center !important;
}

.ag-cta-band__inner .ag-btn,
.ag-btn--white {
  background: #fff !important;
  color: #172328 !important;
  border: 0 !important;
  box-shadow: 0 18px 44px rgba(10,22,28,.14) !important;
  flex-shrink: 0 !important;
}

/* Contact page full width */
body.page-template-page-contact-us #content,
body.page-id .contact-page,
.contact-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #f5f7f8 !important;
}

.contact-page .contact-hero {
  width: 100% !important;
  max-width: none !important;
  min-height: 560px;
}

.contact-section--full {
  width: 100% !important;
  max-width: none !important;
  background: #f5f7f8 !important;
}

.contact-container {
  max-width: 1240px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* ACR / Service and repair */
.acr-service-hero {
  background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-5.jpg') center/cover no-repeat;
}

.acr-special-grid--cards,
.acr-aircraft-grid--cards {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.acr-special-grid--cards .acr-card,
.acr-aircraft-grid--cards .acr-card {
  min-height: 230px;
}

/* Loan tooling illustration */
.loan-process-illustration {
  background: #fff;
  border: 1px solid var(--ag-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--ag-shadow);
  margin: 0;
}

.loan-process-illustration img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* WooCommerce / product-category alignment hard reset */
body.tax-product_cat .site-main,
body.post-type-archive-product .site-main,
body.tax-product_cat #main,
body.post-type-archive-product #main,
body.tax-product_cat .content-area,
body.post-type-archive-product .content-area,
body.tax-product_cat .woocommerce,
body.post-type-archive-product .woocommerce {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.tax-product_cat .ag-product-archive,
body.post-type-archive-product .ag-product-archive {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.tax-product_cat .ag-archive-layout,
body.post-type-archive-product .ag-archive-layout {
  grid-template-columns: 300px minmax(0, 1fr) !important;
  width: 100% !important;
}

body.tax-product_cat .ag-archive-results,
body.post-type-archive-product .ag-archive-results {
  min-width: 0 !important;
  width: 100% !important;
}

/* News / LinkedIn and newsletter */
.news-linkedin-section {
  background: #fff;
  padding: 84px 0;
}

.news-linkedin-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #07161d, #10242c 55%, rgba(230,0,126,.32));
  border-radius: 26px;
  padding: 52px !important;
  color: #fff;
  box-shadow: var(--ag-shadow);
}

.news-linkedin-card h2,
.news-linkedin-card p {
  color: #fff !important;
}

.news-card__body { padding: 24px; }
.news-card__body span { color: var(--ag-pink); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .10em; }
.news-card__body h3 { font-size: 24px; text-transform: uppercase; margin-top: 12px; }

.ag-newsletter-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  place-items: center;
  background: rgba(7,22,29,.72);
  padding: 24px;
}

.ag-newsletter-lightbox.is-open { display: grid; }

.ag-newsletter-lightbox__panel {
  position: relative;
  max-width: 620px;
  width: 100%;
  background: #fff;
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.ag-newsletter-lightbox__panel h2 { font-size: clamp(32px, 4vw, 54px); text-transform: uppercase; }
.ag-newsletter-lightbox__close { position: absolute; top: 18px; right: 18px; border: 0; background: var(--ag-pink); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.ag-newsletter-form { display: flex; gap: 12px; margin-top: 24px; }
.ag-newsletter-form input { flex: 1; min-width: 0; border: 1px solid var(--ag-border); border-radius: 999px; padding: 15px 18px; }
.ag-newsletter-form button { border: 0; border-radius: 999px; background: var(--ag-pink); color: #fff; font-weight: 900; padding: 15px 22px; text-transform: uppercase; }

/* JacXson */
.jacxson-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.jacxson-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,22,29,.94), rgba(7,22,29,.62), rgba(230,0,126,.28));
}

.jacxson-hero__inner { position: relative; z-index: 2; color: #fff; }
.jacxson-hero h1 { color: #fff; font-size: clamp(72px, 10vw, 130px); text-transform: uppercase; }
.jacxson-hero p { color: #fff !important; max-width: 850px; font-size: 24px; }
.jacxson-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.jacxson-section { padding: 90px 0; background: #fff; }
.jacxson-section--soft { background: var(--ag-soft); }
.jacxson-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.jacxson-split h2 { font-size: clamp(42px, 5vw, 76px); text-transform: uppercase; }
.jacxson-video-wrap { width: 100%; aspect-ratio: 16/9; border-radius: 28px; overflow: hidden; box-shadow: var(--ag-shadow); background: #07161d; }
.jacxson-video-wrap iframe { width: 100%; height: 100%; display: block; }
.jacxson-bullets { font-size: 20px; color: var(--ag-grey); }
.jacxson-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.jacxson-feature-card { background: #fff; border: 1px solid var(--ag-border); border-radius: 24px; padding: 28px; min-height: 260px; box-shadow: 0 18px 44px rgba(10,22,28,.06); }
.jacxson-feature-card span { color: var(--ag-pink); font-weight: 900; }
.jacxson-feature-card h3 { font-size: 27px; text-transform: uppercase; line-height: 1.02; margin-top: 22px; }
.jacxson-feature-card p { font-size: 16px; }

@media (max-width: 1100px) {
  .acr-special-grid--cards,
  .acr-aircraft-grid--cards,
  .jacxson-feature-grid,
  .ag-aircraft-models {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .jacxson-split,
  .news-linkedin-card { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .ag-aircraft-group summary { font-size: 20px; padding: 20px; }
  .ag-aircraft-models,
  .acr-special-grid--cards,
  .acr-aircraft-grid--cards,
  .jacxson-feature-grid {
    grid-template-columns: 1fr !important;
  }
  .news-linkedin-card { padding: 30px !important; }
  .ag-newsletter-form { flex-direction: column; }
  body.tax-product_cat .ag-archive-layout,
  body.post-type-archive-product .ag-archive-layout { grid-template-columns: 1fr !important; }
}


/* =========================================================
   AEROSPACE GSE v1.6 POLISH PATCH
   Header, hero margin, aircraft selector, contact, shop archive
========================================================= */

/* Header: force dropdowns to white panels with black readable text */
#masthead.ag-header .ag-nav__inner {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) auto !important;
  gap: clamp(14px, 1.4vw, 26px) !important;
}

#masthead.ag-header .ag-menu__list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(12px, 1.25vw, 24px) !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

#masthead.ag-header .ag-menu__list > li > a {
  font-size: clamp(12px, .84vw, 14px) !important;
  white-space: nowrap !important;
  color: #ffffff !important;
}

#masthead.ag-header .ag-menu__list li,
#masthead.ag-header .ag-menu__list li.menu-item,
#masthead.ag-header .ag-menu__list .sub-menu li {
  list-style: none !important;
}

#masthead.ag-header .ag-menu__list .sub-menu,
#masthead.ag-header .ag-menu .sub-menu,
#masthead.ag-header nav ul ul {
  background: #ffffff !important;
  color: #172328 !important;
  border: 1px solid rgba(58,75,82,.16) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(10,22,28,.28) !important;
  padding: 12px !important;
  min-width: 255px !important;
  max-width: 340px !important;
}

#masthead.ag-header .ag-menu__list .sub-menu a,
#masthead.ag-header .ag-menu .sub-menu a,
#masthead.ag-header nav ul ul a,
#masthead.ag-header nav ul ul li a,
#masthead.ag-header .sub-menu li a:link,
#masthead.ag-header .sub-menu li a:visited {
  color: #172328 !important;
  background: transparent !important;
  text-shadow: none !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

#masthead.ag-header .ag-menu__list .sub-menu a:hover,
#masthead.ag-header nav ul ul a:hover {
  color: #e6007e !important;
  background: rgba(230,0,126,.08) !important;
}

#masthead.ag-header .ag-cta {
  padding: 14px 24px !important;
  white-space: nowrap !important;
}

@media (max-width: 1180px) {
  #masthead.ag-header .ag-nav__inner {
    grid-template-columns: 220px 1fr auto !important;
  }
  #masthead.ag-header .ag-menu__list {
    gap: 12px !important;
  }
  #masthead.ag-header .ag-menu__list > li > a {
    font-size: 12px !important;
  }
}

/* Hero text: left, but not falling off the screen */
.ag-hero .ag-hero__content {
  margin-left: max(28px, calc((100vw - 1240px) / 2 + 28px)) !important;
  margin-right: auto !important;
  max-width: 760px !important;
  padding-left: 0 !important;
}

.ag-hero .ag-hero__content h1 {
  max-width: 760px !important;
}

@media (max-width: 760px) {
  .ag-hero .ag-hero__content {
    margin-left: 24px !important;
    margin-right: 24px !important;
    max-width: calc(100% - 48px) !important;
  }
}

/* Aircraft selector: closed by default with clear + / - affordance */
.ag-aircraft-panel {
  position: relative !important;
  overflow: hidden !important;
}

.ag-aircraft-panel::after {
  content: "AIRCRAFT";
  position: absolute;
  right: -30px;
  bottom: -30px;
  font-size: clamp(90px, 13vw, 210px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.06em;
  color: rgba(255,255,255,.035);
  pointer-events: none;
}

.ag-aircraft-panel__grid {
  position: relative !important;
  z-index: 2 !important;
}

.ag-aircraft-group summary {
  min-height: 92px !important;
}

.ag-aircraft-group summary::after {
  content: "+";
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  margin-left: 18px;
  flex-shrink: 0;
}

.ag-aircraft-group[open] summary::after {
  content: "–";
}

.ag-aircraft-group summary span {
  margin-left: auto;
}

.ag-aircraft-models {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 800px) {
  .ag-aircraft-panel__grid {
    grid-template-columns: 1fr !important;
  }
  .ag-aircraft-models {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .ag-aircraft-models {
    grid-template-columns: 1fr !important;
  }
  .ag-aircraft-group summary {
    font-size: 20px !important;
  }
  .ag-aircraft-group summary span {
    display: none !important;
  }
}

/* Contact page v1.6: full-width, premium enquiry layout */
.contact-page-v16,
body.page-template-page-contact-us #content {
  background: #f5f7f8 !important;
  width: 100% !important;
  max-width: none !important;
}

.contact-hero-v16 {
  min-height: 640px !important;
  width: 100% !important;
  background: url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-51.png') center/cover no-repeat !important;
}

.contact-hero-v16 .contact-hero__overlay {
  background: linear-gradient(90deg, rgba(7,22,29,.95), rgba(7,22,29,.65) 48%, rgba(230,0,126,.42)) !important;
}

.contact-hero-v16__inner {
  max-width: 900px !important;
}

.contact-hero-v16 h1 {
  color: #fff !important;
  font-size: clamp(58px, 8vw, 118px) !important;
  text-transform: uppercase !important;
  max-width: 920px !important;
}

.contact-hero-v16 p {
  color: rgba(255,255,255,.92) !important;
  max-width: 760px !important;
  font-size: 22px !important;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.contact-quick-strip {
  background: #07161d !important;
  color: #fff !important;
  padding: 24px 0 !important;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-quick-grid a {
  color: #fff !important;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 20px 22px;
}

.contact-quick-grid span {
  display: block;
  color: #e6007e;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  margin-bottom: 6px;
}

.contact-quick-grid strong {
  display: block;
  font-size: 16px;
}

.contact-section-v16 {
  background: #f5f7f8 !important;
  padding: 86px 0 !important;
  width: 100% !important;
}

.contact-grid-v16 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr) !important;
  gap: 34px !important;
  align-items: start !important;
}

.contact-card-v16 {
  background: #fff !important;
  border: 1px solid rgba(58,75,82,.12) !important;
  border-radius: 28px !important;
  padding: clamp(28px, 4vw, 54px) !important;
  box-shadow: 0 24px 70px rgba(10,22,28,.08) !important;
}

.contact-card-v16 h2 {
  font-size: clamp(34px, 4.8vw, 68px) !important;
  text-transform: uppercase !important;
}

.contact-intro {
  font-size: 18px !important;
  max-width: 720px !important;
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid rgba(58,75,82,.18) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
}

.contact-route-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-route-list a {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 16px;
  row-gap: 2px;
  align-items: start;
  color: #172328 !important;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(58,75,82,.12);
  background: #f5f7f8;
}

.contact-route-list span {
  grid-row: span 2;
  color: #e6007e;
  font-weight: 900;
}

.contact-route-list strong {
  text-transform: uppercase;
  line-height: 1.1;
}

.contact-route-list em {
  font-style: normal;
  color: #3a4b52;
  font-size: 14px;
}

@media (max-width: 900px) {
  .contact-grid-v16,
  .contact-quick-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-hero-v16 {
    min-height: 560px !important;
  }
}

/* Product category / WooCommerce: rescue narrow-column layouts */
body.tax-product_cat,
body.post-type-archive-product,
body.woocommerce-shop {
  background: #f5f7f8 !important;
}

body.tax-product_cat #content,
body.post-type-archive-product #content,
body.woocommerce-shop #content,
body.tax-product_cat .site-content,
body.post-type-archive-product .site-content,
body.tax-product_cat .content-area,
body.post-type-archive-product .content-area,
body.tax-product_cat main,
body.post-type-archive-product main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.tax-product_cat .woocommerce,
body.post-type-archive-product .woocommerce,
body.woocommerce-shop .woocommerce {
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: 1280px !important;
  margin: 48px auto 90px !important;
  padding: 0 !important;
  display: block !important;
}

body.tax-product_cat .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb {
  width: min(1280px, calc(100% - 48px)) !important;
  margin: 24px auto 8px !important;
  color: #3a4b52 !important;
}

body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
  width: min(1280px, calc(100% - 48px)) !important;
  margin: 0 auto 28px !important;
  padding: 52px 0 20px !important;
}

body.tax-product_cat .woocommerce-products-header h1,
body.post-type-archive-product .woocommerce-products-header h1,
body.tax-product_cat .page-title,
body.post-type-archive-product .page-title {
  font-size: clamp(42px, 5vw, 78px) !important;
  line-height: .95 !important;
  text-transform: uppercase !important;
  max-width: 100% !important;
}

body.tax-product_cat .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering {
  float: none !important;
  display: inline-flex !important;
  margin: 0 18px 24px 0 !important;
}

body.tax-product_cat ul.products,
body.post-type-archive-product ul.products,
body.woocommerce-shop ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after {
  display: none !important;
}

body.tax-product_cat ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.woocommerce-shop ul.products li.product {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 24px !important;
  min-height: 100% !important;
  background: #fff !important;
  border: 1px solid rgba(58,75,82,.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 22px 60px rgba(10,22,28,.07) !important;
  text-align: left !important;
}

body.tax-product_cat ul.products li.product a,
body.post-type-archive-product ul.products li.product a {
  color: #172328 !important;
}

body.tax-product_cat ul.products li.product img,
body.post-type-archive-product ul.products li.product img,
body.woocommerce-shop ul.products li.product img {
  width: 100% !important;
  height: 230px !important;
  object-fit: contain !important;
  background: #f5f7f8 !important;
  border-radius: 18px !important;
  padding: 20px !important;
  margin: 0 0 20px !important;
}

body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
  color: #172328 !important;
  font-size: 22px !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  padding: 0 !important;
  margin: 0 0 14px !important;
}

body.tax-product_cat ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.woocommerce-shop ul.products li.product .button {
  background: #e6007e !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

@media (max-width: 1050px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products,
  body.woocommerce-shop ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  body.tax-product_cat .woocommerce,
  body.post-type-archive-product .woocommerce,
  body.woocommerce-shop .woocommerce,
  body.tax-product_cat .woocommerce-products-header,
  body.post-type-archive-product .woocommerce-products-header,
  body.tax-product_cat .woocommerce-breadcrumb,
  body.post-type-archive-product .woocommerce-breadcrumb {
    width: min(100% - 32px, 1280px) !important;
  }
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products,
  body.woocommerce-shop ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   CONTACT PAGE v1.7 — full-width premium enquiry layout
========================================================= */

.ag-contact-page.ag-contact-v17 {
  background: #f4f7f8 !important;
  color: #17242b !important;
  width: 100% !important;
  max-width: none !important;
  overflow-x: hidden !important;
}

body.page-template-page-contact-us #content,
body.page-template-page-contact-us .site-content,
body.page-template-page-contact-us .content-area,
body.page-template-page-contact-us main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.ag-contact-v17 .ag-wrap {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ag-contact-hero-v17 {
  position: relative !important;
  overflow: hidden !important;
  min-height: 680px !important;
  padding: 112px 0 92px !important;
  background:
    linear-gradient(90deg, rgba(6,23,31,.96) 0%, rgba(6,23,31,.78) 48%, rgba(230,0,126,.42) 100%),
    url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-51.png') center/cover no-repeat !important;
  color: #fff !important;
}

.ag-contact-hero-v17::after {
  content: "" !important;
  position: absolute !important;
  right: -180px !important;
  bottom: -180px !important;
  width: 520px !important;
  height: 520px !important;
  border-radius: 50% !important;
  background: rgba(230,0,126,.24) !important;
  filter: blur(60px) !important;
  pointer-events: none !important;
}

.ag-contact-hero-v17__grid {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr) !important;
  gap: 54px !important;
  align-items: center !important;
}

.ag-contact-hero-v17 h1,
.ag-contact-form-v17 h2,
.ag-office-card-v17 h2,
.ag-support-card-v17 h2,
.ag-contact-section-heading-v17 h2,
.ag-global-copy-v17 h2 {
  font-family: 'Azo Sans', Arial, sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.055em !important;
  line-height: .92 !important;
  margin: 0 !important;
}

.ag-contact-hero-v17 h1 {
  font-size: clamp(54px, 7vw, 112px) !important;
  max-width: 820px !important;
  margin-bottom: 24px !important;
  color: #fff !important;
}

.ag-contact-hero-v17__copy > p:not(.brand-kicker) {
  max-width: 680px !important;
  font-size: 20px !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,.88) !important;
  margin: 0 0 34px !important;
}

.ag-contact-actions-v17 {
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.ag-contact-urgent-v17 {
  background: rgba(255,255,255,.97) !important;
  color: #17242b !important;
  border-radius: 28px !important;
  padding: 34px !important;
  box-shadow: 0 24px 70px rgba(6,23,31,.18) !important;
  border-top: 6px solid #e6007e !important;
}

.ag-contact-urgent-v17 h2 {
  font-size: 34px !important;
  line-height: 1 !important;
  margin: 0 0 18px !important;
  color: #17242b !important;
}

.ag-contact-urgent-v17 p {
  color: #52636c !important;
  margin: 0 !important;
}

.ag-contact-quick-list-v17 {
  display: grid !important;
  gap: 14px !important;
  margin-top: 22px !important;
}

.ag-contact-quick-list-v17 a {
  display: grid !important;
  grid-template-columns: 34px 1fr !important;
  gap: 3px 14px !important;
  align-items: start !important;
  padding: 16px !important;
  border-radius: 18px !important;
  background: #f4f7f8 !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  color: #17242b !important;
  text-decoration: none !important;
}

.ag-contact-quick-list-v17 a > span {
  grid-row: span 2 !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #e6007e !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  font-weight: 900 !important;
}

.ag-contact-quick-list-v17 strong {
  display: block !important;
  color: #17242b !important;
  line-height: 1.2 !important;
}

.ag-contact-quick-list-v17 em {
  display: block !important;
  color: #52636c !important;
  font-style: normal !important;
  font-size: 14px !important;
}

.ag-contact-enquiry-v17 {
  padding: 84px 0 !important;
  background: #fff !important;
  width: 100% !important;
}

.ag-contact-enquiry-v17__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr) !important;
  gap: 36px !important;
  align-items: start !important;
}

.ag-contact-form-v17,
.ag-office-card-v17,
.ag-support-card-v17 {
  border-radius: 34px !important;
  padding: clamp(30px, 4vw, 46px) !important;
  box-shadow: 0 24px 70px rgba(6,23,31,.10) !important;
}

.ag-contact-form-v17,
.ag-office-card-v17 {
  background: #fff !important;
  border: 1px solid rgba(23,36,43,.12) !important;
}

.ag-contact-form-v17 h2 {
  font-size: clamp(42px, 4.6vw, 74px) !important;
  color: #17242b !important;
  margin-bottom: 18px !important;
}

.ag-contact-intro-v17 {
  max-width: 720px !important;
  color: #52636c !important;
  font-size: 18px !important;
  margin: 0 0 30px !important;
}

.ag-contact-form-content-v17 form,
.ag-contact-form-content-v17 .gform_wrapper form,
.ag-contact-form-content-v17 .wpforms-form,
.ag-contact-form-content-v17 .wpcf7-form {
  display: block !important;
  width: 100% !important;
}

.ag-contact-form-content-v17 input,
.ag-contact-form-content-v17 select,
.ag-contact-form-content-v17 textarea {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid rgba(23,36,43,.14) !important;
  border-radius: 16px !important;
  padding: 15px 17px !important;
  background: #f8fafb !important;
  color: #17242b !important;
  box-shadow: none !important;
  font-family: 'Azo Sans', Arial, sans-serif !important;
}

.ag-contact-form-content-v17 textarea {
  min-height: 150px !important;
}

.ag-contact-form-content-v17 label {
  color: #17242b !important;
  font-weight: 900 !important;
  font-size: 13px !important;
}

.ag-contact-form-content-v17 input[type="submit"],
.ag-contact-form-content-v17 button[type="submit"],
.ag-contact-form-content-v17 .gform_button,
.ag-contact-form-content-v17 .wpforms-submit,
.ag-contact-form-content-v17 .wpcf7-submit {
  width: auto !important;
  min-height: 56px !important;
  padding: 0 30px !important;
  border-radius: 999px !important;
  background: #e6007e !important;
  color: #fff !important;
  border: 1px solid #e6007e !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  box-shadow: 0 18px 40px rgba(230,0,126,.24) !important;
}

.ag-contact-side-v17 {
  display: grid !important;
  gap: 24px !important;
  position: sticky !important;
  top: 118px !important;
}

.ag-office-card-v17 h2,
.ag-support-card-v17 h2 {
  font-size: clamp(34px, 3vw, 46px) !important;
  margin-bottom: 20px !important;
}

.ag-office-detail-v17 {
  display: grid !important;
  gap: 4px !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid rgba(23,36,43,.12) !important;
}

.ag-office-detail-v17:last-child { border-bottom: none !important; }

.ag-office-detail-v17 small {
  color: #e6007e !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
}

.ag-office-detail-v17 a {
  color: #17242b !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.ag-support-card-v17 {
  position: relative !important;
  overflow: hidden !important;
  background: #06171f !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.1) !important;
}

.ag-support-card-v17::after {
  content: "" !important;
  position: absolute !important;
  right: -80px !important;
  top: -80px !important;
  width: 210px !important;
  height: 210px !important;
  border-radius: 50% !important;
  background: rgba(230,0,126,.35) !important;
  filter: blur(22px) !important;
}

.ag-support-card-v17 > * { position: relative !important; z-index: 2 !important; }
.ag-support-card-v17 h2 { color: #fff !important; }
.ag-support-card-v17 p { color: rgba(255,255,255,.78) !important; }

.ag-contact-routing-v17 {
  padding: 78px 0 !important;
  background: #f4f7f8 !important;
}

.ag-contact-section-heading-v17 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr) !important;
  gap: 40px !important;
  align-items: end !important;
  margin-bottom: 36px !important;
}

.ag-contact-section-heading-v17 h2 {
  font-size: clamp(44px, 5.4vw, 82px) !important;
  color: #17242b !important;
}

.ag-contact-section-heading-v17 > p {
  color: #52636c !important;
  font-size: 18px !important;
  margin: 0 0 8px !important;
}

.ag-route-grid-v17 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.ag-route-card-v17 {
  min-height: 230px !important;
  border-radius: 28px !important;
  padding: 28px !important;
  background: #fff !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  box-shadow: 0 14px 40px rgba(6,23,31,.08) !important;
  color: #17242b !important;
  text-decoration: none !important;
  transition: .25s ease !important;
}

.ag-route-card-v17:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 24px 70px rgba(6,23,31,.16) !important;
}

.ag-route-card-v17 span {
  display: block !important;
  color: #e6007e !important;
  font-weight: 900 !important;
  margin-bottom: 28px !important;
}

.ag-route-card-v17 h3 {
  font-size: 34px !important;
  color: #17242b !important;
  margin: 0 0 14px !important;
}

.ag-route-card-v17 p {
  color: #52636c !important;
  margin: 0 0 22px !important;
}

.ag-route-card-v17 strong {
  color: #e6007e !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
}

.ag-contact-global-v17 {
  padding: 80px 0 !important;
  background: #fff !important;
}

.ag-global-panel-v17 {
  min-height: 360px !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  background: #06171f !important;
  color: #fff !important;
  box-shadow: 0 24px 70px rgba(6,23,31,.16) !important;
}

.ag-global-map-v17 {
  background:
    linear-gradient(135deg, rgba(6,23,31,.22), rgba(230,0,126,.25)),
    url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-57.png') center/cover no-repeat !important;
  display: grid !important;
  place-items: center !important;
  min-height: 360px !important;
}

.ag-global-map-v17 span {
  display: inline-flex !important;
  padding: 14px 18px !important;
  border-radius: 999px !important;
  background: rgba(6,23,31,.86) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.ag-global-copy-v17 {
  padding: clamp(34px, 4vw, 52px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.ag-global-copy-v17 h2 {
  font-size: clamp(36px, 4.3vw, 68px) !important;
  color: #fff !important;
  margin-bottom: 18px !important;
}

.ag-global-copy-v17 p {
  color: rgba(255,255,255,.78) !important;
  margin-bottom: 28px !important;
}

@media (max-width: 980px) {
  .ag-contact-hero-v17__grid,
  .ag-contact-enquiry-v17__grid,
  .ag-contact-section-heading-v17,
  .ag-global-panel-v17 {
    grid-template-columns: 1fr !important;
  }

  .ag-contact-side-v17 { position: static !important; }
  .ag-route-grid-v17 { grid-template-columns: 1fr !important; }
}

@media (max-width: 650px) {
  .ag-contact-v17 .ag-wrap { width: min(100% - 32px, 1180px) !important; }
  .ag-contact-hero-v17 { min-height: auto !important; padding: 76px 0 !important; }
  .ag-contact-hero-v17 h1 { font-size: 52px !important; }
  .ag-contact-hero-v17__copy > p:not(.brand-kicker) { font-size: 17px !important; }
  .ag-contact-actions-v17 { flex-direction: column !important; }
  .ag-contact-actions-v17 .ag-btn,
  .ag-contact-form-content-v17 input[type="submit"],
  .ag-contact-form-content-v17 button[type="submit"] { width: 100% !important; }
  .ag-contact-urgent-v17,
  .ag-contact-form-v17,
  .ag-office-card-v17,
  .ag-support-card-v17,
  .ag-route-card-v17 { border-radius: 24px !important; padding: 26px !important; }
  .ag-global-map-v17 { min-height: 260px !important; }
}


/* =========================================================
   AEROSPACE GSE v1.8 — menu, contact, locations, WP Views/Woo rescue
========================================================= */

/* Fix malformed v1.6 hero override and keep hero text inset, not flush-left */
.ag-hero .ag-hero__content {
  margin-left: max(42px, calc((100vw - 1240px) / 2 + 42px)) !important;
  margin-right: auto !important;
  max-width: 760px !important;
}

/* Header dropdowns: stop overlap and force readable black menu items */
#masthead.ag-header,
#masthead.ag-header .ag-nav,
#masthead.ag-header .ag-nav__inner,
#masthead.ag-header .ag-wrap,
#masthead.ag-header .ag-menu,
#masthead.ag-header .ag-menu__list {
  overflow: visible !important;
}

#masthead.ag-header .ag-nav__inner {
  grid-template-columns: minmax(220px,260px) minmax(0,1fr) auto !important;
  align-items: center !important;
}

#masthead.ag-header .ag-menu__list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: clamp(10px, 1vw, 20px) !important;
  margin: 0 !important;
  padding: 0 !important;
}

#masthead.ag-header .ag-menu__list > li,
#masthead.ag-header .ag-menu__list > li.menu-item {
  position: relative !important;
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#masthead.ag-header .ag-menu__list > li > a {
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  padding: 18px 0 !important;
  min-height: 42px !important;
  line-height: 1 !important;
  font-size: clamp(12px, .82vw, 14px) !important;
}

#masthead.ag-header .ag-menu__list .sub-menu,
#masthead.ag-header .ag-menu .sub-menu,
#masthead.ag-header nav ul ul {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: auto !important;
  display: none !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  margin: 0 !important;
  padding: 12px !important;
  background: #ffffff !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.28) !important;
  overflow: visible !important;
  z-index: 9999999 !important;
}

#masthead.ag-header .ag-menu__list li:hover > .sub-menu,
#masthead.ag-header .ag-menu__list li:focus-within > .sub-menu {
  display: flex !important;
}

#masthead.ag-header .ag-menu__list .sub-menu li,
#masthead.ag-header .ag-menu .sub-menu li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}

#masthead.ag-header .ag-menu__list .sub-menu a,
#masthead.ag-header .ag-menu .sub-menu a,
#masthead.ag-header nav ul ul a,
#masthead.ag-header nav ul ul li a,
#masthead.ag-header .sub-menu li a:link,
#masthead.ag-header .sub-menu li a:visited {
  display: block !important;
  width: 100% !important;
  color: #17242b !important;
  background: transparent !important;
  text-shadow: none !important;
  white-space: normal !important;
  line-height: 1.18 !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

#masthead.ag-header .ag-menu__list .sub-menu a:hover,
#masthead.ag-header .ag-menu .sub-menu a:hover,
#masthead.ag-header nav ul ul a:hover {
  color: #e6007e !important;
  background: rgba(230,0,126,.08) !important;
}

@media (max-width: 1180px) {
  #masthead.ag-header .ag-nav__inner { grid-template-columns: 220px 1fr auto !important; }
  #masthead.ag-header .ag-menu__list { gap: 10px !important; }
  #masthead.ag-header .ag-menu__list > li > a { font-size: 12px !important; }
}

/* Contact page: prevent old page-builder HTML from duplicating in the template and style Gravity Forms only */
.ag-contact-form-content-v17 .contact-hero,
.ag-contact-form-content-v17 .contact-section,
.ag-contact-form-content-v17 .contact-container,
.ag-contact-form-content-v17 .contact-grid,
.ag-contact-form-content-v17 .contact-info-card,
.ag-contact-form-content-v17 .contact-form-card > .brand-kicker,
.ag-contact-form-content-v17 .contact-form-card > h2 {
  display: none !important;
}

.ag-contact-form-content-v17 .gform_wrapper,
.ag-contact-form-content-v17 form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.ag-contact-form-content-v17 .gform_fields,
.ag-contact-form-content-v17 .gfield,
.ag-contact-form-content-v17 .ginput_container {
  max-width: none !important;
}

.ag-contact-form-content-v17 input,
.ag-contact-form-content-v17 select,
.ag-contact-form-content-v17 textarea {
  width: 100% !important;
  border: 1px solid rgba(23,36,43,.16) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  background: #f7fafb !important;
  color: #17242b !important;
  font-size: 15px !important;
}

.ag-contact-form-content-v17 input[type="submit"],
.ag-contact-form-content-v17 button[type="submit"],
.ag-contact-form-content-v17 .gform_button {
  width: auto !important;
  min-width: 220px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: #e6007e !important;
  color: #fff !important;
  padding: 16px 26px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

/* Locations v1.8 polish */
.locations-v18 .locations-hero {
  min-height: 560px !important;
  display: flex !important;
  align-items: center !important;
  background-image:
    linear-gradient(90deg, rgba(6,23,31,.96), rgba(6,23,31,.72), rgba(230,0,126,.34)),
    url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-57.png') !important;
  background-size: cover !important;
  background-position: center !important;
}

.locations-v18 .locations-hero__inner h1 {
  max-width: 820px !important;
  font-size: clamp(54px, 7vw, 110px) !important;
}

.locations-v18 .locations-map-section {
  background: #06171f !important;
  padding: 78px 0 !important;
}

.locations-v18 .locations-map-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

.locations-v18 .locations-map-wrap,
.locations-v18 .locations-panel {
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.04) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.22) !important;
}

.locations-v18 .locations-map {
  position: relative !important;
  min-height: 460px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 45%, rgba(230,0,126,.10), transparent 35%),
    url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-57.png') center/contain no-repeat,
    #071820 !important;
}

.locations-v18 .location-pin {
  position: absolute !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 999px !important;
  border: 3px solid #fff !important;
  background: #e6007e !important;
  box-shadow: 0 0 0 8px rgba(230,0,126,.18) !important;
  cursor: pointer !important;
}
.locations-v18 .location-pin--uk { left: 47% !important; top: 34% !important; }
.locations-v18 .location-pin--europe { left: 51% !important; top: 37% !important; }
.locations-v18 .location-pin--middle-east { left: 59% !important; top: 48% !important; }
.locations-v18 .location-pin--africa { left: 53% !important; top: 62% !important; }
.locations-v18 .location-pin--americas { left: 28% !important; top: 50% !important; }

.locations-v18 .locations-panel {
  padding: 34px !important;
  color: #fff !important;
}
.locations-v18 .locations-panel h3 {
  color: #fff !important;
  font-size: 44px !important;
}
.locations-v18 .locations-panel p { color: rgba(255,255,255,.76) !important; }
.locations-v18 .locations-panel-btn {
  display: inline-flex !important;
  margin-top: 18px !important;
  border-radius: 999px !important;
  background: #e6007e !important;
  color: #fff !important;
  padding: 14px 22px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.locations-v18 .locations-card-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 22px !important;
}
.locations-v18 .location-card {
  text-align: left !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  background: rgba(255,255,255,.05) !important;
  color: #fff !important;
  padding: 22px !important;
  cursor: pointer !important;
}
.locations-v18 .location-card.active,
.locations-v18 .location-card:hover {
  background: rgba(230,0,126,.18) !important;
  border-color: rgba(230,0,126,.5) !important;
}
.locations-v18 .location-card span {
  display: block !important;
  color: #e6007e !important;
  font-weight: 900 !important;
  margin-bottom: 18px !important;
}
.locations-v18 .location-card strong {
  display: block !important;
  font-size: 20px !important;
  margin-bottom: 8px !important;
}
.locations-v18 .location-card em {
  display: block !important;
  color: rgba(255,255,255,.68) !important;
  font-style: normal !important;
  font-size: 13px !important;
}

.locations-v18 .locations-cta {
  background: linear-gradient(90deg, #e6007e, #06171f) !important;
}

@media (max-width: 980px) {
  .locations-v18 .locations-map-layout { grid-template-columns: 1fr !important; }
  .locations-v18 .locations-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 620px) {
  .locations-v18 .locations-card-grid { grid-template-columns: 1fr !important; }
  .locations-v18 .locations-map { min-height: 330px !important; }
}

/* WP Views / Toolset product archive rescue: old Bootstrap rows were narrowing the product area */
body.tax-product_cat #wpv-view-layout-262,
body.post-type-archive-product #wpv-view-layout-262,
body.tax-product_cat .js-wpv-view-layout,
body.post-type-archive-product .js-wpv-view-layout {
  width: min(1320px, calc(100% - 48px)) !important;
  max-width: 1320px !important;
  margin: 40px auto 90px !important;
}

body.tax-product_cat .js-wpv-view-layout > .row,
body.post-type-archive-product .js-wpv-view-layout > .row {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) !important;
  gap: 34px !important;
  margin: 0 !important;
  width: 100% !important;
  align-items: start !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-4,
body.tax-product_cat .js-wpv-view-layout .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout .col-lg-4 {
  position: sticky !important;
  top: 112px !important;
}

body.tax-product_cat .wpv-filter-form .card,
body.post-type-archive-product .wpv-filter-form .card {
  border-radius: 18px !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  box-shadow: 0 14px 35px rgba(6,23,31,.06) !important;
  overflow: hidden !important;
  margin-bottom: 18px !important;
  background: #fff !important;
}

body.tax-product_cat .wpv-filter-form .card-header,
body.post-type-archive-product .wpv-filter-form .card-header {
  background: #06171f !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  font-size: 12px !important;
  padding: 14px 16px !important;
}

body.tax-product_cat .wpv-filter-form .card-body,
body.post-type-archive-product .wpv-filter-form .card-body {
  padding: 16px !important;
}

body.tax-product_cat .wpv-filter-form label,
body.post-type-archive-product .wpv-filter-form label {
  color: #17242b !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body.tax-product_cat .wpv-filter-form input[type="text"],
body.post-type-archive-product .wpv-filter-form input[type="text"] {
  width: 100% !important;
  border: 1px solid rgba(23,36,43,.16) !important;
  border-radius: 10px !important;
  min-height: 42px !important;
}

body.tax-product_cat .wpv-submit-trigger,
body.post-type-archive-product .wpv-submit-trigger {
  width: 100% !important;
  border-radius: 999px !important;
  background: #e6007e !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  padding: 14px 18px !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 > .card,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 > .card {
  border-radius: 22px !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  box-shadow: 0 16px 40px rgba(6,23,31,.06) !important;
  margin-bottom: 18px !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 > .card .card-body,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 > .card .card-body {
  padding: 24px !important;
}

@media (max-width: 991px) {
  body.tax-product_cat .js-wpv-view-layout > .row,
  body.post-type-archive-product .js-wpv-view-layout > .row {
    grid-template-columns: 1fr !important;
  }
  body.tax-product_cat .js-wpv-view-layout .col-lg-4,
  body.post-type-archive-product .js-wpv-view-layout .col-lg-4 {
    position: static !important;
  }
}


/* ================================
   v1.9: category links + loan tooling polish
================================ */
.loan-page-v19 .loan-hero h1 {
  font-size: clamp(44px, 6vw, 82px) !important;
  line-height: .92 !important;
  max-width: 900px !important;
}

.loan-page-v19 .loan-hero {
  min-height: 500px !important;
}

.loan-intro-v19 {
  padding: 86px 0 44px !important;
}

.loan-intro__grid-v19 {
  grid-template-columns: minmax(0, 1fr) 360px !important;
  align-items: stretch !important;
  margin-bottom: 34px !important;
}

.loan-cta-card-v19 {
  background: radial-gradient(circle at top right, rgba(230,0,126,.26), transparent 38%), var(--ag-dark);
  color: #ffffff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(6,23,31,.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loan-cta-card-v19 .brand-kicker,
.loan-cta-card-v19 h3,
.loan-cta-card-v19 p {
  color: #ffffff !important;
}

.loan-cta-card-v19 h3 {
  font-size: 34px;
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.loan-cta-card-v19 p {
  color: rgba(255,255,255,.78) !important;
  margin-bottom: 22px;
}

.loan-process-illustration-v19 {
  width: 100% !important;
  max-width: none !important;
  margin: 12px 0 0 !important;
  padding: 26px !important;
  border-radius: 26px !important;
}

.loan-process-illustration-v19 img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px;
  object-fit: contain;
  background: #ffffff;
}

.loan-page-v19 .loan-capabilities {
  padding-top: 56px !important;
}

@media (max-width: 980px) {
  .loan-intro__grid-v19 {
    grid-template-columns: 1fr !important;
  }

  .loan-cta-card-v19 {
    padding: 26px !important;
  }
}

@media (max-width: 620px) {
  .loan-page-v19 .loan-hero h1 {
    font-size: 44px !important;
  }

  .loan-page-v19 .loan-hero {
    min-height: 430px !important;
  }

  .loan-process-illustration-v19 {
    padding: 14px !important;
  }
}

/* ================================
   v2.0: Header hover + WP Views product card rescue
================================ */
.site-header .main-navigation a,
.site-header .menu a,
.site-header nav a,
.ag-header a,
.main-menu a {
  transition: color 0.22s ease, background 0.22s ease, opacity 0.22s ease !important;
}

.site-header .main-navigation > ul > li > a:hover,
.site-header .menu > li > a:hover,
.site-header nav > ul > li > a:hover,
.ag-header nav > ul > li > a:hover,
.main-menu > li > a:hover,
.site-header .main-navigation li:hover > a,
.site-header .menu li:hover > a,
.ag-header li:hover > a {
  color: #e6007e !important;
}

.site-header .sub-menu,
.site-header .dropdown-menu,
.ag-header .sub-menu,
.ag-header .dropdown-menu,
.main-menu .sub-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  pointer-events: none !important;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease !important;
}

.site-header li:hover > .sub-menu,
.site-header li:focus-within > .sub-menu,
.site-header li:hover > .dropdown-menu,
.site-header li:focus-within > .dropdown-menu,
.ag-header li:hover > .sub-menu,
.ag-header li:focus-within > .sub-menu,
.ag-header li:hover > .dropdown-menu,
.ag-header li:focus-within > .dropdown-menu,
.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.site-header .sub-menu a,
.site-header .dropdown-menu a,
.ag-header .sub-menu a,
.ag-header .dropdown-menu a,
.main-menu .sub-menu a {
  color: #06171f !important;
  background: transparent !important;
  white-space: nowrap !important;
  word-break: normal !important;
}

.site-header .sub-menu a:hover,
.site-header .dropdown-menu a:hover,
.ag-header .sub-menu a:hover,
.ag-header .dropdown-menu a:hover,
.main-menu .sub-menu a:hover {
  color: #e6007e !important;
  background: rgba(230, 0, 126, 0.08) !important;
}

/* Stop product archive cards collapsing into one-letter columns */
body.tax-product_cat .js-wpv-view-layout .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 > .card,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 > .card,
body.tax-product_cat .js-wpv-view-layout .col-lg-8 .card.mb-2,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 .card.mb-2 {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 > .card .card-body,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 > .card .card-body,
body.tax-product_cat .js-wpv-view-layout .col-lg-8 .card.mb-2 .card-body,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 .card.mb-2 .card-body {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 24px !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 .card-title,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 .card-title,
body.tax-product_cat .js-wpv-view-layout .col-lg-8 h5,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 h5,
body.tax-product_cat .js-wpv-view-layout .col-lg-8 h6,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 h6,
body.tax-product_cat .js-wpv-view-layout .col-lg-8 a,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 a {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  display: block !important;
  line-height: 1.15 !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 .card-title,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 .card-title,
body.tax-product_cat .js-wpv-view-layout .col-lg-8 h5 {
  font-size: clamp(20px, 1.7vw, 28px) !important;
  margin-bottom: 16px !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 .card-highlight,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 .card-highlight,
body.tax-product_cat .js-wpv-view-layout .col-lg-8 .card-brand,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 .card-brand,
body.tax-product_cat .js-wpv-view-layout .col-lg-8 h6,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 h6 {
  font-size: 14px !important;
  margin-bottom: 10px !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 a.d-block,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 a.d-block {
  color: #e6007e !important;
  font-weight: 900 !important;
  margin-top: 18px !important;
}

@media (max-width: 991px) {
  body.tax-product_cat .js-wpv-view-layout .col-lg-8,
  body.post-type-archive-product .js-wpv-view-layout .col-lg-8 {
    grid-template-columns: 1fr !important;
  }
}

/* ================================
   v2.1: Product archive header, 3-column grid + thumbnails
================================ */
body.tax-product_cat .ag-product-archive,
body.post-type-archive-product .ag-product-archive {
  background: #f4f7f8 !important;
}

body.tax-product_cat .ag-archive-hero,
body.post-type-archive-product .ag-archive-hero {
  padding: 38px 0 26px !important;
  background: linear-gradient(180deg, #f8fbfc 0%, #eef3f5 100%) !important;
}

body.tax-product_cat .ag-archive-hero .ag-wrap,
body.post-type-archive-product .ag-archive-hero .ag-wrap {
  max-width: 1180px !important;
  width: min(1180px, 92%) !important;
  margin: 0 auto !important;
}

body.tax-product_cat .ag-archive-hero h1,
body.post-type-archive-product .ag-archive-hero h1,
body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title {
  font-size: clamp(34px, 4.4vw, 62px) !important;
  line-height: .9 !important;
  letter-spacing: -0.045em !important;
  margin: 0 !important;
  max-width: 920px !important;
}

body.tax-product_cat .ag-archive-description,
body.post-type-archive-product .ag-archive-description,
body.tax-product_cat .ag-archive-hero p,
body.post-type-archive-product .ag-archive-hero p {
  max-width: 680px !important;
  margin-top: 14px !important;
  font-size: 16px !important;
}

body.tax-product_cat .ag-archive-section,
body.post-type-archive-product .ag-archive-section {
  padding: 22px 0 72px !important;
}

body.tax-product_cat .js-wpv-view-layout,
body.post-type-archive-product .js-wpv-view-layout {
  width: min(1180px, 92%) !important;
  margin: 0 auto !important;
}

body.tax-product_cat .js-wpv-view-layout > .row,
body.post-type-archive-product .js-wpv-view-layout > .row,
body.tax-product_cat .js-wpv-view-layout .row,
body.post-type-archive-product .js-wpv-view-layout .row {
  display: grid !important;
  grid-template-columns: 285px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout .col-lg-4 {
  width: 100% !important;
  max-width: 285px !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: sticky !important;
  top: 118px !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 > br,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 > br {
  display: none !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 .card.mb-2,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 .card.mb-2 {
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

body.tax-product_cat .ag-wpv-product-thumb,
body.post-type-archive-product .ag-wpv-product-thumb {
  display: block !important;
  width: 100% !important;
  height: 155px !important;
  background: #f1f5f6 !important;
  border-bottom: 1px solid rgba(23,36,43,.10) !important;
  overflow: hidden !important;
}

body.tax-product_cat .ag-wpv-product-thumb img,
body.post-type-archive-product .ag-wpv-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 14px !important;
  display: block !important;
  mix-blend-mode: multiply;
}

body.tax-product_cat .ag-wpv-product-thumb.is-loading,
body.post-type-archive-product .ag-wpv-product-thumb.is-loading {
  position: relative !important;
}

body.tax-product_cat .ag-wpv-product-thumb.is-loading::after,
body.post-type-archive-product .ag-wpv-product-thumb.is-loading::after {
  content: 'Loading image' !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: rgba(23,36,43,.35) !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 .card.mb-2 .card-body,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 .card.mb-2 .card-body {
  flex: 1 !important;
  padding: 22px !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-8 h5,
body.post-type-archive-product .js-wpv-view-layout .col-lg-8 h5 {
  font-size: clamp(19px, 1.35vw, 24px) !important;
  line-height: 1.02 !important;
}

body.tax-product_cat .js-wpv-view-layout .col-lg-4 .card,
body.post-type-archive-product .js-wpv-view-layout .col-lg-4 .card {
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 35px rgba(6,23,31,.07) !important;
}

@media (max-width: 1180px) {
  body.tax-product_cat .js-wpv-view-layout .col-lg-8,
  body.post-type-archive-product .js-wpv-view-layout .col-lg-8 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.tax-product_cat .js-wpv-view-layout > .row,
  body.post-type-archive-product .js-wpv-view-layout > .row,
  body.tax-product_cat .js-wpv-view-layout .row,
  body.post-type-archive-product .js-wpv-view-layout .row {
    grid-template-columns: 1fr !important;
  }

  body.tax-product_cat .js-wpv-view-layout .col-lg-4,
  body.post-type-archive-product .js-wpv-view-layout .col-lg-4 {
    position: static !important;
    max-width: none !important;
  }

  body.tax-product_cat .js-wpv-view-layout .col-lg-8,
  body.post-type-archive-product .js-wpv-view-layout .col-lg-8 {
    grid-template-columns: 1fr !important;
  }

  body.tax-product_cat .ag-archive-hero h1,
  body.post-type-archive-product .ag-archive-hero h1,
  body.tax-product_cat .woocommerce-products-header__title,
  body.post-type-archive-product .woocommerce-products-header__title {
    font-size: 42px !important;
  }
}


/* ================================
   v2.2: Product category polish + About button slimming
================================ */

/* Product category heading: smaller, contained and aligned with archive content */
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat header.woocommerce-products-header,
body.post-type-archive-product header.woocommerce-products-header {
  width: min(1180px, 92%) !important;
  max-width: 1180px !important;
  margin: 34px auto 24px !important;
  padding: 0 !important;
  display: block !important;
}

body.tax-product_cat .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb {
  width: min(1180px, 92%) !important;
  max-width: 1180px !important;
  margin: 22px auto 10px !important;
  padding: 0 !important;
  font-size: 14px !important;
}

body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat h1.page-title,
body.post-type-archive-product h1.page-title {
  font-size: clamp(32px, 3.8vw, 54px) !important;
  line-height: .92 !important;
  letter-spacing: -0.04em !important;
  max-width: 900px !important;
  margin: 0 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
}

/* Product category / Toolset archive: force proper 3-column product grid */
body.tax-product_cat .js-wpv-view-layout,
body.post-type-archive-product .js-wpv-view-layout {
  width: min(1180px, 92%) !important;
  max-width: 1180px !important;
  margin: 0 auto 80px !important;
  padding: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout > .row,
body.post-type-archive-product .js-wpv-view-layout > .row {
  display: grid !important;
  grid-template-columns: 285px minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4 {
  width: 100% !important;
  max-width: 285px !important;
  min-width: 0 !important;
  padding: 0 !important;
  flex: none !important;
  position: sticky !important;
  top: 120px !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  flex: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 > br,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 > br {
  display: none !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 > .card.mb-2,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 > .card.mb-2,
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 > .card,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 > .card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(23,36,43,.13) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 16px 45px rgba(6,23,31,.07) !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 .card-body,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 .card-body {
  width: 100% !important;
  min-width: 0 !important;
  padding: 20px !important;
  display: block !important;
  flex: 1 1 auto !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 .card-title,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 .card-title,
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 h5,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 h5 {
  font-size: clamp(20px, 1.35vw, 25px) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 16px !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 h6,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 h6,
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 .card-highlight,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 .card-highlight,
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 .card-brand,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 .card-brand {
  font-size: 12px !important;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 a.d-block,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 a.d-block {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  margin-top: 8px !important;
  color: #e6007e !important;
  font-weight: 900 !important;
  font-size: 15px !important;
}

body.tax-product_cat .ag-wpv-product-thumb,
body.post-type-archive-product .ag-wpv-product-thumb {
  height: 170px !important;
  background: #f4f7f8 !important;
}

/* Filters stay tidy and do not inherit product grid rules */
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4 .row,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4 .row {
  display: block !important;
}

/* Slim the About hero pink CTA button */
.about-hero .brand-btn,
.about-hero a.brand-btn,
.about-hero .btn,
.about-hero a.btn,
.about-cta .brand-btn,
.about-cta a.brand-btn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 54px !important;
  padding: 16px 30px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 1280px) {
  body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8,
  body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.tax-product_cat .woocommerce-products-header,
  body.post-type-archive-product .woocommerce-products-header,
  body.tax-product_cat .woocommerce-breadcrumb,
  body.post-type-archive-product .woocommerce-breadcrumb {
    width: min(680px, 92%) !important;
  }

  body.tax-product_cat .js-wpv-view-layout > .row,
  body.post-type-archive-product .js-wpv-view-layout > .row {
    grid-template-columns: 1fr !important;
  }

  body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
  body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4 {
    position: static !important;
    max-width: none !important;
  }

  body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8,
  body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 {
    grid-template-columns: 1fr !important;
  }

  body.tax-product_cat .woocommerce-products-header__title,
  body.post-type-archive-product .woocommerce-products-header__title,
  body.tax-product_cat h1.page-title,
  body.post-type-archive-product h1.page-title {
    font-size: 38px !important;
  }
}

/* ================================
   v2.3: Product category archive normalisation
   Fixes Toolset/WP Views old Bootstrap cards collapsing into skinny columns
================================ */

body.tax-product_cat .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat nav.woocommerce-breadcrumb,
body.post-type-archive-product nav.woocommerce-breadcrumb {
  width: min(1180px, 92vw) !important;
  max-width: 1180px !important;
  margin: 22px auto 8px !important;
  padding: 0 !important;
  display: block !important;
}

body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat header.woocommerce-products-header,
body.post-type-archive-product header.woocommerce-products-header {
  width: min(1180px, 92vw) !important;
  max-width: 1180px !important;
  margin: 0 auto 24px !important;
  padding: 0 !important;
}

body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat h1.page-title,
body.post-type-archive-product h1.page-title {
  width: min(1180px, 92vw) !important;
  max-width: 1180px !important;
  margin: 10px auto 28px !important;
  padding: 0 !important;
  font-size: clamp(34px, 4.2vw, 62px) !important;
  line-height: .9 !important;
  letter-spacing: -0.045em !important;
  white-space: normal !important;
  text-align: left !important;
}

body.tax-product_cat .js-wpv-view-layout,
body.post-type-archive-product .js-wpv-view-layout {
  width: min(1180px, 92vw) !important;
  max-width: 1180px !important;
  margin: 0 auto 90px !important;
  padding: 0 !important;
  display: block !important;
}

body.tax-product_cat .js-wpv-view-layout > .row,
body.post-type-archive-product .js-wpv-view-layout > .row {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 34px !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4,
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 {
  float: none !important;
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4 {
  position: sticky !important;
  top: 118px !important;
  z-index: 3 !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 {
  display: block !important;
  position: relative !important;
}

body.tax-product_cat .ag-products-normalized,
body.post-type-archive-product .ag-products-normalized {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  align-items: stretch !important;
}

body.tax-product_cat .ag-products-normalized > .card.mb-2,
body.post-type-archive-product .ag-products-normalized > .card.mb-2,
body.tax-product_cat .ag-products-normalized > .card,
body.post-type-archive-product .ag-products-normalized > .card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 16px 42px rgba(6,23,31,.08) !important;
}

body.tax-product_cat .ag-products-normalized .card-body,
body.post-type-archive-product .ag-products-normalized .card-body {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.tax-product_cat .ag-products-normalized .card-title,
body.post-type-archive-product .ag-products-normalized .card-title,
body.tax-product_cat .ag-products-normalized h5,
body.post-type-archive-product .ag-products-normalized h5 {
  font-size: clamp(20px, 1.4vw, 26px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 15px !important;
  color: #17242b !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.tax-product_cat .ag-products-normalized h6,
body.post-type-archive-product .ag-products-normalized h6,
body.tax-product_cat .ag-products-normalized .card-highlight,
body.post-type-archive-product .ag-products-normalized .card-highlight,
body.tax-product_cat .ag-products-normalized .card-brand,
body.post-type-archive-product .ag-products-normalized .card-brand {
  font-size: 12px !important;
  line-height: 1.28 !important;
  margin: 0 0 9px !important;
  color: #17242b !important;
  font-weight: 900 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
}

body.tax-product_cat .ag-products-normalized a.d-block,
body.post-type-archive-product .ag-products-normalized a.d-block {
  display: inline-flex !important;
  width: fit-content !important;
  margin-top: auto !important;
  align-items: center !important;
  gap: 8px !important;
  color: #e6007e !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-transform: none !important;
}

body.tax-product_cat .ag-wpv-product-thumb,
body.post-type-archive-product .ag-wpv-product-thumb {
  display: block !important;
  width: 100% !important;
  height: 210px !important;
  overflow: hidden !important;
  background: #f4f7f8 !important;
  border-bottom: 1px solid rgba(23,36,43,.08) !important;
  position: relative !important;
}

body.tax-product_cat .ag-wpv-product-thumb img,
body.post-type-archive-product .ag-wpv-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body.tax-product_cat .ag-wpv-product-thumb.is-loading::after,
body.post-type-archive-product .ag-wpv-product-thumb.is-loading::after {
  content: "Loading image" !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #e6007e !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
}

body.tax-product_cat .js-wpv-view-layout .wpv-archive-pagination-nav-links-container,
body.post-type-archive-product .js-wpv-view-layout .wpv-archive-pagination-nav-links-container {
  grid-column: 1 / -1 !important;
  margin-top: 34px !important;
}

@media (max-width: 1180px) {
  body.tax-product_cat .ag-products-normalized,
  body.post-type-archive-product .ag-products-normalized {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.tax-product_cat .js-wpv-view-layout > .row,
  body.post-type-archive-product .js-wpv-view-layout > .row {
    grid-template-columns: 1fr !important;
  }

  body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
  body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4 {
    position: static !important;
  }
}

@media (max-width: 620px) {
  body.tax-product_cat .ag-products-normalized,
  body.post-type-archive-product .ag-products-normalized {
    grid-template-columns: 1fr !important;
  }

  body.tax-product_cat .woocommerce-products-header__title,
  body.post-type-archive-product .woocommerce-products-header__title,
  body.tax-product_cat h1.page-title,
  body.post-type-archive-product h1.page-title {
    font-size: 34px !important;
  }
}

/* ================================
   V2.4 - FILTER SCROLL + PARTNER SEARCH BUTTONS
================================ */

/* WP Views filter cards: stop long checkbox lists escaping the card */
.wpv-filter-form .card {
  overflow: hidden !important;
}

.wpv-filter-form .card-body {
  overflow: hidden !important;
}

.wpv-filter-form [data-simplebar],
.wpv-filter-form .card-body > .form-group[style*="height"],
.wpv-filter-form .card-body > div[style*="height"] {
  height: 280px !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 10px !important;
  overscroll-behavior: contain;
}

.wpv-filter-form .simplebar-wrapper,
.wpv-filter-form .simplebar-mask,
.wpv-filter-form .simplebar-offset,
.wpv-filter-form .simplebar-content-wrapper {
  max-height: 280px !important;
  height: 280px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.wpv-filter-form .simplebar-content {
  min-width: 0 !important;
}

.wpv-filter-form .checkbox {
  display: block !important;
  margin: 0 0 10px !important;
  line-height: 1.35 !important;
}

.wpv-filter-form .checkbox label,
.wpv-filter-form label.search-cat-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #13252e !important;
}

.wpv-filter-form .checkbox input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 14px !important;
  height: 14px !important;
  margin: 2px 0 0 !important;
}

.wpv-filter-form [data-simplebar]::-webkit-scrollbar,
.wpv-filter-form .card-body > .form-group[style*="height"]::-webkit-scrollbar,
.wpv-filter-form .card-body > div[style*="height"]::-webkit-scrollbar,
.wpv-filter-form .simplebar-content-wrapper::-webkit-scrollbar {
  width: 7px;
}

.wpv-filter-form [data-simplebar]::-webkit-scrollbar-track,
.wpv-filter-form .card-body > .form-group[style*="height"]::-webkit-scrollbar-track,
.wpv-filter-form .card-body > div[style*="height"]::-webkit-scrollbar-track,
.wpv-filter-form .simplebar-content-wrapper::-webkit-scrollbar-track {
  background: #eef3f5;
  border-radius: 999px;
}

.wpv-filter-form [data-simplebar]::-webkit-scrollbar-thumb,
.wpv-filter-form .card-body > .form-group[style*="height"]::-webkit-scrollbar-thumb,
.wpv-filter-form .card-body > div[style*="height"]::-webkit-scrollbar-thumb,
.wpv-filter-form .simplebar-content-wrapper::-webkit-scrollbar-thumb {
  background: #e6007e;
  border-radius: 999px;
}

/* Pretty partner product-search button injected on partner pages */
.agse-partner-search-cta {
  width: min(1120px, 92%);
  margin: 36px auto 70px;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(230,0,126,.22), transparent 32%),
    linear-gradient(135deg, #06171f, #102832);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 22px 55px rgba(6,23,31,.20);
  overflow: hidden;
  position: relative;
}

.agse-partner-search-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 100%;
  background: #e6007e;
}

.agse-partner-search-cta__kicker {
  margin: 0 0 8px;
  color: #e6007e;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
}

.agse-partner-search-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: .92;
  letter-spacing: -.04em;
  color: #fff;
}

.agse-partner-search-cta p {
  margin: 0;
  max-width: 680px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
}

.agse-partner-search-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: #e6007e;
  color: #fff !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: 0 16px 36px rgba(230,0,126,.32);
  white-space: nowrap;
  transition: transform .22s ease, background .22s ease;
}

.agse-partner-search-cta__button:hover {
  background: #c90070;
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .agse-partner-search-cta {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .agse-partner-search-cta__button {
    width: 100%;
  }
}

/* ================================
   v2.5: FINAL product archive grid fallback + header hover restore
================================ */

/* Product archive title and content alignment */
body.tax-product_cat .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat header.woocommerce-products-header,
body.post-type-archive-product header.woocommerce-products-header {
  width: min(1240px, 92%) !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat h1.page-title,
body.post-type-archive-product h1.page-title {
  font-size: clamp(34px, 4vw, 60px) !important;
  max-width: 100% !important;
}

/* Rebuild the old Toolset/Bootstrap archive layout without skinny columns */
body.tax-product_cat .js-wpv-view-layout,
body.post-type-archive-product .js-wpv-view-layout {
  width: min(1240px, 92%) !important;
  max-width: 1240px !important;
  margin: 0 auto 90px !important;
  overflow: visible !important;
}

body.tax-product_cat .js-wpv-view-layout > .row,
body.post-type-archive-product .js-wpv-view-layout > .row {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 32px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4,
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 {
  float: none !important;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4 {
  position: sticky !important;
  top: 118px !important;
  z-index: 4 !important;
}

/* Fallback grid if JS normalisation has not fired yet */
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)),
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)) > .card.mb-2,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)) > .card.mb-2,
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)) > .card,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)) > .card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  background: #fff !important;
  box-shadow: 0 16px 42px rgba(6,23,31,.08) !important;
}

/* Normalised grid, if JS has created it */
body.tax-product_cat .ag-products-normalized,
body.post-type-archive-product .ag-products-normalized {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.tax-product_cat .ag-products-normalized > .card,
body.post-type-archive-product .ag-products-normalized > .card,
body.tax-product_cat .ag-products-normalized > .card.mb-2,
body.post-type-archive-product .ag-products-normalized > .card.mb-2 {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8 > br,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8 > br {
  display: none !important;
}

body.tax-product_cat .js-wpv-view-layout .card-body,
body.post-type-archive-product .js-wpv-view-layout .card-body {
  min-width: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout h5,
body.post-type-archive-product .js-wpv-view-layout h5,
body.tax-product_cat .js-wpv-view-layout h6,
body.post-type-archive-product .js-wpv-view-layout h6,
body.tax-product_cat .js-wpv-view-layout a,
body.post-type-archive-product .js-wpv-view-layout a {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

@media (max-width: 1180px) {
  body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)),
  body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)),
  body.tax-product_cat .ag-products-normalized,
  body.post-type-archive-product .ag-products-normalized {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.tax-product_cat .js-wpv-view-layout > .row,
  body.post-type-archive-product .js-wpv-view-layout > .row {
    grid-template-columns: 1fr !important;
  }
  body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
  body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4 {
    position: static !important;
  }
  body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)),
  body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8:not(:has(> .ag-products-normalized)),
  body.tax-product_cat .ag-products-normalized,
  body.post-type-archive-product .ag-products-normalized {
    grid-template-columns: 1fr !important;
  }
}

/* Header hover/dropdown final restore */
#masthead.ag-header,
#masthead.ag-header .ag-nav,
#masthead.ag-header .ag-nav__inner,
#masthead.ag-header .ag-menu,
#masthead.ag-header .ag-menu__list {
  overflow: visible !important;
}

#masthead.ag-header .ag-menu__list > li > a:hover,
#masthead.ag-header .ag-menu__list > li:hover > a,
#masthead.ag-header .ag-menu__list > li:focus-within > a {
  color: #e6007e !important;
}

#masthead.ag-header .ag-menu__list .sub-menu,
#masthead.ag-header .ag-menu .sub-menu,
#masthead.ag-header nav ul ul {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(0) !important;
  top: 100% !important;
  left: 0 !important;
  background: #ffffff !important;
  color: #06171f !important;
  z-index: 999999999 !important;
}

#masthead.ag-header .ag-menu__list li:hover > .sub-menu,
#masthead.ag-header .ag-menu__list li:focus-within > .sub-menu,
#masthead.ag-header .ag-menu li:hover > .sub-menu,
#masthead.ag-header .ag-menu li:focus-within > .sub-menu,
#masthead.ag-header nav li:hover > ul,
#masthead.ag-header nav li:focus-within > ul {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#masthead.ag-header .sub-menu a,
#masthead.ag-header nav ul ul a,
#masthead.ag-header .ag-menu .sub-menu a,
#masthead.ag-header .ag-menu__list .sub-menu a {
  color: #06171f !important;
  background: transparent !important;
}

#masthead.ag-header .sub-menu a:hover,
#masthead.ag-header nav ul ul a:hover,
#masthead.ag-header .ag-menu .sub-menu a:hover,
#masthead.ag-header .ag-menu__list .sub-menu a:hover {
  color: #e6007e !important;
  background: rgba(230,0,126,.08) !important;
}

/* ==============================
   v2.6 PRODUCT SEARCH + WP VIEWS GREMLIN FIX
   Targets /product-search/ as well as product category pages.
============================== */
body.tax-product_cat .woocommerce-notices-wrapper,
body.post-type-archive-product .woocommerce-notices-wrapper,
body.page .woocommerce-notices-wrapper {
  max-width: min(1240px, 92%) !important;
  margin: 0 auto !important;
}

/* Product-search and category result pages: rebuild old Bootstrap/WP Views layout */
body.tax-product_cat .js-wpv-view-layout,
body.post-type-archive-product .js-wpv-view-layout,
body.page .js-wpv-view-layout {
  width: min(1240px, 92%) !important;
  max-width: 1240px !important;
  margin: 0 auto 90px !important;
  overflow: visible !important;
}

body.tax-product_cat .js-wpv-view-layout > .row,
body.post-type-archive-product .js-wpv-view-layout > .row,
body.page .js-wpv-view-layout > .row {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4,
body.page .js-wpv-view-layout > .row > .col-lg-4,
body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8,
body.page .js-wpv-view-layout > .row > .col-lg-8 {
  float: none !important;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4,
body.page .js-wpv-view-layout > .row > .col-lg-4 {
  position: sticky !important;
  top: 118px !important;
  z-index: 3 !important;
  align-self: start !important;
}

body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-8,
body.page .js-wpv-view-layout > .row > .col-lg-8 {
  display: block !important;
  min-width: 0 !important;
  overflow: visible !important;
}

body.tax-product_cat .ag-products-normalized,
body.post-type-archive-product .ag-products-normalized,
body.page .ag-products-normalized {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: stretch !important;
}

body.tax-product_cat .ag-products-normalized > .card,
body.post-type-archive-product .ag-products-normalized > .card,
body.page .ag-products-normalized > .card,
body.tax-product_cat .ag-products-normalized > .card.mb-2,
body.post-type-archive-product .ag-products-normalized > .card.mb-2,
body.page .ag-products-normalized > .card.mb-2 {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 16px 42px rgba(6,23,31,.08) !important;
}

body.tax-product_cat .ag-products-normalized .card-body,
body.post-type-archive-product .ag-products-normalized .card-body,
body.page .ag-products-normalized .card-body {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.tax-product_cat .ag-products-normalized h5,
body.post-type-archive-product .ag-products-normalized h5,
body.page .ag-products-normalized h5,
body.tax-product_cat .ag-products-normalized .card-title,
body.post-type-archive-product .ag-products-normalized .card-title,
body.page .ag-products-normalized .card-title {
  font-size: clamp(20px, 1.35vw, 26px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 15px !important;
  color: #17242b !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.tax-product_cat .ag-products-normalized h6,
body.post-type-archive-product .ag-products-normalized h6,
body.page .ag-products-normalized h6,
body.tax-product_cat .ag-products-normalized .card-highlight,
body.post-type-archive-product .ag-products-normalized .card-highlight,
body.page .ag-products-normalized .card-highlight,
body.tax-product_cat .ag-products-normalized .card-brand,
body.post-type-archive-product .ag-products-normalized .card-brand,
body.page .ag-products-normalized .card-brand {
  font-size: 12px !important;
  line-height: 1.28 !important;
  margin: 0 0 9px !important;
  color: #17242b !important;
  font-weight: 900 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
}

body.tax-product_cat .ag-products-normalized a.d-block,
body.post-type-archive-product .ag-products-normalized a.d-block,
body.page .ag-products-normalized a.d-block {
  display: inline-flex !important;
  width: fit-content !important;
  margin-top: auto !important;
  align-items: center !important;
  gap: 8px !important;
  color: #e6007e !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

body.tax-product_cat .ag-wpv-product-thumb,
body.post-type-archive-product .ag-wpv-product-thumb,
body.page .ag-wpv-product-thumb {
  display: block !important;
  width: 100% !important;
  height: 210px !important;
  overflow: hidden !important;
  background: #f4f7f8 !important;
  border-bottom: 1px solid rgba(23,36,43,.08) !important;
  position: relative !important;
}

body.tax-product_cat .ag-wpv-product-thumb img,
body.post-type-archive-product .ag-wpv-product-thumb img,
body.page .ag-wpv-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body.tax-product_cat .ag-wpv-product-thumb.is-loading::after,
body.post-type-archive-product .ag-wpv-product-thumb.is-loading::after,
body.page .ag-wpv-product-thumb.is-loading::after {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 3px solid rgba(230,0,126,.18);
  border-top-color: #e6007e;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ag-spin 1s linear infinite;
}

/* Keep filter cards tidy on product-search too */
body.page .wpv-filter-form .card,
body.tax-product_cat .wpv-filter-form .card,
body.post-type-archive-product .wpv-filter-form .card {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  box-shadow: 0 14px 34px rgba(6,23,31,.06) !important;
}
body.page .wpv-filter-form .card-header,
body.tax-product_cat .wpv-filter-form .card-header,
body.post-type-archive-product .wpv-filter-form .card-header {
  background: #06171f !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  font-size: 12px !important;
}
body.page .wpv-filter-form .card-body,
body.tax-product_cat .wpv-filter-form .card-body,
body.post-type-archive-product .wpv-filter-form .card-body {
  padding: 18px !important;
}
body.page .wpv-filter-form .card-body [data-simplebar],
body.tax-product_cat .wpv-filter-form .card-body [data-simplebar],
body.post-type-archive-product .wpv-filter-form .card-body [data-simplebar] {
  max-height: 280px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 10px !important;
}
body.page .wpv-filter-form .checkbox label,
body.tax-product_cat .wpv-filter-form .checkbox label,
body.post-type-archive-product .wpv-filter-form .checkbox label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.35 !important;
}
body.page .wpv-filter-form input[type="checkbox"],
body.tax-product_cat .wpv-filter-form input[type="checkbox"],
body.post-type-archive-product .wpv-filter-form input[type="checkbox"] {
  flex: 0 0 auto !important;
  margin-top: 3px !important;
}

@media (max-width: 1180px) {
  body.tax-product_cat .ag-products-normalized,
  body.post-type-archive-product .ag-products-normalized,
  body.page .ag-products-normalized {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  body.tax-product_cat .js-wpv-view-layout > .row,
  body.post-type-archive-product .js-wpv-view-layout > .row,
  body.page .js-wpv-view-layout > .row {
    grid-template-columns: 1fr !important;
  }
  body.tax-product_cat .js-wpv-view-layout > .row > .col-lg-4,
  body.post-type-archive-product .js-wpv-view-layout > .row > .col-lg-4,
  body.page .js-wpv-view-layout > .row > .col-lg-4 {
    position: static !important;
  }
  body.tax-product_cat .ag-products-normalized,
  body.post-type-archive-product .ag-products-normalized,
  body.page .ag-products-normalized {
    grid-template-columns: 1fr !important;
  }
}


/* ==============================
   v2.7 PRODUCT SEARCH REAL TEMPLATE FIX
   The WP Views product-search page uses col-sm-4 / col-sm-8, not col-lg-4 / col-lg-8.
   This keeps the existing setup but makes it usable and gives search results card styling.
============================== */
body.page-id-260 .entry-content,
body.page-id-260 article,
body.page-id-260 .hentry,
body.page-id-260 .container,
body.page-id-260 main .container,
body.page-id-260 .site-main .container,
body.page-id-260 .wpv-view-layout,
body.page-id-260 .js-wpv-view-layout,
body.page-id-260 #wpv-view-layout-260,
body.page-id-260 #wpv-view-layout-262,
body.page-id-260 [id^="wpv-view-layout-"] {
  max-width: 1240px !important;
  width: min(1240px, 92vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
}

body.page-id-260 h1,
body.page-id-260 .entry-title,
body.page-id-260 main h1 {
  max-width: 1240px !important;
  width: min(1240px, 92vw) !important;
  margin: 24px auto 18px !important;
  font-size: clamp(34px, 4vw, 64px) !important;
  line-height: .92 !important;
}

body.page-id-260 .js-wpv-view-layout > .row,
body.page-id-260 [id^="wpv-view-layout-"] > .row,
body.page-id-260 article .row:has(.wpv-filter-form) {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto 80px !important;
  padding: 0 !important;
}

body.page-id-260 .js-wpv-view-layout > .row > .col-sm-4,
body.page-id-260 .js-wpv-view-layout > .row > .col-sm-8,
body.page-id-260 [id^="wpv-view-layout-"] > .row > .col-sm-4,
body.page-id-260 [id^="wpv-view-layout-"] > .row > .col-sm-8,
body.page-id-260 article .row:has(.wpv-filter-form) > .col-sm-4,
body.page-id-260 article .row:has(.wpv-filter-form) > .col-sm-8 {
  float: none !important;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-id-260 .js-wpv-view-layout > .row > .col-sm-4,
body.page-id-260 [id^="wpv-view-layout-"] > .row > .col-sm-4,
body.page-id-260 article .row:has(.wpv-filter-form) > .col-sm-4 {
  position: sticky !important;
  top: 118px !important;
  z-index: 4 !important;
}

body.page-id-260 .js-wpv-view-layout > .row > .col-sm-8,
body.page-id-260 [id^="wpv-view-layout-"] > .row > .col-sm-8,
body.page-id-260 article .row:has(.wpv-filter-form) > .col-sm-8 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  overflow: visible !important;
}

body.page-id-260 .col-sm-8 > .card.mb-2,
body.page-id-260 .col-sm-8 > .card,
body.page-id-260 .ag-search-product-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  border-radius: 22px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: 0 16px 42px rgba(6,23,31,.08) !important;
}

body.page-id-260 .col-sm-8 > .card .card-body,
body.page-id-260 .ag-search-product-card .card-body {
  padding: 20px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

body.page-id-260 .col-sm-8 > .card h5,
body.page-id-260 .col-sm-8 > .card .card-title,
body.page-id-260 .ag-search-product-card h5,
body.page-id-260 .ag-search-product-card .card-title {
  font-size: clamp(18px, 1.25vw, 24px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  color: #17242b !important;
  margin: 0 0 14px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
}

body.page-id-260 .col-sm-8 > .card h6,
body.page-id-260 .ag-search-product-card h6 {
  font-size: 12px !important;
  line-height: 1.28 !important;
  margin: 0 0 8px !important;
  color: #17242b !important;
  font-weight: 900 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body.page-id-260 .col-sm-8 > .card a.d-block,
body.page-id-260 .ag-search-product-card a.d-block {
  display: inline-flex !important;
  width: fit-content !important;
  margin-top: auto !important;
  color: #e6007e !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  align-items: center !important;
  gap: 8px !important;
}

body.page-id-260 .ag-search-product-thumb {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  background: #f4f7f8 !important;
  border-bottom: 1px solid rgba(23,36,43,.08) !important;
  overflow: hidden !important;
  position: relative !important;
}

body.page-id-260 .ag-search-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body.page-id-260 .ag-search-product-thumb.is-loading::after {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(230,0,126,.18);
  border-top-color: #e6007e;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ag-spin 1s linear infinite;
}

@media (max-width: 1180px) {
  body.page-id-260 .js-wpv-view-layout > .row > .col-sm-8,
  body.page-id-260 [id^="wpv-view-layout-"] > .row > .col-sm-8,
  body.page-id-260 article .row:has(.wpv-filter-form) > .col-sm-8 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.page-id-260 .js-wpv-view-layout > .row,
  body.page-id-260 [id^="wpv-view-layout-"] > .row,
  body.page-id-260 article .row:has(.wpv-filter-form) {
    grid-template-columns: 1fr !important;
  }
  body.page-id-260 .js-wpv-view-layout > .row > .col-sm-4,
  body.page-id-260 [id^="wpv-view-layout-"] > .row > .col-sm-4,
  body.page-id-260 article .row:has(.wpv-filter-form) > .col-sm-4 {
    position: static !important;
  }
  body.page-id-260 .js-wpv-view-layout > .row > .col-sm-8,
  body.page-id-260 [id^="wpv-view-layout-"] > .row > .col-sm-8,
  body.page-id-260 article .row:has(.wpv-filter-form) > .col-sm-8 {
    grid-template-columns: 1fr !important;
  }
}

/* ==============================
   v2.8 FINAL PRODUCT LIST + HEADER DROPDOWN RESCUE
   Stop WP Views whitespace/text nodes becoming skinny grid columns.
   Product result columns stay block; only the injected wrapper becomes the grid.
============================== */

/* Product category/search archive width and heading alignment */
body.tax-product_cat .site-main,
body.post-type-archive-product .site-main,
body.page-id-260 .site-main {
  background: #f4f7f8 !important;
}

body.tax-product_cat .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.page-id-260 .breadcrumb,
body.page-id-260 .woocommerce-breadcrumb,
body.tax-product_cat main > .container,
body.post-type-archive-product main > .container,
body.page-id-260 main > .container {
  max-width: 1240px !important;
  width: min(1240px, 92vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.tax-product_cat h1,
body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product h1,
body.page-id-260 h1 {
  max-width: 1240px !important;
  width: min(1240px, 92vw) !important;
  margin: 24px auto 28px !important;
  font-size: clamp(34px, 4.2vw, 64px) !important;
  line-height: .92 !important;
  letter-spacing: -0.055em !important;
  text-align: left !important;
}

/* Main old WP Views layout: sidebar + results */
body.tax-product_cat .js-wpv-view-layout .row,
body.post-type-archive-product .js-wpv-view-layout .row,
body.page-id-260 .js-wpv-view-layout .row,
body.page-id-260 article .row {
  max-width: 1240px !important;
  width: min(1240px, 92vw) !important;
  margin: 0 auto 80px !important;
  display: grid !important;
  grid-template-columns: 290px minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: start !important;
}

/* Sidebar */
body.tax-product_cat .js-wpv-view-layout .row > .col-lg-4,
body.post-type-archive-product .js-wpv-view-layout .row > .col-lg-4,
body.page-id-260 .js-wpv-view-layout .row > .col-sm-4,
body.page-id-260 article .row > .col-sm-4 {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
  position: sticky !important;
  top: 118px !important;
  z-index: 3 !important;
}

/* Results column must NOT be grid; whitespace turns into skinny columns if it is */
body.tax-product_cat .js-wpv-view-layout .row > .col-lg-8,
body.post-type-archive-product .js-wpv-view-layout .row > .col-lg-8,
body.page-id-260 .js-wpv-view-layout .row > .col-sm-8,
body.page-id-260 article .row > .col-sm-8,
.ag-wpv-results-column {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.ag-products-normalized,
.ag-search-products-normalized,
body.tax-product_cat .ag-products-normalized,
body.post-type-archive-product .ag-products-normalized,
body.page-id-260 .ag-search-products-normalized {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: none !important;
  align-items: stretch !important;
}

/* Product cards inspired by homepage featured equipment */
.ag-products-normalized > .card,
.ag-search-products-normalized > .card,
.ag-normalised-product-card,
.ag-search-product-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid rgba(23,36,43,.12) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-shadow: 0 16px 42px rgba(6,23,31,.08) !important;
}

.ag-products-normalized > .card .card-body,
.ag-search-products-normalized > .card .card-body,
.ag-normalised-product-card .card-body,
.ag-search-product-card .card-body {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

.ag-products-normalized h5,
.ag-search-products-normalized h5,
.ag-normalised-product-card h5,
.ag-search-product-card h5,
.ag-products-normalized .card-title,
.ag-search-products-normalized .card-title {
  font-size: clamp(18px, 1.25vw, 24px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  color: #17242b !important;
  margin: 0 0 14px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
}

.ag-products-normalized h6,
.ag-search-products-normalized h6,
.ag-normalised-product-card h6,
.ag-search-product-card h6 {
  font-size: 12px !important;
  line-height: 1.28 !important;
  color: #17242b !important;
  font-weight: 900 !important;
  margin: 0 0 8px !important;
}

.ag-products-normalized a.d-block,
.ag-search-products-normalized a.d-block,
.ag-normalised-product-card a.d-block,
.ag-search-product-card a.d-block {
  display: inline-flex !important;
  width: fit-content !important;
  margin-top: auto !important;
  color: #e6007e !important;
  font-weight: 900 !important;
  align-items: center !important;
  gap: 8px !important;
}

.ag-wpv-product-thumb,
.ag-search-product-thumb {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  background: #eef3f5 !important;
  border-bottom: 1px solid rgba(23,36,43,.08) !important;
  overflow: hidden !important;
  position: relative !important;
}

.ag-wpv-product-thumb img,
.ag-search-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.ag-wpv-product-thumb.is-loading::after,
.ag-search-product-thumb.is-loading::after {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(230,0,126,.18);
  border-top-color: #e6007e;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ag-spin 1s linear infinite;
}

/* Force filter cards to scroll properly */
.wpv-filter-form .card-body [data-simplebar],
.wpv-filter-form .card-body .form-group[style*="height"],
.wpv-filter-form .card-body .form-group {
  max-height: 300px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.wpv-filter-form .checkbox label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.35 !important;
}

.wpv-filter-form input[type="checkbox"] {
  flex: 0 0 auto !important;
  margin-top: 3px !important;
}

/* Header dropdown: no more mysterious white bar */
#masthead.ag-header,
#masthead.ag-header .ag-nav,
#masthead.ag-header .ag-nav__inner,
#masthead.ag-header .ag-menu,
#masthead.ag-header .ag-menu__list {
  overflow: visible !important;
}

#masthead.ag-header .ag-menu__list > li,
#masthead.ag-header .ag-menu li {
  position: relative !important;
}

#masthead.ag-header .ag-menu__list > li > a:hover,
#masthead.ag-header .ag-menu__list > li:hover > a,
#masthead.ag-header .ag-menu__list > li:focus-within > a {
  color: #e6007e !important;
}

#masthead.ag-header .ag-menu__list .sub-menu,
#masthead.ag-header .ag-menu .sub-menu,
#masthead.ag-header nav ul ul {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 14px) !important;
  left: 0 !important;
  min-width: 280px !important;
  width: max-content !important;
  max-width: min(720px, 92vw) !important;
  padding: 16px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.22) !important;
  border: 1px solid rgba(6,23,31,.12) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 999999999 !important;
  list-style: none !important;
  margin: 0 !important;
}

#masthead.ag-header .ag-menu__list li:hover > .sub-menu,
#masthead.ag-header .ag-menu__list li:focus-within > .sub-menu,
#masthead.ag-header .ag-menu li:hover > .sub-menu,
#masthead.ag-header .ag-menu li:focus-within > .sub-menu,
#masthead.ag-header nav li:hover > ul,
#masthead.ag-header nav li:focus-within > ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
  gap: 6px !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#masthead.ag-header .sub-menu li,
#masthead.ag-header nav ul ul li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#masthead.ag-header .sub-menu a,
#masthead.ag-header nav ul ul a,
#masthead.ag-header .ag-menu .sub-menu a,
#masthead.ag-header .ag-menu__list .sub-menu a {
  display: block !important;
  color: #06171f !important;
  background: transparent !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: normal !important;
  text-align: left !important;
}

#masthead.ag-header .sub-menu a:hover,
#masthead.ag-header nav ul ul a:hover,
#masthead.ag-header .ag-menu .sub-menu a:hover,
#masthead.ag-header .ag-menu__list .sub-menu a:hover {
  color: #e6007e !important;
  background: rgba(230,0,126,.08) !important;
}

@media (max-width: 1180px) {
  .ag-products-normalized,
  .ag-search-products-normalized {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.tax-product_cat .js-wpv-view-layout .row,
  body.post-type-archive-product .js-wpv-view-layout .row,
  body.page-id-260 .js-wpv-view-layout .row,
  body.page-id-260 article .row {
    grid-template-columns: 1fr !important;
  }
  body.tax-product_cat .js-wpv-view-layout .row > .col-lg-4,
  body.post-type-archive-product .js-wpv-view-layout .row > .col-lg-4,
  body.page-id-260 .js-wpv-view-layout .row > .col-sm-4,
  body.page-id-260 article .row > .col-sm-4 {
    position: static !important;
  }
  .ag-products-normalized,
  .ag-search-products-normalized {
    grid-template-columns: 1fr !important;
  }
}

/* ================================
   v2.9 Partner page CTA reposition + hero button tidy
================================ */
.agse-partner-page .partners-hero .btn-secondary,
.agse-partner-page .partners-hero .btn-outline,
.agse-partner-page .partners-hero .btn:not(.btn-primary):not(.primary),
.agse-partner-page .partners-hero a[href*="product-category"],
.agse-partner-page .partners-hero a[href*="product-search"]:not(.btn-primary) {
  display: none !important;
}

.agse-partner-page .partners-hero .btn-primary,
.agse-partner-page .partners-hero .primary,
.agse-partner-page .partners-hero a[href*="contact"] {
  min-width: 0 !important;
  width: auto !important;
  padding: 18px 34px !important;
  border-radius: 999px !important;
}

.agse-partner-page .agse-partner-search-cta {
  margin-top: 36px !important;
  margin-bottom: 42px !important;
}

.agse-partner-page .partners-cta {
  margin-top: 0 !important;
}

/* ================================
   v3.0: Product-search result cards inside Toolset form
   The /product-search/ page places result cards inside the col-sm-8 form itself.
   Keep the form as a block, then grid only the normalised card wrapper.
================================ */
body.page-id-260 article#post-260 > .container,
body.page-id-260 .site-main article > .container,
body.page-id-260 main article > .container {
  width: min(1180px, 92%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.page-id-260 article#post-260 .row,
body.page-id-260 main article .row {
  display: grid !important;
  grid-template-columns: 285px minmax(0, 1fr) !important;
  gap: 30px !important;
  align-items: start !important;
  margin: 0 !important;
  width: 100% !important;
}

body.page-id-260 article#post-260 .row > .col-sm-4,
body.page-id-260 main article .row > .col-sm-4 {
  width: 100% !important;
  max-width: 285px !important;
  flex: none !important;
  padding: 0 !important;
  position: sticky !important;
  top: 118px !important;
}

body.page-id-260 article#post-260 .row > .col-sm-8,
body.page-id-260 main article .row > .col-sm-8 {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  flex: none !important;
  display: block !important;
}

body.page-id-260 .col-sm-8 > form.wpv-filter-form,
body.page-id-260 .col-sm-8 > form.js-wpv-filter-form {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-260 .ag-search-products-normalized {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  width: 100% !important;
}

body.page-id-260 .ag-search-products-normalized .card,
body.page-id-260 .ag-search-products-normalized .card.mb-2,
body.page-id-260 .ag-search-product-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(23,36,43,.13) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 16px 45px rgba(6,23,31,.07) !important;
}

body.page-id-260 .ag-search-product-thumb,
body.page-id-260 .ag-search-product-card .ag-search-product-thumb {
  display: block !important;
  width: 100% !important;
  height: 170px !important;
  background: #f4f7f8 !important;
  border-bottom: 1px solid rgba(23,36,43,.10) !important;
  overflow: hidden !important;
}

body.page-id-260 .ag-search-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 14px !important;
  display: block !important;
  mix-blend-mode: multiply;
}

body.page-id-260 .ag-search-product-thumb.is-loading::after {
  content: 'Aerospace GSE' !important;
  display: grid !important;
  place-items: center !important;
  height: 100% !important;
  color: #e6007e !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
}

body.page-id-260 .ag-search-product-card .card-body {
  padding: 22px !important;
  display: block !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.page-id-260 .ag-search-product-card h5,
body.page-id-260 .ag-search-product-card .card-title {
  font-size: clamp(20px, 1.35vw, 25px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 14px !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

body.page-id-260 .ag-search-product-card h6,
body.page-id-260 .ag-search-product-card .card-highlight,
body.page-id-260 .ag-search-product-card .card-brand {
  font-size: 12px !important;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
}

body.page-id-260 .ag-search-product-card a.d-block,
body.page-id-260 .ag-search-product-card a[href*='/product/'] {
  color: #e6007e !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  width: auto !important;
  margin-top: 8px !important;
  align-items: center !important;
  gap: 8px !important;
}

@media (max-width: 1180px) {
  body.page-id-260 .ag-search-products-normalized {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.page-id-260 article#post-260 .row,
  body.page-id-260 main article .row {
    grid-template-columns: 1fr !important;
  }
  body.page-id-260 article#post-260 .row > .col-sm-4,
  body.page-id-260 main article .row > .col-sm-4 {
    max-width: none !important;
    position: static !important;
  }
  body.page-id-260 .ag-search-products-normalized {
    grid-template-columns: 1fr !important;
  }
}

/* ================================
   v3.1: Product-search rescue + hoverable dropdown bridge
   - Product search results are Toolset/WP Views output inside a duplicate form.
   - Move real product cards into a clean grid and hide the duplicate right-side filter UI.
================================ */

/* Header dropdown must not disappear while moving mouse down into it */
#masthead.ag-header .ag-menu__list > li,
#masthead.ag-header .ag-menu li,
#masthead.ag-header nav li {
  position: relative !important;
}

#masthead.ag-header .ag-menu__list .sub-menu,
#masthead.ag-header .ag-menu .sub-menu,
#masthead.ag-header nav ul ul {
  top: 100% !important;
  margin-top: 0 !important;
  padding-top: 16px !important;
}

#masthead.ag-header .ag-menu__list > li::after,
#masthead.ag-header .ag-menu li::after,
#masthead.ag-header nav li::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  display: none;
  z-index: 999999998;
}

#masthead.ag-header .ag-menu__list > li:hover::after,
#masthead.ag-header .ag-menu li:hover::after,
#masthead.ag-header nav li:hover::after {
  display: block;
}

#masthead.ag-header .ag-menu__list li:hover > .sub-menu,
#masthead.ag-header .ag-menu__list li:focus-within > .sub-menu,
#masthead.ag-header .ag-menu li:hover > .sub-menu,
#masthead.ag-header .ag-menu li:focus-within > .sub-menu,
#masthead.ag-header nav li:hover > ul,
#masthead.ag-header nav li:focus-within > ul {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Product-search layout */
body.page-id-260 article#post-260 > .container,
body.page-id-260 .site-main article > .container,
body.page-id-260 main article > .container {
  width: min(1180px, 92%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

body.page-id-260 article#post-260 .row,
body.page-id-260 main article .row {
  display: grid !important;
  grid-template-columns: 285px minmax(0, 1fr) !important;
  gap: 30px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
}

body.page-id-260 article#post-260 .row > .col-sm-4,
body.page-id-260 main article .row > .col-sm-4 {
  width: 100% !important;
  max-width: 285px !important;
  padding: 0 !important;
  position: sticky !important;
  top: 118px !important;
}

body.page-id-260 article#post-260 .row > .col-sm-8,
body.page-id-260 main article .row > .col-sm-8 {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* Hide the duplicate filter UI that Toolset places above results in the right column */
body.page-id-260 .row > .col-sm-8 > form.wpv-filter-form > .form-group,
body.page-id-260 .row > .col-sm-8 > form.js-wpv-filter-form > .form-group,
body.page-id-260 .row > .col-sm-8 > form.wpv-filter-form > .card:not(.ag-search-product-card),
body.page-id-260 .row > .col-sm-8 > form.js-wpv-filter-form > .card:not(.ag-search-product-card),
body.page-id-260 .row > .col-sm-8 > form.wpv-filter-form > button.wpv-submit-trigger,
body.page-id-260 .row > .col-sm-8 > form.js-wpv-filter-form > button.wpv-submit-trigger {
  display: none !important;
}

body.page-id-260 .ag-product-search-results-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  align-items: stretch !important;
}

body.page-id-260 .ag-product-search-results-grid .card,
body.page-id-260 .ag-product-search-results-grid .ag-search-product-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border: 1px solid rgba(23,36,43,.13) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 45px rgba(6,23,31,.07) !important;
}

body.page-id-260 .ag-product-search-results-grid .card-body {
  padding: 22px !important;
  display: block !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.page-id-260 .ag-product-search-results-grid h5,
body.page-id-260 .ag-product-search-results-grid .card-title {
  font-size: clamp(20px, 1.35vw, 25px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 14px !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

body.page-id-260 .ag-product-search-results-grid h6,
body.page-id-260 .ag-product-search-results-grid .card-highlight,
body.page-id-260 .ag-product-search-results-grid .card-brand {
  font-size: 12px !important;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
}

body.page-id-260 .ag-product-search-results-grid a.d-block,
body.page-id-260 .ag-product-search-results-grid a[href*='/product/'] {
  color: #e6007e !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  width: auto !important;
  margin-top: 8px !important;
  align-items: center !important;
  gap: 8px !important;
}

body.page-id-260 .ag-product-search-thumb {
  display: block !important;
  width: 100% !important;
  height: 170px !important;
  background: #f4f7f8 !important;
  border-bottom: 1px solid rgba(23,36,43,.10) !important;
  overflow: hidden !important;
}

body.page-id-260 .ag-product-search-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 14px !important;
  display: block !important;
  mix-blend-mode: multiply;
}

body.page-id-260 .ag-product-search-thumb.is-loading::after {
  content: 'Aerospace GSE' !important;
  display: grid !important;
  place-items: center !important;
  height: 100% !important;
  color: #e6007e !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
}

@media (max-width: 1180px) {
  body.page-id-260 .ag-product-search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.page-id-260 article#post-260 .row,
  body.page-id-260 main article .row {
    grid-template-columns: 1fr !important;
  }
  body.page-id-260 article#post-260 .row > .col-sm-4,
  body.page-id-260 main article .row > .col-sm-4 {
    max-width: none !important;
    position: static !important;
  }
  body.page-id-260 .ag-product-search-results-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ==============================
   v3.2: Fallback logo thumbnails + hide aircraft selector
   ============================== */

/* Hide the aircraft selector until the correct aircraft-specific search links are ready. */
.home .ag-aircraft-panel,
.front-page .ag-aircraft-panel,
body.home .ag-aircraft-panel {
  display: none !important;
}

/* Product cards with missing images should show the Aerospace GSE icon, not text. */
.ag-thumb-logo-fallback,
.ag-wpv-product-thumb .ag-thumb-logo-fallback,
.ag-search-product-thumb .ag-thumb-logo-fallback,
.ag-product-search-thumb .ag-thumb-logo-fallback {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  background: #f4f7f8 !important;
}

.ag-thumb-logo-fallback img,
.ag-wpv-product-thumb .ag-thumb-logo-fallback img,
.ag-search-product-thumb .ag-thumb-logo-fallback img,
.ag-product-search-thumb .ag-thumb-logo-fallback img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
  padding: 0 !important;
  opacity: .82 !important;
  mix-blend-mode: normal !important;
}

.ag-wpv-product-thumb:not(.is-loading),
.ag-search-product-thumb:not(.is-loading),
.ag-product-search-thumb:not(.is-loading) {
  display: block !important;
}

body.page-id-260 .ag-product-search-thumb.is-loading::after {
  content: "" !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  border: 3px solid rgba(230,0,126,.18) !important;
  border-top-color: #e6007e !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  animation: ag-spin 1s linear infinite !important;
  display: block !important;
}


/* ================================
   v3.3: Header tidy + product search bar
   - Replaces Complete Enquiry with practical free-text product search.
   - Keeps all primary menu items on one row on desktop.
   - Keeps dropdowns hoverable and handles long GSE lists with scroll/columns.
================================ */

#masthead.ag-header,
#masthead.ag-header * {
  font-family: var(--ag-font) !important;
}

#masthead.ag-header .ag-nav__inner {
  width: min(1240px, 94%) !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 245px minmax(0, 1fr) 300px !important;
  gap: 22px !important;
  align-items: center !important;
  min-height: 72px !important;
}

#masthead.ag-header .ag-logo img,
#masthead.ag-header .custom-logo {
  max-width: 225px !important;
}

#masthead.ag-header .ag-menu {
  min-width: 0 !important;
}

#masthead.ag-header .ag-menu__list {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(13px, 1.25vw, 25px) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#masthead.ag-header .ag-menu__list > li {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#masthead.ag-header .ag-menu__list > li > a {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  color: #fff !important;
  min-height: 44px !important;
  padding: 14px 0 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

#masthead.ag-header .ag-menu__list > li > a:hover,
#masthead.ag-header .ag-menu__list > li:hover > a,
#masthead.ag-header .ag-menu__list > li:focus-within > a {
  color: var(--ag-pink) !important;
}

#masthead.ag-header .ag-nav__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
}

#masthead.ag-header .ag-cta {
  display: none !important;
}

#masthead.ag-header .ag-header-search {
  width: 100% !important;
  max-width: 300px !important;
  height: 42px !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 0 !important;
  align-items: center !important;
  gap: 0 !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.14) !important;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease !important;
  margin: 0 !important;
  padding: 0 12px !important;
}

#masthead.ag-header .ag-header-search:focus-within {
  background: rgba(255,255,255,.12) !important;
  border-color: var(--ag-pink) !important;
  box-shadow: 0 0 0 4px rgba(230,0,126,.16), 0 18px 42px rgba(0,0,0,.18) !important;
}

#masthead.ag-header .ag-header-search__icon {
  color: var(--ag-pink) !important;
  font-size: 21px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#masthead.ag-header .ag-header-search input[type="search"] {
  width: 100% !important;
  height: 40px !important;
  min-width: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-family: var(--ag-font) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

#masthead.ag-header .ag-header-search input[type="search"]::placeholder {
  color: rgba(255,255,255,.74) !important;
  opacity: 1 !important;
}

#masthead.ag-header .ag-header-search button[type="submit"] {
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Preserve dropdown behaviour and make long lists usable rather than impossible to click. */
#masthead.ag-header .ag-menu__list li,
#masthead.ag-header .ag-menu li,
#masthead.ag-header nav li {
  position: relative !important;
}

#masthead.ag-header .ag-menu__list > li::after,
#masthead.ag-header .ag-menu li::after,
#masthead.ag-header nav li::after {
  content: '' !important;
  position: absolute !important;
  left: -8px !important;
  right: -8px !important;
  top: 100% !important;
  height: 22px !important;
  display: none !important;
  z-index: 999999998 !important;
}

#masthead.ag-header .ag-menu__list > li:hover::after,
#masthead.ag-header .ag-menu li:hover::after,
#masthead.ag-header nav li:hover::after {
  display: block !important;
}

#masthead.ag-header .ag-menu__list .sub-menu,
#masthead.ag-header .ag-menu .sub-menu,
#masthead.ag-header nav ul ul {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(0) !important;
  min-width: 280px !important;
  width: max-content !important;
  max-width: min(760px, 92vw) !important;
  max-height: min(72vh, 560px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 16px !important;
  margin: 0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(6,23,31,.12) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.28) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 999999999 !important;
  list-style: none !important;
}

#masthead.ag-header .ag-menu__list li:hover > .sub-menu,
#masthead.ag-header .ag-menu__list li:focus-within > .sub-menu,
#masthead.ag-header .ag-menu li:hover > .sub-menu,
#masthead.ag-header .ag-menu li:focus-within > .sub-menu,
#masthead.ag-header nav li:hover > ul,
#masthead.ag-header nav li:focus-within > ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(190px, 1fr)) !important;
  gap: 6px !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#masthead.ag-header .ag-menu__list .sub-menu li,
#masthead.ag-header .ag-menu .sub-menu li,
#masthead.ag-header nav ul ul li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#masthead.ag-header .ag-menu__list .sub-menu a,
#masthead.ag-header .ag-menu .sub-menu a,
#masthead.ag-header nav ul ul a {
  display: block !important;
  width: 100% !important;
  color: #06171f !important;
  background: transparent !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  font-family: var(--ag-font) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  text-align: left !important;
}

#masthead.ag-header .ag-menu__list .sub-menu a:hover,
#masthead.ag-header .ag-menu .sub-menu a:hover,
#masthead.ag-header nav ul ul a:hover {
  color: var(--ag-pink) !important;
  background: rgba(230,0,126,.08) !important;
}

/* The Ground Support Equipment dropdown is the long one. Keep it usable. */
#masthead.ag-header .ag-menu__list > li > a[href*="ground-support-equipment"] + .sub-menu,
#masthead.ag-header .ag-menu__list > li.menu-item-has-children:hover > a[href*="ground-support-equipment"] + .sub-menu {
  grid-template-columns: repeat(3, minmax(170px, 1fr)) !important;
  width: min(780px, 92vw) !important;
  left: 50% !important;
  right: auto !important;
}

@media (max-width: 1360px) {
  #masthead.ag-header .ag-nav__inner {
    grid-template-columns: 220px minmax(0, 1fr) 260px !important;
    gap: 16px !important;
  }

  #masthead.ag-header .ag-menu__list {
    gap: 14px !important;
  }

  #masthead.ag-header .ag-menu__list > li > a {
    font-size: 12px !important;
  }

  #masthead.ag-header .ag-header-search {
    max-width: 260px !important;
  }
}

@media (max-width: 1120px) {
  #masthead.ag-header .ag-nav__inner {
    grid-template-columns: 205px minmax(0, 1fr) 220px !important;
    gap: 12px !important;
  }

  #masthead.ag-header .ag-menu__list {
    gap: 10px !important;
  }

  #masthead.ag-header .ag-header-search input[type="search"] {
    font-size: 11px !important;
  }
}

@media (max-width: 980px) {
  #masthead.ag-header .ag-nav__inner {
    width: min(1180px, 92%) !important;
    display: flex !important;
    min-height: 76px !important;
  }

  #masthead.ag-header .ag-menu,
  #masthead.ag-header .ag-nav__actions {
    display: none !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-menu,
  body.ag-menu-open #masthead.ag-header .ag-nav__actions {
    display: block !important;
    width: 100% !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-header-search {
    max-width: none !important;
    width: 100% !important;
    margin: 8px 0 18px !important;
  }

  #masthead.ag-header .ag-menu__list {
    display: grid !important;
    width: 100% !important;
    gap: 0 !important;
    justify-content: stretch !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu,
  #masthead.ag-header .ag-menu .sub-menu,
  #masthead.ag-header nav ul ul {
    position: static !important;
    transform: none !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-width: none !important;
    max-height: 280px !important;
    width: 100% !important;
    overflow-y: auto !important;
    grid-template-columns: 1fr !important;
    box-shadow: none !important;
    margin: 0 0 12px !important;
  }
}

/* =========================================================
   v3.4: Partner dropdown + locations map restoration
   ========================================================= */

/* Partner/GSE dropdown: remove ugly internal scrollbar and show a clean mega panel */
#masthead.ag-header .ag-menu__list .sub-menu,
#masthead.ag-header .ag-menu .sub-menu,
#masthead.ag-header nav ul ul {
  max-height: none !important;
  overflow: visible !important;
}

#masthead.ag-header .ag-menu__list > li > a[href*="ground-support-equipment"] + .sub-menu,
#masthead.ag-header .ag-menu__list > li.menu-item-has-children:hover > a[href*="ground-support-equipment"] + .sub-menu,
#masthead.ag-header .ag-menu__list > li:has(> a[href*="ground-support-equipment"]):hover > .sub-menu {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(160px, 1fr)) !important;
  gap: 8px !important;
  width: min(920px, calc(100vw - 60px)) !important;
  max-width: min(920px, calc(100vw - 60px)) !important;
  max-height: none !important;
  overflow: visible !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  padding: 18px !important;
}

/* Keep any second-level flyouts tidy */
#masthead.ag-header .sub-menu .sub-menu {
  left: 100% !important;
  top: 0 !important;
  transform: none !important;
  width: 280px !important;
  grid-template-columns: 1fr !important;
}

/* Locations: restore the interactive map feel rather than the loan-tooling process image */
.locations-v18 .locations-map-section {
  background: #06171f !important;
}

.locations-v18 .locations-map {
  position: relative !important;
  min-height: 500px !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(230,0,126,.13), transparent 34%),
    linear-gradient(135deg, #071820 0%, #0b2029 100%) !important;
  overflow: hidden !important;
}

.locations-v18 .locations-map::before {
  content: '' !important;
  position: absolute !important;
  inset: 34px !important;
  opacity: .86 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 520'%3E%3Cg fill='%23b9bec1'%3E%3Cpath d='M105 181 61 164 83 137l61-13 58 20 31 39-45 25-41-9zM206 255l-41-24 40-36 64 27 22 50-37 42-44-20zM356 142l-34-39 48-46 61 34-7 55-39 23zM461 195l-61-18-17-53 93-28 76 42-19 56zM562 162l71-39 88 21 82 56-58 42-83-14-71 31-55-41zM650 292l-41-46 63-23 94 13 64 48-35 55-84 7zM486 327l-43-59 30-50 53 36 11 65-28 47zM320 331l-42-33 17-59 49 9 32 47-20 45zM814 359l-57-38 76-25 80 25 35 53-66 25zM898 202l-61-36 48-42 71 22 26 48-36 39z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat !important;
  filter: drop-shadow(0 20px 36px rgba(0,0,0,.25)) !important;
}

.locations-v18 .location-pin {
  z-index: 4 !important;
  width: 22px !important;
  height: 22px !important;
  transform: translate(-50%, -50%) !important;
}
.locations-v18 .location-pin.active,
.locations-v18 .location-pin:hover {
  transform: translate(-50%, -50%) scale(1.18) !important;
  box-shadow: 0 0 0 10px rgba(230,0,126,.22), 0 0 30px rgba(230,0,126,.55) !important;
}

.locations-v18 .locations-panel {
  min-height: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

@media (max-width: 1180px) {
  #masthead.ag-header .ag-menu__list > li > a[href*="ground-support-equipment"] + .sub-menu,
  #masthead.ag-header .ag-menu__list > li.menu-item-has-children:hover > a[href*="ground-support-equipment"] + .sub-menu,
  #masthead.ag-header .ag-menu__list > li:has(> a[href*="ground-support-equipment"]):hover > .sub-menu {
    grid-template-columns: repeat(3, minmax(160px, 1fr)) !important;
    width: min(740px, calc(100vw - 40px)) !important;
  }
}

@media (max-width: 980px) {
  .locations-v18 .locations-map { min-height: 360px !important; }
  .locations-v18 .locations-panel { min-height: auto !important; }
}

/* =========================================================
   v3.7: ACR service page + real locations map fixes
   ========================================================= */

/* ACR service and repair page */
.acr-page-v37 .acr-service-hero {
  background:
    linear-gradient(90deg, rgba(3,14,22,.92), rgba(3,14,22,.62), rgba(230,0,126,.18)),
    url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-5.jpg') center/cover no-repeat !important;
}

.acr-page-v37 .acr-hero h1 {
  max-width: 930px !important;
}

.acr-page-v37 .acr-video iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  border-radius: 24px !important;
  box-shadow: 0 26px 70px rgba(10,22,28,.2) !important;
}

.acr-page-v37 .acr-card span {
  display: block !important;
  margin-bottom: 16px !important;
  color: var(--ag-pink) !important;
  font-family: var(--ag-font) !important;
  font-weight: 900 !important;
}

.acr-page-v37 .acr-card h3 {
  color: var(--ag-ink) !important;
  text-transform: uppercase !important;
  font-size: 21px !important;
  line-height: 1.05 !important;
}

.acr-page-v37 .acr-card p,
.acr-page-v37 .acr-intro p,
.acr-page-v37 .acr-split p {
  color: var(--ag-grey) !important;
}

.acr-page-v37 .acr-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 28px 0 0 !important;
  columns: 1 !important;
}

.acr-page-v37 .acr-list li {
  position: relative !important;
  padding-left: 28px !important;
  margin-bottom: 12px !important;
  color: var(--ag-ink) !important;
  font-weight: 800 !important;
}

.acr-page-v37 .acr-list li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--ag-pink) !important;
}

.acr-page-v37 .acr-benefits div {
  min-height: 92px !important;
  display: flex !important;
  align-items: center !important;
}

/* Locations hero: reduce wowzers heading size */
.locations-v37 .locations-hero--compact {
  min-height: 520px !important;
}

.locations-v37 .locations-hero h1 {
  font-size: clamp(42px, 5.2vw, 74px) !important;
  max-width: 980px !important;
  line-height: .96 !important;
}

.locations-v37 .locations-hero p {
  max-width: 720px !important;
  font-size: clamp(17px, 1.5vw, 21px) !important;
}

/* Locations: use the real AGSE map image and keep clickable pins */
.locations-v37 .locations-map-section,
.locations-v18 .locations-map-section {
  background: radial-gradient(circle at top right, rgba(230,0,126,.18), transparent 34%), #06171f !important;
}

.locations-v37 .locations-map-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr) !important;
  gap: 30px !important;
  align-items: stretch !important;
}

.locations-v37 .locations-map-wrap {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 28px !important;
  padding: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.22) !important;
}

.locations-v37 .locations-map {
  position: relative !important;
  min-height: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  border-radius: 22px !important;
}

.locations-v37 .locations-map::before,
.locations-v37 .locations-map::after {
  display: none !important;
  content: none !important;
}

.locations-v37 .locations-map__image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 420px !important;
  object-fit: contain !important;
  background: #eef2f3 !important;
  border-radius: 22px !important;
}

.locations-v37 .location-pin {
  position: absolute !important;
  z-index: 5 !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  transform: translate(-50%, -50%) !important;
  outline: none !important;
}

.locations-v37 .location-pin span {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  background: var(--ag-pink) !important;
  border: 4px solid #fff !important;
  border-radius: 50% 50% 50% 0 !important;
  transform: rotate(-45deg) !important;
  box-shadow: 0 12px 26px rgba(230,0,126,.38) !important;
}

.locations-v37 .location-pin span::after {
  content: '' !important;
  position: absolute !important;
  width: 9px !important;
  height: 9px !important;
  background: #fff !important;
  border-radius: 50% !important;
  top: 8px !important;
  left: 8px !important;
}

.locations-v37 .location-pin.active,
.locations-v37 .location-pin:hover {
  transform: translate(-50%, -50%) scale(1.18) !important;
}

.locations-v37 .location-pin.active span,
.locations-v37 .location-pin:hover span {
  background: #fff !important;
  border-color: var(--ag-pink) !important;
}

.locations-v37 .location-pin.active span::after,
.locations-v37 .location-pin:hover span::after {
  background: var(--ag-pink) !important;
}

/* Pin positions on AGSEmap.png */
.locations-v37 .location-pin--uk { left: 46.5% !important; top: 33.5% !important; }
.locations-v37 .location-pin--europe { left: 52% !important; top: 37% !important; }
.locations-v37 .location-pin--middle-east { left: 60% !important; top: 49% !important; }
.locations-v37 .location-pin--africa { left: 53.5% !important; top: 63% !important; }
.locations-v37 .location-pin--americas { left: 26% !important; top: 50% !important; }

.locations-v37 .locations-panel {
  background: #fff !important;
  border-radius: 28px !important;
  padding: 38px !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.2) !important;
}

.locations-v37 .locations-panel h3 {
  font-size: clamp(30px, 3vw, 46px) !important;
  text-transform: uppercase !important;
  color: var(--ag-ink) !important;
}

.locations-v37 .locations-panel p {
  color: var(--ag-grey) !important;
  font-size: 17px !important;
}

.locations-v37 .locations-panel-btn,
.locations-v37 .locations-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 54px !important;
  padding: 16px 28px !important;
  border-radius: 999px !important;
  font-family: var(--ag-font) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  font-size: 13px !important;
  background: var(--ag-pink) !important;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(230,0,126,.24) !important;
}

.locations-v37 .locations-card-grid {
  margin-top: 28px !important;
}

.locations-v37 .location-card {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: #fff !important;
}

.locations-v37 .location-card strong,
.locations-v37 .location-card em {
  color: #fff !important;
}

/* CTA bottom: no more skinny white bar */
.locations-v37 .locations-cta--strong {
  background: linear-gradient(135deg, #e6007e 0%, #650535 100%) !important;
  padding: 86px 0 !important;
}

.locations-v37 .locations-cta__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 44px !important;
  align-items: center !important;
}

.locations-v37 .locations-cta h2 {
  color: #fff !important;
  font-size: clamp(38px, 5vw, 72px) !important;
  max-width: 780px !important;
}

.locations-v37 .locations-cta p,
.locations-v37 .locations-cta .brand-kicker {
  color: #fff !important;
}

.locations-v37 .locations-cta__actions {
  display: grid !important;
  gap: 16px !important;
  justify-items: start !important;
}

.locations-v37 .locations-cta__actions .locations-btn--white {
  background: #fff !important;
  color: var(--ag-pink) !important;
  min-width: 280px !important;
  box-shadow: 0 22px 50px rgba(0,0,0,.18) !important;
}

.locations-v37 .locations-cta__actions span {
  color: rgba(255,255,255,.82) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  max-width: 320px !important;
}

@media (max-width: 980px) {
  .locations-v37 .locations-map-layout,
  .locations-v37 .locations-cta__inner {
    grid-template-columns: 1fr !important;
  }

  .locations-v37 .locations-map__image {
    min-height: 320px !important;
  }

  .locations-v37 .locations-panel {
    min-height: auto !important;
  }
}

@media (max-width: 620px) {
  .locations-v37 .locations-hero h1 {
    font-size: 42px !important;
  }

  .locations-v37 .locations-map-wrap {
    padding: 12px !important;
  }

  .locations-v37 .locations-map__image {
    min-height: 250px !important;
  }

  .locations-v37 .location-pin,
  .locations-v37 .location-pin span {
    width: 26px !important;
    height: 26px !important;
  }

  .locations-v37 .location-pin span::after {
    width: 7px !important;
    height: 7px !important;
    top: 6px !important;
    left: 6px !important;
  }
}

/* ================================
   V3.8 BRAND PAGE REFINEMENTS
================================ */

.tronair-video-section .tronair-video-grid {
  grid-template-columns: 1.45fr .85fr !important;
  gap: 58px !important;
  align-items: center !important;
}

.brand-video--large iframe,
.tronair-video-section .brand-video iframe {
  width: 100% !important;
  min-height: 600px !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 28px !important;
  box-shadow: 0 28px 80px rgba(10,22,28,.18) !important;
}

.brand-logo-panel {
  min-height: 300px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(58,75,82,.12);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(10,22,28,.08);
  padding: 48px;
}

.brand-logo-panel img {
  width: auto !important;
  max-width: 420px !important;
  max-height: 170px !important;
  object-fit: contain !important;
}

.brand-benefits--light div {
  background: #fff !important;
  color: #172328 !important;
  border: 1px solid rgba(58,75,82,.12) !important;
  box-shadow: 0 18px 44px rgba(10,22,28,.06) !important;
}

/* JacXson expanded content */
.jacxson-video-wrap--large {
  aspect-ratio: 16 / 9 !important;
}

.jacxson-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.jacxson-product-card {
  background: #fff;
  border: 1px solid rgba(58,75,82,.12);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 24px 70px rgba(10,22,28,.10);
}

.jacxson-product-card h2 {
  font-size: clamp(38px, 4vw, 62px);
  text-transform: uppercase;
  color: #172328;
}

.jacxson-product-card--dark {
  background: radial-gradient(circle at top right, rgba(230,0,126,.22), transparent 35%), #0d1b20;
  color: #fff;
}

.jacxson-product-card--dark h2,
.jacxson-product-card--dark p,
.jacxson-product-card--dark li {
  color: #fff !important;
}

.jacxson-product-card .brand-btn {
  margin-top: 18px;
}

/* Loan tooling expanded page */
.loan-page-v38 .loan-hero h1 {
  font-size: clamp(46px, 6vw, 86px) !important;
  max-width: 980px !important;
}

.loan-page-v38 .loan-hero p {
  max-width: 820px !important;
}

.loan-page-v38 .loan-capabilities-v38,
.loan-page-v38 .loan-audience-v38 {
  background: #f5f7f8;
}

.loan-page-v38 .loan-process-grid-v38 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.loan-page-v38 .loan-card-grid-v38 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.loan-section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.loan-page-v38 .loan-step,
.loan-page-v38 .loan-card {
  border-radius: 24px;
  min-height: 100%;
}

@media (max-width: 1000px) {
  .tronair-video-section .tronair-video-grid,
  .jacxson-product-grid,
  .loan-page-v38 .loan-process-grid-v38,
  .loan-page-v38 .loan-card-grid-v38 {
    grid-template-columns: 1fr !important;
  }

  .brand-video--large iframe,
  .tronair-video-section .brand-video iframe {
    min-height: 420px !important;
  }
}

@media (max-width: 640px) {
  .brand-video--large iframe,
  .tronair-video-section .brand-video iframe {
    min-height: 260px !important;
  }

  .brand-logo-panel {
    min-height: 220px;
    padding: 30px;
  }

  .brand-logo-panel img {
    max-width: 260px !important;
    max-height: 120px !important;
  }

  .jacxson-product-card {
    padding: 30px;
  }
}

/* =========================================================
   v3.9: Tronair/Malabar video, JacXson cards + mobile menu fix
   ========================================================= */

/* Tronair video: larger, current correct embed */
.tronair-video-section .tronair-video-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr) !important;
  gap: 64px !important;
  align-items: center !important;
}

.tronair-video-section .brand-video iframe,
.brand-video--large iframe {
  width: 100% !important;
  min-height: 620px !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 28px !important;
  box-shadow: 0 30px 80px rgba(10,22,28,.20) !important;
}

/* Malabar intro: video instead of static logo */
.brand-video--malabar iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 360px !important;
  border: 0 !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 70px rgba(10,22,28,.14) !important;
  background: #0d1b20 !important;
}

/* JacXson cards: stop text touching/overflowing the card edge */
.jacxson-product-grid {
  align-items: stretch !important;
  gap: 34px !important;
}

.jacxson-product-card {
  padding: clamp(34px, 4vw, 58px) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 100% !important;
}

.jacxson-product-card .ag-eyebrow {
  display: block !important;
  margin: 0 0 18px !important;
  line-height: 1.2 !important;
  letter-spacing: .14em !important;
  word-break: normal !important;
}

.jacxson-product-card h2 {
  font-size: clamp(38px, 4.2vw, 66px) !important;
  line-height: .92 !important;
  margin: 0 0 22px !important;
  max-width: 100% !important;
  overflow-wrap: normal !important;
}

.jacxson-product-card p {
  font-size: 17px !important;
  line-height: 1.7 !important;
  margin-bottom: 24px !important;
}

.jacxson-product-card .jacxson-bullets {
  margin: 0 0 28px 22px !important;
  padding-left: 20px !important;
}

.jacxson-product-card .jacxson-bullets li {
  margin-bottom: 9px !important;
  line-height: 1.55 !important;
}

.jacxson-product-card .brand-btn {
  align-self: flex-start !important;
  margin-top: auto !important;
}

/* Mobile menu: clean slide-down stack, no funky desktop grid/dropdowns on mobile */
@media (max-width: 980px) {
  #masthead.ag-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
  }

  .admin-bar #masthead.ag-header {
    top: 0 !important;
  }

  #masthead.ag-header .ag-topbar {
    display: none !important;
  }

  #masthead.ag-header .ag-nav__inner {
    width: min(100% - 32px, 1240px) !important;
    min-height: 74px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
  }

  #masthead.ag-header .ag-logo,
  #masthead.ag-header .ag-logo a {
    display: flex !important;
    align-items: center !important;
  }

  #masthead.ag-header .ag-logo img,
  #masthead.ag-header .custom-logo {
    max-width: 185px !important;
    height: auto !important;
  }

  #masthead.ag-header .ag-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 0 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin-left: auto !important;
  }

  #masthead.ag-header .ag-menu-toggle span {
    width: 20px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    background: #0d1b20 !important;
  }

  #masthead.ag-header .ag-menu,
  #masthead.ag-header .ag-nav__actions {
    display: none !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-menu {
    display: block !important;
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 18px 0 12px !important;
    margin-top: 12px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-nav__actions {
    display: flex !important;
    order: 4 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 0 0 20px !important;
    margin: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  #masthead.ag-header .ag-menu__list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #masthead.ag-header .ag-menu__list > li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }

  #masthead.ag-header .ag-menu__list > li > a {
    display: flex !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 15px 0 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu,
  #masthead.ag-header .ag-menu .sub-menu,
  #masthead.ag-header nav ul ul {
    position: static !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 14px !important;
    padding: 8px 10px !important;
    margin: 0 0 12px !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a,
  #masthead.ag-header .ag-menu .sub-menu a {
    display: block !important;
    width: 100% !important;
    padding: 11px 12px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    border-radius: 10px !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a:hover,
  #masthead.ag-header .ag-menu .sub-menu a:hover {
    background: rgba(230,0,126,.16) !important;
    color: #ffffff !important;
  }

  #masthead.ag-header .ag-header-search,
  #masthead.ag-header .ag-search {
    display: none !important;
  }

  #masthead.ag-header .ag-cta {
    width: auto !important;
    padding: 14px 22px !important;
  }
}

@media (max-width: 700px) {
  .tronair-video-section .tronair-video-grid,
  .brand-intro__grid,
  .jacxson-product-grid {
    grid-template-columns: 1fr !important;
  }

  .tronair-video-section .brand-video iframe,
  .brand-video--large iframe,
  .brand-video--malabar iframe {
    min-height: 260px !important;
    border-radius: 20px !important;
  }

  .jacxson-product-card {
    padding: 28px !important;
    border-radius: 22px !important;
  }

  .jacxson-product-card h2 {
    font-size: 38px !important;
  }
}


/* =========================================================
   v4.0: simple mobile menu, JacXson padding, Malabar content polish
   ========================================================= */

/* JacXson cards: more internal breathing room and balanced feature cards */
.jacxson-feature-grid {
  gap: 24px !important;
}

.jacxson-feature-card {
  padding: 44px 34px 38px !important;
  border-radius: 24px !important;
  min-height: 260px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.jacxson-feature-card span {
  display: block !important;
  margin-bottom: 24px !important;
  line-height: 1 !important;
}

.jacxson-feature-card h3 {
  margin: 0 0 18px !important;
  line-height: .98 !important;
}

.jacxson-feature-card p {
  margin: 0 !important;
  line-height: 1.65 !important;
}

.jacxson-product-card {
  padding: clamp(44px, 4.5vw, 64px) !important;
}

/* Malabar page richer content */
.malabar-support-section .brand-list li,
.malabar-range-section .brand-card p {
  line-height: 1.65 !important;
}

.malabar-benefit-stack div {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  min-height: 150px !important;
}

.malabar-benefit-stack strong {
  color: #172328 !important;
  font-size: 18px !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
}

.malabar-benefit-stack span {
  color: #3a4b52 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}

.malabar-range-section {
  background: #f5f7f8 !important;
}

/* Mobile menu reset: simple, tidy hamburger panel */
@media (max-width: 980px) {
  html.ag-menu-lock,
  body.ag-menu-open {
    overflow-x: hidden !important;
  }

  #masthead.ag-header {
    background: #07161d !important;
  }

  #masthead.ag-header .ag-nav {
    background: #07161d !important;
  }

  #masthead.ag-header .ag-nav__inner {
    width: 100% !important;
    min-height: 72px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
  }

  #masthead.ag-header .ag-logo img,
  #masthead.ag-header .custom-logo {
    max-width: 185px !important;
  }

  #masthead.ag-header .ag-menu-toggle {
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid #e6007e !important;
    box-shadow: none !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 0 !important;
  }

  #masthead.ag-header .ag-menu-toggle span {
    width: 19px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    background: #07161d !important;
  }

  #masthead.ag-header .ag-menu,
  #masthead.ag-header .ag-nav__actions {
    display: none !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-menu {
    display: block !important;
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 14px 0 20px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    max-height: calc(100vh - 86px) !important;
    overflow-y: auto !important;
  }

  #masthead.ag-header .ag-menu__list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #masthead.ag-header .ag-menu__list > li {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
  }

  #masthead.ag-header .ag-menu__list > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.06) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children > a::after {
    content: "⌄" !important;
    color: #ffffff !important;
    margin-left: 10px !important;
    font-size: 13px !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children.ag-submenu-open > a {
    background: #e6007e !important;
    color: #ffffff !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children.ag-submenu-open > a::after {
    content: "⌃" !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu,
  #masthead.ag-header .ag-menu .sub-menu,
  #masthead.ag-header nav ul ul {
    position: static !important;
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    padding: 8px !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  #masthead.ag-header .ag-menu__list .ag-submenu-open > .sub-menu {
    display: grid !important;
    gap: 6px !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu li {
    border: 0 !important;
    width: 100% !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: rgba(255,255,255,.88) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a:hover {
    background: rgba(230,0,126,.16) !important;
    color: #ffffff !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-nav__actions {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .jacxson-feature-card {
    padding: 34px 28px !important;
  }

  .jacxson-product-card {
    padding: 34px 28px !important;
  }

  .malabar-benefit-stack div {
    min-height: auto !important;
  }
}

/* =========================================================
   v4.2: MODERN MOBILE MENU FINAL OVERRIDE
   Clean dark hamburger menu. Submenus stay closed until tapped.
   ========================================================= */

@media (max-width: 980px) {
  html body.ag-menu-open {
    overflow: hidden !important;
  }

  #masthead.ag-header {
    background: #07161d !important;
  }

  #masthead.ag-header .ag-nav {
    background: #07161d !important;
  }

  #masthead.ag-header .ag-nav__inner {
    width: min(100% - 32px, 1240px) !important;
    min-height: 74px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
  }

  #masthead.ag-header .ag-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.24) !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-left: auto !important;
  }

  #masthead.ag-header .ag-menu-toggle span {
    width: 19px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-menu-toggle {
    background: #e6007e !important;
    border-color: #e6007e !important;
  }

  #masthead.ag-header .ag-menu,
  #masthead.ag-header .ag-nav__actions {
    display: none !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-menu {
    display: block !important;
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important;
    margin-top: 16px !important;
    padding: 16px 0 24px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    background: #07161d !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-nav__actions {
    display: none !important;
  }

  #masthead.ag-header .ag-menu__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #masthead.ag-header .ag-menu__list li,
  #masthead.ag-header .ag-menu__list > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  #masthead.ag-header .ag-menu__list a,
  #masthead.ag-header .ag-menu__list > li > a,
  #masthead.ag-header .ag-menu .menu-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.055) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
  }

  #masthead.ag-header .ag-menu__list a:hover,
  #masthead.ag-header .ag-menu__list a:focus {
    background: rgba(230,0,126,.20) !important;
    color: #ffffff !important;
  }

  #masthead.ag-header .ag-menu__list .current-menu-item > a,
  #masthead.ag-header .ag-menu__list .current_page_item > a,
  #masthead.ag-header .ag-menu__list .current-menu-parent > a,
  #masthead.ag-header .ag-menu__list .current-page-ancestor > a {
    background: rgba(230,0,126,.24) !important;
    color: #ffffff !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children > a::after,
  #masthead.ag-header .ag-menu__list .page_item_has_children > a::after {
    content: "+" !important;
    color: #ffffff !important;
    margin-left: 12px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children.ag-submenu-open > a,
  #masthead.ag-header .ag-menu__list .page_item_has_children.ag-submenu-open > a {
    background: #e6007e !important;
    color: #ffffff !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children.ag-submenu-open > a::after,
  #masthead.ag-header .ag-menu__list .page_item_has_children.ag-submenu-open > a::after {
    content: "–" !important;
    color: #ffffff !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu,
  #masthead.ag-header .ag-menu .sub-menu,
  #masthead.ag-header nav ul ul {
    position: static !important;
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 8px 0 0 !important;
    padding: 8px !important;
    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  #masthead.ag-header .ag-menu__list .ag-submenu-open > .sub-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a,
  #masthead.ag-header .ag-menu .sub-menu a {
    min-height: 44px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    opacity: 1 !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a:hover,
  #masthead.ag-header .ag-menu .sub-menu a:hover {
    background: rgba(230,0,126,.18) !important;
    color: #ffffff !important;
  }
}

/* v4.2: Malabar card breathing room */
.malabar-range-grid .brand-card,
.malabar-support-grid .brand-card,
.malabar-benefit-stack div,
.malabar-page .brand-card,
body.page-id-malabar-international .brand-card {
  padding: 38px 34px !important;
  border-radius: 24px !important;
}

.malabar-range-grid .brand-card span,
.malabar-support-grid .brand-card span,
.malabar-page .brand-card span {
  display: block !important;
  margin-bottom: 18px !important;
}

.malabar-range-grid .brand-card h3,
.malabar-support-grid .brand-card h3,
.malabar-page .brand-card h3 {
  margin: 0 0 18px !important;
  line-height: 1.05 !important;
}

.malabar-range-grid .brand-card p,
.malabar-support-grid .brand-card p,
.malabar-page .brand-card p {
  margin: 0 !important;
  line-height: 1.75 !important;
}

/* =========================================================
   v4.3: Malabar redesign + mobile product archive clean-up
========================================================= */

/* Malabar refined layout */
.malabar-page .brand-video iframe,
.malabar-intro .brand-video iframe {
  width: 100% !important;
  min-height: 430px !important;
  border-radius: 26px !important;
  box-shadow: 0 28px 80px rgba(10,22,28,.14) !important;
}

.malabar-range-grid .brand-card {
  padding: 30px !important;
  min-height: 265px !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.malabar-range-grid .brand-card span {
  margin-bottom: 18px !important;
}

.malabar-range-grid .brand-card h3 {
  margin: 0 0 14px !important;
  line-height: 1.02 !important;
}

.malabar-range-grid .brand-card p {
  margin: 0 !important;
  line-height: 1.62 !important;
  font-size: 16px !important;
}

.malabar-application .brand-image-panel {
  background: #fff !important;
  border: 1px solid rgba(58,75,82,.12) !important;
  border-radius: 28px !important;
  min-height: 360px !important;
  display: grid !important;
  place-items: center !important;
  padding: 48px !important;
  box-shadow: 0 24px 70px rgba(10,22,28,.08) !important;
}

.malabar-application .brand-image-panel img {
  max-width: 360px !important;
  max-height: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.malabar-benefit-stack div {
  padding: 28px !important;
  min-height: auto !important;
}

.malabar-benefit-stack strong {
  display: block !important;
  margin-bottom: 10px !important;
  color: inherit !important;
}

.malabar-benefit-stack span {
  display: block !important;
  line-height: 1.55 !important;
  opacity: .88 !important;
}

/* Product archive filters */
.ag-filter-toggle {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  border: 0 !important;
  border-radius: 18px 18px 0 0 !important;
  background: #07161d !important;
  color: #fff !important;
  padding: 18px 22px !important;
  font-family: var(--ag-font) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  cursor: pointer !important;
}

.ag-filter-toggle strong {
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

.ag-filter-content {
  background: #fff !important;
  border: 1px solid rgba(58,75,82,.12) !important;
  border-top: 0 !important;
  border-radius: 0 0 18px 18px !important;
  padding: 24px !important;
}

@media (min-width: 761px) {
  .ag-filter-toggle {
    pointer-events: none !important;
  }

  .ag-archive-sidebar.is-collapsed .ag-filter-content {
    display: block !important;
  }
}

@media (max-width: 760px) {
  .ag-archive-section {
    padding-top: 34px !important;
  }

  .ag-archive-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .ag-archive-sidebar {
    order: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .ag-archive-results {
    order: 2 !important;
    width: 100% !important;
  }

  .ag-archive-sidebar.is-collapsed .ag-filter-content {
    display: none !important;
  }

  .ag-filter-toggle {
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(10,22,28,.10) !important;
  }

  .ag-archive-sidebar:not(.is-collapsed) .ag-filter-toggle {
    border-radius: 18px 18px 0 0 !important;
  }

  .ag-filter-content .widget,
  .ag-filter-content section,
  .ag-filter-content form {
    margin-bottom: 18px !important;
  }

  .ag-filter-content .widget-title,
  .ag-filter-content h2,
  .ag-filter-content h3,
  .ag-filter-content h4 {
    background: #07161d !important;
    color: #fff !important;
    border-radius: 14px 14px 0 0 !important;
    padding: 15px 18px !important;
    margin: 0 !important;
    font-size: 13px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  .ag-product-grid--archive,
  body.tax-product_cat .ag-product-grid--archive,
  body.post-type-archive-product .ag-product-grid--archive {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .ag-product-card,
  body.tax-product_cat .ag-product-card,
  body.post-type-archive-product .ag-product-card {
    display: grid !important;
    grid-template-columns: 128px 1fr !important;
    gap: 18px !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .ag-product-card__image {
    height: 128px !important;
    min-height: 128px !important;
    margin: 0 !important;
    border-radius: 16px !important;
  }

  .ag-product-card__image img {
    width: 100% !important;
    height: 112px !important;
    object-fit: contain !important;
  }

  .ag-product-card h3 {
    font-size: 22px !important;
    line-height: 1.02 !important;
    margin: 0 0 12px !important;
  }

  .ag-product-card__link {
    font-size: 14px !important;
    color: var(--ag-pink) !important;
  }
}

@media (max-width: 480px) {
  .ag-product-card,
  body.tax-product_cat .ag-product-card,
  body.post-type-archive-product .ag-product-card {
    grid-template-columns: 112px 1fr !important;
    gap: 14px !important;
    padding: 14px !important;
  }

  .ag-product-card__image {
    height: 112px !important;
    min-height: 112px !important;
  }

  .ag-product-card__image img {
    height: 96px !important;
  }

  .ag-product-card h3 {
    font-size: 19px !important;
  }
}

/* =========================================================
   v4.4 STABLE FIXES: mobile menu, mobile filters, Malabar dark cards
========================================================= */

/* Malabar dark benefit cards: keep ALL copy readable on dark panels */
.malabar-dark .malabar-benefit-stack div,
.malabar-dark .malabar-benefit-stack div *,
.malabar-page .malabar-dark .brand-benefits div,
.malabar-page .malabar-dark .brand-benefits div * {
  color: #ffffff !important;
  opacity: 1 !important;
}

.malabar-dark .malabar-benefit-stack div {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 18px !important;
  padding: 28px !important;
}

.malabar-dark .malabar-benefit-stack strong {
  color: #ffffff !important;
  display: block !important;
  margin-bottom: 12px !important;
}

.malabar-dark .malabar-benefit-stack span {
  color: rgba(255,255,255,.86) !important;
  display: block !important;
  line-height: 1.55 !important;
}

/* Mobile menu: final clean dark accordion. Prevent grey sticky/current rows and dark text. */
@media (max-width: 980px) {
  html body.ag-menu-open {
    overflow: hidden !important;
  }

  #masthead.ag-header,
  #masthead.ag-header .ag-nav,
  body.ag-menu-open #masthead.ag-header,
  body.ag-menu-open #masthead.ag-header .ag-nav {
    background: #06171f !important;
  }

  #masthead.ag-header .ag-nav__inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: min(100% - 32px, 1240px) !important;
    min-height: 78px !important;
    gap: 0 !important;
  }

  #masthead.ag-header .ag-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    width: 46px !important;
    height: 46px !important;
    margin-left: auto !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.25) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #masthead.ag-header .ag-menu-toggle span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    background: #ffffff !important;
    border-radius: 999px !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-menu-toggle {
    background: #e6007e !important;
    border-color: #e6007e !important;
  }

  #masthead.ag-header .ag-menu,
  #masthead.ag-header .ag-nav__actions {
    display: none !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-menu {
    display: block !important;
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-height: calc(100vh - 92px) !important;
    overflow-y: auto !important;
    margin: 14px 0 0 !important;
    padding: 18px 0 28px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    background: #06171f !important;
  }

  body.ag-menu-open #masthead.ag-header .ag-nav__actions {
    display: none !important;
  }

  #masthead.ag-header .ag-menu__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #masthead.ag-header .ag-menu__list li,
  #masthead.ag-header .ag-menu__list > li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  #masthead.ag-header .ag-menu__list a,
  #masthead.ag-header .ag-menu__list > li > a,
  #masthead.ag-header .ag-menu .menu-item a,
  #masthead.ag-header .ag-menu__list .current-menu-item > a,
  #masthead.ag-header .ag-menu__list .current_page_item > a,
  #masthead.ag-header .ag-menu__list .current-menu-parent > a,
  #masthead.ag-header .ag-menu__list .current-page-ancestor > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 15px 18px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.075) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.22 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    opacity: 1 !important;
  }

  #masthead.ag-header .ag-menu__list a:hover,
  #masthead.ag-header .ag-menu__list a:focus {
    background: rgba(230,0,126,.22) !important;
    color: #ffffff !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children > a::after,
  #masthead.ag-header .ag-menu__list .page_item_has_children > a::after {
    content: "+" !important;
    color: #ffffff !important;
    flex: 0 0 auto !important;
    margin-left: 14px !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children.ag-submenu-open > a,
  #masthead.ag-header .ag-menu__list .page_item_has_children.ag-submenu-open > a {
    background: #e6007e !important;
    color: #ffffff !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children.ag-submenu-open > a::after,
  #masthead.ag-header .ag-menu__list .page_item_has_children.ag-submenu-open > a::after {
    content: "−" !important;
    color: #ffffff !important;
  }

  /* Critical: do not let desktop hover/focus rules hold submenus open on mobile */
  #masthead.ag-header .ag-menu__list .sub-menu,
  #masthead.ag-header .ag-menu .sub-menu,
  #masthead.ag-header nav ul ul,
  #masthead.ag-header .ag-menu__list li:hover > .sub-menu,
  #masthead.ag-header .ag-menu__list li:focus-within > .sub-menu,
  #masthead.ag-header .ag-menu li:hover > .sub-menu,
  #masthead.ag-header .ag-menu li:focus-within > .sub-menu,
  #masthead.ag-header nav li:hover > ul,
  #masthead.ag-header nav li:focus-within > ul {
    position: static !important;
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 8px 0 0 !important;
    padding: 8px !important;
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
  }

  #masthead.ag-header .ag-menu__list .ag-submenu-open > .sub-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a,
  #masthead.ag-header .ag-menu .sub-menu a,
  #masthead.ag-header nav ul ul a,
  #masthead.ag-header .ag-menu__list .sub-menu .current-menu-item > a,
  #masthead.ag-header .ag-menu__list .sub-menu .current_page_item > a {
    min-height: 46px !important;
    padding: 13px 16px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.06) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    opacity: 1 !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a:hover,
  #masthead.ag-header .ag-menu .sub-menu a:hover,
  #masthead.ag-header nav ul ul a:hover {
    background: rgba(230,0,126,.22) !important;
    color: #ffffff !important;
  }
}

/* Mobile product archive/filter: collapse Toolset/Woo filters behind a neat bar. */
.ag-mobile-filter-toggle {
  display: none;
}

@media (max-width: 760px) {
  .ag-mobile-filter-panel,
  body.tax-product_cat .js-wpv-view-layout .row > .col-lg-4,
  body.post-type-archive-product .js-wpv-view-layout .row > .col-lg-4,
  body.page-id-260 .js-wpv-view-layout .row > .col-sm-4,
  body.page-id-260 article .row > .col-sm-4 {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    position: static !important;
  }

  .ag-mobile-filter-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #07161d !important;
    color: #ffffff !important;
    padding: 17px 20px !important;
    font-family: var(--ag-font) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    box-shadow: 0 14px 35px rgba(10,22,28,.12) !important;
  }

  .ag-mobile-filter-toggle strong {
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  .ag-mobile-filter-panel.is-collapsed > :not(.ag-mobile-filter-toggle),
  body.tax-product_cat .js-wpv-view-layout .row > .col-lg-4.ag-mobile-filter-panel.is-collapsed > :not(.ag-mobile-filter-toggle),
  body.post-type-archive-product .js-wpv-view-layout .row > .col-lg-4.ag-mobile-filter-panel.is-collapsed > :not(.ag-mobile-filter-toggle),
  body.page-id-260 .js-wpv-view-layout .row > .col-sm-4.ag-mobile-filter-panel.is-collapsed > :not(.ag-mobile-filter-toggle),
  body.page-id-260 article .row > .col-sm-4.ag-mobile-filter-panel.is-collapsed > :not(.ag-mobile-filter-toggle) {
    display: none !important;
  }

  .ag-mobile-filter-panel:not(.is-collapsed) > :not(.ag-mobile-filter-toggle) {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid rgba(58,75,82,.12) !important;
    border-radius: 0 0 20px 20px !important;
    padding: 22px !important;
    box-shadow: 0 18px 44px rgba(10,22,28,.08) !important;
  }

  .ag-mobile-filter-panel:not(.is-collapsed) .ag-mobile-filter-toggle {
    border-radius: 18px 18px 0 0 !important;
  }

  /* When old Toolset filter cards are open, make their text readable and tidy. */
  .ag-mobile-filter-panel .card,
  .ag-mobile-filter-panel .widget,
  .ag-mobile-filter-panel form,
  .ag-mobile-filter-panel .wpv-filter-form {
    width: 100% !important;
    max-width: none !important;
  }

  .ag-mobile-filter-panel .card-header,
  .ag-mobile-filter-panel .widget-title,
  .ag-mobile-filter-panel h2,
  .ag-mobile-filter-panel h3,
  .ag-mobile-filter-panel h4 {
    background: #07161d !important;
    color: #ffffff !important;
  }
}


/* =====================================================
   v4.5 FINAL MOBILE MENU + PRODUCT ARCHIVE STABILITY
   - fixes submenu open conflict
   - one filter accordion only
   - one product per row on mobile
===================================================== */

@media (max-width: 980px) {
  body.ag-menu-open #masthead.ag-header .ag-menu {
    display: block !important;
    width: 100% !important;
    margin-top: 18px !important;
    padding: 18px 0 24px !important;
    background: #06171f !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
  }

  #masthead.ag-header .ag-menu__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #masthead.ag-header .ag-menu__list > li,
  #masthead.ag-header .ag-menu__list li {
    width: 100% !important;
    background: transparent !important;
  }

  #masthead.ag-header .ag-menu__list > li > a,
  #masthead.ag-header .ag-menu__list li > a,
  #masthead.ag-header .ag-menu__list .current-menu-item > a,
  #masthead.ag-header .ag-menu__list .current-menu-parent > a,
  #masthead.ag-header .ag-menu__list .current_page_item > a,
  #masthead.ag-header .ag-menu__list .current-page-ancestor > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 52px !important;
    width: 100% !important;
    padding: 15px 18px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.07) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
    white-space: normal !important;
  }

  #masthead.ag-header .ag-menu__list > li > a:hover,
  #masthead.ag-header .ag-menu__list li > a:hover,
  #masthead.ag-header .ag-menu__list > li > a:focus,
  #masthead.ag-header .ag-menu__list li > a:focus {
    background: rgba(230,0,126,.22) !important;
    color: #fff !important;
  }

  #masthead.ag-header .ag-menu__list .menu-item-has-children > a::after,
  #masthead.ag-header .ag-menu__list .page_item_has_children > a::after {
    content: "+" !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    margin-left: 12px !important;
  }

  #masthead.ag-header .ag-menu__list .ag-submenu-open > a {
    background: #e6007e !important;
    color: #fff !important;
  }

  #masthead.ag-header .ag-menu__list .ag-submenu-open > a::after {
    content: "−" !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu,
  #masthead.ag-header .ag-menu .sub-menu,
  #masthead.ag-header nav ul ul,
  #masthead.ag-header .ag-menu__list li:hover > .sub-menu,
  #masthead.ag-header .ag-menu__list li:focus-within > .sub-menu,
  #masthead.ag-header nav li:hover > ul,
  #masthead.ag-header nav li:focus-within > ul {
    display: none !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    padding: 8px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.045) !important;
    box-shadow: none !important;
  }

  #masthead.ag-header .ag-menu__list .ag-submenu-open > .sub-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a,
  #masthead.ag-header .ag-menu .sub-menu a,
  #masthead.ag-header nav ul ul a {
    min-height: 46px !important;
    padding: 13px 16px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.06) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    opacity: 1 !important;
  }

  #masthead.ag-header .ag-menu__list .sub-menu a:hover,
  #masthead.ag-header .ag-menu__list .sub-menu a:focus {
    background: rgba(230,0,126,.22) !important;
    color: #fff !important;
  }
}

@media (max-width: 760px) {
  /* Keep only one filter accordion visible on mobile. */
  .ag-duplicate-filter-panel {
    display: none !important;
  }

  .ag-archive-sidebar.ag-mobile-filter-panel,
  .ag-mobile-filter-panel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
  }

  .ag-mobile-filter-toggle,
  .ag-filter-toggle.ag-mobile-filter-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #07161d !important;
    color: #fff !important;
    padding: 17px 20px !important;
    font-family: var(--ag-font) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    box-shadow: 0 14px 35px rgba(10,22,28,.12) !important;
  }

  .ag-mobile-filter-toggle strong {
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  .ag-mobile-filter-panel.is-collapsed > :not(.ag-mobile-filter-toggle):not(.ag-filter-toggle) {
    display: none !important;
  }

  .ag-mobile-filter-panel:not(.is-collapsed) > :not(.ag-mobile-filter-toggle):not(.ag-filter-toggle),
  .ag-mobile-filter-panel:not(.is-collapsed) .ag-filter-content {
    display: block !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid rgba(58,75,82,.12) !important;
    border-radius: 0 0 20px 20px !important;
    padding: 22px !important;
    box-shadow: 0 18px 44px rgba(10,22,28,.08) !important;
  }

  .ag-mobile-filter-panel:not(.is-collapsed) .ag-mobile-filter-toggle {
    border-radius: 18px 18px 0 0 !important;
  }

  /* Product cards: one card per row on mobile, not three squeezed columns. */
  body.tax-product_cat .ag-product-grid,
  body.tax-product_cat .ag-product-grid--archive,
  body.post-type-archive-product .ag-product-grid,
  body.post-type-archive-product .ag-product-grid--archive,
  body.tax-product_cat .ag-products-normalized,
  body.post-type-archive-product .ag-products-normalized,
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }

  body.tax-product_cat .ag-product-card,
  body.post-type-archive-product .ag-product-card,
  body.tax-product_cat .ag-products-normalized > .card,
  body.post-type-archive-product .ag-products-normalized > .card,
  body.tax-product_cat ul.products li.product,
  body.post-type-archive-product ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.tax-product_cat .ag-product-card,
  body.post-type-archive-product .ag-product-card {
    display: grid !important;
    grid-template-columns: 118px 1fr !important;
    gap: 18px !important;
    align-items: center !important;
    padding: 16px !important;
    min-height: 0 !important;
  }

  body.tax-product_cat .ag-product-card__image,
  body.post-type-archive-product .ag-product-card__image {
    height: 118px !important;
    margin: 0 !important;
    border-radius: 16px !important;
  }

  body.tax-product_cat .ag-product-card__image img,
  body.post-type-archive-product .ag-product-card__image img {
    max-height: 96px !important;
    object-fit: contain !important;
  }

  body.tax-product_cat .ag-product-card h3,
  body.post-type-archive-product .ag-product-card h3 {
    font-size: 20px !important;
    margin: 0 0 8px !important;
  }
}

/* =====================================================
   v4.6 MOBILE HEADER REBUILD
   Uses a dedicated mobile drawer instead of the desktop WP menu.
   This prevents sticky/grey/current-menu conflicts on mobile.
===================================================== */

.ag-mobile-toggle,
.ag-mobile-drawer {
  display: none;
}

@media (max-width: 980px) {
  body.ag-menu-open {
    overflow: auto !important;
  }

  body.ag-mobile-menu-open {
    overflow: hidden !important;
  }

  #masthead.ag-header,
  #masthead.ag-header .ag-nav {
    background: #06171f !important;
  }

  #masthead.ag-header .ag-topbar {
    display: none !important;
  }

  #masthead.ag-header .ag-nav__inner {
    width: min(100% - 32px, 1240px) !important;
    min-height: 82px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    flex-wrap: nowrap !important;
  }

  #masthead.ag-header .ag-logo,
  #masthead.ag-header .ag-logo a {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  #masthead.ag-header .ag-logo img,
  #masthead.ag-header .custom-logo {
    max-width: 210px !important;
    height: auto !important;
  }

  /* Hide desktop menu/search completely on mobile */
  #masthead.ag-header .ag-menu,
  #masthead.ag-header .ag-nav__actions,
  #masthead.ag-header .ag-menu-toggle {
    display: none !important;
  }

  #masthead.ag-header .ag-mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    background: transparent !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }

  #masthead.ag-header .ag-mobile-toggle span {
    display: block !important;
    width: 21px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    background: #ffffff !important;
    border-radius: 999px !important;
    transition: transform .2s ease, opacity .2s ease !important;
  }

  body.ag-mobile-menu-open #masthead.ag-header .ag-mobile-toggle {
    background: #e6007e !important;
    border-color: #e6007e !important;
  }

  body.ag-mobile-menu-open #masthead.ag-header .ag-mobile-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  body.ag-mobile-menu-open #masthead.ag-header .ag-mobile-toggle span:nth-child(2) {
    opacity: 0 !important;
  }

  body.ag-mobile-menu-open #masthead.ag-header .ag-mobile-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  .ag-mobile-drawer {
    display: none !important;
    position: fixed !important;
    top: 82px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99998 !important;
    background: #06171f !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
  }

  body.admin-bar .ag-mobile-drawer {
    top: 114px !important;
  }

  body.ag-mobile-menu-open .ag-mobile-drawer {
    display: block !important;
  }

  .ag-mobile-drawer__inner {
    width: min(100% - 32px, 440px) !important;
    margin: 0 auto !important;
    padding: 20px 0 34px !important;
  }

  .ag-mobile-search {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
  }

  .ag-mobile-search input[type="search"] {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.07) !important;
    color: #ffffff !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    outline: 0 !important;
  }

  .ag-mobile-search input::placeholder {
    color: rgba(255,255,255,.68) !important;
  }

  .ag-mobile-search button {
    height: 48px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #e6007e !important;
    color: #ffffff !important;
    padding: 0 18px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
  }

  .ag-mobile-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .ag-mobile-nav__link,
  .ag-mobile-nav__toggle,
  .ag-mobile-nav__cta {
    width: 100% !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.075) !important;
    color: #ffffff !important;
    padding: 16px 18px !important;
    font-family: var(--ag-font, Arial, sans-serif) !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-decoration: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    cursor: pointer !important;
  }

  .ag-mobile-nav__toggle span {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .ag-mobile-nav__group.is-open > .ag-mobile-nav__toggle {
    background: #e6007e !important;
    color: #ffffff !important;
  }

  .ag-mobile-nav__group.is-open > .ag-mobile-nav__toggle span {
    transform: rotate(45deg) !important;
  }

  .ag-mobile-nav__panel {
    display: none !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 8px 0 0 !important;
    padding: 10px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.045) !important;
  }

  .ag-mobile-nav__group.is-open > .ag-mobile-nav__panel {
    display: flex !important;
  }

  .ag-mobile-nav__panel a {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.065) !important;
    color: #ffffff !important;
    padding: 13px 16px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    opacity: 1 !important;
  }

  .ag-mobile-nav__panel a:hover,
  .ag-mobile-nav__panel a:focus,
  .ag-mobile-nav__link:hover,
  .ag-mobile-nav__link:focus {
    background: rgba(230,0,126,.22) !important;
    color: #ffffff !important;
  }

  .ag-mobile-nav__cta {
    justify-content: center !important;
    margin-top: 8px !important;
    background: #e6007e !important;
    box-shadow: 0 16px 40px rgba(230,0,126,.24) !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
  }
}

@media (min-width: 981px) {
  .ag-mobile-toggle,
  .ag-mobile-drawer {
    display: none !important;
  }
}

/* v5.0 product mobile refine filter - clean rebuild */
.ag-filter-toggle { display: none; }
.ag-filter-content[hidden] { display: none !important; }
@media (min-width: 769px) {
  .ag-archive-sidebar { display: block !important; }
  .ag-filter-content { display: block !important; }
}
@media (max-width: 768px) {
  .ag-archive-layout { display: block !important; }
  .ag-archive-sidebar { display: block !important; width: 100% !important; max-width: none !important; margin: 28px 0 30px !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
  .ag-filter-toggle { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; min-height: 62px !important; padding: 18px 22px !important; border: 0 !important; border-radius: 20px !important; background: #07161d !important; color: #ffffff !important; font-family: var(--ag-font, Arial, sans-serif) !important; font-size: 15px !important; font-weight: 900 !important; letter-spacing: .08em !important; text-transform: uppercase !important; cursor: pointer !important; box-shadow: 0 14px 35px rgba(10,22,28,.12) !important; }
  .ag-filter-toggle__label, .ag-filter-toggle__icon { display: block !important; position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; opacity: 1 !important; visibility: visible !important; text-indent: 0 !important; color: #ffffff !important; line-height: 1 !important; }
  .ag-filter-toggle__icon { font-size: 32px !important; font-weight: 900 !important; }
  .ag-filter-content { margin-top: 18px !important; }
  .ag-filter-content:not([hidden]) { display: block !important; }
  .ag-product-grid--archive, .ag-product-grid.ag-product-grid--archive { display: grid !important; grid-template-columns: 1fr !important; gap: 24px !important; }
}


/* v5.1 case study news template */
.ag-case-single {
  background: #ffffff;
  color: #172328;
}

.ag-case-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #07161d;
}

.ag-case-hero__bg,
.ag-case-hero__overlay {
  position: absolute;
  inset: 0;
}

.ag-case-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-case-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,22,29,.98), rgba(7,22,29,.78), rgba(7,22,29,.2)),
    linear-gradient(0deg, rgba(7,22,29,.94), rgba(7,22,29,.05) 58%, rgba(7,22,29,.38));
}

.ag-case-hero__overlay {
  background:
    radial-gradient(circle at 82% 20%, rgba(230,0,126,.24), transparent 34%),
    linear-gradient(180deg, transparent 78%, #fff 78.2%);
  clip-path: polygon(0 0,100% 0,100% 86%,0 100%);
}

.ag-case-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 95px;
}

.ag-case-crumbs {
  color: rgba(255,255,255,.68);
  font-size: 13px;
  margin-bottom: 34px;
}

.ag-case-crumbs a,
.ag-case-crumbs span {
  color: rgba(255,255,255,.72) !important;
}

.ag-case-crumbs span {
  padding: 0 6px;
}

.ag-case-kicker {
  display: inline-flex;
  align-items: center;
  background: #e6007e;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.ag-case-hero h1 {
  max-width: 940px;
  color: #fff !important;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: none;
  margin: 0 0 24px;
}

.ag-case-standfirst {
  max-width: 660px;
  color: rgba(255,255,255,.9) !important;
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 30px;
}

.ag-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ag-case-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.28);
  padding-right: 16px;
  font-size: 14px;
  font-weight: 800;
}

.ag-case-meta span:last-child {
  border-right: 0;
}

.ag-case-body {
  padding: 70px 0 36px;
  background: #fff;
}

.ag-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: start;
}

.ag-case-article {
  max-width: 820px;
}

.ag-case-article > *:first-child {
  margin-top: 0 !important;
}

.ag-case-article h1,
.ag-case-article h2,
.ag-case-article h3,
.ag-case-article h4 {
  color: #e6007e !important;
  line-height: 1.02;
  margin: 42px 0 18px;
  letter-spacing: -.02em;
}

.ag-case-article h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.ag-case-article h3 {
  font-size: 30px;
}

.ag-case-article p,
.ag-case-article li {
  color: #172328 !important;
  font-size: 18px;
  line-height: 1.76;
}

.ag-case-article ul,
.ag-case-article ol {
  padding-left: 26px;
  margin: 20px 0 34px;
}

.ag-case-article a {
  color: #e6007e !important;
  font-weight: 900;
}

.ag-case-article img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.ag-case-article blockquote {
  margin: 42px 0;
  padding: 34px 38px;
  border: 1px solid rgba(230,0,126,.18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(230,0,126,.08), rgba(230,0,126,.02));
  color: #172328;
}

.ag-case-sidebar {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 22px;
}

.ag-case-support-card {
  background:
    radial-gradient(circle at top right, rgba(230,0,126,.35), transparent 38%),
    #07161d;
  border-radius: 24px;
  padding: 34px;
  color: #fff;
  box-shadow: 0 24px 70px rgba(7,22,29,.18);
}

.ag-case-support-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e6007e;
  color: #fff;
  font-size: 30px;
  margin-bottom: 22px;
}

.ag-case-support-card h3,
.ag-case-support-card p {
  color: #fff !important;
}

.ag-case-support-card h3 {
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.ag-case-support-card p {
  color: rgba(255,255,255,.86) !important;
  line-height: 1.6;
}

.ag-case-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e6007e;
  color: #fff !important;
  border-radius: 10px;
  padding: 15px 22px;
  margin-top: 10px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none !important;
}

.ag-case-contact-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.ag-case-contact-list a {
  color: #fff !important;
  font-weight: 800;
}

.ag-case-side-list {
  background: #f5f7f8;
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(58,75,82,.1);
}

.ag-case-side-list h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.ag-case-side-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #172328 !important;
  padding: 16px 0;
  border-bottom: 1px solid rgba(58,75,82,.12);
  font-weight: 800;
}

.ag-case-side-list a:last-child {
  border-bottom: 0;
}

.ag-case-side-list span {
  color: #e6007e;
}

.ag-case-mid-cta {
  padding: 44px 0;
  background: #fff;
}

.ag-case-mid-cta__inner {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px 34px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(230,0,126,.18), transparent 35%),
    #07161d;
  color: #fff;
}

.ag-case-mid-logo {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 3px solid #e6007e;
  border-radius: 999px;
  color: #e6007e;
  font-size: 34px;
}

.ag-case-mid-cta h2,
.ag-case-mid-cta p {
  color: #fff !important;
  margin: 0;
}

.ag-case-mid-cta h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.ag-case-related {
  padding: 70px 0 88px;
  background: #fff;
}

.ag-case-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.ag-case-section-head h2 {
  font-size: clamp(34px, 4vw, 52px);
  color: #172328;
}

.ag-case-section-head a {
  color: #e6007e !important;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.ag-case-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ag-case-related-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(58,75,82,.1);
  box-shadow: 0 18px 48px rgba(10,22,28,.06);
  color: #172328 !important;
  text-decoration: none !important;
}

.ag-case-related-image {
  height: 170px;
  background: #f5f7f8;
  display: grid;
  place-items: center;
}

.ag-case-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-case-related-card p {
  color: #e6007e !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 18px 18px 8px;
}

.ag-case-related-card h3 {
  color: #172328 !important;
  font-size: 18px;
  line-height: 1.15;
  margin: 0 18px 12px;
}

.ag-case-related-card > span {
  display: block;
  color: #e6007e;
  font-weight: 900;
  margin: 0 18px 22px;
}

@media (max-width: 980px) {
  .ag-case-grid,
  .ag-case-mid-cta__inner {
    grid-template-columns: 1fr;
  }

  .ag-case-sidebar {
    position: static;
  }

  .ag-case-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ag-case-hero {
    min-height: 560px;
  }

  .ag-case-hero__inner {
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .ag-case-hero h1 {
    font-size: 38px;
  }

  .ag-case-standfirst {
    font-size: 18px;
  }

  .ag-case-body {
    padding-top: 42px;
  }

  .ag-case-related-grid {
    grid-template-columns: 1fr;
  }

  .ag-case-section-head {
    display: block;
  }
}


/* v5.3 final: header GSE no dropdown, reliable mobile refine accordion, partners card tidy */

/* Kill any cached/old Ground Support Equipment dropdown output */
.ag-menu__list > li > a[href*="ground-support-equipment"] + .sub-menu,
.ag-menu__list > li > a[href*="ground-support-equipment"] ~ .sub-menu,
.ag-menu > ul > li > a[href*="ground-support-equipment"] + .sub-menu,
.ag-menu > ul > li > a[href*="ground-support-equipment"] ~ .sub-menu {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.ag-menu__list > li > a[href*="ground-support-equipment"]::after,
.ag-menu > ul > li > a[href*="ground-support-equipment"]::after {
  display: none !important;
  content: none !important;
}

/* Product fallback logo instead of GSE text */
.ag-product-card__fallback-logo {
  width: 84% !important;
  max-width: 220px !important;
  max-height: 128px !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto !important;
  opacity: .95 !important;
}

/* Desktop archive filters stay open */
@media (min-width: 769px) {
  .ag-refine-checkbox,
  .ag-filter-toggle {
    display: none !important;
  }

  .ag-filter-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Mobile archive filters: checkbox/label accordion that needs no JS */
@media (max-width: 768px) {
  .ag-archive-layout {
    display: block !important;
  }

  .ag-archive-sidebar.ag-filter-rebuilt {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 28px 0 30px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .ag-refine-checkbox {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
  }

  .ag-filter-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 62px !important;
    padding: 18px 22px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #07161d !important;
    color: #ffffff !important;
    font-family: var(--ag-font, Arial, sans-serif) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 14px 35px rgba(10,22,28,.12) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .ag-filter-toggle__label,
  .ag-filter-toggle__icon {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
    color: #ffffff !important;
    line-height: 1 !important;
  }

  .ag-filter-toggle__icon::before {
    content: "+" !important;
    font-size: 32px !important;
    font-weight: 900 !important;
  }

  .ag-refine-checkbox:checked + .ag-filter-toggle .ag-filter-toggle__icon::before {
    content: "−" !important;
  }

  .ag-filter-rebuilt .ag-filter-content {
    display: none !important;
    margin-top: 18px !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .ag-refine-checkbox:checked ~ .ag-filter-content {
    display: block !important;
  }

  .ag-product-grid--archive,
  .ag-product-grid.ag-product-grid--archive {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Partners page card tidy */
.partners-grid {
  align-items: stretch !important;
}

.partner-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 260px !important;
  padding: 30px !important;
  border-radius: 24px !important;
}

.partner-card img,
.partner-card .wp-post-image {
  max-width: 190px !important;
  max-height: 82px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto 24px !important;
  display: block !important;
}

.partner-card h3 {
  margin: 0 0 12px !important;
  line-height: 1.05 !important;
}

.partner-card p {
  margin: 0 0 20px !important;
  line-height: 1.65 !important;
}

.partner-card a {
  margin-top: auto !important;
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 620px) {
  .partners-grid {
    grid-template-columns: 1fr !important;
  }

  .partner-card {
    min-height: auto !important;
    padding: 26px !important;
  }
}


/* v5.4 header overlap fix - keep horizontal desktop layout */
@media (min-width: 981px) {
  .ag-nav__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    min-height: 70px !important;
  }

  .ag-logo {
    flex: 0 0 230px !important;
    max-width: 230px !important;
    min-width: 0 !important;
  }

  .ag-logo img,
  .ag-logo .custom-logo {
    max-width: 220px !important;
    height: auto !important;
  }

  .ag-menu {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .ag-menu__list {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(14px, 1.25vw, 28px) !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  .ag-menu__list > li > a {
    font-size: clamp(12px, .86vw, 15px) !important;
    line-height: 1 !important;
    padding: 28px 0 !important;
  }

  .ag-nav__actions {
    flex: 0 1 310px !important;
    max-width: 310px !important;
    min-width: 230px !important;
  }

  .ag-header-search {
    width: 100% !important;
    max-width: 310px !important;
  }

  .ag-header-search input[type="search"] {
    width: 100% !important;
  }
}

@media (min-width: 981px) and (max-width: 1220px) {
  .ag-logo {
    flex-basis: 205px !important;
    max-width: 205px !important;
  }

  .ag-logo img,
  .ag-logo .custom-logo {
    max-width: 198px !important;
  }

  .ag-nav__actions {
    max-width: 250px !important;
    min-width: 210px !important;
  }

  .ag-menu__list {
    gap: 14px !important;
  }

  .ag-menu__list > li > a {
    font-size: 12px !important;
  }
}

@media (min-width: 981px) and (max-width: 1080px) {
  .ag-nav__actions {
    display: none !important;
  }
}



/* v5.4 final product archive refine accordion - strongest global fallback */
@media (max-width: 768px) {
  .ag-filter-final .ag-filter-toggle {
    display: flex !important;
  }

  .ag-filter-final .ag-filter-content {
    display: none !important;
  }

  .ag-filter-final.is-open .ag-filter-content {
    display: block !important;
  }
}



/* v5.4 partners card polish */
.partners-grid {
  display: grid !important;
  align-items: stretch !important;
  gap: 26px !important;
}

.partner-card {
  display: grid !important;
  grid-template-rows: 110px auto 1fr auto !important;
  min-height: 330px !important;
  padding: 34px 30px !important;
  border-radius: 26px !important;
  align-items: start !important;
}

.partner-card img,
.partner-card .wp-post-image {
  align-self: center !important;
  justify-self: center !important;
  max-width: 210px !important;
  max-height: 86px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto 20px !important;
}

.partner-card h3 {
  margin: 0 0 12px !important;
  line-height: 1.05 !important;
}

.partner-card p {
  margin: 0 0 22px !important;
  line-height: 1.65 !important;
}

.partner-card a,
.partner-card .brand-btn,
.partner-card .partners-btn {
  align-self: end !important;
  margin-top: auto !important;
}


/* v5.5 HEADER FIX - stop logo/nav/search overlap */
@media (min-width: 981px) {
  .ag-nav .ag-wrap,
  .ag-nav__inner {
    max-width: 1360px !important;
  }

  .ag-nav__inner {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) 310px !important;
    align-items: center !important;
    gap: 28px !important;
    min-height: 72px !important;
  }

  .ag-logo {
    grid-column: 1 !important;
    width: 260px !important;
    max-width: 260px !important;
    min-width: 0 !important;
    position: relative !important;
    z-index: 3 !important;
  }

  .ag-logo img,
  .ag-logo .custom-logo {
    max-width: 245px !important;
    height: auto !important;
    display: block !important;
  }

  .ag-menu {
    grid-column: 2 !important;
    min-width: 0 !important;
    width: 100% !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .ag-menu__list {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(16px, 1.35vw, 30px) !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  .ag-menu__list > li > a {
    font-size: clamp(12px, .9vw, 15px) !important;
    padding: 28px 0 !important;
    line-height: 1 !important;
  }

  .ag-nav__actions {
    grid-column: 3 !important;
    width: 310px !important;
    max-width: 310px !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }

  .ag-header-search {
    width: 100% !important;
    max-width: 310px !important;
  }
}

@media (min-width: 981px) and (max-width: 1230px) {
  .ag-nav__inner {
    grid-template-columns: 225px minmax(0, 1fr) 250px !important;
    gap: 18px !important;
  }

  .ag-logo {
    width: 225px !important;
    max-width: 225px !important;
  }

  .ag-logo img,
  .ag-logo .custom-logo {
    max-width: 215px !important;
  }

  .ag-menu__list {
    gap: 14px !important;
  }

  .ag-menu__list > li > a {
    font-size: 12px !important;
  }

  .ag-nav__actions {
    width: 250px !important;
    max-width: 250px !important;
  }
}

@media (min-width: 981px) and (max-width: 1080px) {
  .ag-nav__inner {
    grid-template-columns: 230px minmax(0, 1fr) !important;
  }

  .ag-nav__actions {
    display: none !important;
  }
}

/* v5.5 GLOBAL MOBILE FILTER ACCORDION - targets Toolset/Woo filter blocks */
@media (max-width: 768px) {
  body.tax-product_cat .ag-archive-sidebar,
  body.post-type-archive-product .ag-archive-sidebar,
  body.page-template-default .js-wpv-filter-form,
  body.page-template-default form[data-viewnumber],
  body.page-template-default .wpv-filter-form,
  body.page-template-default .searchandfilter,
  body.page-template-default .widget-area,
  body.page-template-default #secondary {
    max-width: 100% !important;
  }

  .ag-toolset-refine-wrap {
    width: 100% !important;
    margin: 28px 0 30px !important;
  }

  .ag-toolset-refine-button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 62px !important;
    padding: 18px 22px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #07161d !important;
    color: #ffffff !important;
    font-family: var(--ag-font, Arial, sans-serif) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 14px 35px rgba(10,22,28,.12) !important;
  }

  .ag-toolset-refine-button span {
    color: #ffffff !important;
    display: block !important;
  }

  .ag-toolset-refine-panel {
    display: none !important;
    margin-top: 18px !important;
  }

  .ag-toolset-refine-wrap.is-open .ag-toolset-refine-panel {
    display: block !important;
  }
}


/* v5.6 HEADER RESET - menu safely below logo, no overlap */
@media (min-width: 981px) {
  .ag-nav__inner {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    grid-template-areas:
      "logo actions"
      "menu menu" !important;
    column-gap: 30px !important;
    row-gap: 0 !important;
    align-items: center !important;
    min-height: 112px !important;
    padding-top: 12px !important;
    padding-bottom: 10px !important;
  }

  .ag-logo {
    grid-area: logo !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 0 !important;
    z-index: 4 !important;
  }

  .ag-logo img,
  .ag-logo .custom-logo {
    max-width: 260px !important;
    height: auto !important;
    display: block !important;
  }

  .ag-nav__actions {
    grid-area: actions !important;
    justify-self: end !important;
    width: min(360px, 100%) !important;
    max-width: 360px !important;
    min-width: 260px !important;
  }

  .ag-header-search {
    width: 100% !important;
    max-width: 360px !important;
  }

  .ag-menu {
    grid-area: menu !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    z-index: 3 !important;
    margin: 0 !important;
  }

  .ag-menu__list {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(22px, 2.4vw, 44px) !important;
    margin: 0 !important;
    padding: 2px 0 0 !important;
    white-space: nowrap !important;
  }

  .ag-menu__list > li > a {
    padding: 10px 0 !important;
    font-size: clamp(13px, .95vw, 15px) !important;
    line-height: 1 !important;
  }

  .ag-menu__list > li > .sub-menu {
    top: 100% !important;
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .ag-nav__actions {
    display: none !important;
  }

  .ag-nav__inner {
    grid-template-columns: 280px 1fr !important;
    grid-template-areas:
      "logo logo"
      "menu menu" !important;
  }

  .ag-logo {
    justify-self: center !important;
  }

  .ag-menu__list {
    gap: 20px !important;
  }

  .ag-menu__list > li > a {
    font-size: 12px !important;
  }
}

/* v5.6 TOOLSET FILTER ACCORDION */
@media (max-width: 768px) {
  .ag-toolset-refine-wrap {
    width: 100% !important;
    margin: 28px 0 30px !important;
  }

  .ag-toolset-refine-button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 62px !important;
    padding: 18px 22px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #07161d !important;
    color: #ffffff !important;
    font-family: var(--ag-font, Arial, sans-serif) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 14px 35px rgba(10,22,28,.12) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .ag-toolset-refine-button span {
    color: #ffffff !important;
    display: block !important;
  }

  .ag-toolset-refine-panel {
    display: none !important;
    margin-top: 18px !important;
  }

  .ag-toolset-refine-wrap.is-open .ag-toolset-refine-panel {
    display: block !important;
  }
}


/* v5.7 Services page rebuild */
.agse-services-page{background:#fff;}
.agse-services-hero{background:radial-gradient(circle at top right,rgba(230,0,126,.18),transparent 38%),linear-gradient(135deg,#07161d,#10242c);padding:105px 0 90px;}
.agse-services-hero__inner{display:grid;grid-template-columns:.95fr 1.05fr;gap:70px;align-items:center;}
.agse-services-hero h1{color:#fff!important;font-size:clamp(46px,7vw,96px);line-height:.93;letter-spacing:-.045em;text-transform:uppercase;max-width:820px;}
.agse-services-hero p{color:rgba(255,255,255,.88)!important;font-size:19px;line-height:1.7;max-width:720px;}
.agse-services-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px;}
.agse-services-list{padding:90px 0;background:#f5f7f8;}
.agse-services-head{display:grid;grid-template-columns:1fr .7fr;gap:40px;align-items:end;margin-bottom:34px;}
.agse-services-head h2{font-size:clamp(34px,4.5vw,62px);line-height:.98;letter-spacing:-.035em;text-transform:uppercase;}
.agse-services-head p{color:#3a4b52;font-size:18px;line-height:1.65;}
.agse-services-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:26px!important;align-items:stretch!important;}
.agse-service-card{display:flex!important;flex-direction:column!important;min-height:310px!important;padding:34px!important;border-radius:24px!important;background:#fff!important;border:1px solid rgba(10,22,28,.12)!important;box-shadow:0 24px 70px rgba(10,22,28,.07)!important;color:#172328!important;text-decoration:none!important;position:relative!important;transform:none!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;overflow:hidden!important;}
.agse-service-card::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#e6007e,#ff77bd);}
.agse-service-card span{color:#e6007e;font-size:13px;font-weight:900;letter-spacing:.08em;margin-bottom:28px;}
.agse-service-card h3{color:#07161d!important;font-size:28px;line-height:.98;letter-spacing:-.03em;text-transform:uppercase;margin:0 0 16px!important;}
.agse-service-card p{color:#3a4b52!important;font-size:16px;line-height:1.65;margin:0 0 28px!important;}
.agse-service-card strong{color:#e6007e;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-top:auto;}
.agse-services-dark{background:radial-gradient(circle at top right,rgba(230,0,126,.2),transparent 38%),#07161d;padding:90px 0;}
.agse-services-dark__grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start;}
.agse-services-dark h2{color:#fff!important;font-size:clamp(38px,5vw,74px);line-height:.94;text-transform:uppercase;}
.agse-services-points{display:grid;gap:18px;}
.agse-services-points div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:28px;}
.agse-services-points h3,.agse-services-points p{color:#fff!important;}
.agse-services-points h3{margin-bottom:10px;text-transform:uppercase;}
.agse-services-points p{color:rgba(255,255,255,.82)!important;line-height:1.65;}
.agse-services-cta{padding:76px 0;background:linear-gradient(135deg,#e6007e,#921052);}
.agse-services-cta__inner{display:grid;grid-template-columns:1fr auto;gap:34px;align-items:center;}
.agse-services-cta h2,.agse-services-cta p{color:#fff!important;}
.agse-services-cta h2{font-size:clamp(36px,5vw,70px);line-height:.96;text-transform:uppercase;}
.agse-services-cta p{font-size:18px;max-width:720px;}
@media(max-width:980px){.agse-services-hero__inner,.agse-services-head,.agse-services-dark__grid,.agse-services-cta__inner{grid-template-columns:1fr}.agse-services-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:640px){.agse-services-hero,.agse-services-list,.agse-services-dark,.agse-services-cta{padding:56px 0}.agse-services-grid{grid-template-columns:1fr!important}.agse-service-card{min-height:auto!important;padding:28px!important}}

/* ============================================================
   AEROSPACE GSE PREMIUM HOMEPAGE V3
   Presentation-only layer. Product/API architecture untouched.
============================================================ */
.agse-home-v3{background:#fff;overflow:hidden}.agse-home-v3 h2{font-size:clamp(42px,5.5vw,78px);line-height:.94;letter-spacing:-.045em;text-transform:uppercase}.agse-text-link{display:inline-flex;align-items:center;color:#e6007e!important;font-size:13px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;text-decoration:none!important}.agse-inline-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:30px}.agse-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:36px;margin-bottom:38px}.agse-section-heading>div{max-width:820px}.agse-section-heading--light h2{color:#fff!important}.agse-section-heading--light .agse-text-link{color:#ff7dc3!important}

.agse-logo-rail{display:grid;grid-template-columns:210px 1fr;background:#fff;border-bottom:1px solid rgba(10,22,28,.1);min-height:126px}.agse-logo-rail__intro{display:flex;flex-direction:column;justify-content:center;padding:22px 30px;background:#e6007e;color:#fff;text-transform:uppercase}.agse-logo-rail__intro span{font-size:11px;letter-spacing:.13em;font-weight:800}.agse-logo-rail__intro strong{font-size:18px;line-height:1.05}.agse-logo-rail__window{overflow:hidden;display:flex;align-items:center}.agse-logo-rail__track{display:flex;align-items:center;width:max-content;animation:agseRail 34s linear infinite}.agse-logo-rail__track a{display:grid;place-items:center;width:210px;height:106px;padding:22px 32px;filter:grayscale(1);opacity:.62;transition:.25s}.agse-logo-rail__track a:hover{filter:none;opacity:1}.agse-logo-rail__track img{max-width:145px;max-height:58px;object-fit:contain}@keyframes agseRail{to{transform:translateX(-50%)}}

.agse-aircraft-v3{position:relative;padding:105px 0;background:radial-gradient(circle at 85% 12%,rgba(230,0,126,.22),transparent 34%),#07161d}.agse-aircraft-v3::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,22,29,.94),rgba(7,22,29,.72)),url('https://www.aerospacegse.com/wp-content/uploads/2025/08/AGSEmap.png') center/cover no-repeat;opacity:.18;pointer-events:none}.agse-aircraft-v3__grid{position:relative;z-index:2;display:grid;grid-template-columns:.9fr 1.1fr;gap:72px;align-items:center}.agse-aircraft-v3 h2,.agse-aircraft-v3 p{color:#fff!important}.agse-aircraft-v3__copy>p:not(.ag-eyebrow){font-size:19px;line-height:1.7;color:rgba(255,255,255,.82)!important}.agse-aircraft-v3__selector{display:grid;gap:12px}.agse-aircraft-family{border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(255,255,255,.07);overflow:hidden}.agse-aircraft-family summary{display:flex;justify-content:space-between;align-items:center;min-height:68px;padding:18px 22px;color:#fff;cursor:pointer;font-weight:900;text-transform:uppercase;list-style:none}.agse-aircraft-family summary::-webkit-details-marker{display:none}.agse-aircraft-family summary strong{font-size:24px;color:#e6007e}.agse-aircraft-family[open] summary{background:#e6007e}.agse-aircraft-family[open] summary strong{color:#fff;transform:rotate(45deg)}.agse-aircraft-family__models{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:14px}.agse-aircraft-family__models a{padding:12px;border-radius:12px;background:rgba(255,255,255,.08);color:#fff!important;text-align:center;font-size:13px;font-weight:800;text-decoration:none!important}.agse-aircraft-family__models a:hover{background:rgba(230,0,126,.28)}

.agse-solutions-v3{padding:105px 0;background:#f4f6f7}.agse-solutions-v3__grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:250px;gap:20px}.agse-solution-card{position:relative;display:flex;align-items:flex-end;overflow:hidden;border-radius:26px;background-image:var(--agse-card-image);background-size:cover;background-position:center;text-decoration:none!important;box-shadow:0 24px 70px rgba(7,22,29,.12)}.agse-solution--feature{grid-column:span 2;grid-row:span 2}.agse-solution-card::before{content:"";position:absolute;inset:0;background:var(--agse-card-image) center/cover no-repeat;transition:transform .65s ease}.agse-solution-card:hover::before{transform:scale(1.055)}.agse-solution-card__shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,22,29,.96),rgba(7,22,29,.08) 68%)}.agse-solution-card__content{position:relative;z-index:2;padding:30px;color:#fff}.agse-solution-card__content p{max-width:520px;color:rgba(255,255,255,.78)!important;margin:0 0 10px;font-size:14px;line-height:1.5}.agse-solution-card__content h3{color:#fff!important;font-size:clamp(26px,2.5vw,42px);line-height:.96;text-transform:uppercase;margin:0 0 18px}.agse-solution-card__content strong{color:#ff78bd;text-transform:uppercase;font-size:12px;letter-spacing:.07em}

.agse-proof-v3{padding:110px 0;background:#fff}.agse-proof-v3__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:72px;align-items:center}.agse-proof-v3__image{min-height:620px;border-radius:30px;background:linear-gradient(0deg,rgba(7,22,29,.24),rgba(7,22,29,.06)),url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-12.jpg') center/cover no-repeat;box-shadow:0 30px 90px rgba(7,22,29,.15)}.agse-proof-v3__copy>p:not(.ag-eyebrow){font-size:19px;line-height:1.75;color:#4b5d65!important}.agse-proof-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:34px}.agse-proof-list div{padding:22px;border-radius:18px;background:#f4f6f7}.agse-proof-list strong{display:block;color:#e6007e;font-size:24px;text-transform:uppercase}.agse-proof-list span{display:block;margin-top:4px;color:#33444b;font-size:14px}

.agse-featured-v3{padding:105px 0;background:radial-gradient(circle at top right,rgba(230,0,126,.18),transparent 30%),#07161d}.agse-featured-v3__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.agse-feature-card{display:flex;flex-direction:column;overflow:hidden;border-radius:24px;background:#fff;text-decoration:none!important;box-shadow:0 24px 70px rgba(0,0,0,.22);transition:transform .3s ease}.agse-feature-card:hover{transform:translateY(-7px)}.agse-feature-card__media{height:245px;display:grid;place-items:center;padding:24px;background:#f4f6f7}.agse-feature-card__media img{width:100%;height:100%;object-fit:contain}.agse-feature-card__content{display:flex;flex-direction:column;flex:1;padding:24px}.agse-feature-card__content>span{font-size:11px;color:#e6007e;text-transform:uppercase;font-weight:900;letter-spacing:.07em}.agse-feature-card__content h3{font-size:19px;line-height:1.15;color:#07161d!important;margin:10px 0 22px}.agse-feature-card__content strong{margin-top:auto;color:#e6007e;text-transform:uppercase;font-size:12px}

.agse-capabilities-v3{padding:105px 0;background:#f4f6f7}.agse-capabilities-v3__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.agse-capabilities-v3__grid>a{display:flex;flex-direction:column;min-height:300px;padding:30px;border-radius:24px;background:#fff;border:1px solid rgba(7,22,29,.09);box-shadow:0 18px 55px rgba(7,22,29,.06);color:#07161d!important;text-decoration:none!important;transition:.25s}.agse-capabilities-v3__grid>a:hover{transform:translateY(-6px);box-shadow:0 24px 70px rgba(7,22,29,.12)}.agse-capabilities-v3__grid span{color:#e6007e;font-size:12px;font-weight:900}.agse-capabilities-v3__grid h3{font-size:28px;line-height:.98;text-transform:uppercase;margin:34px 0 15px}.agse-capabilities-v3__grid p{line-height:1.65;color:#4b5d65!important}.agse-capabilities-v3__grid strong{margin-top:auto;color:#e6007e;text-transform:uppercase;font-size:12px}

.agse-news-v3{padding:105px 0;background:#0a1d25}.agse-news-v3__grid{display:grid;grid-template-columns:1.3fr .85fr;grid-template-rows:repeat(2,1fr);gap:20px}.agse-news-card{display:grid;grid-template-columns:180px 1fr;overflow:hidden;border-radius:24px;background:#fff;text-decoration:none!important;min-height:220px}.agse-news-card--feature{grid-row:span 2;display:flex;flex-direction:column}.agse-news-card__media{display:grid;place-items:center;min-height:180px;background:#f4f6f7}.agse-news-card--feature .agse-news-card__media{height:360px}.agse-news-card__media img{width:100%;height:100%;object-fit:cover}.agse-news-card__media span{color:#e6007e;font-size:38px;font-weight:900}.agse-news-card__content{display:flex;flex-direction:column;padding:26px}.agse-news-card__content>span{font-size:11px;color:#e6007e;font-weight:900;text-transform:uppercase}.agse-news-card__content h3{font-size:22px;line-height:1.08;color:#07161d!important;margin:12px 0 22px}.agse-news-card--feature .agse-news-card__content h3{font-size:32px}.agse-news-card__content strong{margin-top:auto;color:#e6007e;text-transform:uppercase;font-size:12px}

.agse-final-cta-v3{position:relative;padding:110px 0;background:linear-gradient(90deg,rgba(7,22,29,.96),rgba(7,22,29,.72)),url('https://www.aerospacegse.com/wp-content/uploads/2026/01/Untitled-design-10.jpg') center/cover no-repeat}.agse-final-cta-v3__inner{display:grid;grid-template-columns:1fr auto;gap:60px;align-items:center}.agse-final-cta-v3 h2,.agse-final-cta-v3 p{color:#fff!important}.agse-final-cta-v3 h2{max-width:900px}.agse-final-cta-v3__inner>div:first-child>p:last-child{font-size:19px;color:rgba(255,255,255,.8)!important}.agse-final-cta-v3__actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:250px}.agse-final-cta-v3__actions .agse-text-link{justify-content:center;color:#fff!important;margin-top:8px}

@media(max-width:1100px){.agse-solutions-v3__grid{grid-template-columns:repeat(2,1fr)}.agse-solution--feature{grid-column:span 2}.agse-featured-v3__grid,.agse-capabilities-v3__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.agse-logo-rail{grid-template-columns:1fr}.agse-logo-rail__intro{display:none}.agse-aircraft-v3__grid,.agse-proof-v3__grid,.agse-final-cta-v3__inner{grid-template-columns:1fr}.agse-aircraft-family__models{grid-template-columns:repeat(3,1fr)}.agse-news-v3__grid{grid-template-columns:1fr;grid-template-rows:auto}.agse-news-card--feature{grid-row:auto}.agse-news-card{grid-template-columns:160px 1fr}.agse-news-card--feature{display:grid;grid-template-columns:160px 1fr}.agse-news-card--feature .agse-news-card__media{height:auto}.agse-final-cta-v3__actions{min-width:0;max-width:360px}}
@media(max-width:640px){.agse-home-v3 h2{font-size:38px}.agse-section-heading{display:block}.agse-section-heading .agse-text-link{margin-top:18px}.agse-aircraft-v3,.agse-solutions-v3,.agse-proof-v3,.agse-featured-v3,.agse-capabilities-v3,.agse-news-v3,.agse-final-cta-v3{padding:64px 0}.agse-aircraft-family__models{grid-template-columns:repeat(2,1fr)}.agse-solutions-v3__grid{grid-template-columns:1fr;grid-auto-rows:260px}.agse-solution--feature{grid-column:auto;grid-row:auto}.agse-proof-v3__image{min-height:420px}.agse-proof-list,.agse-featured-v3__grid,.agse-capabilities-v3__grid{grid-template-columns:1fr}.agse-news-card,.agse-news-card--feature{grid-template-columns:1fr}.agse-news-card__media,.agse-news-card--feature .agse-news-card__media{height:220px}.agse-logo-rail__track a{width:170px}.agse-feature-card__media{height:220px}}

/* v3.1 safe equipment finder: routes to existing categories only */
.agse-equipment-finder{padding:28px;border:1px solid rgba(255,255,255,.14);border-radius:28px;background:rgba(255,255,255,.07);box-shadow:0 30px 90px rgba(0,0,0,.22);backdrop-filter:blur(16px)}
.agse-finder-note{display:grid;gap:5px;margin-top:28px;padding:18px 20px;border-left:3px solid #e6007e;background:rgba(255,255,255,.06);color:#fff}.agse-finder-note strong{font-size:13px;text-transform:uppercase;letter-spacing:.08em}.agse-finder-note span{font-size:14px;line-height:1.55;color:rgba(255,255,255,.72)}
.agse-finder-step{display:grid;grid-template-columns:50px 1fr;gap:16px;align-items:start;padding:0;margin:0;border:0}.agse-finder-step+.agse-finder-step{margin-top:24px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12)}
.agse-finder-step__number{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e6007e;color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em}.agse-finder-step label,.agse-finder-step legend>span:last-child{display:block;margin:0 0 12px;color:#fff;font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.agse-finder-step select{width:100%;height:58px;padding:0 48px 0 18px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:#fff;color:#07161d;font:inherit;font-weight:800;cursor:pointer}
.agse-finder-step--tasks{display:block;opacity:.42;transition:.25s}.agse-finder-step--tasks.is-ready{opacity:1}.agse-finder-step--tasks legend{display:grid;grid-template-columns:50px 1fr;gap:16px;align-items:center;width:100%;padding:0}.agse-finder-step--tasks legend>span:last-child{margin:0}
.agse-finder-tasks{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 0 0 66px}.agse-finder-tasks button{min-height:52px;padding:13px 15px;border:1px solid rgba(255,255,255,.15);border-radius:13px;background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:13px;font-weight:850;text-align:left;cursor:pointer;transition:.2s}.agse-finder-tasks button:hover,.agse-finder-tasks button.is-active{border-color:#e6007e;background:#e6007e;transform:translateY(-2px)}.agse-finder-step--tasks:disabled .agse-finder-tasks button{cursor:not-allowed}
.agse-finder-results{margin-top:26px;padding:24px;border-radius:20px;background:#fff;color:#07161d}.agse-finder-results[hidden]{display:none!important}.agse-finder-results__head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.agse-finder-results__head span{color:#e6007e;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.agse-finder-results__head h3{margin:6px 0 0;color:#07161d!important;font-size:25px;line-height:1.05}.agse-finder-results__head button{padding:0;border:0;background:none;color:#65757c;font:inherit;font-size:12px;font-weight:800;text-decoration:underline;cursor:pointer}.agse-finder-results>p{margin:15px 0 20px;color:#53656d!important;line-height:1.6}
.agse-finder-recommendations{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.agse-finder-recommendations a{display:flex;flex-direction:column;justify-content:space-between;min-height:108px;padding:16px;border-radius:14px;background:#f1f4f5;color:#07161d!important;text-decoration:none!important;transition:.2s}.agse-finder-recommendations a:hover{background:#07161d;color:#fff!important;transform:translateY(-3px)}.agse-finder-recommendations span{font-size:14px;font-weight:900}.agse-finder-recommendations strong{margin-top:15px;color:#e6007e;font-size:11px;text-transform:uppercase}
.agse-finder-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.agse-finder-actions .ag-btn--ghost{border-color:#07161d;color:#07161d!important}.agse-finder-actions .ag-btn--ghost:hover{background:#07161d;color:#fff!important}.agse-finder-results small{display:block;margin-top:15px;color:#738188;font-size:10px;line-height:1.5}
@media(max-width:760px){.agse-equipment-finder{padding:20px}.agse-finder-tasks{grid-template-columns:1fr;margin-left:0}.agse-finder-recommendations{grid-template-columns:1fr}.agse-finder-step{grid-template-columns:42px 1fr}.agse-finder-step--tasks legend{grid-template-columns:42px 1fr}.agse-finder-results__head{display:block}.agse-finder-results__head button{margin-top:12px}.agse-finder-actions{display:grid}.agse-finder-actions .ag-btn{width:100%;justify-content:center}}

/* =========================================================
   v3.7 SAFE FILTER CARD SCROLL RESTORE
   Keep long Toolset category/brand lists inside a scroll box.
   Scoped to catalogue filter columns only.
========================================================= */
body.tax-product_cat .ag-archive-sidebar .card-body,
body.post-type-archive-product .ag-archive-sidebar .card-body,
body.tax-product_cat .js-wpv-view-layout .col-lg-4 .card-body,
body.post-type-archive-product .js-wpv-view-layout .col-lg-4 .card-body,
body.tax-product_cat form.wpv-filter-form .card-body,
body.tax-product_cat form.js-wpv-filter-form .card-body,
body.post-type-archive-product form.wpv-filter-form .card-body,
body.post-type-archive-product form.js-wpv-filter-form .card-body {
  max-height: 320px !important;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable !important;
  padding-right: 12px !important;
}

/* Toolset sometimes places the list in a nested wrapper with its own height. */
body.tax-product_cat .ag-archive-sidebar .card-body [data-simplebar],
body.post-type-archive-product .ag-archive-sidebar .card-body [data-simplebar],
body.tax-product_cat .js-wpv-view-layout .col-lg-4 .card-body [data-simplebar],
body.post-type-archive-product .js-wpv-view-layout .col-lg-4 .card-body [data-simplebar],
body.tax-product_cat form.wpv-filter-form .card-body [data-simplebar],
body.tax-product_cat form.js-wpv-filter-form .card-body [data-simplebar],
body.post-type-archive-product form.wpv-filter-form .card-body [data-simplebar],
body.post-type-archive-product form.js-wpv-filter-form .card-body [data-simplebar],
body.tax-product_cat .ag-archive-sidebar .simplebar-content-wrapper,
body.post-type-archive-product .ag-archive-sidebar .simplebar-content-wrapper {
  max-height: 288px !important;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Visible, branded scrollbar. */
body.tax-product_cat .ag-archive-sidebar .card-body::-webkit-scrollbar,
body.post-type-archive-product .ag-archive-sidebar .card-body::-webkit-scrollbar,
body.tax-product_cat .js-wpv-view-layout .col-lg-4 .card-body::-webkit-scrollbar,
body.post-type-archive-product .js-wpv-view-layout .col-lg-4 .card-body::-webkit-scrollbar,
body.tax-product_cat form.wpv-filter-form .card-body::-webkit-scrollbar,
body.tax-product_cat form.js-wpv-filter-form .card-body::-webkit-scrollbar,
body.post-type-archive-product form.wpv-filter-form .card-body::-webkit-scrollbar,
body.post-type-archive-product form.js-wpv-filter-form .card-body::-webkit-scrollbar {
  width: 7px !important;
}
body.tax-product_cat .ag-archive-sidebar .card-body::-webkit-scrollbar-track,
body.post-type-archive-product .ag-archive-sidebar .card-body::-webkit-scrollbar-track,
body.tax-product_cat .js-wpv-view-layout .col-lg-4 .card-body::-webkit-scrollbar-track,
body.post-type-archive-product .js-wpv-view-layout .col-lg-4 .card-body::-webkit-scrollbar-track {
  background: #edf2f4 !important;
  border-radius: 999px !important;
}
body.tax-product_cat .ag-archive-sidebar .card-body::-webkit-scrollbar-thumb,
body.post-type-archive-product .ag-archive-sidebar .card-body::-webkit-scrollbar-thumb,
body.tax-product_cat .js-wpv-view-layout .col-lg-4 .card-body::-webkit-scrollbar-thumb,
body.post-type-archive-product .js-wpv-view-layout .col-lg-4 .card-body::-webkit-scrollbar-thumb {
  background: #e6007e !important;
  border-radius: 999px !important;
}
