/*
Theme Name: Smart Choice BD
Theme URI: https://smartchoicebd.lovable.app
Author: Smart Choice BD
Author URI: https://smartchoicebd.lovable.app
Description: Smart Choice BD landing page theme — X05 High Speed Cooling Fan & Foldable Turbo Fan. Multi-product checkout, Bangla UI, cash on delivery.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-choice-bd
Tags: landing-page, e-commerce, one-product, bangla, custom-colors
*/

/* Base reset */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Hind Siliguri","Noto Sans Bengali",system-ui,-apple-system,sans-serif;background:#ffffff;color:#1f2433;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}
input,select,textarea{font-family:inherit;font-size:16px}

/* Brand tokens */
:root{
  --brand:#F47C20;
  --brand-dark:#d8651b;
  --brand-soft:#fff3e6;
  --navy:#1e2a5e;
  --navy-dark:#162149;
  --bg:#ffffff;
  --surface:#fafafa;
  --border:#e6e7ec;
  --muted:#6b7280;
  --text:#1f2433;
  --success:#16a34a;
  --danger:#dc2626;
  --radius:14px;
  --shadow-card:0 18px 50px -22px rgba(30,42,94,0.28);
  --shadow-glow:0 14px 36px -14px rgba(244,124,32,0.55);
}

/* Layout */
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 16px}
.section{padding:56px 0}
.section-sm{padding:32px 0}
h1,h2,h3,h4{font-weight:700;letter-spacing:-0.01em;margin:0 0 12px}
h1{font-size:clamp(28px,4vw,44px);line-height:1.15}
h2{font-size:clamp(22px,3vw,32px)}
h3{font-size:20px}
p{margin:0 0 12px}

/* Top bar */
.topbar{background:var(--navy);color:#fff;font-size:14px}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;flex-wrap:wrap;gap:8px}
.topbar a{color:#fff;opacity:.95}

/* Header */
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}
.site-header-inner{display:flex;justify-content:space-between;align-items:center;padding:12px 16px}
.brand-logo{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--navy)}
.brand-logo img{width:44px;height:44px;border-radius:10px;object-fit:cover}
.brand-logo span{font-size:18px}
.header-phone{display:flex;align-items:center;gap:8px;background:var(--brand-soft);color:var(--brand-dark);font-weight:700;padding:8px 14px;border-radius:999px}

/* Hero */
.hero{background:linear-gradient(180deg,#fff7ee 0%,#ffffff 60%);padding:48px 0}
.hero-grid{display:grid;grid-template-columns:1fr;gap:32px;align-items:center}
@media(min-width:860px){.hero-grid{grid-template-columns:1.05fr 1fr}}
.hero-eyebrow{display:inline-block;background:var(--brand-soft);color:var(--brand-dark);font-weight:700;padding:6px 14px;border-radius:999px;font-size:13px;margin-bottom:14px}
.hero h1 strong{color:var(--brand)}
.hero-lead{color:var(--muted);font-size:17px;max-width:520px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.hero-trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;color:var(--muted);font-size:14px}
.hero-trust span{display:flex;align-items:center;gap:6px}
.hero-img{position:relative}
.hero-img img{border-radius:24px;box-shadow:var(--shadow-card)}
.hero-badge{position:absolute;top:14px;left:14px;background:var(--brand);color:#fff;font-weight:800;padding:10px 14px;border-radius:12px;box-shadow:var(--shadow-glow)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:12px;font-weight:700;font-size:16px;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;line-height:1}
.btn-brand{background:var(--brand);color:#fff;box-shadow:var(--shadow-glow)}
.btn-brand:hover{transform:translateY(-2px);filter:brightness(1.05)}
.btn-navy{background:var(--navy);color:#fff}
.btn-outline{background:#fff;border:2px solid var(--brand);color:var(--brand-dark)}
.btn-ghost{background:#f3f4f6;color:var(--text)}
.btn-danger{background:#fee2e2;color:var(--danger);font-weight:600}
.btn-block{display:flex;width:100%}
.btn-lg{padding:18px 26px;font-size:18px}

/* Features */
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.feature-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow-card)}
.feature-card h3{color:var(--navy);font-size:17px;margin-bottom:6px}
.feature-card p{color:var(--muted);font-size:14px;margin:0}
.feature-icon{width:44px;height:44px;border-radius:12px;background:var(--brand-soft);color:var(--brand-dark);display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:12px;font-weight:800}

/* Products section */
.products-head{text-align:center;margin-bottom:32px}
.products-head .eyebrow{color:var(--brand);font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.product-grid{display:grid;grid-template-columns:1fr;gap:22px}
@media(min-width:780px){.product-grid{grid-template-columns:1fr 1fr}}
.product-card{background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-card);display:flex;flex-direction:column}
.product-card .pimg{aspect-ratio:1/1;background:#f7f7f9;overflow:hidden}
.product-card .pimg img{width:100%;height:100%;object-fit:cover}
.product-card .pbody{padding:20px;display:flex;flex-direction:column;gap:10px;flex:1}
.product-card h3{margin:0;color:var(--navy)}
.product-card .pprice{display:flex;align-items:baseline;gap:8px}
.product-card .pprice .now{color:var(--brand);font-weight:800;font-size:22px}
.product-card .pprice .was{color:var(--muted);text-decoration:line-through;font-size:14px}
.product-card .pfeat{display:flex;gap:6px;flex-wrap:wrap}
.product-card .pfeat span{background:var(--brand-soft);color:var(--brand-dark);padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600}
.product-card .pcta{margin-top:auto;display:flex;gap:8px}

/* Checkout */
.checkout{background:linear-gradient(180deg,#ffffff 0%,#fff7ee 100%);padding:56px 0}
.checkout-grid{display:grid;grid-template-columns:1fr;gap:22px}
@media(min-width:960px){.checkout-grid{grid-template-columns:1.4fr 1fr}}
.box{background:#fff;border:1px solid var(--border);border-radius:18px;padding:22px;box-shadow:var(--shadow-card)}
.box h2{display:flex;align-items:center;gap:10px;font-size:20px;color:var(--navy);margin-bottom:6px}
.box .sub{color:var(--muted);font-size:14px;margin-bottom:18px}
.step-num{display:inline-flex;width:30px;height:30px;border-radius:10px;background:var(--brand);color:#fff;align-items:center;justify-content:center;font-weight:800;font-size:15px}
.badge-count{background:var(--brand-soft);color:var(--brand-dark);font-weight:700;font-size:12px;padding:4px 10px;border-radius:999px;margin-left:auto}

/* Product picker rows */
.pick-list{display:flex;flex-direction:column;gap:14px}
.pick-row{border:2px solid var(--border);border-radius:14px;padding:14px;transition:border .2s,background .2s}
.pick-row.is-selected{border-color:var(--brand);background:#fffaf3}
.pick-top{display:flex;gap:14px;align-items:center}
.pick-thumb{width:80px;height:80px;border-radius:12px;overflow:hidden;background:#f7f7f9;flex-shrink:0}
.pick-thumb img{width:100%;height:100%;object-fit:cover}
.pick-info{flex:1;min-width:0}
.pick-info h4{margin:0 0 4px;color:var(--navy);font-size:16px}
.pick-price{color:var(--brand);font-weight:800}
.pick-was{color:var(--muted);text-decoration:line-through;font-size:13px;margin-left:6px}
.pick-actions{margin-top:14px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.qty{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:10px;overflow:hidden}
.qty button{width:36px;height:36px;background:#f9fafb;font-weight:700;font-size:18px}
.qty .val{min-width:36px;text-align:center;font-weight:700}
.line-total{margin-left:auto;font-weight:800;color:var(--navy)}

/* Color picker */
.colors{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.color-swatch{display:flex;align-items:center;gap:8px;padding:6px 12px;border:2px solid var(--border);border-radius:999px;background:#fff;font-size:13px;font-weight:600;color:var(--text)}
.color-swatch .dot{width:18px;height:18px;border-radius:50%;border:1px solid rgba(0,0,0,.1)}
.color-swatch.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark)}

/* Form fields */
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.field label{font-weight:600;font-size:14px;color:var(--navy)}
.field input,.field select,.field textarea{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#fff;transition:border .2s,box-shadow .2s}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(244,124,32,.15)}
.area-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.area-opt{border:2px solid var(--border);border-radius:12px;padding:14px;cursor:pointer;text-align:center;font-weight:600;transition:all .2s}
.area-opt:hover{border-color:var(--brand)}
.area-opt.is-active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark)}
.area-opt small{display:block;color:var(--muted);font-weight:500;margin-top:2px}
.area-opt.is-active small{color:var(--brand-dark)}

/* Summary */
.summary-row{display:flex;justify-content:space-between;padding:8px 0;font-size:15px}
.summary-row.total{border-top:2px dashed var(--border);margin-top:8px;padding-top:14px;font-size:20px;font-weight:800;color:var(--navy)}
.summary-row.total span:last-child{color:var(--brand)}
.summary-items{border-bottom:1px solid var(--border);padding-bottom:10px;margin-bottom:10px}
.summary-items div{display:flex;justify-content:space-between;font-size:14px;color:var(--muted);padding:4px 0}

/* FAQ */
.faq{display:flex;flex-direction:column;gap:10px;max-width:780px;margin:0 auto}
.faq details{background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px 18px;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.faq summary{cursor:pointer;font-weight:700;color:var(--navy);list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq summary::after{content:"+";font-size:22px;color:var(--brand)}
.faq details[open] summary::after{content:"−"}
.faq details p{margin:10px 0 0;color:var(--muted)}

/* Footer */
.footer{background:var(--navy);color:#dfe3f5;padding:36px 0 20px;margin-top:32px}
.footer-grid{display:grid;grid-template-columns:1fr;gap:22px}
@media(min-width:780px){.footer-grid{grid-template-columns:2fr 1fr 1fr}}
.footer h4{color:#fff;margin-bottom:10px;font-size:16px}
.footer a:hover{color:#fff}
.footer .copy{border-top:1px solid rgba(255,255,255,.1);margin-top:24px;padding-top:14px;text-align:center;font-size:13px;color:#9aa3c7}

/* Toast */
.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--navy);color:#fff;padding:12px 20px;border-radius:10px;font-weight:600;z-index:200;box-shadow:var(--shadow-card);animation:slideUp .3s ease}
@keyframes slideUp{from{opacity:0;transform:translate(-50%,20px)}to{opacity:1;transform:translate(-50%,0)}}

/* Section headings centered */
.section-head{text-align:center;margin-bottom:32px}
.section-head .eyebrow{color:var(--brand);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:13px}
.section-head h2{color:var(--navy)}
.section-head p{color:var(--muted);max-width:640px;margin:8px auto 0}

/* Sticky mobile CTA */
.sticky-cta{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);padding:10px 16px;display:none;z-index:60;box-shadow:0 -8px 24px rgba(0,0,0,.08)}
@media(max-width:780px){.sticky-cta{display:block} body{padding-bottom:80px}}

/* ===== Added sections (Lovable parity) ===== */
.brand-hero{padding:28px 0 8px}
.brand-hero-logo{width:88px;height:88px;border-radius:50%;object-fit:cover;margin:0 auto;box-shadow:0 0 0 6px rgba(244,124,32,.15)}
.brand-hero-name{font-weight:800;font-size:22px;margin-top:12px;letter-spacing:.02em}
.brand-hero-name .navy{color:var(--navy)}
.brand-hero-name .orange{color:var(--brand)}
.brand-hero-tag{color:var(--muted);font-size:12px;letter-spacing:.18em;margin-top:4px}

.hero-price{margin-top:18px}
.hero-price .was-price{color:var(--muted);text-decoration:line-through;font-size:13px}
.hero-price .now-price{color:var(--brand);font-size:44px;font-weight:800;line-height:1}
.hero-price .free-ship{color:var(--success);font-size:12px;margin-top:4px;font-weight:600}
.hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.hero-chips span{background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:6px 12px;font-size:13px;color:var(--text)}
.btn-pulse{box-shadow:0 0 0 0 rgba(244,124,32,.55);animation:scbdPulse 2s infinite}
@keyframes scbdPulse{0%{box-shadow:0 0 0 0 rgba(244,124,32,.55)}70%{box-shadow:0 0 0 14px rgba(244,124,32,0)}100%{box-shadow:0 0 0 0 rgba(244,124,32,0)}}

.feature-section{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.img-feature-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:720px){.img-feature-grid{grid-template-columns:1fr 1fr}}
.img-feature-card{background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-card);transition:.3s}
.img-feature-card:hover{border-color:rgba(244,124,32,.5);transform:translateY(-2px)}
.ifc-img{aspect-ratio:4/3;overflow:hidden}
.ifc-img img{width:100%;height:100%;object-fit:cover;transition:.5s}
.img-feature-card:hover .ifc-img img{transform:scale(1.05)}
.ifc-body{padding:20px}
.ifc-body h3{color:var(--navy);font-size:19px}
.ifc-body p{color:var(--muted);font-size:14px;margin:6px 0 0}

.inline-cta-section{padding:24px 0}
.inline-cta{display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:space-between;padding:20px;border:1px solid rgba(244,124,32,.3);background:linear-gradient(90deg,var(--brand-soft),#fff,var(--brand-soft));border-radius:18px;box-shadow:var(--shadow-card);text-align:center}
@media(min-width:640px){.inline-cta{flex-direction:row;text-align:left}}
.ic-title{font-weight:700;color:var(--navy)}
.ic-sub{font-size:13px;color:var(--muted)}
.ic-sub strong{color:var(--brand)}

.icon-feature-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:640px){.icon-feature-grid{grid-template-columns:1fr 1fr}}
@media(min-width:960px){.icon-feature-grid{grid-template-columns:1fr 1fr 1fr}}
.icon-feature{background:#fff;border:1px solid var(--border);border-radius:18px;padding:22px;transition:.3s}
.icon-feature:hover{border-color:rgba(244,124,32,.5);box-shadow:var(--shadow-glow)}
.if-icon{width:44px;height:44px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);border-radius:12px;font-size:20px}
.icon-feature h3{margin-top:14px;color:var(--navy);font-size:17px}
.icon-feature p{color:var(--muted);font-size:14px;margin:6px 0 0}

.specs-section{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.specs-table{background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-card)}
.specs-table table{width:100%;border-collapse:collapse;font-size:15px}
.specs-table th{text-align:left;padding:14px 18px;color:var(--navy);font-weight:600;width:50%}
.specs-table td{text-align:right;padding:14px 18px;color:var(--brand);font-weight:700}
.specs-table tr:nth-child(even){background:var(--surface)}

.package-grid{display:grid;grid-template-columns:1fr;gap:30px;align-items:center}
@media(min-width:860px){.package-grid{grid-template-columns:1fr 1fr}}
.pkg-list{list-style:none;padding:0;margin:18px 0 0;display:flex;flex-direction:column;gap:10px}
.pkg-list li{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px}
.pkg-check{width:24px;height:24px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:14px;flex-shrink:0}
.pkg-img-wrap img{border-radius:24px;border:1px solid var(--border);box-shadow:var(--shadow-card)}
