/* ==========================================================================
   KwikBuy storefront theme — self-contained, responsive, no build step.
   Loaded site-wide from the shop layout head.
   ========================================================================== */

:root{
  --navy:#0F1B2D;
  --navy-light:#1B2A4A;
  --orange:#E8611A;
  --orange-soft:#FFF1E6;
  --yellow:#FFD60A;
  --yellow-soft:#FFF8D6;
  --green:#0C831F;
  --green-soft:#E8F6EA;
  --ink:#1A1A1A;
  --muted:#7A7F87;
  --line:#EDEFF3;
  --kb-radius:16px;
}

.kb, .kb *{box-sizing:border-box;}
.kb{
  font-family:'Inter','Poppins',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
.kb img{max-width:100%;display:block;}
.kb a{text-decoration:none;color:inherit;}
.kb button{font-family:inherit;cursor:pointer;}

/* Layout container ---------------------------------------------------------*/
.kb-wrap{width:100%;padding-left:16px;padding-right:16px;}
@media(min-width:640px){.kb-wrap{padding-left:24px;padding-right:24px;}}

.kb-muted{color:var(--muted);}
.kb-navy{color:var(--navy);}
.kb-orange{color:var(--orange);}

/* ==========================================================================
   HEADER
   ========================================================================== */
.kb-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line);}
.kb-header-top{display:flex;align-items:center;gap:14px;padding:10px 16px;}
@media(min-width:640px){.kb-header-top{padding:12px 24px;gap:20px;}}

.kb-logo img{height:44px;width:auto;}
@media(min-width:768px){.kb-logo img{height:56px;}}

.kb-tagline{display:none;padding-left:18px;border-left:1px solid var(--line);}
@media(min-width:1024px){.kb-tagline{display:block;}}
.kb-tagline-row{display:flex;align-items:center;gap:8px;line-height:1;}
.kb-tagline-row b{font-size:13px;font-weight:800;color:var(--navy);}
.kb-tagline-row .o{color:var(--orange);}
.kb-tagline-sub{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:12.5px;color:rgba(15,27,45,.7);}
.kb-tagline-sub .muted{color:var(--muted);}

/* Mobile: search drops to its own full-width row */
@media(max-width:639px){
  .kb-header-top{flex-wrap:wrap;row-gap:10px;gap:10px;}
  .kb-hamburger{order:1;}
  .kb-logo{order:2;}
  .kb-actions{order:3;margin-left:auto;}
  .kb-search-wrap{order:4;flex-basis:100%;width:100%;}
  .kb-logo img{height:40px;}
}

/* Search */
.kb-search-wrap{flex:1;min-width:0;}
.kb-search{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;}
.kb-search:focus-within{border-color:var(--navy);}
.kb-search select{appearance:none;-webkit-appearance:none;background:#F1F3F6;border:0;border-right:1px solid var(--line);
  font-size:12px;font-weight:700;color:var(--navy);padding:0 26px 0 12px;cursor:pointer;outline:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%230F1B2D' stroke-width='2.5' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:right 8px center;max-width:130px;}
.kb-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-size:14px;padding:12px 14px;color:var(--ink);}
.kb-search input::placeholder{color:var(--muted);}
.kb-search button{border:0;background:var(--orange);color:#fff;padding:0 16px;display:flex;align-items:center;justify-content:center;}
.kb-search select.mobile-hide{display:none;}
@media(min-width:640px){.kb-search select.mobile-hide{display:block;}}

/* Actions */
.kb-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.kb-btn-login{padding:8px 14px;font-size:14px;font-weight:600;color:var(--navy);border-radius:9px;border:0;background:transparent;}
.kb-btn-login:hover{background:#F6F7F9;}
.kb-btn-cart{display:flex;align-items:center;gap:8px;background:var(--green);color:#fff !important;border:0;border-radius:12px;
  padding:11px 14px;font-size:14px;font-weight:700;position:relative;}
.kb-btn-cart .label{display:none;}
@media(min-width:768px){.kb-btn-cart .label{display:inline;}}
.kb-cart-count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;
  background:var(--orange);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;}
.kb-icon{width:20px;height:20px;flex-shrink:0;}
.kb-hamburger{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;background:transparent;color:var(--navy);border-radius:9px;}
@media(min-width:1024px){.kb-hamburger.desktop-hide{display:none;}}

/* Navy nav bar */
.kb-nav{background:var(--navy);}
.kb-nav-inner{display:flex;align-items:center;gap:2px;padding:8px 16px;overflow-x:auto;scrollbar-width:none;position:relative;}
.kb-nav-inner::-webkit-scrollbar{display:none;}
@media(min-width:640px){.kb-nav-inner{padding:8px 24px;}}
.kb-nav-inner a,
.kb-nav-inner button{white-space:nowrap;color:#fff;font-size:13.5px;font-weight:700;padding:6px 12px;border-radius:6px;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;}
.kb-nav-inner a:hover,
.kb-nav-inner button:hover{background:rgba(255,255,255,.1);}
.kb-nav-item{position:relative;flex:0 0 auto;}
.kb-nav-item.is-imports>a,
.kb-nav-item.is-imports>a:hover,
.kb-nav-item .is-imports{color:var(--orange);}
.kb-nav-inner .all{gap:8px;}
.kb-nav-inner a.hot{color:var(--orange);}
.kb-nav-inner a.voucher{margin-left:auto;font-weight:500;font-size:12.5px;opacity:.9;}
@media(max-width:767px){.kb-nav-inner a.voucher{display:none;}}
.kb-nav-chevron{width:13px;height:13px;opacity:.72;}
.kb-submenu{position:absolute;top:calc(100% + 8px);left:0;width:280px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--navy);box-shadow:0 18px 40px rgba(15,27,45,.16);padding:12px;z-index:80;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;}
.kb-submenu::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px;}
.kb-nav-item:hover>.kb-submenu,
.kb-nav-item:focus-within>.kb-submenu,
.kb-nav-item.open>.kb-submenu{opacity:1;visibility:visible;transform:translateY(0);}
.kb-submenu a{color:var(--navy);border-radius:8px;padding:8px 10px;white-space:normal;}
.kb-submenu a:hover{background:#F6F7F9;}
.kb-menu-title{display:flex;font-size:14px;font-weight:800;margin-bottom:6px;color:var(--orange)!important;}
.kb-menu-links{display:grid;grid-template-columns:1fr;gap:2px;}
.kb-menu-links a{font-size:13px;font-weight:600;line-height:1.25;}
.kb-all-panel{width:min(940px,calc(100vw - 48px));padding:16px;left:0;}
.kb-all-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:2px 2px 14px;border-bottom:1px solid var(--line);margin-bottom:14px;}
.kb-all-head span{display:block;font-size:17px;font-weight:900;color:var(--navy);line-height:1.1;}
.kb-all-head p{margin:4px 0 0;font-size:12.5px;color:var(--muted);}
.kb-all-head>a{flex-shrink:0;color:var(--orange);font-size:12.5px;font-weight:800;padding:7px 10px;background:var(--orange-soft);}
.kb-all-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.kb-all-card{min-width:0;border-radius:12px;background:#FAFBFC;border:1px solid #F0F2F5;padding:12px;}
.kb-all-title{display:inline-flex;color:var(--navy)!important;font-size:14px!important;font-weight:900!important;line-height:1.2;padding:0!important;margin-bottom:8px;}
.kb-all-title:hover{background:transparent!important;color:var(--orange)!important;}
.kb-all-links{display:flex;flex-direction:column;gap:2px;}
.kb-all-links a{font-size:12.5px;font-weight:600;color:rgba(15,27,45,.72);line-height:1.25;padding:6px 0;}
.kb-all-links a:hover{background:transparent;color:var(--orange);}
.kb-all-empty{margin:0;font-size:12.5px;color:var(--muted);line-height:1.35;}
@media(min-width:1024px){.kb-nav-inner{overflow:visible;}}
@media(max-width:1023px){
  .kb-submenu{display:none;}
  .kb-nav-chevron{display:none;}
}
@media(max-width:520px){
  .kb-nav-inner{padding:7px 12px;gap:1px;}
  .kb-nav-inner a,
  .kb-nav-inner button{font-size:12.5px;padding:6px 10px;}
}

/* ==========================================================================
   HERO
   ========================================================================== */
.kb-hero{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;padding-top:20px;}
.kb-hero-main{grid-column:span 12;position:relative;overflow:hidden;border-radius:24px;min-height:300px;
  background:linear-gradient(135deg,#0F1B2D 0%,#1B2A4A 40%,#2A4068 100%);}
.kb-hero-side{grid-column:span 12;display:grid;grid-template-rows:1fr 1fr;gap:16px;}
@media(min-width:900px){
  .kb-hero-main{grid-column:span 8;min-height:340px;}
  .kb-hero-side{grid-column:span 4;}
}
.kb-hero-content{position:relative;z-index:2;padding:28px 24px;max-width:520px;}
@media(min-width:768px){.kb-hero-content{padding:40px;}}
.kb-badge{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:6px 14px;font-size:11px;font-weight:800;
  letter-spacing:.06em;color:#fff;background:linear-gradient(120deg,#E8611A,#F5913D);margin-bottom:16px;}
.kb-hero h1{font-size:30px;line-height:1.05;font-weight:900;color:#fff;letter-spacing:-.01em;text-shadow:0 4px 24px rgba(0,0,0,.3);margin:0;}
@media(min-width:768px){.kb-hero h1{font-size:42px;}}
.kb-hero h1 span{color:var(--orange);}
.kb-hero-p{margin-top:12px;color:rgba(255,255,255,.82);font-size:14px;line-height:1.55;max-width:440px;}
.kb-hero-cta{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap;}
.kb-btn-primary{border:0;border-radius:12px;padding:13px 22px;font-size:14px;font-weight:700;color:#fff !important;
  background:linear-gradient(120deg,#E8611A,#F5913D);box-shadow:0 8px 20px rgba(232,97,26,.3);}
.kb-btn-ghost{border:2px solid rgba(255,255,255,.3);border-radius:12px;padding:12px 20px;font-size:14px;font-weight:700;color:#fff !important;background:transparent;}
.kb-btn-ghost:hover{background:rgba(255,255,255,.1);}
.kb-trust{margin-top:20px;display:flex;flex-wrap:wrap;gap:16px;}
.kb-trust span{display:flex;align-items:center;gap:6px;font-size:11px;color:rgba(255,255,255,.65);}
.kb-trust svg{width:15px;height:15px;color:#4ADE80;}
.kb-hero-img{position:absolute;inset:0 0 0 auto;width:50%;display:none;}
@media(min-width:900px){.kb-hero-img{display:block;}}
.kb-hero-img img{width:100%;height:100%;object-fit:cover;object-position:top;
  -webkit-mask-image:linear-gradient(to left,#000 60%,transparent 98%);mask-image:linear-gradient(to left,#000 60%,transparent 98%);}
.kb-float{position:absolute;bottom:22px;right:22px;z-index:3;display:flex;flex-direction:column;gap:8px;align-items:flex-end;}
.kb-float div{background:rgba(255,255,255,.95);backdrop-filter:blur(4px);border-radius:12px;padding:7px 11px;box-shadow:0 6px 16px rgba(0,0,0,.15);display:flex;align-items:center;gap:8px;}
.kb-float b{font-size:10px;font-weight:800;color:var(--navy);display:block;line-height:1.1;}
.kb-float small{font-size:9px;color:var(--muted);}

/* Side promo cards */
.kb-promo{position:relative;overflow:hidden;border-radius:24px;min-height:150px;padding:24px;color:#fff;}
.kb-promo.green{background:linear-gradient(135deg,#0C831F 0%,#2AAE40 100%);}
.kb-promo.brown{background:linear-gradient(135deg,#B24C12 0%,#E8611A 100%);}
.kb-promo .k{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;color:rgba(255,255,255,.7);}
.kb-promo h3{font-size:22px;font-weight:900;line-height:1.1;margin:4px 0 0;color:#fff;}
.kb-promo .sub{font-size:12px;color:rgba(255,255,255,.75);margin-top:4px;}
.kb-promo .pill{margin-top:14px;display:inline-flex;align-items:center;gap:6px;background:#fff;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:700;}
.kb-promo.green .pill{color:#0C831F;}
.kb-promo.brown .pill{color:#B24C12;}
.kb-promo .pimg{position:absolute;right:0;bottom:0;width:44%;height:100%;object-fit:cover;
  -webkit-mask-image:linear-gradient(to left,#000 50%,transparent 95%);mask-image:linear-gradient(to left,#000 50%,transparent 95%);}

/* ==========================================================================
   CATEGORY TILES
   ========================================================================== */
.kb-cats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding-top:16px;}
@media(min-width:640px){.kb-cats{grid-template-columns:repeat(4,1fr);}}
@media(min-width:1024px){.kb-cats{grid-template-columns:repeat(8,1fr);}}
.kb-cat{position:relative;overflow:hidden;border-radius:18px;min-height:140px;display:flex;flex-direction:column;
  align-items:center;justify-content:flex-end;text-align:center;padding:14px 10px;transition:transform .15s ease;}
.kb-cat:hover{transform:translateY(-3px);}
.kb-cat img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.30;transition:opacity .18s ease;}
.kb-cat:hover img{opacity:.50;}
.kb-cat .emoji,
.kb-cat .nm,
.kb-cat .ct{position:relative;z-index:1;}
.kb-cat .emoji{font-size:26px;margin-bottom:4px;}
.kb-cat .nm{font-size:11.5px;font-weight:800;color:var(--navy);line-height:1.15;}
.kb-cat .ct{font-size:9.5px;font-weight:700;color:rgba(15,27,45,.5);margin-top:3px;}

/* ==========================================================================
   SECTIONS + PRODUCT CARDS
   ========================================================================== */
.kb-section{padding-top:40px;}
.kb-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px;}
.kb-section-head h2{font-size:22px;font-weight:800;color:var(--navy);margin:0;line-height:1.15;}
@media(max-width:520px){.kb-section-head h2{font-size:18px;}}
.kb-section-head p{font-size:13px;color:var(--muted);margin:4px 0 0;}
.kb-seeall{font-size:13px;font-weight:700;color:var(--orange);white-space:nowrap;flex-shrink:0;}

.kb-rail{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory;scrollbar-width:none;}
.kb-rail::-webkit-scrollbar{display:none;}
.kb-rail>*{scroll-snap-align:start;flex:0 0 auto;width:180px;}

.kb-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
@media(min-width:640px){.kb-grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:1024px){.kb-grid{grid-template-columns:repeat(6,1fr);}}

.kb-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;display:flex;flex-direction:column;
  transition:box-shadow .2s ease,transform .2s ease;}
.kb-card:hover{box-shadow:0 10px 26px rgba(15,27,45,.10);transform:translateY(-2px);}
.kb-card-img{position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#F4F6F8;}
.kb-card-img img{width:100%;height:100%;object-fit:cover;}
.kb-off{position:absolute;top:6px;left:6px;background:var(--yellow-soft);color:#7A5A00;font-size:9px;font-weight:900;padding:2px 7px;border-radius:5px;}
.kb-tag{display:inline-flex;align-items:center;gap:4px;margin-top:8px;font-size:10px;font-weight:800;color:rgba(15,27,45,.7);}
.kb-badge-tier{font-size:9px;font-weight:700;padding:2px 6px;border-radius:5px;}
.kb-card-name{font-size:13.5px;font-weight:600;color:var(--navy);line-height:1.2;margin-top:4px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:33px;}
.kb-card-sub{font-size:12px;color:var(--muted);margin-top:2px;}
.kb-card-desc{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.kb-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;}
.kb-price{font-size:14px;font-weight:800;color:var(--navy);line-height:1;}
.kb-price-old{font-size:11px;color:var(--muted);text-decoration:line-through;margin-top:2px;}
.kb-add{border:1.5px solid var(--green);color:var(--green);background:#fff;font-weight:700;font-size:12px;border-radius:9px;padding:7px 16px;transition:background .15s ease;white-space:nowrap;}
.kb-add:hover{background:var(--green-soft);}
.kb-add:disabled{opacity:.6;cursor:default;}

/* ==========================================================================
   PROMISE
   ========================================================================== */
.kb-promise{margin-top:48px;border-radius:24px;overflow:hidden;position:relative;
  background:linear-gradient(115deg,#0F1B2D 0%,#1B2A4A 100%);color:#fff;}
.kb-promise-grid{display:grid;grid-template-columns:1fr;}
@media(min-width:900px){.kb-promise-grid{grid-template-columns:5fr 4fr 3fr;}}
.kb-promise-text{padding:26px 24px;}
@media(min-width:768px){.kb-promise-text{padding:32px;}}
.kb-promise-text .k{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;color:var(--orange);}
.kb-promise-text h3{font-size:24px;font-weight:800;margin:8px 0 0;line-height:1.2;color:#fff;}
@media(min-width:768px){.kb-promise-text h3{font-size:28px;}}
.kb-promise-text p{color:rgba(255,255,255,.72);margin-top:8px;font-size:13.5px;line-height:1.5;}
.kb-stats{margin-top:16px;display:flex;gap:22px;}
.kb-stats b{font-size:20px;font-weight:800;color:var(--orange);display:block;}
.kb-stats small{color:rgba(255,255,255,.7);font-size:12px;}
.kb-deal{margin-top:16px;border-radius:12px;padding:12px;display:flex;align-items:center;gap:12px;background:linear-gradient(120deg,#E8611A 0%,#F5913D 100%);}
.kb-deal .em{font-size:24px;}
.kb-deal .k{font-size:9px;text-transform:uppercase;font-weight:700;letter-spacing:.12em;color:rgba(255,255,255,.9);}
.kb-deal b{font-size:14px;font-weight:800;line-height:1.15;display:block;}
.kb-deal button{background:#fff;color:var(--orange);border:0;border-radius:9px;padding:7px 11px;font-size:11px;font-weight:700;margin-left:auto;white-space:nowrap;}
.kb-promise-img{position:relative;min-height:200px;background:#0F1B2D;}
.kb-promise-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}

/* ==========================================================================
   PAYMENTS
   ========================================================================== */
.kb-pay{border-top:1px solid var(--line);margin-top:48px;background:rgba(248,249,250,.6);}
.kb-pay-inner{padding:32px 16px;text-align:center;}
.kb-pay .k{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;color:rgba(15,27,45,.6);margin-bottom:18px;}
.kb-pay-list{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;}
.kb-pay-list .m{border-radius:5px;padding:5px 10px;color:#fff;font-size:11px;font-weight:700;}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.kb-footer{background:var(--navy);color:#fff;}
.kb-footer-inner{padding:48px 16px;}
@media(min-width:640px){.kb-footer-inner{padding:48px 24px;}}
.kb-footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;}
@media(min-width:768px){.kb-footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;}}
@media(min-width:1100px){.kb-footer-grid{grid-template-columns:2fr 1fr 1fr 1fr 1fr;}}
.kb-footer-brand{grid-column:span 2;}
@media(min-width:768px){.kb-footer-brand{grid-column:span 1;}}
.kb-footer-brand img{height:46px;margin-bottom:12px;border-radius:8px;}
.kb-footer-brand p{font-size:13.5px;color:rgba(255,255,255,.7);line-height:1.5;}
.kb-footer-brand .tiny{font-size:12px;color:rgba(255,255,255,.4);margin-top:10px;}
.kb-social{display:flex;gap:10px;margin-top:16px;}
.kb-social a{width:32px;height:32px;border-radius:999px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;}
.kb-social a:hover{background:rgba(255,255,255,.2);}
.kb-social svg{width:14px;height:14px;fill:#fff;}
.kb-footer-col h4{font-size:14px;font-weight:600;color:#fff;margin:0 0 12px;}
.kb-footer-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px;}
.kb-footer-col a{font-size:13.5px;color:rgba(255,255,255,.6);}
.kb-footer-col a:hover{color:#fff;}
.kb-footer-bottom{border-top:1px solid rgba(255,255,255,.1);background:var(--navy-light);}
.kb-footer-bottom-inner{padding:18px 16px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;font-size:12px;color:rgba(255,255,255,.7);}
@media(min-width:640px){.kb-footer-bottom-inner{padding:18px 24px;}}
.kb-footer-bottom-inner .links{display:flex;flex-wrap:wrap;gap:16px;}
.kb-footer-bottom-inner a:hover{color:#fff;}

/* App download */
.kb-apps{margin-top:20px;}
.kb-apps .lbl{font-size:12px;color:rgba(255,255,255,.4);margin-bottom:8px;}
.kb-apps .row{display:flex;gap:8px;flex-wrap:wrap;}
.kb-apps a{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.1);border-radius:9px;padding:8px 12px;}
.kb-apps a:hover{background:rgba(255,255,255,.2);}
.kb-apps svg{width:20px;height:20px;fill:#fff;}
.kb-apps small{font-size:8px;color:rgba(255,255,255,.6);display:block;line-height:1;}
.kb-apps b{font-size:12px;font-weight:700;color:#fff;line-height:1.2;}

/* Mobile category drawer */
.kb-drawer-backdrop{position:fixed;inset:0;background:rgba(15,27,45,.5);z-index:60;opacity:0;visibility:hidden;transition:opacity .2s ease;}
.kb-drawer-backdrop.open{opacity:1;visibility:visible;}
.kb-drawer{position:fixed;top:0;left:0;bottom:0;width:88%;max-width:380px;background:#fff;z-index:61;transform:translateX(-100%);transition:transform .25s ease;overflow-y:auto;box-shadow:18px 0 38px rgba(15,27,45,.18);}
.kb-drawer.open{transform:translateX(0);}
.kb-drawer-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line);background:#fff;}
.kb-drawer-head img{height:40px;}
.kb-drawer-close{width:36px;height:36px;border:0;border-radius:10px;background:#F6F7F9;color:var(--navy);font-size:26px;line-height:1;display:flex;align-items:center;justify-content:center;}
.kb-drawer-body{padding:12px 12px 18px;}
.kb-drawer-title{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.12em;color:rgba(15,27,45,.52);margin:18px 4px 8px;}
.kb-drawer-link,
.kb-drawer-voucher{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;font-size:14px;font-weight:750;color:var(--navy);border-radius:12px;}
.kb-drawer-link:hover{background:#F6F7F9;}
.kb-drawer-link.is-hot{color:var(--orange);}
.kb-drawer-voucher{margin-top:10px;background:var(--orange-soft);color:var(--orange);font-weight:850;}
.kb-drawer-group{border:1px solid var(--line);border-radius:14px;margin-bottom:8px;background:#fff;overflow:hidden;}
.kb-drawer-group[open]{border-color:#FFE0CC;background:#FFFDFC;}
.kb-drawer-group summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;font-size:14px;font-weight:850;color:var(--navy);cursor:pointer;}
.kb-drawer-group summary::-webkit-details-marker{display:none;}
.kb-drawer-group summary::after{content:"";width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .16s ease;opacity:.6;flex:0 0 auto;}
.kb-drawer-group[open] summary::after{transform:rotate(225deg);margin-top:5px;}
.kb-drawer-group summary small{margin-left:auto;font-size:11px;font-weight:700;color:var(--muted);white-space:nowrap;}
.kb-drawer-children{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 10px 12px;}
.kb-drawer-children a{display:flex;align-items:center;min-height:38px;border-radius:10px;background:#F6F7F9;color:rgba(15,27,45,.78);font-size:12.5px;font-weight:700;line-height:1.2;padding:8px 10px;}
.kb-drawer-children a:first-child{grid-column:1/-1;background:var(--navy);color:#fff;}
@media(max-width:380px){
  .kb-drawer{width:92%;}
  .kb-drawer-children{grid-template-columns:1fr;}
}
