/**
 * Theme Name: Spectra One
 * Author: Brainstorm Force
 * Author URI: https://brainstormforce.com/
 * Description: Spectra One modified for MarketApp - Banifox Dark & Lime Green Style
 * Version: 1.2.6
*/

:root {
  --bfx-green: #97c300;
  --bfx-green-hover: #82a800;
  --bfx-dark: #181a20;
  --bfx-header: #20232a;
  --bfx-nav: #16181e;
  --bfx-footer: #14161b;
  --bfx-bg: #f6f6f8;
  --bfx-text: #2d3748;
  --bfx-text-light: #718096;
  --bfx-border: #e2e8f0;
}

body {
  background-color: var(--bfx-bg) !important;
  color: var(--bfx-text) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  margin: 0;
  padding: 0;
}

/* TOP BAR */
.bfx-top-bar {
  background-color: var(--bfx-dark);
  color: #a0aec0;
  font-size: 12px;
  padding: 8px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2d323f;
}
.bfx-top-bar a {
  color: #cbd5e0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.bfx-top-bar a:hover {
  color: var(--bfx-green);
}

/* MAIN HEADER */
.bfx-main-header {
  background-color: var(--bfx-header);
  padding: 16px 30px;
  border-bottom: 1px solid #2d323f;
}
.bfx-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.bfx-logo-text {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff !important;
  text-decoration: none;
  letter-spacing: -0.5px;
  line-height: 1;
  display: inline-block;
}
.bfx-logo-text span {
  color: var(--bfx-green);
}
.bfx-logo-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #a0aec0;
  margin-top: 3px;
}

/* SEARCH BOX */
.bfx-search-box {
  flex: 1;
  max-width: 700px;
}
.bfx-search-box form {
  display: flex;
  width: 100%;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--bfx-green);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.bfx-search-box input[type="search"] {
  flex: 1;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  outline: none;
  color: #1a202c;
  background: transparent;
}
.bfx-search-btn {
  background-color: var(--bfx-green) !important;
  border: none !important;
  padding: 0 24px !important;
  color: var(--bfx-dark) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bfx-search-btn:hover {
  background-color: var(--bfx-green-hover) !important;
}

/* HEADER ACTIONS */
.bfx-header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}
.bfx-header-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  gap: 4px;
  transition: color 0.2s;
}
.bfx-header-action-item:hover {
  color: var(--bfx-green) !important;
}

/* CATEGORY NAVBAR */
.bfx-cat-nav {
  background-color: var(--bfx-nav);
  border-bottom: 2px solid var(--bfx-green);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.bfx-cat-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 20px;
}
.bfx-cat-nav-link {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 14px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  display: inline-block;
  white-space: nowrap;
}
.bfx-cat-nav-link:hover {
  color: var(--bfx-green) !important;
  background-color: rgba(151,195,0,0.12);
}

/* WOOCOMMERCE PRODUCT CARDS */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin: 20px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
@media (max-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
}
.woocommerce ul.products li.product {
  background: #ffffff !important;
  border: 1px solid var(--bfx-border) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
  transition: all 0.25s ease !important;
}
.woocommerce ul.products li.product:hover {
  border-color: var(--bfx-green) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08) !important;
}
.woocommerce ul.products li.product a img {
  height: 200px !important;
  width: 100% !important;
  object-fit: contain !important;
  margin-bottom: 12px !important;
  transition: transform 0.2s ease !important;
}
.woocommerce ul.products li.product:hover a img {
  transform: scale(1.03) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #181a20 !important;
  line-height: 1.4 !important;
  height: 38px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  margin: 8px 0 !important;
}
.woocommerce ul.products li.product .price {
  color: var(--bfx-green) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  margin: 8px 0 14px 0 !important;
  display: block !important;
}
.woocommerce ul.products li.product .price del {
  color: #a0aec0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
.woocommerce ul.products li.product .button {
  background-color: var(--bfx-green) !important;
  color: var(--bfx-dark) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 10px 16px !important;
  border-radius: 4px !important;
  width: 100% !important;
  text-align: center !important;
  border: none !important;
  display: block !important;
  box-sizing: border-box !important;
  transition: background 0.2s ease !important;
}
.woocommerce ul.products li.product .button:hover {
  background-color: var(--bfx-green-hover) !important;
}

/* FOOTER */
.bfx-footer {
  background-color: var(--bfx-footer) !important;
  color: #cbd5e0 !important;
  padding: 50px 0 20px 0 !important;
  margin-top: 60px !important;
  border-top: 3px solid var(--bfx-green) !important;
}
.bfx-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 1024px) {
  .bfx-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bfx-footer-inner { grid-template-columns: 1fr; }
}
.bfx-footer-col h4 {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: 2px solid var(--bfx-green) !important;
  padding-bottom: 10px !important;
  margin-bottom: 18px !important;
}
.bfx-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.bfx-footer-col li {
  margin-bottom: 10px !important;
  list-style: none !important;
}
.bfx-footer-col a {
  color: #a0aec0 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: color 0.2s ease !important;
}
.bfx-footer-col a:hover {
  color: var(--bfx-green) !important;
  padding-left: 3px;
}
.bfx-footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0 auto;
  padding: 20px 30px 0 30px;
  border-top: 1px solid #2d323f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #718096;
}

