/*
Theme Name: Baniyo
Theme URI: https://baniyo.com
Author: Baniyo
Author URI: https://baniyo.com
Description: The official Baniyo theme. A lightweight base theme for the Baniyo platform — the Baniyo plugins draw the website, dashboard and login pages; this theme gives every other page (checkout, order pages, posts) the same clean Baniyo look.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baniyo
Tags: one-column, custom-logo, custom-menu, e-commerce, translation-ready
*/

/* Every rule is scoped to body.bt-theme, which only the theme's own templates
   print. Pages drawn by the Baniyo plugins (website, dashboard, login) are
   never affected by this file. */
body.bt-theme{
  --bt-red:#ff4d4f; --bt-red-600:#e8383b;
  --bt-ink:#0f172a; --bt-body:#334155; --bt-muted:#64748b; --bt-line:#e2e8f0; --bt-canvas:#f6f7fb;
  margin:0;background:var(--bt-canvas);color:var(--bt-body);
  font-family:"Hind Siliguri","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased
}
.bt-theme *,.bt-theme *::before,.bt-theme *::after{box-sizing:border-box}
.bt-theme a{color:var(--bt-red);text-decoration:none}
.bt-theme a:hover{color:var(--bt-red-600);text-decoration:underline}
.bt-theme img{max-width:100%;height:auto}
.bt-theme :is(h1,h2,h3,h4,h5,h6){color:var(--bt-ink);line-height:1.3;font-weight:700;margin:1.6em 0 .6em}
.bt-theme h1{font-size:clamp(28px,4vw,38px);margin-top:0}
.bt-theme h2{font-size:24px}.bt-theme h3{font-size:20px}
.bt-theme :is(p,ul,ol){margin:0 0 1em}
.bt-theme .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.bt-theme .skip-link:focus{position:fixed;top:8px;left:8px;z-index:9999;width:auto;height:auto;clip:auto;padding:10px 16px;background:#fff;border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.15)}

/* Layout */
.bt-theme .bt-wrap{width:100%;max-width:1080px;margin:0 auto;padding:0 20px}
.bt-theme .bt-header{background:#fff;border-bottom:1px solid var(--bt-line)}
.bt-theme .bt-header .bt-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.bt-theme .bt-brand,.bt-theme .custom-logo-link{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:700;color:var(--bt-ink);text-decoration:none}
.bt-theme .custom-logo{max-height:40px;width:auto}
.bt-theme .bt-brand-mark{width:36px;height:36px;border-radius:10px;background:var(--bt-red);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:700}
.bt-theme .bt-menu{display:flex;gap:4px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.bt-theme .bt-menu a{display:inline-block;padding:8px 12px;border-radius:999px;color:var(--bt-body);font-weight:500}
.bt-theme .bt-menu a:hover{background:var(--bt-canvas);color:var(--bt-ink);text-decoration:none}
.bt-theme .bt-main{padding:40px 0 64px}
.bt-theme .bt-card{background:#fff;border:1px solid var(--bt-line);border-radius:16px;padding:32px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.bt-theme .bt-card+.bt-card{margin-top:20px}
.bt-theme .bt-meta{font-size:14px;color:var(--bt-muted);margin:-4px 0 20px}
.bt-theme .bt-footer{border-top:1px solid var(--bt-line);background:#fff;color:var(--bt-muted);font-size:14px}
.bt-theme .bt-footer .bt-wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:20px;padding-bottom:20px}
.bt-theme .bt-pagination{display:flex;gap:8px;justify-content:center;margin-top:28px}
.bt-theme .bt-pagination .page-numbers{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--bt-line);border-radius:8px;background:#fff;color:var(--bt-ink)}
.bt-theme .bt-pagination .current{background:var(--bt-red);border-color:var(--bt-red);color:#fff}
.bt-theme .bt-404{text-align:center;padding:40px 20px}
.bt-theme .bt-404 .bt-big{font-size:96px;font-weight:700;color:var(--bt-ink);line-height:1;font-family:Inter,sans-serif}

/* Forms & buttons (also WooCommerce order received / order pay pages) */
.bt-theme :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],select,textarea){width:100%;height:44px;padding:0 12px;border:1px solid var(--bt-line);border-radius:8px;background:#fff;font:inherit;color:var(--bt-ink)}
.bt-theme textarea{height:auto;min-height:110px;padding:10px 12px}
.bt-theme :is(input,select,textarea):focus{outline:0;border-color:var(--bt-red);box-shadow:0 0 0 3px rgba(255,77,79,.15)}
.bt-theme :is(button,.button,input[type=submit],.wp-block-button__link){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border:0;border-radius:8px;background:var(--bt-red);color:#fff;font:600 15px/1 inherit;font-family:inherit;cursor:pointer;text-decoration:none}
.bt-theme :is(button,.button,input[type=submit]):hover{background:var(--bt-red-600);color:#fff;text-decoration:none}
.bt-theme table{width:100%;border-collapse:collapse;margin:0 0 1.5em}
.bt-theme :is(th,td){padding:12px 14px;border-bottom:1px solid var(--bt-line);text-align:left}
.bt-theme th{background:var(--bt-canvas);color:var(--bt-muted);font-size:13px;font-weight:600}
.bt-theme .woocommerce-notices-wrapper:empty{display:none}
.bt-theme :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){list-style:none;margin:0 0 20px;padding:14px 18px;border-radius:10px;background:var(--bt-canvas);border:1px solid var(--bt-line)}
.bt-theme .woocommerce-error{background:#fef3f2;border-color:#fecdca;color:#b42318}
.bt-theme .woocommerce-message{background:#ecfdf3;border-color:#abefc6;color:#067647}
.bt-theme .woocommerce-order-overview{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:0 0 24px}
.bt-theme .woocommerce-order-overview li{background:var(--bt-canvas);border-radius:10px;padding:12px 14px;font-size:14px}
.bt-theme .woocommerce-order-overview li strong{display:block;color:var(--bt-ink);font-size:16px}

@media (max-width:640px){
  .bt-theme .bt-card{padding:22px 18px;border-radius:14px}
  .bt-theme .bt-main{padding:24px 0 48px}
  .bt-theme .bt-menu{display:none}
}
