/*
Theme Name: Khandani Bazaar
Theme URI: https://khandanibazaar.com
Author: Khandani Bazaar Team
Author URI: https://khandanibazaar.com
Description: খান্দানি বাজার - বাংলাদেশের জন্য তৈরি সম্পূর্ণ ই-কমার্স WordPress থিম। WhatsApp অর্ডার, অ্যাডমিন প্যানেল, পণ্য ব্যবস্থাপনা সহ।
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: khandani-bazaar
Tags: e-commerce, bangla, woocommerce, whatsapp, shop, grocery, organic
*/

/* =============================================
   KHANDANI BAZAAR - WORDPRESS THEME
   Main stylesheet — সব স্টাইল এখানেই আছে
   =============================================*/

:root {
    --brand: #e67e22;
    --brand-dark: #d35400;
    --brand-light: #fff8f0;
    --green: #16a34a;
    --green-dark: #15803d;
    --green-light: #f0fdf4;
    --dark: #1a1a2e;
    --text: #2d3748;
    --text-light: #718096;
    --border: #e2e8f0;
    --bg: #fafaf8;
    --white: #ffffff;
    --wa: #25D366;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

body.cart-open { overflow: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ---- ANNOUNCEMENT BAR ---- */
.kb-announcement {
    background: var(--dark);
    color: #fbbf24;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    overflow: hidden;
}
.kb-announcement marquee { display: block; }

/* ---- HEADER ---- */
.kb-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.kb-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }

.kb-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 13px 24px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Logo */
.kb-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.kb-logo-icon {
    width: 44px; height: 44px;
    background: var(--brand);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 22px; font-weight: 800;
    box-shadow: 0 4px 14px rgba(230,126,34,0.4);
    flex-shrink: 0;
}
.kb-logo-text .site-name { display: block; font-size: 19px; font-weight: 800; color: var(--dark); line-height: 1.1; }
.kb-logo-text .site-tagline { display: block; font-size: 11px; color: var(--brand); font-weight: 600; }

/* Search */
.kb-search {
    flex: 1;
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}
.kb-search input {
    width: 100%;
    padding: 10px 46px 10px 18px;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-family: inherit; font-size: 14px;
    background: #f7f7f5; color: var(--text);
    transition: all 0.25s;
}
.kb-search input:focus { outline: none; border-color: var(--brand); background: white; box-shadow: 0 0 0 3px rgba(230,126,34,0.1); }
.kb-search-btn {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--brand); cursor: pointer; font-size: 16px;
}
.kb-search-results {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: white; border-radius: 12px; box-shadow: var(--shadow-lg);
    border: 1px solid var(--border); z-index: 300; overflow: hidden; display: none;
}
.kb-search-results.open { display: block; }
.kb-search-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; cursor: pointer; transition: background 0.15s;
    border-bottom: 1px solid var(--border);
}
.kb-search-item:last-child { border-bottom: none; }
.kb-search-item:hover { background: var(--brand-light); }
.kb-search-item img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.kb-search-item strong { font-size: 13px; display: block; color: var(--dark); }
.kb-search-item span { font-size: 12px; color: var(--brand); font-weight: 700; }

/* Header Actions */
.kb-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.kb-admin-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 9px 16px; border-radius: 10px;
    background: var(--dark); color: white;
    font-size: 13px; font-weight: 700;
    transition: background 0.2s;
}
.kb-admin-btn:hover { background: #2d3748; color: white; }

.kb-cart-btn {
    display: flex; align-items: center; gap: 8px;
    background: var(--brand); color: white; border: none;
    padding: 10px 18px; border-radius: 30px; cursor: pointer;
    font-family: inherit; font-size: 14px; font-weight: 700;
    transition: all 0.2s; position: relative;
}
.kb-cart-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.kb-cart-badge {
    position: absolute; top: -8px; right: -8px;
    background: var(--green); color: white;
    font-size: 11px; font-weight: 800;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid white; transition: transform 0.2s;
}
.kb-cart-badge.pop { transform: scale(1.5); }
.kb-cart-total { color: #fef3e2; font-weight: 800; }

.kb-mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    font-size: 22px; color: var(--text); padding: 6px;
}

/* ---- NAV ---- */
.kb-nav { background: white; border-top: 1px solid var(--border); }
.kb-nav-inner {
    max-width: 1300px; margin: 0 auto;
    display: flex; align-items: center;
    padding: 0 24px; overflow-x: auto; gap: 4px;
}
.kb-nav-inner::-webkit-scrollbar { display: none; }
.kb-nav-inner a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 14px; font-size: 14px; font-weight: 600;
    color: var(--text-light); white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.kb-nav-inner a:hover, .kb-nav-inner a.active { color: var(--brand); border-bottom-color: var(--brand); }
.kb-nav-inner a i { font-size: 13px; }
.kb-nav-admin { margin-left: auto !important; color: var(--dark) !important; font-weight: 700 !important; }
.kb-nav-admin:hover { color: var(--brand) !important; }

/* ---- HERO SLIDER ---- */
.kb-hero { position: relative; overflow: hidden; }
.kb-slides-wrap { display: flex; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.kb-slide { min-width: 100%; padding: 65px 24px; }
.kb-slide-1 { background: linear-gradient(135deg, #fff8f0 0%, #fde9c9 100%); }
.kb-slide-2 { background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%); }
.kb-slide-3 { background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%); }

.kb-slide-inner {
    max-width: 1300px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: center;
}
.kb-slide-badge {
    display: inline-block;
    background: var(--brand); color: white;
    padding: 5px 16px; border-radius: 30px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
    margin-bottom: 18px;
}
.kb-slide-text h1 {
    font-size: clamp(26px, 3.5vw, 50px);
    font-weight: 800; color: var(--dark);
    line-height: 1.18; margin-bottom: 16px;
}
.kb-slide-text h1 em { color: var(--brand); font-style: normal; }
.kb-slide-text p { font-size: 15px; color: var(--text-light); margin-bottom: 30px; max-width: 460px; line-height: 1.7; }
.kb-slide-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.kb-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand); color: white;
    padding: 13px 26px; border-radius: 30px;
    font-weight: 700; font-size: 15px; font-family: inherit; border: none; cursor: pointer;
    box-shadow: 0 6px 20px rgba(230,126,34,0.35);
    transition: all 0.2s;
}
.kb-btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); color: white; }

.kb-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--brand);
    padding: 13px 26px; border-radius: 30px;
    font-weight: 700; font-size: 15px;
    border: 2px solid var(--brand); transition: all 0.2s;
}
.kb-btn-outline:hover { background: var(--brand); color: white; }

.kb-slide-img-wrap { display: flex; justify-content: center; position: relative; }
.kb-slide-img-wrap img {
    width: min(360px, 90%); height: min(360px, 90vw);
    object-fit: cover; border-radius: 50%;
    border: 6px solid white; box-shadow: 0 24px 64px rgba(0,0,0,0.14);
}
.kb-slide-badge-img {
    position: absolute; bottom: 24px; right: 24px;
    background: var(--brand); color: white;
    padding: 12px 16px; border-radius: 14px; text-align: center;
    font-size: 12px; font-weight: 700; line-height: 1.4;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.kb-slide-badge-img i { font-size: 20px; }

.kb-slide-prev, .kb-slide-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: white; border: none; border-radius: 50%;
    width: 46px; height: 46px; cursor: pointer; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow); font-size: 16px; color: var(--dark);
    transition: all 0.2s;
}
.kb-slide-prev:hover, .kb-slide-next:hover { background: var(--brand); color: white; }
.kb-slide-prev { left: 16px; }
.kb-slide-next { right: 16px; }
.kb-slide-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.kb-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,0.2); cursor: pointer; border: none; transition: all 0.3s; }
.kb-dot.active { width: 26px; border-radius: 4px; background: var(--brand); }

/* ---- FEATURES STRIP ---- */
.kb-features {
    background: white; border-bottom: 1px solid var(--border);
    display: flex; flex-wrap: wrap;
}
.kb-feature {
    flex: 1; min-width: 160px;
    display: flex; align-items: center; gap: 14px;
    padding: 18px 24px; border-right: 1px solid var(--border);
}
.kb-feature:last-child { border-right: none; }
.kb-feature i { font-size: 24px; color: var(--brand); flex-shrink: 0; }
.kb-feature strong { font-size: 14px; color: var(--dark); display: block; }
.kb-feature p { font-size: 12px; color: var(--text-light); margin: 0; }

/* ---- MAIN / SHOP ---- */
.kb-main { max-width: 1300px; margin: 0 auto; padding: 32px 24px; }

/* Category Tabs */
.kb-cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.kb-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; border-radius: 30px;
    border: 2px solid var(--border); background: white;
    font-family: inherit; font-size: 13px; font-weight: 700;
    color: var(--text-light); cursor: pointer; transition: all 0.2s;
}
.kb-tab:hover { border-color: var(--brand); color: var(--brand); }
.kb-tab.active { background: var(--brand); color: white; border-color: var(--brand); }

/* Section */
.kb-section { margin-bottom: 52px; }
.kb-section-head {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 14px; margin-bottom: 22px;
    border-bottom: 2px solid var(--border);
}
.kb-section-head h2 {
    font-size: 22px; font-weight: 800; color: var(--dark);
    display: flex; align-items: center; gap: 10px;
}
.kb-section-head h2 i { color: var(--brand); }
.kb-see-all {
    font-size: 13px; font-weight: 700; color: var(--brand);
    display: flex; align-items: center; gap: 5px;
}

/* Products Grid */
.kb-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 20px;
}

/* Product Card */
.kb-product-card {
    background: white; border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex; flex-direction: column; position: relative;
}
.kb-product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.kb-product-card.out-of-stock { opacity: 0.7; }

.kb-card-image { position: relative; height: 190px; overflow: hidden; }
.kb-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.kb-product-card:hover .kb-card-image img { transform: scale(1.07); }

.kb-card-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--brand); color: white;
    padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 800;
}
.kb-oos-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 5;
    display: flex; align-items: center; justify-content: center;
}
.kb-oos-overlay span { background: white; color: var(--text); font-weight: 800; padding: 6px 18px; border-radius: 20px; font-size: 13px; }

.kb-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.kb-card-name { font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 4px; line-height: 1.3; }
.kb-card-unit { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }
.kb-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.kb-card-price { font-size: 20px; font-weight: 800; color: var(--green); }

.kb-add-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--brand); color: white; border: none;
    padding: 9px 14px; border-radius: 9px; cursor: pointer;
    font-family: inherit; font-size: 13px; font-weight: 700;
    transition: all 0.2s;
}
.kb-add-btn:hover { background: var(--brand-dark); transform: scale(1.04); }
.kb-add-btn:disabled { background: #cbd5e0; cursor: not-allowed; }

.kb-qty-ctrl {
    display: flex; align-items: center;
    border: 2px solid var(--brand); border-radius: 9px; overflow: hidden;
}
.kb-qty-ctrl button {
    background: var(--brand); color: white; border: none;
    width: 32px; height: 34px; cursor: pointer; font-size: 17px; font-weight: 800;
    transition: background 0.15s;
}
.kb-qty-ctrl button:hover { background: var(--brand-dark); }
.kb-qty-ctrl span { padding: 0 12px; font-weight: 800; font-size: 14px; color: var(--brand); }

/* Empty/Loading */
.kb-empty-state, .kb-loading {
    grid-column: 1/-1; text-align: center;
    padding: 60px 20px; color: var(--text-light);
}
.kb-empty-state i { font-size: 52px; opacity: 0.35; display: block; margin-bottom: 14px; }
.kb-spinner {
    width: 42px; height: 42px; border: 3px solid var(--border);
    border-top-color: var(--brand); border-radius: 50%;
    animation: kb-spin 0.8s linear infinite; margin: 0 auto 14px;
}
@keyframes kb-spin { to { transform: rotate(360deg); } }

/* ---- WHATSAPP FLOAT ---- */
.kb-wa-float {
    position: fixed; bottom: 24px; left: 24px; z-index: 150;
    background: var(--wa); color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}
.kb-wa-float:hover { transform: scale(1.12); color: white; box-shadow: 0 8px 32px rgba(37,211,102,0.65); }
.kb-wa-tooltip {
    position: absolute; left: 70px; white-space: nowrap;
    background: var(--dark); color: white;
    padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 700;
    opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.kb-wa-float:hover .kb-wa-tooltip { opacity: 1; }

/* ---- CART SIDEBAR ---- */
.kb-cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 250; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.kb-cart-overlay.open { opacity: 1; pointer-events: all; }

.kb-cart-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(430px, 100vw); background: white;
    z-index: 260; transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    display: flex; flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.kb-cart-sidebar.open { transform: translateX(0); }

.kb-cart-head {
    padding: 18px 20px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    background: var(--brand-light);
}
.kb-cart-head h3 { font-size: 18px; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.kb-cart-head h3 i { color: var(--brand); }
.kb-cart-close { background: none; border: none; cursor: pointer; font-size: 22px; color: var(--text-light); padding: 4px; transition: color 0.2s; }
.kb-cart-close:hover { color: var(--brand); }

.kb-cart-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.kb-cart-empty { text-align: center; padding: 60px 20px; color: var(--text-light); }
.kb-cart-empty i { font-size: 52px; opacity: 0.3; display: block; margin-bottom: 14px; }
.kb-cart-empty p { font-size: 16px; font-weight: 700; margin-bottom: 4px; }

.kb-cart-item {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--bg); padding: 12px; border-radius: 10px; border: 1px solid var(--border);
}
.kb-cart-item-img { width: 58px; height: 58px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.kb-ci-info { flex: 1; }
.kb-ci-name { font-size: 13px; font-weight: 800; color: var(--dark); margin-bottom: 2px; line-height: 1.3; }
.kb-ci-unit { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
.kb-ci-qty { display: flex; align-items: center; width: fit-content; border: 2px solid var(--brand); border-radius: 7px; overflow: hidden; }
.kb-ci-qty button { background: var(--brand); color: white; border: none; width: 28px; height: 28px; cursor: pointer; font-size: 16px; font-weight: 800; }
.kb-ci-qty span { padding: 0 10px; font-weight: 800; font-size: 13px; color: var(--brand); }
.kb-ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.kb-ci-price { font-size: 15px; font-weight: 800; color: var(--green); }
.kb-ci-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 14px; padding: 2px; }

.kb-cart-foot { padding: 16px 20px; border-top: 1px solid var(--border); background: white; }
.kb-totals { margin-bottom: 14px; display: flex; flex-direction: column; gap: 7px; }
.kb-total-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-light); }
.kb-total-row.grand { font-size: 19px; font-weight: 800; color: var(--dark); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.free-label { color: var(--green); font-weight: 800; }

.kb-btn-wa-order {
    width: 100%; padding: 14px; border-radius: 11px;
    background: var(--wa); color: white; border: none; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; gap: 9px;
    transition: all 0.2s; margin-bottom: 9px;
}
.kb-btn-wa-order:hover { background: #1eb758; transform: translateY(-1px); }

.kb-btn-form-order {
    width: 100%; padding: 12px; border-radius: 11px;
    background: var(--brand); color: white; border: none; cursor: pointer;
    font-family: inherit; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 0.2s;
}
.kb-btn-form-order:hover { background: var(--brand-dark); }

/* ---- CHECKOUT SECTION ---- */
.kb-checkout { background: white; border-top: 3px solid var(--brand); padding: 64px 24px; }
.kb-checkout-wrap {
    max-width: 1140px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px;
}
.kb-checkout-form h2 {
    font-size: 26px; font-weight: 800; color: var(--dark);
    margin-bottom: 6px; display: flex; align-items: center; gap: 10px;
}
.kb-checkout-form h2 i { color: var(--brand); }
.kb-form-sub { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }

.kb-form-group { margin-bottom: 20px; }
.kb-form-group label {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 7px;
}
.kb-form-group label i { color: var(--brand); }
.kb-form-group label .req { color: #ef4444; }
.kb-form-group input, .kb-form-group textarea {
    width: 100%; padding: 12px 15px;
    border: 2px solid var(--border); border-radius: 10px;
    font-family: inherit; font-size: 14px; color: var(--text); background: #fafafa;
    transition: all 0.2s;
}
.kb-form-group input:focus, .kb-form-group textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1); background: white;
}

.kb-payment-opts { display: flex; flex-direction: column; gap: 10px; }
.kb-pay-opt {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 16px; border: 2px solid var(--border); border-radius: 10px;
    cursor: pointer; transition: all 0.2s;
}
.kb-pay-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-light); }
.kb-pay-opt input { accent-color: var(--brand); }
.kb-pay-opt span { font-size: 14px; font-weight: 600; }

.kb-order-summary {
    background: var(--bg); border: 2px solid var(--border); border-radius: 13px;
    padding: 20px; margin-bottom: 22px;
}
.kb-order-summary h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.kb-sum-item { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.kb-sum-totals { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.kb-empty-notice { font-size: 13px; color: var(--text-light); }

.kb-btn-submit {
    width: 100%; padding: 15px; border-radius: 13px;
    background: var(--green); color: white; border: none; cursor: pointer;
    font-family: inherit; font-size: 16px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 6px 20px rgba(22,163,74,0.3); transition: all 0.2s;
}
.kb-btn-submit:hover { background: var(--green-dark); transform: translateY(-2px); }

.kb-info-cards { display: flex; flex-direction: column; gap: 18px; }
.kb-info-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: 13px; padding: 20px;
}
.kb-info-card h4 { font-size: 15px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.kb-info-card h4 i { color: var(--brand); }
.kb-info-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.kb-btn-wa-sm {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--wa); color: white; padding: 9px 18px; border-radius: 9px;
    font-size: 13px; font-weight: 800; margin-top: 12px; cursor: pointer; border: none; font-family: inherit;
}

/* ---- FOOTER ---- */
.kb-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 56px 24px 0; }
.kb-footer-grid {
    max-width: 1300px; margin: 0 auto;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px;
    padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.kb-footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.kb-footer-logo span { font-size: 20px; font-weight: 800; color: white; }
.kb-footer-col p { font-size: 14px; line-height: 1.75; margin-bottom: 4px; }
.kb-footer-col p i { color: var(--brand); margin-right: 8px; width: 16px; }
.kb-footer-col h5 { font-size: 15px; font-weight: 800; color: white; margin-bottom: 18px; }
.kb-footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 10px; transition: color 0.2s; }
.kb-footer-col a:hover { color: var(--brand); }
.kb-socials { display: flex; gap: 10px; margin-top: 16px; }
.kb-socials a {
    width: 38px; height: 38px; background: rgba(255,255,255,0.08);
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    font-size: 16px; transition: background 0.2s;
}
.kb-socials a:hover { background: var(--brand); color: white; }
.kb-footer-bottom {
    max-width: 1300px; margin: 0 auto;
    text-align: center; padding: 22px 0;
    font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ---- MODAL ---- */
.kb-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px;
}
.kb-modal.open { display: flex; }
.kb-modal-box {
    background: white; border-radius: 20px; padding: 44px 36px;
    max-width: 460px; width: 100%; text-align: center;
    animation: kb-modal-in 0.3s ease;
}
@keyframes kb-modal-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
.kb-modal-icon { font-size: 60px; color: var(--green); margin-bottom: 18px; }
.kb-modal-box h3 { font-size: 23px; font-weight: 800; margin-bottom: 12px; }
.kb-modal-box p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 26px; }
.kb-modal-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .kb-footer-grid { grid-template-columns: 1fr 1fr; }
    .kb-checkout-wrap { grid-template-columns: 1fr; }
    .kb-info-cards { order: -1; }
}
@media (max-width: 768px) {
    .kb-search { display: none; }
    .kb-mobile-toggle { display: block; }
    .kb-admin-btn span { display: none; }
    .kb-nav { display: none; }
    .kb-nav.open { display: block; }
    .kb-nav-inner { flex-direction: column; padding: 8px 16px; gap: 0; }
    .kb-nav-inner a { padding: 10px 0; border-bottom: 1px solid var(--border); width: 100%; }
    .kb-nav-admin { margin-left: 0 !important; }
    .kb-slide-inner { grid-template-columns: 1fr; text-align: center; }
    .kb-slide-img-wrap { order: -1; }
    .kb-slide-img-wrap img { width: 200px; height: 200px; }
    .kb-slide-badge-img { display: none; }
    .kb-slide-btns { justify-content: center; }
    .kb-features { display: grid; grid-template-columns: 1fr 1fr; }
    .kb-feature { border-right: none; border-bottom: 1px solid var(--border); }
    .kb-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .kb-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .kb-cart-label { display: none; }
}
@media (max-width: 480px) {
    .kb-header-inner { padding: 12px 16px; gap: 12px; }
    .kb-slide { padding: 40px 16px; }
    .kb-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .kb-card-image { height: 140px; }
    .kb-footer-grid { grid-template-columns: 1fr; }
    .kb-main { padding: 20px 14px; }
}


/* =============================================
   UPDATE v1.1 — Admin hidden, WA left confirmed
   =============================================*/

/* Hide admin button from header completely */
.kb-admin-btn { display: none !important; }
.kb-nav-admin { display: none !important; }

/* WhatsApp Float — Left Side (confirmed) */
.kb-wa-float {
    bottom: 28px !important;
    left: 24px !important;
    right: auto !important;
    width: 64px !important;
    height: 64px !important;
    font-size: 32px !important;
    box-shadow: 0 6px 28px rgba(37,211,102,0.55) !important;
    animation: kb-wa-pulse 2.5s infinite;
}
.kb-wa-tooltip {
    left: 74px !important;
    right: auto !important;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    white-space: nowrap;
}
@keyframes kb-wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Cart button — slightly bigger & cleaner without admin btn next to it */
.kb-cart-btn {
    padding: 11px 22px !important;
    font-size: 15px !important;
}

/* Nav cleaner without admin link */
.kb-nav-inner {
    justify-content: flex-start;
}
