
/* ================
   Full Protection — About page (pixel-perfect baseline)
   ================ */

/* Links should not be underlined by default (matches TS UI) */
a,
a:hover,
a:focus,
/* Links are not underlined in the original TS UI */
a, a:visited, a:hover, a:focus, a:active{ text-decoration:none !important; }

/* Safety: never show the mobile categories bar above 768px.
   Prevents regressions when templates add custom styles. */
@media (min-width: 768px) {
  [data-fp-cat-mobile] { display: none !important; }
}

/* Keep desktop categories row in a single line so the overflow algorithm can measure widths correctly. */
#fpCategoriesRow { flex-wrap: nowrap !important; }

.fp-about-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.fp-about-hero{
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 240px at 35% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0) 55%),
              linear-gradient(180deg, #5b5b5b 0%, #3f3f3f 60%, #2f2f2f 100%);
  padding: 96px 0 84px;
}
.fp-about-hero--has-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--fp-about-hero-bg);
  background-size: cover;
  background-position: center;
  opacity: .38;
  transform: scale(1.03);
}
.fp-about-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.70) 100%);
}
.fp-about-hero .fp-about-container{
  position: relative;
  z-index: 2;
}

.fp-about-hero__title{
  margin: 0;
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.10em;
  font-size: clamp(54px, 5.2vw, 86px);
  line-height: 1.02;
  color: #ffffff;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 12px 30px rgba(0,0,0,0.55);
}

.fp-about-hero__subtitle{
  margin: 18px 0 0;
  max-width: 760px;
  color: rgba(255,255,255,0.90);
  -webkit-text-fill-color: rgba(255,255,255,0.90) !important;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 10px 20px rgba(0,0,0,0.45);
}

.fp-about-intro{
  background: #ffffff;
  padding: 56px 0 20px;
}

.fp-about-intro__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: center;
}

.fp-about-intro__left{
  max-width: 700px;
}

.fp-about-intro__title{
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.05;
  color: #111827;
  text-transform: uppercase;
}

.fp-about-intro__copy p{
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.75;
  color: #374151;
}

.fp-about-highlight{
  color: #c81f26;
  font-weight: 700;
}

.fp-about-services{
  margin-top: 26px;
}

.fp-about-services__icons{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 22px;
  align-items: start;
}

.fp-about-services__media{
  width: 100%;
}

.fp-about-portfolio-image{
  width: 100%;
}

.fp-about-portfolio-image img{
  width: 100%;
  height: auto;
  display: block;
}

.fp-about-portfolio-image--clean{
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.fp-about-portfolio-image--clean img{
  background: transparent;
  box-shadow: none;
  width: min(100%, 480px);
  margin: 0 auto;
}

.fp-about-intro__right{
  display: flex;
  justify-content: center;
}

.fp-about-portfolio-video{
  margin-top: 18px;
}

.fp-about-portfolio-video iframe,
.fp-about-portfolio-video video{
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.fp-about-services__title{
  width: 100%;
  margin: 0 0 14px;
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.12em;
  color: #111827;
  text-transform: uppercase;
}

.fp-about-service{
  width: 100%;
  display: block;
  text-align: center;
  color: inherit;
}

.fp-about-service__icon{
  width: 104px;
  height: 104px;
  margin: 0 auto 8px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.fp-about-service__icon img{
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.fp-about-service__label{
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.10em;
  color: #0f172a;
  line-height: 1.1;
  max-width: 140px;
  margin: 0 auto;
  word-break: break-word;
  text-transform: uppercase;
}

.fp-about-service:hover .fp-about-service__icon{ transform: translateY(-2px); }

.fp-about-service:focus-visible{ outline: 2px solid rgba(200,31,38,0.45); outline-offset: 6px; border-radius: 10px; }

.fp-about-mascot{
  border: 1px solid #e5e7eb;
  padding: 18px;
  background: #ffffff;
}

.fp-about-mascot img{
  width: 100%;
  height: auto;
  display:block;
}

.fp-about-mascot__placeholder{
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg,#0f172a,#334155);
}

.fp-about-team{
  background: #ffffff;
  padding: 40px 0 80px;
}

.fp-section-head{
  text-align:center;
  margin: 26px 0 22px;
}

.fp-section-head__title{
  margin:0;
  font-family: 'Anton', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .22em;
  font-size: 36px;
  color:#0b1220;
}

.fp-section-head__title span{
  color:#c81f26;
}

.fp-section-head__line{
  width: 54px;
  height: 3px;
  background: #c81f26;
  margin: 10px auto 0;
}

/* Left-accent section title (used on Home sections like "Featured Products") */
.fp-left-title{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin: 0 0 16px;
}

.fp-left-title__bar{
  width: 4px;
  height: 42px;
  background:#c81f26;
  border-radius: 2px;
  flex:0 0 auto;
}

.fp-left-title__title{
  margin:0;
  font-family: 'Anton', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-size: 36px;
  line-height: 1.05;
  color:#0b1220;
}

.fp-left-title__subtitle{
  margin: 8px 0 0;
  font-size: 18px;
  color:#475569;
}

@media (max-width: 768px){
  .fp-left-title__title{ font-size: 28px; }
  .fp-left-title__bar{ height: 34px; }
  .fp-left-title__subtitle{ font-size: 16px; }
}

.fp-team-dept{
  text-align:center;
  font-family: 'Anton', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .22em;
  font-size: 20px;
  margin: 28px 0 18px;
  color:#0b1220;
}

.fp-team-region{
  margin: 30px 0 14px;
  text-align:left;
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .12em;
  color:#c81f26;
  text-transform: uppercase;
}

.fp-team-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.fp-team-card{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 20px;
  display:flex;
  gap: 18px;
  align-items:flex-start;
  box-shadow: 0 14px 34px rgba(0,0,0,0.07);
}

.fp-team-card__avatar{
  width: 112px;
  flex: 0 0 112px;
}

.fp-team-card__avatar img{
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
  display:block;
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.fp-team-card__body{
  flex:1;
  min-width: 0;
  padding-top: 6px;
}

.fp-team-card__name{
  font-family: 'Anton', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .08em;
  color:#c81f26;
  font-size: 14px;
  text-transform: uppercase;
}

.fp-team-card__role{
  margin-top: 8px;
  color:#111827;
  font-size: 13px;
  font-weight: 600;
}

.fp-team-card__meta{
  margin-top: 12px;
  font-size: 12px;
  color:#374151;
}

.fp-team-card__row{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin-top: 6px;
}

.fp-team-card__row a,
.fp-team-card__row .fp-team-card__link{
  color:#111827;
  text-decoration:none;
  font-weight: 600;
}

.fp-team-card__row a:hover{
  text-decoration: underline;
}

.fp-team-ico{
  width: 18px;
  height: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
  opacity: 1;
}

.fp-team-ico svg{
  width: 18px;
  height: 18px;
  fill: #c81f26;
}

/* Responsive */
@media (max-width: 1024px){
  .fp-team-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fp-about-intro__grid{ grid-template-columns: 1fr; }
  .fp-about-hero{ padding: 64px 0 56px; }
}
@media (max-width: 640px){
  .fp-team-grid{ grid-template-columns: 1fr; }
  .fp-about-hero__title{ font-size: 44px; }
  .fp-section-head__title{ font-size: 28px; }
  .fp-about-services{ gap: 12px; }
  .fp-about-services__title{ font-size: 22px; }
  .fp-about-service{ width: 92px; }
  .fp-about-service__icon{ width: 78px; height: 78px; }
  .fp-about-service__icon img{ width: 72px; height: 72px; }
  .fp-about-intro__title{ font-size: 24px; }
  .fp-about-intro__copy p{ font-size: 16px; margin-bottom: 16px; }
  .fp-about-portfolio-image--clean img{ width: min(100%, 360px); }
}

@media (max-width: 1024px){
  .fp-about-intro__title{ font-size: 28px; }
  .fp-about-intro__copy p{ font-size: 17px; }
}


/* === News & Events (CPT) === */
.fp-container{max-width:1180px;margin:0 auto;padding:0 20px;}
.fp-archive-hero{padding:44px 0 26px;}
.fp-archive-title{font-size:44px;letter-spacing:0.08em;font-weight:800;margin:0 0 10px;}
.fp-archive-subtitle{margin:0;color:#6b7280;font-size:16px;max-width:720px;}
.fp-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:16px 0 44px;}
@media (max-width: 1024px){.fp-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 640px){.fp-archive-grid{grid-template-columns:1fr;}}
.fp-card{border:1px solid #e5e7eb;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.04);}
.fp-card__link{display:block;color:inherit;text-decoration:none;}
.fp-card__media{aspect-ratio:16/10;background:#f3f4f6;overflow:hidden;}
.fp-card__img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease;}
.fp-card:hover .fp-card__img{transform:scale(1.03);}
.fp-card__placeholder{width:100%;height:100%;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);}
.fp-card__body{padding:16px 16px 18px;}
.fp-card__kicker{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#9ca3af;margin-bottom:8px;}
.fp-card__title{margin:0 0 10px;font-size:18px;line-height:1.25;font-weight:800;letter-spacing:.04em;}
.fp-card__excerpt{margin:0 0 12px;color:#6b7280;font-size:14px;line-height:1.5;min-height:42px;}
.fp-card__meta{font-size:12px;color:#9ca3af;}
.fp-pagination{grid-column:1/-1;padding:8px 0 0;}
.fp-article-hero{padding:40px 0 22px;border-bottom:1px solid #e5e7eb;}
.fp-article-kicker{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#ef4444;margin-bottom:10px;}
.fp-article-title{margin:0 0 10px;font-size:46px;letter-spacing:.08em;font-weight:900;line-height:1.05;}
.fp-article-subtitle{margin:0 0 14px;color:#6b7280;font-size:16px;max-width:900px;}
.fp-article-meta{display:flex;gap:10px;flex-wrap:wrap;color:#9ca3af;font-size:12px;}
.fp-article-hero-media{margin-top:18px;border-radius:16px;overflow:hidden;border:1px solid #e5e7eb;}
.fp-article-hero-img{width:100%;height:auto;display:block;}
.fp-article-content{padding:26px 0 44px;max-width:920px;}
.fp-article-content p{line-height:1.75;}
.fp-article-back{padding:0 0 54px;}
.fp-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 18px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:12px;text-decoration:none;}
.fp-btn--primary{background:#c61a1a;color:#fff;}
.fp-btn--outline{border:1px solid #c61a1a;color:#c61a1a;background:transparent;}


.fp-page-intro{max-width:920px;margin:22px 0 10px;color:#6b7280;line-height:1.75;}

/* Home: Featured Products section */
.fp-featured { padding: 56px 0; background: #fff; }
.fp-featured__subtitle { margin: 10px 0 24px; color: #475569; font-size: 16px; }
.fp-featured__grid { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 18px; }
@media (max-width: 1200px){ .fp-featured__grid { grid-template-columns: repeat(4, minmax(220px, 1fr)); } }
@media (max-width: 992px){ .fp-featured__grid { grid-template-columns: repeat(3, minmax(220px, 1fr)); } }
@media (max-width: 720px){ .fp-featured { padding: 40px 0; } .fp-featured__grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); } }
@media (max-width: 420px){ .fp-featured__grid { grid-template-columns: 1fr; } }


/* CTA / Add to cart (yellow) */
.fp-btn--cta{background:#FDB913;color:#111827;border:1px solid #FDB913;}
.fp-btn--cta:hover{filter:brightness(0.95);}
.fp-btn--cta:disabled{opacity:.7;cursor:not-allowed;}

/* Footer fixes */
.fp-site-footer{background:#2B2B2B;color:#fff;}
.fp-site-footer a{color:#cbd5e1;}
.fp-site-footer a:hover{color:#fff;}
.fp-site-footer h3{color:#fff;}
.fp-footer-branding{display:flex;align-items:center;gap:16px;}
.fp-footer-branding img{max-width:64px;height:auto;}
.fp-footer-branding .fp-footer-slogan{color:#9ca3af;font-style:italic;margin-top:4px;}


/* Product cards: unified yellow Add to Cart button + hover (matches original design) */
.fp-atc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:44px;
  padding:0 14px;
  border-radius:10px;
  background:#F5B400;
  color:#111827;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:12px;
  text-decoration:none;
  border:0;
  cursor:pointer;
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.fp-atc-btn:hover{
  filter:brightness(.96);
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(0,0,0,.08);
}
.fp-atc-btn.fp-is-loading,
.fp-atc-btn[aria-busy="true"]{
  opacity:.85;
  cursor:progress;
}
.fp-atc-btn.fp-is-added{
  filter:brightness(.92);
}

/* Ensure Woo default button styles don't override our yellow card button */
.woocommerce a.button.fp-atc-btn,
.woocommerce button.button.fp-atc-btn,
.woocommerce input.button.fp-atc-btn{
  background:#F5B400 !important;
  color:#111827 !important;
}
.woocommerce a.button.fp-atc-btn:hover,
.woocommerce button.button.fp-atc-btn:hover,
.woocommerce input.button.fp-atc-btn:hover{
  background:#F5B400 !important;
  color:#111827 !important;
}


/* Woo fallback: in case a loop button renders without fp-atc-btn, force the same look inside our product cards. */
.fp-product-card a.button.add_to_cart_button,
.fp-product-card a.button.product_type_simple,
.fp-product-card a.button.product_type_variable,
.fp-product-card a.add_to_cart_button{
  background:#F5B400 !important;
  color:#111827 !important;
  border:0 !important;
  border-radius:10px !important;
  font-weight:800 !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;
  height:44px;
  line-height:44px;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100%;
  box-shadow:0 8px 18px rgba(17,24,39,.10);
}
.fp-product-card a.button.add_to_cart_button:hover,
.fp-product-card a.add_to_cart_button:hover{
  filter:brightness(.98);
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(17,24,39,.14);
}

/* Card layout consistency: keep actions aligned at the bottom even when some meta fields are missing */
.fp-product-card__meta{min-height:34px;}
.fp-product-card__pricing{min-height:56px;}
.fp-product-card__actions{margin-top:auto;}

/* Global safety net: force yellow Add to Cart on Woo archive loops (shop/category/shortcodes)
   even when products render outside our .fp-product-card wrapper. */
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple,
.woocommerce ul.products li.product a.product_type_variable,
.woocommerce ul.products li.product a.product_type_grouped,
.woocommerce ul.products li.product a.product_type_external,
.woocommerce ul.products li.product button.add_to_cart_button,
.woocommerce ul.products li.product button.product_type_simple,
.woocommerce ul.products li.product button.product_type_variable,
.woocommerce ul.products li.product button.product_type_grouped,
.woocommerce ul.products li.product button.product_type_external{
  background:#F5B400 !important;
  color:#111827 !important;
  border:0 !important;
  border-radius:10px !important;
  font-weight:800 !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;
  height:44px;
  line-height:44px;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  box-shadow:0 8px 18px rgba(17,24,39,.10);
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.woocommerce ul.products li.product a.product_type_simple:hover,
.woocommerce ul.products li.product a.product_type_variable:hover,
.woocommerce ul.products li.product a.product_type_grouped:hover,
.woocommerce ul.products li.product a.product_type_external:hover,
.woocommerce ul.products li.product button.add_to_cart_button:hover,
.woocommerce ul.products li.product button.product_type_simple:hover,
.woocommerce ul.products li.product button.product_type_variable:hover,
.woocommerce ul.products li.product button.product_type_grouped:hover,
.woocommerce ul.products li.product button.product_type_external:hover{
  filter:brightness(.96);
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(17,24,39,.14);
}


@media (max-width: 1024px){
  .fp-team-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* removed right media column – portfolio image lives in the intro right panel */
  .fp-about-services__icons{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .fp-team-grid{ grid-template-columns: 1fr; }
  .fp-about-hero{ padding: 72px 0 60px; }
  .fp-about-services__icons{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
}

/* ------------------------------------------------------------
 * Header refinements (Topbar button, search prominence, nav weight)
 * ------------------------------------------------------------ */


/* 3D Newsletter CTA (polished) */
.fp-topbar-newsletter-btn{
  position: relative;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  text-shadow: 0 1px 0 rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0)) , linear-gradient(180deg, #d92a30 0%, #b61b20 55%, #8f1216 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 10px 0 rgba(88, 8, 10, .38),
    0 20px 34px rgba(0,0,0,.22);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  overflow: hidden;
}
.fp-topbar-newsletter-btn::after{
  content:"";
  position:absolute;
  inset:0;
  height:55%;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
  border-radius: inherit;
  pointer-events:none;
}
.fp-topbar-newsletter-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 11px 0 rgba(88, 8, 10, .40),
    0 24px 42px rgba(0,0,0,.26);
}
.fp-topbar-newsletter-btn:active{
  transform: translateY(3px);
  filter: brightness(.98);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 6px 0 rgba(88, 8, 10, .36),
    0 14px 26px rgba(0,0,0,.20);
}
/* Search box: rounder + more visual weight */
.fp-header-search-input{
  border-radius: 999px !important;
  border-color: rgba(200,31,38,.28) !important;
  box-shadow: 0 10px 26px rgba(17,24,39,.10);
}
.fp-header-search-input:focus{
  box-shadow: 0 12px 30px rgba(17,24,39,.14);
}

/* Category nav: bold */
nav[data-fp-cat-nav] a[data-fp-cat-link],
nav[data-fp-cat-nav] button,
[data-fp-cat-mobile-menu] a{
  font-weight: 700;
}


/* Home section spacing (balanced: reduced but not cramped) */
.fp-home-section-pad{ padding: 32px 0 28px; }
@media (min-width: 1024px){ .fp-home-section-pad{ padding: 44px 0 36px; } }

/* Home: tighten vertical rhythm a bit (reduce large blank gaps, but keep breathing room) */
.fp-home-news{padding-top:36px;padding-bottom:20px;}
.fp-home-quote{padding-top:28px;}
@media (min-width: 1024px){
  .fp-home-news{padding-top:44px;padding-bottom:24px;}
  .fp-home-quote{padding-top:32px;}
}

/* Home gallery sizing: make mosaic smaller without changing width */
.fp-home-gallery{
  padding-top: 40px;
  padding-bottom: 24px;
}
@media (min-width: 1024px){
  .fp-home-gallery{ padding-top: 52px; }
}

/* Base (mobile / small): compact heights */
.fp-home-gallery .fp-gallery-left .fp-gallery-img{ height: 220px !important; }
.fp-home-gallery .fp-gallery-top .fp-gallery-img{ height: 120px !important; }
.fp-home-gallery .fp-gallery-bottom .fp-gallery-img{ height: 150px !important; }

/* Desktop / large */
@media (min-width: 1024px){
  /* Match the combined height of the right mosaic (top + gap + bottom) to avoid a white gap below the left tile */
  .fp-home-gallery .fp-gallery-left .fp-gallery-img{ height: 380px !important; }
  .fp-home-gallery .fp-gallery-top .fp-gallery-img{ height: 170px !important; }
  .fp-home-gallery .fp-gallery-bottom .fp-gallery-img{ height: 190px !important; }
}

/* Slightly tighter gaps/padding if utilities don't apply */
.fp-home-gallery .container{ padding-left: 24px; padding-right: 24px; }

/* Home gallery CTA buttons (editable per tile on Home) */
.fp-home-gallery .fp-home-gallery-btn{
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 9999px;
  background: #c81f26;
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.fp-home-gallery .fp-home-gallery-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.fp-home-gallery .fp-home-gallery-btn:focus{ outline: none; }
.fp-home-gallery .fp-home-gallery-btn:focus-visible{
  outline: 3px solid rgba(200,31,38,.35);
  outline-offset: 3px;
}

/* Home: tighten header spacing inside divider sections */
.fp-home-section-pad .mb-10{ margin-bottom: 32px !important; }
@media (min-width:1024px){ .fp-home-section-pad .mb-10{ margin-bottom: 36px !important; } }

/* Global page banner (About-like hero for internal pages) */
.fp-global-page-banner{
  position:relative;
  overflow:hidden;
  background: radial-gradient(1200px 240px at 35% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0) 55%),
              linear-gradient(180deg, #5b5b5b 0%, #3f3f3f 60%, #2f2f2f 100%);
  padding: 96px 0 84px;
  width:100%;
}
.fp-global-page-banner--has-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--fp-global-banner-bg);
  background-size: cover;
  background-position: center;
  opacity: .38;
  transform: scale(1.03);
}
.fp-global-page-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.70) 100%);
}
.fp-global-page-banner .fp-about-container{ position:relative; z-index:2; }
.fp-global-page-banner__title{
  margin:0;
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:600;
  letter-spacing:0.10em;
  font-size: clamp(54px, 5.2vw, 86px);
  line-height:1.02;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow:0 12px 30px rgba(0,0,0,0.55);
}
.fp-global-page-banner__subtitle{
  margin:18px 0 0;
  max-width:760px;
  color:rgba(255,255,255,0.90);
  -webkit-text-fill-color: rgba(255,255,255,0.90) !important;
  font-size:18px;
  font-weight:700;
  text-shadow:0 10px 20px rgba(0,0,0,0.45);
}
@media (max-width: 768px){
  .fp-global-page-banner{ padding:64px 0 56px; }
  .fp-global-page-banner__title{ font-size:44px; }
}

/* ------------------------------------------------------------
 * Mobile header rebuild
 * ------------------------------------------------------------ */
.fp-mobile-topbar-panel{
  background: rgba(255,255,255,.08);
}
.fp-mobile-topbar-link{
  display:block;
  width:100%;
  border-radius:14px;
  background:rgba(255,255,255,.92);
  color:#58595B;
  padding:12px 14px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  font-weight:800;
  text-align:center;
}
.fp-mobile-topbar-link:hover{
  background:#fff;
  color:#C81F26;
}

@media (max-width: 767px){
  .fp-topbar-newsletter-btn--mobile{
    padding:10px 12px !important;
    border-radius:999px;
    font-size:10px;
    letter-spacing:.14em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 0 rgba(88,8,10,.30), 0 14px 24px rgba(0,0,0,.18);
  }

  .fp-topbar-newsletter-btn--dealer{
    min-width: 0;
    white-space: nowrap;
  }

  .fp-main-header-row{
    gap:14px;
  }
  .fp-header-brand{
    width:100%;
    justify-content:center;
    min-width:0;
    margin-left:auto;
    margin-right:auto;
  }
  .fp-header-brand__logo{
    height:46px !important;
  }
  .fp-header-brand__slogan{
    height:40px !important;
    max-width:calc(100vw - 96px);
    object-fit:contain;
  }
  .fp-main-header-actions{
    width:100%;
    align-items:center;
    gap:8px;
  }
  .fp-header-academy,
  .fp-header-account,
  .fp-header-cart,
  .fp-header-quote{
    min-width:0;
  }
  .fp-header-academy{
    flex:1 1 auto;
    min-height:46px;
    padding-top:4px !important;
    padding-bottom:4px !important;
    padding-left:8px !important;
    padding-right:8px !important;
  }
  .fp-header-academy img{
    max-height:26px;
    width:auto;
  }
  .fp-header-account,
  .fp-header-cart,
  .fp-header-quote{
    flex:0 0 68px;
    min-height:46px;
    justify-content:center;
  }
  .fp-header-account svg,
  .fp-header-cart svg,
  .fp-header-quote svg{
    width:24px;
    height:24px;
  }
  .fp-header-account span,
  .fp-header-cart span,
  .fp-header-quote span{
    font-size:10px;
    letter-spacing:.09em;
    text-align:center;
    line-height:1.15;
  }
  .fp-main-header-search .fp-header-search-input{
    min-height:54px;
    padding-left:18px !important;
    padding-right:52px !important;
    font-size:16px;
  }
  .fp-main-header-search .fp-header-search-form button{
    right:16px;
  }

  [data-fp-cat-mobile]{
    gap:10px;
  }
  [data-fp-cat-mobile] > *{
    min-width:0;
  }
  [data-fp-cat-mobile-toggle]{
    flex:1 1 auto;
    justify-content:flex-start;
    padding:12px 14px;
    border:1px solid #d1d5db;
    border-radius:12px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.06);
    font-weight:800;
    letter-spacing:.14em;
    white-space:nowrap;
  }
  [data-fp-cat-mobile] a[data-fp-brands]{
    flex:0 0 auto;
    min-width:112px;
    text-align:center;
    padding:12px 16px !important;
    border-radius:14px !important;
  }
  [data-fp-cat-mobile-menu]{
    border-radius:0 0 16px 16px;
  }
  [data-fp-cat-mobile-menu] .container{
    padding-left:16px;
    padding-right:16px;
  }
  [data-fp-cat-mobile-menu] .grid{
    grid-template-columns:1fr;
  }
}


/* Mobile home carousels: featured, academy, categories, verticals */
@media (max-width: 767px){
  html, body{
    overflow-x:clip;
  }
  #page,
  .site,
  .site-content,
  .fp-featured,
  .fp-home-categories,
  .fp-home-verticals{
    overflow-x:clip;
  }
  .fp-featured .container,
  .fp-home-categories .container,
  .fp-home-verticals .container,
  .fp-academy-grid{
    min-width:0;
    max-width:100%;
  }
  .fp-featured__grid,
  .fp-academy-grid,
  .fp-home-categories .grid,
  .fp-home-verticals .grid{
    display:flex !important;
    flex-wrap:nowrap;
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:auto;
    overflow-y:hidden;
    gap:16px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    box-sizing:border-box;
    padding:4px 6px 12px;
    scroll-padding-left:6px;
  }
  .fp-featured__grid::-webkit-scrollbar,
  .fp-academy-grid::-webkit-scrollbar,
  .fp-home-categories .grid::-webkit-scrollbar,
  .fp-home-verticals .grid::-webkit-scrollbar{
    display:none;
  }

  .fp-featured__grid > .fp-product-card{
    flex:0 0 82%;
    max-width:82%;
    min-width:82%;
    scroll-snap-align:start;
    box-sizing:border-box;
  }

  .fp-academy-grid > .fp-academy-tile{
    flex:0 0 84%;
    max-width:84%;
    min-width:84%;
    scroll-snap-align:start;
    box-sizing:border-box;
  }

  .fp-home-categories .grid > a,
  .fp-home-verticals .grid > a,
  .fp-home-categories .grid > div,
  .fp-home-verticals .grid > div{
    flex:0 0 70%;
    max-width:70%;
    min-width:70%;
    scroll-snap-align:start;
    box-sizing:border-box;
  }

  .fp-home-categories .grid > a,
  .fp-home-categories .grid > div{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:20px 16px;
  }

  .fp-home-verticals .grid > a,
  .fp-home-verticals .grid > div{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px 14px;
    min-height:160px;
    justify-content:center;
  }

  .fp-home-categories .grid > a h3,
  .fp-home-verticals .grid > a h3,
  .fp-home-categories .grid > div h3,
  .fp-home-verticals .grid > div h3{
    min-height:34px;
  }

  .fp-home-categories .grid > a p,
  .fp-home-categories .grid > div p{
    max-width:none;
  }
}
