/*
Theme Name:   Bonedi Child
Theme URI:    https://bonedihome.com
Description:  বনেদি হোম ডেকরের জন্য Blocksy চাইল্ড থিম — ব্র্যান্ডের রঙ, বাংলা ফন্ট, রঙ বাছাইয়ের বোতাম, মোবাইলে স্টিকি অর্ডার বার, আর দুটো পূর্ণাঙ্গ টেমপ্লেট — বনেদি হোম ও বনেদি ল্যান্ডিং।
Author:       Bonedi Home Decor
Template:     blocksy
Version:      1.6.0
Text Domain:  bonedi-child
*/

:root{
  --bnd-brown:#412611; --bnd-cream:#FAF4E8; --bnd-beige:#F9E4C7;
  --bnd-copper:#A8712C; --bnd-green:#2C4A3B; --bnd-line:#E5D9C3; --bnd-muted:#6B5A4C;
  --bnd-serif:'Noto Serif Bengali','Hind Siliguri',Georgia,serif;
  --bnd-sans:'Noto Sans Bengali','Hind Siliguri',system-ui,sans-serif;
}

/* ---------- Base ---------- */
body{background:var(--bnd-cream);color:var(--bnd-brown);font-family:var(--bnd-sans);line-height:1.7}
h1,h2,h3,h4,.entry-title,.product_title{font-family:var(--bnd-serif);color:var(--bnd-brown);line-height:1.3}
a{color:var(--bnd-brown)} a:hover{color:var(--bnd-copper)}
img{max-width:100%;height:auto}

/* ---------- Top bar ---------- */
.bnd-topbar{background:var(--bnd-brown);color:var(--bnd-cream);font-size:13px;text-align:center;padding:7px 12px;line-height:1.4}
.bnd-topbar a{color:var(--bnd-cream);font-weight:600;text-decoration:none;white-space:nowrap}

/* ---------- Buttons ---------- */
.button,button.button,.wp-element-button,.wp-block-button__link,
.single_add_to_cart_button,.checkout-button,#place_order{
  background:var(--bnd-brown)!important;color:var(--bnd-cream)!important;border:0!important;
  border-radius:6px!important;font-weight:700!important;font-family:var(--bnd-sans)!important;
  min-height:48px;padding:12px 22px!important}
.button:hover,.wp-element-button:hover,.single_add_to_cart_button:hover,#place_order:hover{background:#2b190b!important}
.is-style-outline .wp-block-button__link{background:transparent!important;color:var(--bnd-brown)!important;border:1px solid var(--bnd-brown)!important}

/* ---------- Product cards ---------- */
.products .product{background:#fff;border:1px solid var(--bnd-line);border-radius:10px;overflow:hidden;padding-bottom:14px}
.products .product .woocommerce-loop-product__title{font-family:var(--bnd-sans);font-weight:600;font-size:16px;padding:0 12px}
.products .product .price,.woocommerce .price{color:var(--bnd-brown)!important;font-weight:700;font-size:19px}
.products .product .price{padding:0 12px}
.products .product .button{margin:8px 12px 0}
.onsale{background:var(--bnd-green)!important}

/* ---------- Single product ---------- */
.single-product .product_title{font-size:clamp(24px,4vw,34px)}
.single-product .summary .price{font-size:28px}
.single-product .woocommerce-product-details__short-description{color:#4b3b30}
.bnd-trust{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid var(--bnd-line);border-radius:8px;padding:12px 14px;margin:14px 0;font-size:14px;line-height:1.55}
.bnd-trust strong{color:var(--bnd-brown)}

/* colour swatches (built by assets/bonedi.js from the variation <select>) */
.bnd-swatches{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 4px}
.bnd-swatch{display:flex;align-items:center;gap:8px;border:1px solid #CDBFA8;background:#fff;border-radius:24px;padding:6px 12px 6px 6px;cursor:pointer;font:600 14px var(--bnd-sans);color:var(--bnd-brown);min-height:44px}
.bnd-swatch .dot{width:28px;height:28px;border-radius:50%;border:1px solid rgba(0,0,0,.15);flex:0 0 28px}
.bnd-swatch.is-active{border:2px solid var(--bnd-brown);background:var(--bnd-beige)}
.bnd-swatch[disabled]{opacity:.4;cursor:not-allowed}
.variations select.bnd-hidden-select{position:absolute!important;opacity:0!important;pointer-events:none!important;height:1px!important;width:1px!important}

/* ---------- Checkout ---------- */
.woocommerce-checkout .form-row input.input-text,.woocommerce-checkout .form-row textarea,.woocommerce-checkout select{
  min-height:48px;border:1px solid #CDBFA8;border-radius:6px;font-size:16px;background:#fff}
.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--bnd-line);border-radius:10px;padding:16px}

/* ---------- Mobile sticky order bar (product pages) ---------- */
.bnd-sticky{display:none}
@media (max-width:768px){
  .bnd-sticky{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:999;
    background:var(--bnd-cream);border-top:1px solid var(--bnd-line);
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px))}
  .bnd-sticky a{display:flex;align-items:center;justify-content:center;border-radius:6px;text-decoration:none;font-weight:700}
  .bnd-sticky .wa{flex:0 0 52px;height:52px;background:var(--bnd-green);color:#fff;font-size:22px}
  .bnd-sticky .buy{flex:1;height:52px;background:var(--bnd-brown);color:var(--bnd-cream);flex-direction:column;line-height:1.2;font-size:16px}
  .bnd-sticky .buy small{font-weight:400;font-size:11px;opacity:.85}
  body.single-product{padding-bottom:84px}
}

/* ---------- Home sections ---------- */
.bnd-hero h1{font-size:clamp(32px,6vw,52px)}
.bnd-pill-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bnd-pill{background:#fff;border:1px solid var(--bnd-line);border-radius:8px;padding:12px 8px;text-align:center;font-weight:600;font-size:13px;line-height:1.35}
.bnd-card{background:var(--bnd-beige);border-radius:12px;padding:20px}
.bnd-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bnd-compare > div{background:#fff;border-radius:8px;padding:12px;font-size:14px}
.bnd-compare .ours{border:2px solid var(--bnd-green)}

/* FAQ details (pages + Bonedi Core product FAQ) */
details{border-bottom:1px solid var(--bnd-line);padding:10px 0}
details summary{cursor:pointer;font-weight:600;list-style:none}
details summary::-webkit-details-marker{display:none}
details summary::after{content:'＋';float:right;color:var(--bnd-copper)}
details[open] summary::after{content:'－'}

/* ---------- Footer ---------- */
.ct-footer{background:var(--bnd-brown)!important;color:var(--bnd-cream)!important}
.ct-footer a{color:var(--bnd-cream)!important}
