/* =========================================================
   FCX AUTOMOTIVE — design system
   All custom rules are scoped to .has-fcx-design (added via
   body_class() on our templates + WooCommerce shop/product
   pages) or prefixed fcx- so nothing here leaks onto default
   Blocksy pages the client may add later (blog, etc).
   ========================================================= */

.has-fcx-design{
  --fcx-navy-950:#070c16; --fcx-navy-900:#0b1424; --fcx-navy-800:#111d33; --fcx-navy-700:#182a48;
  --fcx-panel:#0f1a2e; --fcx-line:#26375a;
  --fcx-blue-500:#2f7fe0; --fcx-blue-400:#4fa3f0; --fcx-blue-300:#8cc4f5;
  --fcx-amber:#f2a53c; --fcx-amber-dark:#d98a1f;
  --fcx-ink-0:#f3f5f9; --fcx-ink-1:#c4ccdb; --fcx-ink-2:#8a95ac;
  --fcx-mono:'IBM Plex Mono', ui-monospace, monospace;
  --fcx-disp:'Barlow Condensed', sans-serif;
  --fcx-body:'Inter', sans-serif;
  --fcx-maxw:1280px;
  background:var(--fcx-navy-950);
  color:var(--fcx-ink-0);
  font-family:var(--fcx-body);
}
.has-fcx-design *{box-sizing:border-box;}
.has-fcx-design img{max-width:100%; display:block;}
.has-fcx-design a{text-decoration:none;}
.fcx-wrap{max-width:var(--fcx-maxw); margin:0 auto; padding:0 28px;}
.fcx-eyebrow{font-family:var(--fcx-mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--fcx-blue-400); display:flex; align-items:center; gap:10px; margin-bottom:14px;}
.fcx-eyebrow::before{content:""; width:22px; height:1px; background:var(--fcx-blue-400); display:inline-block;}
.has-fcx-design h1,.has-fcx-design h2,.has-fcx-design h3,.has-fcx-design h4{font-family:var(--fcx-disp); font-weight:700; letter-spacing:.01em; text-transform:uppercase; line-height:1.05; color:var(--fcx-ink-0);}

.fcx-btn{display:inline-flex; align-items:center; gap:10px; font-family:var(--fcx-mono); font-size:13px; letter-spacing:.06em; text-transform:uppercase; padding:14px 26px; border-radius:2px; border:1px solid transparent; cursor:pointer; transition:transform .15s ease, background .2s ease, border-color .2s ease; white-space:nowrap;}
.fcx-btn:hover{transform:translateY(-1px);}
.fcx-btn-amber{background:var(--fcx-amber); color:#1a1200;}
.fcx-btn-amber:hover{background:var(--fcx-amber-dark); color:#1a1200;}
.fcx-btn-outline{border-color:var(--fcx-line); color:var(--fcx-ink-0);}
.fcx-btn-outline:hover{border-color:var(--fcx-blue-400); background:rgba(79,163,240,.08);}
.fcx-btn-wa{background:#25D366; color:#08320f;}
.fcx-btn-wa:hover{background:#1fb958;}
.fcx-btn-block{width:100%; justify-content:center;}

.fcx-dim{display:flex; align-items:center; gap:8px; font-family:var(--fcx-mono); font-size:11px; color:var(--fcx-blue-300); letter-spacing:.08em;}
.fcx-dim .fcx-tick{flex:1; height:1px; background:linear-gradient(90deg, transparent, var(--fcx-line) 15%, var(--fcx-line) 85%, transparent); position:relative;}

/* topbar */
.fcx-topbar{background:var(--fcx-navy-950); border-bottom:1px solid var(--fcx-line); font-family:var(--fcx-mono); font-size:12px; color:var(--fcx-ink-2);}
.fcx-topbar .fcx-wrap{display:flex; align-items:center; justify-content:space-between; padding-top:9px; padding-bottom:9px; gap:20px; flex-wrap:wrap;}
.fcx-topbar-links{display:flex; gap:22px; flex-wrap:wrap;}
.fcx-topbar-links a{display:flex; align-items:center; gap:7px; color:var(--fcx-ink-2); transition:color .15s;}
.fcx-topbar-links a:hover{color:var(--fcx-blue-400);}
.fcx-topbar-links svg{width:13px; height:13px; flex:none;}
.fcx-langsw{display:flex; border:1px solid var(--fcx-line); border-radius:2px; overflow:hidden;}
.fcx-langsw a,.fcx-langsw button{background:transparent; border:none; color:var(--fcx-ink-2); font-family:var(--fcx-mono); font-size:11.5px; letter-spacing:.05em; padding:5px 11px; cursor:pointer; border-right:1px solid var(--fcx-line); text-transform:uppercase;}
.fcx-langsw a:last-child,.fcx-langsw button:last-child{border-right:none;}
.fcx-langsw .active,.fcx-langsw a.lang-item-current{background:var(--fcx-blue-500); color:#fff;}

/* Make the FCX logo prominent inside Blocksy's own header */
.has-fcx-design .site-logo-img,
.has-fcx-design .ct-logo img,
.has-fcx-design [class*="header"] img[class*="logo"]{
  max-height:64px !important;
  width:auto !important;
}

/* generic page hero */
.fcx-pagehero{position:relative; padding:70px 0 56px; border-bottom:1px solid var(--fcx-line); background:var(--fcx-navy-900);}
.fcx-pagehero h1{font-size:clamp(34px,5vw,56px);}
.fcx-pagehero p{color:var(--fcx-ink-1); max-width:560px; margin-top:16px; font-size:15.5px;}

/* home hero */
.fcx-hero{position:relative; min-height:82vh; display:flex; align-items:center; border-bottom:1px solid var(--fcx-line); overflow:hidden; background:var(--fcx-navy-950);}
.fcx-hero-bg{position:absolute; inset:0; z-index:0;}
.fcx-hero-bg img{width:100%; height:100%; object-fit:cover; object-position:65% 35%;}
.fcx-hero-bg::after{content:""; position:absolute; inset:0; background:linear-gradient(100deg, var(--fcx-navy-950) 10%, rgba(7,12,22,.86) 38%, rgba(7,12,22,.35) 62%, rgba(7,12,22,.15) 100%);}
.fcx-hero-content{position:relative; z-index:2; padding:80px 0 76px;}
.fcx-hero-content h1{font-size:clamp(36px,6vw,70px); max-width:820px; color:var(--fcx-ink-0);}
.fcx-hero-content h1 em{font-style:normal; color:var(--fcx-blue-400);}
.fcx-hero-sub{font-size:17px; color:var(--fcx-ink-1); max-width:520px; margin:22px 0 34px; font-weight:400;}
.fcx-hero-actions{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:48px;}
.fcx-hero-stats{display:flex; gap:0; flex-wrap:wrap; max-width:660px; border-top:1px solid var(--fcx-line);}
.fcx-hero-stats div{padding:18px 28px 0 0; border-right:1px solid var(--fcx-line); margin-right:28px;}
.fcx-hero-stats div:last-child{border-right:none;}
.fcx-hero-stats b{display:block; font-family:var(--fcx-disp); font-size:27px; color:var(--fcx-ink-0);}
.fcx-hero-stats span{font-family:var(--fcx-mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--fcx-ink-2);}

.has-fcx-design section{padding:88px 0;}
.fcx-section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:48px; flex-wrap:wrap;}
.fcx-section-head h2{font-size:clamp(27px,4vw,42px); max-width:640px;}
.fcx-section-head p{color:var(--fcx-ink-2); max-width:380px; font-size:15px; padding-bottom:4px;}
.fcx-border-y{border-top:1px solid var(--fcx-line); border-bottom:1px solid var(--fcx-line);}
.fcx-about{background:var(--fcx-navy-900);}

.fcx-about-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:start;}
.fcx-about-copy p{color:var(--fcx-ink-1); font-size:15.5px; margin-bottom:18px;}
.fcx-about-list{list-style:none; margin-top:24px; display:grid; gap:13px; padding:0;}
.fcx-about-list li{display:flex; gap:12px; font-size:14px; color:var(--fcx-ink-1); align-items:flex-start;}
.fcx-about-list li::before{content:"\203A"; color:var(--fcx-amber); font-weight:700; font-size:17px; line-height:1;}
.fcx-spec-panel{background:var(--fcx-panel); border:1px solid var(--fcx-line); padding:34px;}
.fcx-spec-panel .fcx-dim{margin-bottom:22px;}
.fcx-spec-row{display:flex; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--fcx-line); font-size:13.5px; gap:16px;}
.fcx-spec-row:last-child{border-bottom:none;}
.fcx-spec-row span:first-child{color:var(--fcx-ink-2); font-family:var(--fcx-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; flex:none;}
.fcx-spec-row span:last-child{color:var(--fcx-ink-0); font-weight:500; text-align:right;}

/* product grid */
.fcx-products{background:var(--fcx-navy-950);}
.fcx-pgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--fcx-line); border:1px solid var(--fcx-line);}
.fcx-pcard{background:var(--fcx-navy-900); display:flex; flex-direction:column; color:var(--fcx-ink-0);}
.fcx-pcard-img{aspect-ratio:4/3; overflow:hidden; position:relative; background:#000;}
.fcx-pcard-img img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
.fcx-pcard:hover .fcx-pcard-img img{transform:scale(1.06);}
.fcx-pcard-code{position:absolute; top:14px; left:14px; font-family:var(--fcx-mono); font-size:11px; background:rgba(7,12,22,.78); color:var(--fcx-blue-300); padding:5px 9px; letter-spacing:.06em; border:1px solid var(--fcx-line);}
.fcx-pcard-body{padding:24px 24px 28px; flex:1; display:flex; flex-direction:column;}
.fcx-pcard-body h3{font-size:21px; margin-bottom:10px; letter-spacing:.02em;}
.fcx-pcard-body p{color:var(--fcx-ink-2); font-size:13.5px; margin-bottom:16px; flex:1;}
.fcx-pcard-link{font-family:var(--fcx-mono); font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--fcx-blue-400);}

/* why / features */
.fcx-why{background:var(--fcx-navy-900);}
.fcx-fgrid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--fcx-line); border:1px solid var(--fcx-line); margin-top:8px;}
.fcx-fcard{background:var(--fcx-navy-900); padding:32px 24px;}
.fcx-fcard .fcx-fnum{font-family:var(--fcx-mono); color:var(--fcx-amber); font-size:12px; letter-spacing:.08em; margin-bottom:20px; display:block;}
.fcx-fcard h4{font-size:18px; margin-bottom:11px; letter-spacing:.02em;}
.fcx-fcard p{color:var(--fcx-ink-2); font-size:13.5px;}

/* cta banner */
.fcx-banner{background:var(--fcx-navy-800); border-top:1px solid var(--fcx-line); border-bottom:1px solid var(--fcx-line);}
.fcx-banner-inner{display:flex; align-items:center; justify-content:space-between; gap:36px; padding:56px 0; flex-wrap:wrap;}
.fcx-banner h3{font-size:clamp(22px,3.2vw,34px); max-width:560px;}
.fcx-banner p{color:var(--fcx-ink-1); margin-top:10px; max-width:460px; font-size:14.5px;}

/* contact */
.fcx-contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
.fcx-contact-info-list{display:grid; gap:0; margin-top:22px; border-top:1px solid var(--fcx-line);}
.fcx-cinfo-row{display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--fcx-line); align-items:flex-start;}
.fcx-cinfo-row svg{width:19px; height:19px; color:var(--fcx-blue-400); flex:none; margin-top:2px;}
.fcx-cinfo-row b{display:block; font-family:var(--fcx-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--fcx-ink-2); margin-bottom:4px;}
.fcx-cinfo-row div a,.fcx-cinfo-row div span{font-size:14.5px; color:var(--fcx-ink-0);}
.fcx-quick-btns{display:flex; gap:12px; margin-top:24px; flex-wrap:wrap;}
.fcx-quick-btns a{flex:1; min-width:140px; justify-content:center;}
.fcx-hours-table{margin-top:18px; font-family:var(--fcx-mono); font-size:12.5px; color:var(--fcx-ink-1); display:grid; gap:8px; max-width:340px;}
.fcx-hours-table div{display:flex; justify-content:space-between; border-bottom:1px dashed var(--fcx-line); padding-bottom:6px;}
.fcx-map-wrap{border:1px solid var(--fcx-line); height:270px; margin-top:30px; filter:grayscale(.3) contrast(1.05); overflow:hidden;}
.fcx-map-wrap iframe{width:100%; height:100%; border:0;}
.fcx-form-panel{background:var(--fcx-panel); border:1px solid var(--fcx-line); padding:38px;}
.fcx-form-panel h3{font-size:23px; margin-bottom:8px;}
.fcx-form-panel > p{color:var(--fcx-ink-2); font-size:13.5px; margin-bottom:24px;}
.fcx-field{margin-bottom:17px;}
.fcx-field label{display:block; font-family:var(--fcx-mono); font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--fcx-ink-2); margin-bottom:7px;}
.fcx-field input,.fcx-field textarea,.fcx-field select{width:100%; background:var(--fcx-navy-950); border:1px solid var(--fcx-line); color:var(--fcx-ink-0); padding:11px 13px; font-family:var(--fcx-body); font-size:14px; border-radius:2px;}
.fcx-field input:focus,.fcx-field textarea:focus,.fcx-field select:focus{border-color:var(--fcx-blue-400); outline:none;}
.fcx-field-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.fcx-form-status{margin-top:14px; font-size:13px; color:var(--fcx-blue-400); font-family:var(--fcx-mono);}

/* catalogue flipbook */
.fcx-catalogue{background:var(--fcx-navy-950);}
.fcx-flipbook-wrap{display:flex; flex-direction:column; align-items:center; gap:22px;}
.fcx-flipbook{position:relative; width:100%; max-width:640px; aspect-ratio:3/2; perspective:2200px; margin:0 auto;}
.fcx-fb-page{position:absolute; inset:0; background:var(--fcx-panel); border:1px solid var(--fcx-line); overflow:hidden; display:flex; align-items:center; justify-content:center; backface-visibility:hidden; transition:transform .6s cubic-bezier(.6,.05,.3,1), box-shadow .6s; cursor:pointer;}
.fcx-fb-page img{width:100%; height:100%; object-fit:cover;}
.fcx-fb-controls{display:flex; align-items:center; gap:20px;}
.fcx-fb-controls button{background:var(--fcx-panel); border:1px solid var(--fcx-line); color:var(--fcx-ink-0); width:42px; height:42px; border-radius:2px; cursor:pointer; font-size:18px;}
.fcx-fb-controls button:hover{border-color:var(--fcx-blue-400);}
.fcx-fb-controls button:disabled{opacity:.35; cursor:not-allowed;}
.fcx-fb-count{font-family:var(--fcx-mono); font-size:13px; color:var(--fcx-ink-2); letter-spacing:.06em;}
.fcx-cat-cta{display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-top:6px;}

/* footer */
.fcx-site-footer{background:var(--fcx-navy-950); border-top:1px solid var(--fcx-line); padding-top:60px; margin-top:0;}
.fcx-foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:46px; padding-bottom:50px;}
.fcx-foot-brand img{height:42px; margin-bottom:16px;}
.fcx-foot-brand p{color:var(--fcx-ink-2); font-size:13.5px; max-width:280px; margin-bottom:18px;}
.fcx-foot-col h5{font-family:var(--fcx-mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--fcx-ink-2); margin-bottom:18px;}
.fcx-foot-col ul{list-style:none; display:grid; gap:11px; padding:0; margin:0;}
.fcx-foot-col a{color:var(--fcx-ink-1); font-size:14px;}
.fcx-foot-col a:hover{color:var(--fcx-blue-400);}
.fcx-foot-contact{display:grid; gap:11px; margin-top:2px;}
.fcx-foot-contact a,.fcx-foot-contact span{display:flex; gap:9px; font-size:13.5px; color:var(--fcx-ink-1); align-items:flex-start;}
.fcx-foot-contact svg{width:14px; height:14px; color:var(--fcx-blue-400); flex:none; margin-top:3px;}
.fcx-social{display:flex; gap:10px; margin-top:18px;}
.fcx-social a{width:33px; height:33px; border:1px solid var(--fcx-line); display:flex; align-items:center; justify-content:center; border-radius:2px; color:var(--fcx-ink-1);}
.fcx-social a:hover{border-color:var(--fcx-blue-400); color:var(--fcx-blue-400);}
.fcx-social svg{width:14px; height:14px;}
.fcx-foot-bottom{border-top:1px solid var(--fcx-line); padding:20px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-family:var(--fcx-mono); font-size:11.5px; color:var(--fcx-ink-2);}
.fcx-foot-bottom a{color:var(--fcx-ink-2);}
.fcx-foot-bottom a:hover{color:var(--fcx-blue-400);}

.fcx-wa-float{position:fixed; bottom:26px; right:26px; z-index:9999; width:56px; height:56px; background:#25D366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,.4); transition:transform .15s;}
.fcx-wa-float:hover{transform:scale(1.07);}
.fcx-wa-float svg{width:27px; height:27px; fill:#fff;}

/* -----------------------------------------------------------
   WooCommerce reskin — Shop archive (Products page) and Single
   Product page, scoped so it only applies where WooCommerce
   renders (body.fcx-tpl-shop, added by inc/setup.php).
   ----------------------------------------------------------- */
body.fcx-tpl-shop.has-fcx-design{background:var(--fcx-navy-950); color:var(--fcx-ink-0);}
body.fcx-tpl-shop ul.products{display:grid !important; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--fcx-line); border:1px solid var(--fcx-line); list-style:none; margin:40px 0 !important; padding:0 !important;}
body.fcx-tpl-shop ul.products li.product{background:var(--fcx-navy-900); padding:0 !important; margin:0 !important; width:100% !important;}
body.fcx-tpl-shop ul.products li.product a{color:var(--fcx-ink-0); text-decoration:none;}
body.fcx-tpl-shop ul.products li.product img{aspect-ratio:4/3; object-fit:cover;}
body.fcx-tpl-shop ul.products li.product .woocommerce-loop-product__title{font-family:var(--fcx-disp); text-transform:uppercase; font-size:20px; padding:20px 20px 6px;}
body.fcx-tpl-shop ul.products li.product .price{padding:0 20px 20px; color:var(--fcx-amber); font-family:var(--fcx-mono);}
body.fcx-tpl-shop ul.products li.product .button{margin:0 20px 22px; background:var(--fcx-amber); color:#1a1200; border-radius:2px; font-family:var(--fcx-mono); text-transform:uppercase; font-size:12px; letter-spacing:.06em;}
body.fcx-tpl-shop .woocommerce-breadcrumb,
body.fcx-tpl-shop nav.woocommerce-pagination a,
body.fcx-tpl-shop nav.woocommerce-pagination span{color:var(--fcx-ink-1);}

body.fcx-tpl-shop.single-product div.product{max-width:var(--fcx-maxw); margin:40px auto; padding:0 28px;}
body.fcx-tpl-shop.single-product div.product .summary{color:var(--fcx-ink-0);}
body.fcx-tpl-shop.single-product div.product .summary .price{color:var(--fcx-amber); font-family:var(--fcx-mono); font-size:22px;}
body.fcx-tpl-shop.single-product div.product .summary h1.product_title{font-family:var(--fcx-disp); text-transform:uppercase; font-size:clamp(28px,4vw,42px);}
body.fcx-tpl-shop.single-product .woocommerce-product-gallery{border:1px solid var(--fcx-line);}
body.fcx-tpl-shop.single-product form.cart .button{background:var(--fcx-blue-500); color:#fff; border-radius:2px; font-family:var(--fcx-mono); text-transform:uppercase; letter-spacing:.06em;}

.fcx-pd-code{display:inline-block; font-family:var(--fcx-mono); font-size:12px; color:var(--fcx-blue-300); letter-spacing:.08em; background:var(--fcx-panel); border:1px solid var(--fcx-line); padding:4px 10px; margin-bottom:10px;}
.fcx-pd-actions{display:flex; gap:12px; flex-wrap:wrap; margin:22px 0;}
.fcx-pd-block{margin-top:28px; border-top:1px solid var(--fcx-line); padding-top:22px;}
.fcx-pd-block h4{font-family:var(--fcx-mono); font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--fcx-ink-2); margin-bottom:14px;}
.fcx-pd-models{font-size:14px; color:var(--fcx-ink-1); background:var(--fcx-panel); border:1px solid var(--fcx-line); padding:16px 18px; line-height:1.6;}
.fcx-pd-quoteform{margin-top:32px; border-top:1px solid var(--fcx-line); padding-top:26px;}
.fcx-pd-quoteform h4{font-family:var(--fcx-disp); text-transform:uppercase; font-size:20px; margin-bottom:16px; color:var(--fcx-ink-0);}

@media (max-width:980px){
  .fcx-about-grid,.fcx-contact-grid{grid-template-columns:1fr; gap:40px;}
  .fcx-pgrid,body.fcx-tpl-shop ul.products{grid-template-columns:repeat(2,1fr) !important;}
  .fcx-fgrid{grid-template-columns:repeat(2,1fr);}
  .fcx-foot-grid{grid-template-columns:1fr 1fr; gap:32px;}
}
@media (max-width:640px){
  .fcx-wrap{padding:0 18px;}
  .has-fcx-design section{padding:60px 0;}
  .fcx-pgrid,body.fcx-tpl-shop ul.products{grid-template-columns:1fr !important;}
  .fcx-fgrid{grid-template-columns:1fr;}
  .fcx-foot-grid{grid-template-columns:1fr; gap:28px;}
  .fcx-field-row{grid-template-columns:1fr;}
  .fcx-hero-content{padding:120px 0 50px;}
  .fcx-topbar .fcx-wrap{flex-direction:column; align-items:flex-start; gap:8px;}
}
