/* ============================================================
   BIKYEE — Brand Design System
   Version: 2.0 | bikyee.css
   ============================================================ */

/* === BRAND COLORS === */
:root {
  --bk-orange:         #E84E00;
  --bk-orange-dark:    #C03D00;
  --bk-orange-light:   #FF6A20;
  --bk-black:          #111111;
  --bk-black-soft:     #1A1A1A;
  --bk-white:          #FFFFFF;
  --bk-bg:             #FFFFFF;
  --bk-bg-gray:        #F5F5F5;
  --bk-bg-card:        #FFFFFF;
  --bk-border:         #DDDDDD;
  --bk-border-dark:    #BBBBBB;
  --bk-text:           #1A1A1A;
  --bk-text-muted:     #666666;
  --bk-text-light:     #999999;
  --bk-price:          #C0392B;
  --bk-price-original: #999999;
  --bk-badge-new:      #28A745;
  --bk-badge-sale:     #C0392B;
  --bk-badge-free:     #007BFF;
  --bk-badge-top:      #E84E00;
  --bs-primary:        #E84E00;
  --bs-primary-rgb:    232, 78, 0;
  --bs-dark:           #111111;
  --bs-body-bg:        #FFFFFF;
  --bs-body-color:     #1A1A1A;
  --bs-border-color:   #DDDDDD;
}

/* === GLOBAL === */
body {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bk-text);
  background: var(--bk-bg);
}

a { color: var(--bk-text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bk-orange); }

/* === TYPOGRAPHY === */
h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 32px; text-transform: uppercase; }
h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 26px; text-transform: uppercase; }
h3 { font-weight: 600; font-size: 20px; }
.price-sale { font-size: 18px; font-weight: 700; color: var(--bk-price); }
.price-orig { font-size: 14px; color: var(--bk-price-original); text-decoration: line-through; }
.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 28px;
  text-transform: uppercase; border-left: 4px solid var(--bk-orange); padding-left: 12px;
}

/* === BUTTONS === */
.btn-primary, .bk-btn-primary {
  background: var(--bk-orange) !important; border-color: var(--bk-orange) !important;
  color: #fff !important; border-radius: 4px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase; transition: all .2s;
}
.btn-primary:hover, .bk-btn-primary:hover {
  background: var(--bk-orange-dark) !important; border-color: var(--bk-orange-dark) !important;
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,78,0,.3);
}
.bk-btn-secondary {
  border: 2px solid var(--bk-black); color: var(--bk-black); font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase; transition: all .2s;
}
.bk-btn-secondary:hover { background: var(--bk-black); color: #fff; }

/* === NAVBAR === */
.bk-navbar { background: var(--bk-black) !important; padding: 0 16px; min-height: 60px; z-index: 1030; }
.bk-navbar .navbar-brand { padding: 8px 0; }
.bk-navbar .nav-link { color: rgba(255,255,255,.85) !important; font-weight: 600; font-size: 13px;
  letter-spacing: .8px; text-transform: uppercase; padding: 20px 14px !important; transition: color .2s; }
.bk-navbar .nav-link:hover { color: var(--bk-orange) !important; }

.bk-nav-icon-btn {
  background: none; border: none; color: rgba(255,255,255,.8); font-size: 18px;
  padding: 8px; cursor: pointer; position: relative; transition: color .2s; text-decoration: none;
}
.bk-nav-icon-btn:hover { color: var(--bk-orange); }

.bk-badge-count {
  position: absolute; top: 2px; right: -2px; background: var(--bk-orange);
  color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* === ANNOUNCEMENT BAR === */
.bk-announcement-bar {
  background: var(--bk-black); color: #fff; text-align: center;
  padding: 8px; font-size: 12px; letter-spacing: .5px;
}
.bk-announcement-bar a { color: var(--bk-orange); font-weight: 700; margin-left: 8px; }

/* === MEGA MENU === */
.bk-mega-item { position: static !important; }
.bk-mega-menu {
  position: absolute !important; top: 100% !important; left: 0 !important; right: 0 !important;
  width: 100% !important; background: #fff; border-top: 3px solid var(--bk-orange);
  box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 24px 32px; display: none !important;
  z-index: 1050;
}
.bk-mega-item:hover .bk-mega-menu { display: flex !important; }
.bk-mega-menu h6 {
  color: var(--bk-orange); font-weight: 700; text-transform: uppercase;
  font-size: 11px; letter-spacing: 1px; margin-bottom: 12px;
}
.bk-mega-menu a { display: block; padding: 4px 0; color: var(--bk-text-muted); font-size: 13px; }
.bk-mega-menu a:hover { color: var(--bk-orange); padding-left: 4px; }

/* === PRODUCT CARD === */
.product-card {
  border: 1px solid var(--bk-border); border-radius: 8px; overflow: hidden;
  background: var(--bk-bg-card); transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); transform: translateY(-2px); }
.product-card__img-wrap {
  position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bk-bg-gray);
}
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card__no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f0f0f0; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__badges {
  position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 2;
}
.product-card__wishlist {
  position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.9);
  border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: all .2s;
}
.product-card__wishlist:hover { background: var(--bk-orange); color: #fff; }
.product-card__wishlist.active { color: var(--bk-orange); }
.product-card__overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 8px;
  background: rgba(0,0,0,.6); transform: translateY(100%); transition: transform .2s;
}
.product-card:hover .product-card__overlay { transform: translateY(0); }
.product-card__body { padding: 10px 12px; }
.product-card__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 13px; font-weight: 500; color: var(--bk-text);
  margin-bottom: 6px; text-decoration: none;
}
.product-card__name:hover { color: var(--bk-orange); }

/* === BADGES === */
.bk-badge {
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .3px; display: inline-block;
}
.bk-badge--new  { background: var(--bk-badge-new);  color: #fff; }
.bk-badge--sale { background: var(--bk-badge-sale); color: #fff; }
.bk-badge--free { background: var(--bk-badge-free); color: #fff; }
.bk-badge--top  { background: var(--bk-badge-top);  color: #fff; }

/* === CATEGORY PILLS === */
.bk-cat-pill {
  display: inline-block; padding: 8px 18px; border: 1px solid #ddd; border-radius: 24px;
  background: #fff; font-size: 13px; font-weight: 600; white-space: nowrap;
  color: var(--bk-text); transition: all .2s; cursor: pointer; text-decoration: none;
}
.bk-cat-pill:hover { background: var(--bk-black); color: #fff; border-color: var(--bk-black); }

/* === FILTER SIDEBAR === */
.bk-filter-sidebar { position: sticky; top: 80px; }
.bk-filter-group { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--bk-border); }
.bk-filter-title {
  font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 12px; color: var(--bk-black);
}
.bk-price-bucket {
  padding: 4px 10px; border: 1px solid #ddd; border-radius: 16px; font-size: 12px;
  color: var(--bk-text-muted); text-decoration: none; transition: all .2s;
}
.bk-price-bucket:hover { border-color: var(--bk-orange); color: var(--bk-orange); }
.bk-tag-pill {
  padding: 6px 12px; border: 1px solid #ddd; border-radius: 16px; font-size: 12px;
  color: var(--bk-text-muted); text-decoration: none; transition: all .2s;
}
.bk-tag-pill:hover, .bk-tag-pill.active {
  background: var(--bk-orange); color: #fff; border-color: var(--bk-orange);
}

/* === SIZE CHIP === */
.bk-size-chip {
  min-width: 48px; border: 1px solid #ddd; border-radius: 4px;
  font-weight: 600; font-size: 13px; transition: all .2s;
}
.bk-size-chip.active, .bk-size-chip.btn-dark { background: var(--bk-black); color: #fff; border-color: var(--bk-black); }
.bk-size-chip.disabled { text-decoration: line-through; opacity: .5; cursor: not-allowed; }

/* === COLOR SWATCH === */
.bk-color-swatch {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid #ddd;
  cursor: pointer; transition: all .2s; position: relative;
}
.bk-color-swatch.active, .bk-color-swatch:hover { border-color: var(--bk-orange); transform: scale(1.1); }

/* === GALLERY THUMBS === */
.bk-thumb {
  width: 72px; height: 72px; object-fit: cover; border-radius: 6px;
  cursor: pointer; border: 2px solid transparent; transition: border-color .2s;
}
.bk-thumb.active, .bk-thumb:hover { border-color: var(--bk-orange); }

/* === QTY STEPPER === */
.bk-qty-stepper { border: 1px solid #ddd; border-radius: 4px; overflow: hidden; display: inline-flex; }
.bk-qty-stepper button {
  width: 40px; height: 40px; border: none; background: #f5f5f5;
  font-size: 18px; cursor: pointer; transition: background .2s;
}
.bk-qty-stepper button:hover { background: #e0e0e0; }
.bk-qty-stepper input {
  width: 48px; height: 40px; text-align: center; border: none;
  outline: none; font-weight: 700; font-size: 14px;
}

/* === DELIVERY ZONE === */
.bk-zone-btn {
  padding: 6px 16px; border: 1px solid #ddd; border-radius: 4px; font-size: 12px;
  font-weight: 600; background: #fff; cursor: pointer; transition: all .2s;
}
.bk-zone-btn.active { background: var(--bk-black); color: #fff; border-color: var(--bk-black); }

/* === DELIVERY OPTIONS (CHECKOUT) === */
.bk-delivery-option {
  border: 1px solid #ddd; border-radius: 8px; cursor: pointer; transition: all .2s;
}
.bk-delivery-option:hover { border-color: var(--bk-orange); }
.bk-delivery-option:has(input:checked) { border: 2px solid var(--bk-orange); background: #fff5f0; }

/* === MOBILE BOTTOM NAV === */
.bk-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bk-black); border-top: 1px solid #333;
  z-index: 1040; display: flex; padding: 4px 0;
}
.bk-bottom-nav__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 18px; text-decoration: none; padding: 6px 4px;
  transition: color .2s; position: relative;
}
.bk-bottom-nav__item span { font-size: 10px; margin-top: 2px; }
.bk-bottom-nav__item:hover, .bk-bottom-nav__item.active { color: var(--bk-orange); }

/* === ORDER TRACKING TIMELINE === */
.bk-track-timeline .step-icon {
  width: 32px; height: 32px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.bk-track-timeline .step-done { background: var(--bk-orange); color: #fff; }
.bk-track-timeline .step-pending { background: #ddd; color: #999; }

/* === PRODUCT SLIDER === */
.bk-product-slider { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.bk-product-slider::-webkit-scrollbar { height: 4px; }
.bk-product-slider::-webkit-scrollbar-thumb { background: var(--bk-border-dark); border-radius: 4px; }
.bk-product-slider .product-card { scroll-snap-align: start; min-width: 220px; max-width: 220px; flex-shrink: 0; }

/* === SEARCH OVERLAY === */
.bk-search-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.7); z-index: 2000; display: none;
  align-items: flex-start; justify-content: center; padding-top: 120px;
}
.bk-search-overlay.active { display: flex; }
.bk-search-box {
  background: #fff; border-radius: 8px; width: 90%; max-width: 600px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3); overflow: hidden;
}
.bk-search-box input {
  width: 100%; padding: 16px 20px; border: none; outline: none;
  font-size: 16px; font-weight: 500;
}
.bk-search-results { max-height: 400px; overflow-y: auto; }

/* === ADMIN SIDEBAR === */
.bk-admin-sidebar {
  background: var(--bk-black); min-height: 100vh; width: 260px;
  position: fixed; top: 0; left: 0; z-index: 1000; overflow-y: auto;
  transition: transform .3s;
}
.bk-admin-sidebar .sidebar-brand {
  padding: 20px 16px; border-bottom: 1px solid #333;
}
.bk-admin-sidebar .sidebar-nav { padding: 12px 0; }
.bk-admin-sidebar .sidebar-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 20px;
  color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: all .2s; border-left: 3px solid transparent;
}
.bk-admin-sidebar .sidebar-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.bk-admin-sidebar .sidebar-link.active {
  color: var(--bk-orange); border-left-color: var(--bk-orange); background: rgba(232,78,0,.08);
}
.bk-admin-sidebar .sidebar-section {
  color: rgba(255,255,255,.3); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 16px 20px 6px;
}
.bk-admin-content { margin-left: 260px; padding: 24px; min-height: 100vh; background: #f5f5f5; }
.bk-admin-topbar {
  background: #fff; padding: 12px 24px; border-bottom: 1px solid var(--bk-border);
  margin: -24px -24px 24px; display: flex; align-items: center; justify-content: space-between;
}

/* === ADMIN STAT CARDS === */
.bk-stat-card {
  background: #fff; border-radius: 8px; padding: 20px; border: 1px solid var(--bk-border);
  transition: box-shadow .2s;
}
.bk-stat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.bk-stat-card .stat-value { font-size: 28px; font-weight: 700; color: var(--bk-black); }
.bk-stat-card .stat-label { font-size: 12px; color: var(--bk-text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* === TOAST NOTIFICATION === */
.bk-toast {
  position: fixed; bottom: 80px; right: 16px; z-index: 9999;
  padding: 12px 20px; border-radius: 6px; font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: opacity .3s; color: #fff;
  animation: slideInUp .3s ease;
}
@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === HERO BANNER === */
.bk-hero .carousel-item img { height: 520px; object-fit: cover; }
.bk-hero .carousel-caption {
  bottom: 20%; text-align: left; left: 8%; right: auto;
}
.bk-hero .carousel-caption h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-style: italic; font-size: 56px; text-transform: uppercase;
  color: #fff; text-shadow: 2px 2px 8px rgba(0,0,0,.5);
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .bk-hero .carousel-item img { height: 300px; }
  .bk-hero .carousel-caption h1 { font-size: 28px; }
  body { padding-bottom: 64px; }
  .bk-admin-sidebar { transform: translateX(-100%); }
  .bk-admin-sidebar.show { transform: translateX(0); }
  .bk-admin-content { margin-left: 0; }
}

@media (max-width: 767px) {
  .bk-hero .carousel-item img { height: 220px; }
  .bk-hero .carousel-caption { bottom: 10%; left: 5%; }
  .bk-hero .carousel-caption h1 { font-size: 22px; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  .section-title { font-size: 22px; }
}

/* === FOOTER === */
.bk-footer { background: var(--bk-black); color: #fff; padding: 48px 0 24px; }
.bk-footer h6 {
  color: var(--bk-orange); font-weight: 700; text-transform: uppercase;
  font-size: 11px; letter-spacing: 1px; margin-bottom: 12px;
}
.bk-footer a { color: rgba(255,255,255,.5); font-size: 13px; transition: color .2s; }
.bk-footer a:hover { color: var(--bk-orange); padding-left: 4px; }

/* === INSTALLER WIZARD === */
.bk-install-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}
.bk-install-card {
  background: #fff; border-radius: 12px; padding: 40px; max-width: 600px;
  width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.bk-install-steps {
  display: flex; gap: 8px; margin-bottom: 32px;
}
.bk-install-step {
  flex: 1; height: 4px; border-radius: 2px; background: #ddd; transition: background .3s;
}
.bk-install-step.done { background: var(--bk-orange); }
.bk-install-step.active { background: var(--bk-orange-light); }

/* === PAGE LOADING === */
.bk-page-loader {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--bk-orange); z-index: 9999;
  animation: pageLoad 1.5s ease-in-out infinite;
}
@keyframes pageLoad {
  0% { width: 0; }
  50% { width: 70%; }
  100% { width: 100%; opacity: 0; }
}

/* === MISC UTILITIES === */
.bg-bk-gray { background: var(--bk-bg-gray); }
.text-bk-orange { color: var(--bk-orange); }
.border-bk-orange { border-color: var(--bk-orange) !important; }
