/* ==========================================================================
   FIREXIT — Design Tokens & Base Styles
   Derived from approved Figma design (green/orange/red agri brand palette)
   ========================================================================== */

:root{
  --fx-green-dark:#0e4d2b;
  --fx-green:#155c2f;
  --fx-green-light:#e9f0e2;
  --fx-olive:#6e7a2e;
  --fx-orange:#f07c1d;
  --fx-orange-dark:#e0670a;
  --fx-red:#e0392b;
  --fx-cream:#fdf6e3;
  --fx-cream-2:#fff8e1;
  --fx-text:#22281f;
  --fx-text-light:#5d6356;
  --fx-white:#ffffff;
  --fx-border:#e7e2d2;
  --fx-radius:10px;
  --fx-radius-lg:16px;
  --fx-shadow:0 4px 18px rgba(0,0,0,.08);
  --fx-font: 'Poppins', Arial, sans-serif;
  --fx-font-heading: 'Poppins', Arial, sans-serif;
}

*{box-sizing:border-box;}
body.firexit{
  font-family:var(--fx-font);
  color:var(--fx-text);
  margin:0;
  background:var(--fx-white);
  line-height:1.6;
}
.fx-container{max-width:1320px;margin:0 auto;padding:0 24px;}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
h1,h2,h3,h4{font-family:var(--fx-font-heading);margin:0 0 12px;line-height:1.25;}
.fx-section{padding:64px 0;}
.fx-center{text-align:center;}
.fx-muted{color:var(--fx-text-light);}

/* Buttons */
.fx-btn{
  display:inline-block;
  padding:14px 30px;
  border-radius:6px;
  font-weight:600;
  font-size:14px;
  letter-spacing:.02em;
  border:none;
  cursor:pointer;
  transition:.2s ease;
}
.fx-btn-primary{background:var(--fx-red);color:#fff;}
.fx-btn-primary:hover{background:var(--fx-orange-dark);}
.fx-btn-dark{background:#1b1b1b;color:#fff;}
.fx-btn-dark:hover{background:#000;}
.fx-btn-outline{background:transparent;border:1px solid #1b1b1b;color:#1b1b1b;}

/* ---------- Top bar ---------- */
.fx-topbar{background:var(--fx-green-dark);color:#fff;font-size:13px;}
.fx-topbar .fx-container{display:flex;justify-content:space-between;align-items:center;padding:8px 24px;}
.fx-topbar a{color:#fff;}
.fx-topbar-left span{margin-right:22px;}
.fx-topbar-left i,.fx-topbar-left .dashicons{margin-right:6px;}
.fx-topbar-right{display:flex;align-items:center;gap:18px;}

/* ---------- Header / Nav ---------- */
.fx-header{padding:18px 0;border-bottom:1px solid var(--fx-border);background:#fff;}
.fx-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;}
.fx-logo img{max-height:48px;}
.fx-logo-text{font-weight:800;font-size:26px;}
.fx-nav ul{display:flex;gap:30px;list-style:none;margin:0;padding:0;}
.fx-nav a{font-weight:600;color:#1b1b1b;font-size:15px;}
.fx-nav a:hover, .fx-nav .current-menu-item a{color:var(--fx-red);}
.fx-header-icons{display:flex;align-items:center;gap:16px;}
.fx-header-icons a{font-size:18px;color:#1b1b1b;position:relative;}
.fx-header-icons .fx-search-box{background:var(--fx-green-dark);color:#fff;width:38px;height:38px;border-radius:6px;display:flex;align-items:center;justify-content:center;}
.fx-breadcrumb{padding:18px 0;font-size:14px;color:var(--fx-text-light);}
.fx-breadcrumb a{color:var(--fx-text-light);}
.fx-breadcrumb .current{color:#1b1b1b;}

/* ---------- Home Hero ---------- */
.fx-hero{position:relative;background-size:cover;background-position:center;min-height:420px;display:flex;align-items:center;}
.fx-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.45) 100%);}
.fx-hero-content{position:relative;z-index:2;max-width:560px;margin-left:auto;padding:0 60px;color:#fff;}
.fx-hero-content h1{font-size:42px;color:#fff;}
.fx-hero-content p{margin-bottom:24px;}
.fx-hero-buttons{display:flex;gap:14px;}

/* Feature tiles below hero */
.fx-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:40px 0;}
.fx-tile{position:relative;border-radius:var(--fx-radius);overflow:hidden;min-height:160px;background-size:cover;background-position:center;color:#fff;display:flex;align-items:flex-end;}
.fx-tile::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35);}
.fx-tile-body{position:relative;z-index:2;padding:18px;display:flex;align-items:center;justify-content:space-between;width:100%;font-weight:700;}
.fx-tile-arrow{background:#fff;color:#000;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;}

/* Products */
.fx-products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.fx-product-card{border:1px solid var(--fx-border);border-radius:var(--fx-radius);overflow:hidden;background:#fff;transition:.2s;}
.fx-product-card:hover{box-shadow:var(--fx-shadow);transform:translateY(-3px);}
.fx-product-img{position:relative;height:240px;overflow:hidden;}
.fx-product-img img{width:100%;height:100%;object-fit:cover;}
.fx-wishlist-btn{position:absolute;top:12px;right:12px;background:#fff;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;}
.fx-rating-badge{position:absolute;bottom:12px;left:12px;background:#fff;padding:4px 10px;border-radius:6px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:4px;}
.fx-rating-badge .fx-star{color:var(--fx-orange);}
.fx-product-body{padding:18px;}
.fx-product-body h3{font-size:17px;margin-bottom:4px;}
.fx-price{margin:8px 0;font-weight:600;}
.fx-price del{color:#999;margin-left:6px;font-weight:400;}
.fx-price .fx-off{color:var(--fx-red);margin-right:6px;}
.fx-product-actions{display:flex;gap:10px;margin-top:12px;}
.fx-product-actions a, .fx-product-actions button{flex:1;text-align:center;padding:10px;font-size:13px;border-radius:6px;font-weight:600;cursor:pointer;}
.fx-product-actions .fx-add-cart{background:#1b1b1b;color:#fff;border:none;}
.fx-product-actions .fx-explore{background:#fff;border:1px solid #1b1b1b;color:#1b1b1b;}

/* Banner split (Growing Trust / About basket) */
.fx-banner-split{background:var(--fx-olive);color:#fff;border-radius:var(--fx-radius-lg);display:flex;align-items:center;gap:40px;padding:50px;overflow:hidden;}
.fx-banner-split img{border-radius:50%;width:320px;height:320px;object-fit:cover;}
.fx-banner-split .fx-banner-text{flex:1;}
.fx-banner-split h2{color:#fff;font-size:32px;}

/* Why choose us */
.fx-why{display:grid;grid-template-columns:1fr 1px 2fr;gap:40px;align-items:start;}
.fx-why-divider{background:var(--fx-border);}
.fx-why-list{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.fx-why-item{display:flex;gap:14px;}
.fx-why-icon{width:46px;height:46px;border-radius:50%;background:var(--fx-red);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}

/* CTA strip */
.fx-cta-strip{background:var(--fx-orange);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:28px 50px;border-radius:0;gap:24px;flex-wrap:wrap;}
.fx-cta-strip .fx-btn-dark{background:#1b1b1b;}
.fx-cta-strip .fx-btn-outline{border-color:#fff;color:#fff;}

/* Testimonial */
.fx-testimonial-wrap{position:relative;background-size:cover;background-position:center;border-radius:var(--fx-radius-lg);padding:90px 0;overflow:hidden;}
.fx-testimonial-card{background:rgba(255,255,255,.95);max-width:760px;margin:0 auto;padding:40px 50px;border-radius:var(--fx-radius);position:relative;}
.fx-testimonial-head{display:flex;align-items:center;gap:16px;margin-bottom:18px;}
.fx-avatar-fallback{width:54px;height:54px;border-radius:50%;background:var(--fx-red);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:20px;}
.fx-testimonial-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.6);display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;}
.fx-testimonial-nav.prev{left:30px;}
.fx-testimonial-nav.next{right:30px;}
.fx-stars{color:var(--fx-orange);}

/* FAQ accordion */
.fx-faq-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:1100px;margin:0 auto;}
.fx-faq-item{background:var(--fx-olive);color:#fff;border-radius:8px;overflow:hidden;}
.fx-faq-q{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:600;}
.fx-faq-a{padding:0 22px;max-height:0;overflow:hidden;transition:max-height .25s ease;background:rgba(255,255,255,.08);}
.fx-faq-item.open .fx-faq-a{padding:14px 22px;max-height:300px;}
.fx-faq-actions{display:flex;gap:14px;justify-content:center;margin-top:26px;}

/* Contact section */
.fx-contact-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.fx-contact-card{border:1px solid var(--fx-border);border-radius:var(--fx-radius);padding:24px;display:flex;gap:14px;align-items:flex-start;}
.fx-contact-icon{width:42px;height:42px;border-radius:50%;background:var(--fx-cream-2);display:flex;align-items:center;justify-content:center;}
.fx-contact-split{display:grid;grid-template-columns:1fr 1fr;border-radius:var(--fx-radius-lg);overflow:hidden;}
.fx-contact-form-panel{background:rgba(0,40,15,.55);padding:50px;color:#fff;position:relative;}
.fx-contact-form-panel h2{color:#fff;}
.fx-contact-image-panel{min-height:100%;background-size:cover;background-position:center;}
.fx-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px;}
.fx-form-row.full{grid-template-columns:1fr;}
.fx-field{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.3);border-radius:6px;padding:14px 16px;color:#fff;width:100%;font-family:var(--fx-font);}
.fx-field::placeholder{color:rgba(255,255,255,.7);}
textarea.fx-field{min-height:110px;resize:vertical;}
.fx-checkbox-row{display:flex;align-items:center;gap:10px;margin:14px 0 20px;font-size:14px;}
.fx-form-msg{margin-top:14px;font-size:14px;}
.fx-form-msg.success{color:#9cf0b0;}
.fx-form-msg.error{color:#ffb0a8;}

/* ---------- About Us ---------- */
.fx-about-hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;}
.fx-about-hero h1{font-size:34px;}
.fx-stats-bar{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--fx-border);border-radius:var(--fx-radius);padding:24px 0;margin:24px 0;}
.fx-stats-bar div{text-align:center;border-right:1px solid var(--fx-border);}
.fx-stats-bar div:last-child{border-right:none;}
.fx-stats-bar strong{font-size:26px;display:block;}
.fx-about-media{position:relative;}
.fx-about-media img.main{border-radius:var(--fx-radius-lg);}
.fx-honeycomb-overlay{position:absolute;left:-30px;bottom:-30px;width:55%;}
.fx-priority-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.fx-priority-card{border:1px solid var(--fx-border);border-radius:var(--fx-radius);padding:30px 20px;text-align:center;}
.fx-priority-card .fx-icon-circle{width:54px;height:54px;border-radius:50%;background:var(--fx-cream-2);display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}

.fx-gauge-section{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;}
.fx-feature-badge{display:inline-flex;align-items:center;gap:8px;background:var(--fx-orange);color:#fff;padding:6px 14px;border-radius:20px;font-size:13px;margin-bottom:14px;}
.fx-feature-list{list-style:none;padding:0;}
.fx-feature-list li{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px;}
.fx-feature-list .check{width:20px;height:20px;border-radius:50%;background:var(--fx-red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0;margin-top:2px;}

/* ---------- Single Product ---------- */
.fx-product-page{display:grid;grid-template-columns:90px 1fr 420px;gap:24px;}
.fx-product-thumbs{display:flex;flex-direction:column;gap:10px;}
.fx-product-thumbs img{border-radius:8px;border:1px solid var(--fx-border);cursor:pointer;}
.fx-product-main-img{border-radius:var(--fx-radius);overflow:hidden;}
.fx-product-summary{border:1px solid var(--fx-border);border-radius:var(--fx-radius);padding:24px;}
.fx-badge-new{color:var(--fx-orange-dark);font-weight:700;font-size:12px;letter-spacing:.05em;}
.fx-product-summary h1{font-size:26px;margin:8px 0;}
.fx-qty-row{display:flex;align-items:center;gap:10px;margin:18px 0;}
.fx-qty-input{display:flex;border:1px solid var(--fx-border);border-radius:6px;overflow:hidden;}
.fx-qty-input button{background:#f3f3f3;border:none;width:36px;cursor:pointer;}
.fx-qty-input input{width:46px;text-align:center;border:none;}
.fx-summary-buttons{display:flex;gap:10px;margin-bottom:14px;}
.fx-summary-buttons .fx-btn{flex:1;}
.fx-shipping-note{font-size:13px;border-top:1px solid var(--fx-border);padding-top:14px;}
.fx-tabs{display:flex;gap:0;border-bottom:1px solid var(--fx-border);margin-top:40px;}
.fx-tab{padding:14px 26px;cursor:pointer;font-weight:600;color:#888;}
.fx-tab.active{background:var(--fx-orange);color:#fff;}
.fx-tab-panel{padding:30px 0;display:none;}
.fx-tab-panel.active{display:block;}
.fx-checklist{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.fx-checklist li{display:flex;gap:10px;}
.fx-checklist .dot{width:20px;height:20px;border-radius:50%;background:var(--fx-red);color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px;}

/* ---------- My Account ---------- */
.fx-account-hero{position:relative;background-size:cover;background-position:center;border-radius:var(--fx-radius-lg);padding:80px 0;text-align:center;overflow:hidden;}
.fx-account-circle{width:340px;height:340px;border-radius:50%;background:var(--fx-olive);color:#fff;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;}
.fx-account-circle img{width:110px;height:110px;border-radius:50%;object-fit:cover;border:6px solid rgba(255,255,255,.2);margin-bottom:14px;}
.fx-account-circle h2{color:#fff;}
.fx-account-panel{background:var(--fx-cream-2);border-radius:var(--fx-radius-lg);padding:30px;margin-bottom:24px;}
.fx-account-panel h3{margin-bottom:18px;}
.fx-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.fx-account-link{background:var(--fx-orange);color:#fff;display:flex;align-items:center;gap:14px;padding:18px 22px;border-radius:6px;font-weight:700;}
.fx-account-link:hover{background:var(--fx-orange-dark);color:#fff;}
.fx-account-link .arrow{background:rgba(255,255,255,.25);width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;}

/* ---------- Marquee strip ---------- */
.fx-marquee{background:var(--fx-orange);color:#fff;overflow:hidden;white-space:nowrap;padding:14px 0;font-weight:600;}
.fx-marquee span{display:inline-block;padding:0 24px;}

/* ---------- Footer ---------- */
.fx-footer{background:#161410;color:#cfcabf;position:relative;background-size:cover;}
.fx-footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.4fr;gap:30px;padding:60px 0 30px;}
.fx-footer h4{color:#fff;margin-bottom:16px;}
.fx-footer ul{list-style:none;padding:0;margin:0;}
.fx-footer li{margin-bottom:10px;}
.fx-footer a{color:#cfcabf;}
.fx-footer-social{display:flex;gap:10px;margin-top:16px;}
.fx-footer-social a{width:32px;height:32px;border-radius:50%;border:1px solid #555;display:flex;align-items:center;justify-content:center;}
.fx-newsletter-form{display:flex;margin-bottom:12px;}
.fx-newsletter-form input{flex:1;padding:12px 14px;border:none;border-radius:4px 0 0 4px;}
.fx-newsletter-form button{background:var(--fx-red);color:#fff;border:none;padding:12px 20px;border-radius:0 4px 4px 0;font-weight:700;cursor:pointer;}
.fx-footer-bottom{border-top:1px solid #333;padding:20px 0;display:flex;justify-content:space-between;font-size:13px;}
.fx-footer-bottom a{margin-right:14px;}
.fx-scroll-top{position:fixed;bottom:30px;right:30px;background:#444;color:#fff;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;}

/* Responsive */
@media (max-width: 992px){
  .fx-tiles, .fx-products-grid, .fx-priority-cards, .fx-faq-list, .fx-contact-cards, .fx-why-list{grid-template-columns:repeat(2,1fr);}
  .fx-about-hero, .fx-gauge-section, .fx-contact-split, .fx-why{grid-template-columns:1fr;}
  .fx-product-page{grid-template-columns:1fr;}
  .fx-footer-inner{grid-template-columns:1fr 1fr;}
}
@media (max-width: 600px){
  .fx-tiles, .fx-products-grid, .fx-priority-cards, .fx-faq-list, .fx-contact-cards, .fx-account-grid, .fx-stats-bar, .fx-checklist{grid-template-columns:1fr;}
  .fx-nav{display:none;}
  .fx-footer-inner{grid-template-columns:1fr;}
  .fx-stats-bar div{border-right:none;border-bottom:1px solid var(--fx-border);padding-bottom:14px;margin-bottom:14px;}
}
