/*
Theme Name: FunnelIQ Shop
Theme URI: https://funneliq.agency
Author: FunnelIQ
Author URI: https://funneliq.agency
Description: A clean, lightweight WooCommerce theme for Bangladeshi Cash-on-Delivery stores. Uses WooCommerce's own templates so every standard funnel hook fires intact (shop, product, add to cart, cart, checkout, purchase) — ideal for testing tracking and order flow.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: funneliq-shop
WC requires at least: 8.0
WC tested up to: 9.5
*/

:root{
  --fq-bg:#f6f7fb; --fq-card:#ffffff; --fq-ink:#141a26; --fq-muted:#5b667a;
  --fq-line:#e6e9f0; --fq-brand:#1f66e6; --fq-brand-ink:#ffffff; --fq-accent:#0bb07b;
  --fq-radius:14px; --fq-shadow:0 2px 10px rgba(20,26,38,.06);
  --fq-wrap:1180px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--fq-bg); color:var(--fq-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Hind Siliguri",Arial,sans-serif;
  font-size:16px; line-height:1.6;
}
img{max-width:100%; height:auto}
a{color:var(--fq-brand); text-decoration:none}
a:hover{text-decoration:underline}
.container{width:100%; max-width:var(--fq-wrap); margin:0 auto; padding:0 16px}

/* Header */
.site-header{position:sticky; top:0; z-index:50; background:var(--fq-card); border-bottom:1px solid var(--fq-line)}
.site-header .bar{display:flex; align-items:center; gap:16px; min-height:64px}
.site-brand{display:flex; align-items:center; gap:10px; font-weight:800; font-size:20px; color:var(--fq-ink)}
.site-brand:hover{text-decoration:none}
.site-brand .dot{width:26px;height:26px;border-radius:8px;background:var(--fq-brand);display:inline-block}
.main-nav{margin-left:auto}
.main-nav ul{list-style:none; display:flex; gap:18px; margin:0; padding:0}
.main-nav a{color:var(--fq-ink); font-weight:600; font-size:15px}
.header-cart{display:flex; align-items:center; gap:8px; font-weight:700; color:var(--fq-ink); white-space:nowrap}
.header-cart:hover{text-decoration:none}
.header-cart .count{background:var(--fq-brand); color:#fff; border-radius:999px; min-width:22px; height:22px;
  display:inline-flex; align-items:center; justify-content:center; font-size:12px; padding:0 6px}

/* Content */
.site-content{padding:26px 0 50px}
.site-main{background:transparent}
.page-wrap{background:var(--fq-card); border:1px solid var(--fq-line); border-radius:var(--fq-radius);
  box-shadow:var(--fq-shadow); padding:26px}

/* Hero (front page) */
.fq-hero{background:linear-gradient(135deg,#1f66e6,#1247b0); color:#fff; border-radius:18px; padding:40px 28px; margin-bottom:26px}
.fq-hero h1{margin:0 0 8px; font-size:30px; line-height:1.2}
.fq-hero p{margin:0 0 18px; opacity:.92; max-width:620px}
.fq-hero .btn{display:inline-block; background:#fff; color:var(--fq-brand); font-weight:800; padding:12px 22px; border-radius:10px}
.fq-hero .btn:hover{text-decoration:none; opacity:.95}

/* WooCommerce tidy-ups */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
  background:var(--fq-card); border:1px solid var(--fq-line); border-radius:var(--fq-radius);
  box-shadow:var(--fq-shadow); padding:12px !important; text-align:center; transition:transform .12s ease, box-shadow .12s ease}
.woocommerce ul.products li.product:hover{transform:translateY(-3px); box-shadow:0 8px 22px rgba(20,26,38,.1)}
.woocommerce ul.products li.product img{border-radius:10px; margin-bottom:10px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px !important; font-weight:700; padding:4px 0 !important}
.woocommerce ul.products li.product .price{color:var(--fq-ink); font-weight:800}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{
  background:var(--fq-brand); color:var(--fq-brand-ink); border-radius:10px; font-weight:700; padding:.7em 1.1em}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover{
  background:#1550c4}
.woocommerce span.onsale{background:var(--fq-accent); border-radius:999px}
.woocommerce .star-rating span{color:#f0a020}
.woocommerce-message, .woocommerce-info{border-top-color:var(--fq-brand)}
.woocommerce-breadcrumb{color:var(--fq-muted); margin-bottom:16px; font-size:14px}

/* Single product */
.single-product div.product .product_title{font-size:26px}
.single-product div.product p.price, .single-product div.product span.price{color:var(--fq-ink); font-weight:800; font-size:22px}

/* Footer */
.site-footer{background:#101521; color:#aeb6c6; padding:28px 0; margin-top:40px}
.site-footer a{color:#dbe2ef}
.site-footer .bar{display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between}

/* Posts / pages */
.entry-title{margin-top:0}
.hentry{margin-bottom:24px}

@media (max-width:860px){
  .fq-hero h1{font-size:24px}
  .main-nav{display:none}
}
@media (max-width:600px){
  .page-wrap{padding:16px}
}
