/*
Theme Name: CHASABAD LANDING FORCE
Theme URI: https://chasabad.com/
Author: Generated for Saif
Description: Forces homepage to show the Chasabad Family Pack landing (green background, white text) with WooCommerce checkout styling + WhatsApp button + COD/bKash/Nagad.
Version: 2.0.0
License: GPLv2 or later
Text Domain: chasabad-landing-force
*/

:root{
  --bg:#0f7a3a;
  --bg2:#0b5a2b;
  --white:#ffffff;
  --border: rgba(255,255,255,0.18);
  --shadow: 0 16px 40px rgba(0,0,0,0.25);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1100px;
  --pad: clamp(16px, 3vw, 28px);
  --h1: clamp(28px, 4vw, 44px);
  --h2: clamp(20px, 2.6vw, 28px);
  --p: clamp(15px, 1.2vw, 17px);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Bengali","Hind Siliguri",Arial,sans-serif;
  background: linear-gradient(180deg,var(--bg),var(--bg2));
  color: var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
.container{width:min(var(--max), calc(100% - 2*var(--pad))); margin:0 auto;}
.card{
  background: rgba(0,0,0,0.16);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header{
  position:sticky;top:0;z-index:50;
  background: rgba(15,122,58,0.96);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand-mark{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background: rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.22);
}
.brand-mark svg{width:22px;height:22px;fill:#fff}
.brand-text .name{font-weight:1000;letter-spacing:.3px;font-size:18px;line-height:1.1}
.brand-text .tag{font-size:12px;color:rgba(255,255,255,0.88);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:999px;
  border:1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10);
  font-weight:1000;font-size:13px;
}
.pill .dot{width:8px;height:8px;border-radius:999px;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,0.18);}

.hero{padding: clamp(24px, 5vw, 56px) 0;}
.hero-grid{display:grid;grid-template-columns: 1.12fr .88fr;gap:18px;align-items:stretch}
.hero-card{padding: clamp(18px, 3.2vw, 30px);position:relative;overflow:hidden}
.hero-card:before{
  content:"";position:absolute;inset:-80px -80px auto auto;
  width:320px;height:320px;border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.22), transparent 65%);
}
.hero h1{margin:0 0 8px;font-size:var(--h1);line-height:1.12;font-weight:1000}
.hero .sub{margin:0 0 16px;font-size:var(--p);color:rgba(255,255,255,0.95)}
.kicker{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  font-weight:1000;font-size:13px;
}
.badge svg{width:16px;height:16px;fill:#fff}

.summary{padding: clamp(16px, 3vw, 26px);}
.summary h2{margin:0 0 10px;font-size:var(--h2);font-weight:1000}
.highlight{padding:14px;border-radius:var(--radius-sm);border:1px dashed rgba(255,255,255,0.35);background: rgba(255,255,255,0.12);margin-top:12px}
.highlight .label{font-size:12px;color:rgba(255,255,255,0.85);font-weight:900}
.highlight .value{margin-top:2px;font-size:20px;font-weight:1000}
.callout{margin-top:12px;padding:14px;border-radius:var(--radius-sm);border:1px solid rgba(255,255,255,0.25);background: rgba(255,255,255,0.12);}
.callout .title{font-weight:1000}
.callout .text{margin-top:6px;font-size:14px;color:rgba(255,255,255,0.92)}

.section{padding: 0 0 34px;}
.section-title{font-size:var(--h2);font-weight:1000;margin:0 0 14px;display:flex;align-items:center;gap:10px;}
.section-title .bar{width:36px;height:6px;border-radius:999px;background:linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.30));}

.items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.item{
  padding:14px;border-radius:var(--radius-sm);
  border:1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
  display:flex;gap:12px;align-items:flex-start;
}
.item .num{
  width:34px;height:34px;border-radius:12px;
  display:grid;place-items:center;
  background: rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.22);
  font-weight:1000;
}
.item .t{font-weight:1000;margin-bottom:4px}
.item .d{font-size:14px;color:rgba(255,255,255,0.95)}

.form-card{padding: clamp(16px, 3vw, 26px);}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.field{display:flex;flex-direction:column;gap:6px}
label{font-size:13px;color:rgba(255,255,255,0.90);font-weight:900}
input,textarea{
  width:100%;padding:12px;border-radius:12px;
  border:1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.96);
  color:#0b5a2b;font-size:15px;outline:none;
}
textarea{min-height:100px;resize:vertical}
.full{grid-column:1/-1}
.btn{
  width:100%;border:0;cursor:pointer;
  padding:14px 16px;border-radius:14px;
  font-weight:1000;font-size:16px;
  background:#ffffff;color:#0b5a2b;
  box-shadow:0 16px 36px rgba(0,0,0,0.28);
}
.notice{
  margin-top:12px;padding:12px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.22);
  font-weight:900;
}

.about{padding: clamp(16px, 3vw, 26px);}
.about p{margin:0 0 10px;font-size:var(--p);color:rgba(255,255,255,0.95)}

.site-footer{border-top:1px solid rgba(255,255,255,0.18);padding:18px 0;margin-top:18px;background:rgba(0,0,0,0.10)}
.footer-inner{display:flex;justify-content:center;align-items:center;text-align:center}
.footer-inner .copy{font-weight:1000;background: rgba(255,255,255,0.10);border:1px solid rgba(255,255,255,0.20);padding:6px 10px;border-radius:999px;}

/* Woo checkout styling */
.woocommerce, .woocommerce-page{color:#fff}
.woocommerce form.checkout,
.woocommerce .woocommerce-checkout-review-order-table,
.woocommerce .woocommerce-checkout-payment{
  background: rgba(0,0,0,0.16);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:14px;
  padding:14px;
}
.woocommerce table.shop_table{width:100%;border-collapse:separate;border-spacing:0}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td{
  border-top:1px solid rgba(255,255,255,0.14);
  padding:12px 10px;
  color:#fff;
}
.woocommerce table.shop_table thead th{
  border-top:0;
  background: rgba(255,255,255,0.08);
  font-weight:1000;
  color:rgba(255,255,255,0.92);
}
.woocommerce table.shop_table td.product-name{font-weight:900;text-align:left}
.woocommerce table.shop_table td.product-total,
.woocommerce table.shop_table td{text-align:right}
.woocommerce table.shop_table tfoot tr.order-total th,
.woocommerce table.shop_table tfoot tr.order-total td{
  font-size:18px;
  background: rgba(255,255,255,0.10);
}
.woocommerce #place_order,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button{
  border-radius:14px !important;
  padding:14px 16px !important;
  font-weight:1000 !important;
  background:#fff !important;
  color:#0b5a2b !important;
  border:0 !important;
  width:100% !important;
}
@media (max-width:920px){
  .hero-grid{grid-template-columns:1fr}
  .items{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
}
@media (max-width:560px){
  .header-inner{flex-direction:column;align-items:flex-start}
  .pill{width:100%;justify-content:center}
}

/* Floating WhatsApp */
.cfp-wa-float{
  position:fixed;right:16px;bottom:16px;z-index:9999;
  display:flex;align-items:center;gap:10px;
  padding:12px 14px;border-radius:999px;
  background: rgba(255,255,255,0.95);
  color:#0b5a2b;
  box-shadow:0 16px 36px rgba(0,0,0,0.28);
}
.cfp-wa-float svg{width:20px;height:20px}
@media (max-width:420px){
  .cfp-wa-float span{display:none}
  .cfp-wa-float{padding:12px}
}
