/* ==========================================================================
   Blinkit Quick Commerce - Standalone CSS (Clean & Fixed Modals)
   ========================================================================== */

:root {
  --bk-green: #0c831f;
  --bk-green-dark: #096818;
  --bk-green-btn: #318616;
  --bk-green-bg: #eef7eb;
  --bk-yellow: #f7c32e;
  --bk-dark: #1c1c1c;
  --bk-text-main: #2b2b2b;
  --bk-grey-600: #666666;
  --bk-grey-400: #999999;
  --bk-grey-200: #ececec;
  --bk-grey-100: #f8f8f8;
  --bk-cat-bg: #f2f7fb;
  --bk-white: #ffffff;
  --bk-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --bk-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --bk-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --bk-radius-sm: 6px;
  --bk-radius-md: 10px;
  --bk-radius-lg: 16px;
  --bk-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--bk-font);
  background-color: var(--bk-white);
  color: var(--bk-text-main);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Header */
.bk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bk-white);
  border-bottom: 1px solid var(--bk-grey-200);
}

.bk-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.bk-brand-logo-img {
  height: 38px;
  max-width: 160px;
  object-fit: contain;
}

.bk-location {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--bk-radius-sm);
  transition: background 0.2s;
}

.bk-location:hover {
  background: var(--bk-grey-100);
}

.bk-location-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bk-dark);
}

.bk-location-address {
  font-size: 0.75rem;
  color: var(--bk-grey-600);
  display: flex;
  align-items: center;
  gap: 4px;
}

.bk-search-container {
  flex: 1;
  position: relative;
  max-width: 650px;
}

.bk-search-input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 46px;
  border-radius: var(--bk-radius-md);
  border: 1px solid transparent;
  background: var(--bk-grey-100);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s;
}

.bk-search-input:focus {
  background: var(--bk-white);
  border-color: var(--bk-grey-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.bk-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bk-grey-600);
  font-size: 1rem;
}

.bk-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  position: relative;
}

.bk-btn-login {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bk-dark);
  cursor: pointer;
}

.bk-account-btn {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bk-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 6px;
}

.bk-account-btn:hover {
  background: #f4f4f4;
}

.bk-btn-cart {
  background: var(--bk-green);
  color: var(--bk-white);
  padding: 10px 16px;
  border-radius: var(--bk-radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}

.bk-btn-cart:hover {
  background: var(--bk-green-dark);
}

/* Account Dropdown Menu */
.bk-account-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 120px;
  width: 280px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid #eee;
  z-index: 2500;
  display: none;
  flex-direction: column;
  padding: 16px;
  margin-top: 8px;
}

.bk-account-dropdown-menu.active {
  display: flex;
}

.bk-account-header {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.bk-account-header-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #111;
}

.bk-account-header-sub {
  font-size: 0.75rem;
  color: #777;
  margin-top: 2px;
}

.bk-account-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 16px;
}

.bk-account-links a {
  color: #444;
  transition: color 0.2s;
}

.bk-account-links a:hover {
  color: var(--bk-green);
}

.bk-qr-promo {
  background: #f8fafe;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #eef2fa;
}

.bk-qr-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.bk-qr-text {
  font-size: 0.7rem;
  color: #444;
  line-height: 1.3;
}

.bk-qr-text strong {
  color: #111;
  display: block;
}

/* ==========================================================================
   FULL BLINKIT FOOTER COMPONENT
   ========================================================================== */
.bk-footer {
  background: #ffffff;
  padding: 40px 24px 30px;
  border-top: 1px solid #eeeeee;
  margin-top: 40px;
  font-family: inherit;
}

.bk-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.bk-footer-heading {
  font-weight: 800;
  font-size: 1.1rem;
  color: #111111;
  margin-bottom: 14px;
}

.bk-footer-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.bk-footer-see-all {
  color: var(--bk-green, #0c831f);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.bk-footer-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
  font-size: 0.85rem;
}

.bk-footer-grid-3 a {
  color: #666666;
  text-decoration: none;
  transition: color 0.15s ease;
  line-height: 1.4;
}

.bk-footer-grid-3 a:hover {
  color: var(--bk-green, #0c831f);
}

.bk-footer-bottom {
  max-width: 1280px;
  margin: 0 auto 0;
  padding-top: 0;
   
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888888;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.4;
}

.bk-footer-copyright {
  flex: 1;
  min-width: 280px;
}

.bk-footer-credit {
  font-weight: 600;
}

/* ==========================================================================
   MODALS & OVERLAYS (Fixed Position & Backdrop)
   ========================================================================== */

/* 1. Location & Store Selector Modal */
.bk-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.bk-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bk-modal-card {
  background: var(--bk-white);
  width: 90%;
  max-width: 520px;
  border-radius: var(--bk-radius-lg);
  padding: 24px;
  box-shadow: var(--bk-shadow-lg);
  position: relative;
}

.bk-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.bk-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bk-dark);
}

.bk-store-list {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.bk-store-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--bk-grey-200);
  border-radius: var(--bk-radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.bk-store-item:hover {
  border-color: var(--bk-green-btn);
  background: var(--bk-green-bg);
}

.bk-store-info-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bk-dark);
}

.bk-store-info-sub {
  font-size: 0.75rem;
  color: var(--bk-grey-600);
  margin-top: 2px;
}

/* 2. Fee Info Modal (Delivery & Handling Info) */
.bk-fee-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.bk-fee-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bk-fee-modal-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 380px;
}

.bk-fee-modal-close-btn {
  width: 36px;
  height: 36px;
  background: #2b2b2b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.bk-fee-modal-card {
  background: white;
  width: 100%;
  border-radius: 18px;
  padding: 24px 24px 16px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.bk-fee-modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 16px;
  text-align: left;
}

.bk-fee-modal-content {
  font-size: 0.85rem;
  color: #333;
  text-align: left;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bk-fee-modal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bk-fee-modal-content li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 16px;
}

.bk-fee-modal-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #555;
  font-weight: bold;
}

.bk-fee-sound-good-btn {
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid #eeeeee;
  color: #0c831f;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
}

/* Custom Confirmation & Delete Modal */
.bk-confirm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.bk-confirm-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bk-confirm-card {
  background: #ffffff;
  width: 90%;
  max-width: 380px;
  border-radius: 20px;
  padding: 28px 24px 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  text-align: center;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.bk-confirm-modal-overlay.active .bk-confirm-card {
  transform: scale(1);
}

.bk-confirm-icon-box {
  width: 58px;
  height: 58px;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.bk-confirm-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}

.bk-confirm-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 24px;
}

.bk-confirm-actions {
  display: flex;
  gap: 12px;
}

.bk-confirm-btn-cancel {
  flex: 1;
  padding: 12px;
  background: #f3f4f6;
  color: #374151;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: background 0.2s;
}

.bk-confirm-btn-cancel:hover {
  background: #e5e7eb;
}

.bk-confirm-btn-danger {
  flex: 1;
  padding: 12px;
  background: #ef4444;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  transition: background 0.2s;
}

.bk-confirm-btn-danger:hover {
  background: #dc2626;
}

/* 3. Login Modal & OTP Overlay */
.bk-login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 3500;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.bk-login-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bk-login-card {
  background: #ffffff;
  width: 90%;
  max-width: 400px;
  border-radius: 20px;
  padding: 32px 28px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.bk-login-modal-overlay.active .bk-login-card {
  transform: translateY(0);
}

.bk-login-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.6rem;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.bk-login-close-btn:hover {
  color: #111;
}

.bk-login-back-btn {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 1.1rem;
  color: #555;
  cursor: pointer;
}

.bk-login-header-wrapper {
  margin-bottom: 20px;
}

.bk-login-logo-img {
  height: 44px;
  max-width: 200px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

.bk-login-brand-text {
  font-weight: 900;
  font-size: 1.4rem;
  color: #0c831f;
  margin-bottom: 8px;
}

.bk-login-brand-text span {
  background: #f7c32e;
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
}

.bk-login-tagline-badge {
  display: inline-block;
  background: #f0f7ef;
  color: #0c831f;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.bk-login-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 4px;
}

.bk-login-subheading {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.bk-mobile-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
  background: #fafafa;
  transition: all 0.2s ease;
}

.bk-mobile-input-group:focus-within {
  border-color: #0c831f;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(12, 131, 31, 0.12);
}

.bk-country-code {
  font-weight: 800;
  font-size: 0.95rem;
  color: #222;
  padding-right: 10px;
  border-right: 1px solid #ddd;
  margin-right: 12px;
}

.bk-mobile-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  color: #111;
  letter-spacing: 0.8px;
}

.bk-mobile-input::placeholder {
  color: #aaa;
  font-weight: 500;
  letter-spacing: normal;
}

.bk-btn-continue {
  width: 100%;
  padding: 14px;
  background: #cccccc;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  transition: all 0.2s ease;
  cursor: not-allowed;
}

.bk-btn-continue.active {
  background: #0c831f;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(12, 131, 31, 0.3);
}

.bk-btn-continue.active:hover {
  background: #096818;
}

.bk-login-footer-text {
  font-size: 0.72rem;
  color: #888888;
  margin-top: 18px;
  line-height: 1.4;
}

.bk-login-footer-text a {
  color: #0c831f;
  font-weight: 600;
  text-decoration: none;
}

.bk-login-footer-text a:hover {
  text-decoration: underline;
}

/* OTP Boxes */
.bk-otp-boxes {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.bk-otp-box {
  width: 48px;
  height: 52px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.bk-otp-box:focus {
  border-color: var(--bk-green);
}

.bk-demo-otp-hint {
  background: #eef7eb;
  color: #0c831f;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}

/* Main Content */
.bk-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

/* Hero Banners Section */
.bk-hero-section {
  margin-bottom: 32px;
}

/* Hero Carousel Slider (Desktop) */
.bk-hero-slider {
  position: relative;
  width: 100%;
  height: 370px;
  border-radius: var(--bk-radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--bk-shadow-sm);
}

.bk-slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.bk-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 1;
}

.bk-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.bk-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bk-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--bk-dark);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
}

.bk-hero-slider:hover .bk-slider-arrow {
  opacity: 1;
  pointer-events: auto;
}

.bk-slider-prev {
  left: 16px;
}

.bk-slider-next {
  right: 16px;
}

.bk-slider-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.bk-slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.bk-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.bk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}

.bk-dot.active {
  background: #ffffff;
  width: 18px;
  border-radius: 4px;
}

.bk-btn-shopnow {
  background: var(--bk-white);
  color: var(--bk-dark);
  font-weight: 800;
  padding: 10px 24px;
  border-radius: var(--bk-radius-sm);
  font-size: 0.9rem;
  display: inline-block;
}

.bk-hero-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bk-hero-sub-card {
  border-radius: var(--bk-radius-md);
  padding: 20px;
  color: white;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.bk-sub-card-1 { background: linear-gradient(135deg, #00b4db, #0083b0); }
.bk-sub-card-2 { background: linear-gradient(135deg, #f7b731, #fa8231); }
.bk-sub-card-3 { background: linear-gradient(135deg, #a8c0ff, #3f2b96); }

.bk-sub-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.bk-sub-card-desc {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 4px;
}

.bk-btn-ordernow {
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--bk-radius-sm);
  align-self: flex-start;
  margin-top: 12px;
}

/* Categories Grid */
.bk-categories-wrapper {
  margin-bottom: 40px;
}

.bk-cat-grid-exact {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
  row-gap: 20px;
}

.bk-cat-item-exact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.bk-cat-img-box-exact {
  width: 90px;
  height: 90px;
  background: var(--bk-cat-bg);
  border-radius: var(--bk-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 10px;
  transition: transform 0.2s;
}

.bk-cat-item-exact:hover .bk-cat-img-box-exact {
  transform: translateY(-2px);
}

.bk-cat-img-box-exact img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bk-cat-name-exact {
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

/* Product Shelf Section */
.bk-shelf-section {
  margin-bottom: 36px;
}

.bk-shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.bk-shelf-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bk-dark);
}

.bk-shelf-see-all {
  color: var(--bk-green-btn);
  font-size: 0.95rem;
  font-weight: 700;
}

.bk-shelf-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* Horizontal Shelf Slider Styling (Desktop) */
.bk-shelf-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.bk-shelf-slider {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth;
  gap: 16px !important;
  width: 100%;
  padding: 10px 4px !important;
  -ms-overflow-style: none !important; /* IE and Edge */
  scrollbar-width: none !important; /* Firefox */
}

.bk-shelf-slider::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari and Opera */
}

.bk-shelf-slider .bk-card-exact {
  flex: 0 0 190px !important;
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
  scroll-snap-align: start;
}

.bk-shelf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bk-white);
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: var(--bk-dark);
  font-size: 0.95rem;
  opacity: 0;
}

.bk-shelf-slider-wrap:hover .bk-shelf-arrow {
  opacity: 1;
}

.bk-arrow-left {
  left: -18px;
}

.bk-arrow-right {
  right: -18px;
}

.bk-shelf-arrow:hover {
  background: var(--bk-grey-100);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.16);
}

.bk-shelf-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.bk-card-exact {
  background: var(--bk-white);
  border: 1px solid var(--bk-grey-200);
  border-radius: var(--bk-radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bk-card-exact:hover {
  border-color: #d1d1d1;
  box-shadow: var(--bk-shadow-sm);
}

.bk-blue-discount-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #256fef;
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  z-index: 2;
}

.bk-exact-img-container {
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 4px;
}

.bk-exact-img-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.bk-exact-time-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #666;
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.bk-exact-prod-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
  line-height: 1.25;
  height: 2.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 4px;
}

.bk-exact-prod-unit {
  font-size: 0.75rem;
  color: var(--bk-grey-600);
  margin-bottom: 12px;
}

.bk-exact-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bk-exact-price-box {
  display: flex;
  flex-direction: column;
}

.bk-exact-price-main {
  font-size: 0.9rem;
  font-weight: 800;
  color: #111;
}

.bk-exact-price-mrp {
  font-size: 0.7rem;
  color: #888;
  text-decoration: line-through;
}

.bk-exact-add-btn-wrapper {
  width: 66px;
  height: 32px;
}

.bk-exact-add-btn {
  width: 100%;
  height: 100%;
  background: var(--bk-green-bg);
  border: 1px solid var(--bk-green-btn);
  color: var(--bk-green-btn);
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: var(--bk-radius-sm);
  transition: background 0.2s;
}

.bk-exact-add-btn:hover {
  background: var(--bk-green-btn);
  color: white;
}

.bk-exact-counter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  background: var(--bk-green-btn);
  color: white;
  border-radius: var(--bk-radius-sm);
  padding: 0 4px;
  font-weight: 800;
  font-size: 0.85rem;
}

.bk-counter-btn {
  color: white;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Slide-over Cart Drawer */
.bk-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.bk-cart-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bk-cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #f5f7fd;
  z-index: 2001;
  box-shadow: var(--bk-shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.bk-cart-overlay.active .bk-cart-drawer {
  right: 0;
}

.bk-drawer-header {
  background: var(--bk-white);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--bk-grey-200);
}

.bk-drawer-title {
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bk-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.bk-delivery-time-card {
  background: white;
  border-radius: var(--bk-radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  box-shadow: var(--bk-shadow-sm);
}

.bk-cart-item-card {
  background: white;
  border-radius: var(--bk-radius-md);
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--bk-shadow-sm);
}

.bk-cart-item-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.bk-cart-item-details {
  flex: 1;
}

.bk-cart-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.bk-cart-item-qty-price {
  font-size: 0.75rem;
  color: #666;
  margin-top: 2px;
}

.bk-bill-card {
  background: white;
  border-radius: var(--bk-radius-md);
  padding: 16px;
  margin-top: 16px;
}

.bk-bill-title {
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.bk-bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #555;
}

.bk-bill-row.grand-total {
  font-weight: 800;
  font-size: 1rem;
  color: #111;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.bk-info-icon-btn {
  color: #999;
  margin-left: 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.bk-info-icon-btn:hover {
  color: var(--bk-green);
}

.bk-drawer-footer {
  background: var(--bk-white);
  padding: 12px 16px;
  border-top: 1px solid var(--bk-grey-200);
}

.bk-btn-proceed {
  width: 100%;
  background: var(--bk-green);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: var(--bk-radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Delivery Partner Tip Pills */
.bk-tip-container {
  background: white;
  border-radius: var(--bk-radius-md);
  padding: 14px;
  margin-top: 12px;
}

.bk-tip-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: #111;
}

.bk-tip-sub {
  font-size: 0.72rem;
  color: #777;
  margin-top: 2px;
  margin-bottom: 10px;
}

.bk-tip-pills {
  display: flex;
  gap: 8px;
}

.bk-tip-btn {
  flex: 1;
  padding: 8px 4px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f9fafc;
  font-size: 0.8rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.bk-tip-btn.active {
  border-color: #0c831f;
  background: #eef7eb;
  color: #0c831f;
}

/* Base: Hide Mobile Floating Cart Bar on Desktop */
.bk-mobile-bottom-cart-bar {
  display: none;
}

@media (min-width: 769px) {
  .bk-mobile-bottom-cart-bar {
    display: none !important;
  }
}

body.bk-cart-open .bk-mobile-bottom-cart-bar {
  display: none !important;
}

/* Selected Delivery Address Bar in Cart Drawer */
.bk-cart-address-footer-bar {
  background: #ffffff;
  padding: 10px 14px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bk-cart-address-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}

.bk-cart-address-icon {
  color: var(--bk-green);
  font-size: 1.1rem;
}

.bk-cart-address-tag {
  font-weight: 800;
  font-size: 0.8rem;
  color: #111;
}

.bk-cart-address-sub {
  font-size: 0.72rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.bk-cart-address-change-btn {
  color: var(--bk-green);
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  padding-left: 8px;
}

/* Saved Address Card in Drawer (Screenshot 1 Match) */
.bk-drawer-saved-addr-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.bk-drawer-saved-addr-card:hover,
.bk-drawer-saved-addr-card.selected {
  border-color: var(--bk-green);
  box-shadow: 0 4px 14px rgba(12, 131, 31, 0.12);
  background: #fcfdfe;
}

.bk-drawer-saved-addr-icon {
  width: 32px;
  height: 32px;
  background: #fdf5d8;
  color: #d4a017;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.bk-drawer-saved-addr-tag {
  font-weight: 800;
  font-size: 0.9rem;
  color: #111;
}

.bk-drawer-saved-addr-text {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.35;
  margin-top: 2px;
}

/* ==========================================
   MOBILE NATIVE APP LOOK & RESPONSIVE RULES
   ========================================== */
@media (max-width: 1200px) {
  .bk-cat-grid-exact { grid-template-columns: repeat(5, 1fr); }
  .bk-shelf-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
.bk-shelf-title {
    font-size: 15px;
    font-weight: 600;
	
	}
  .bk-main {
    padding: 12px !important;
  }

  /* Header Mobile Optimization */
  .bk-header {
    padding: 8px 12px !important;
    position: sticky;
    top: 0;
    z-index: 2000;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
  }

  .bk-header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }

  /* Row 1 Items (order 1, 2, 3) */
  .bk-brand {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
  }

  .bk-brand-logo-img {
    height: 26px !important;
  }

  .bk-location {
    order: 2 !important;
    flex: 1 1 auto !important;
    margin: 0 4px !important;
    padding: 2px 4px !important;
    max-width: 200px !important;
    overflow: hidden !important;
  }

  .bk-location-title {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: #111 !important;
    line-height: 1.1 !important;
  }

  .bk-location-address {
    font-size: 0.72rem !important;
    color: #555 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .bk-header-actions {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-left: auto !important;
    position: relative !important;
  }

  /* Hide Header Cart Button & Text Account Dropdown on Mobile */
  .bk-btn-cart,
  .bk-account-wrapper {
    display: none !important;
  }

  /* Show Mobile Account Circle Icon on Top Right */
  .bk-mobile-account-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 1.6rem;
    cursor: pointer;
    text-decoration: none;
  }

  .bk-mobile-cart-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #111;
    cursor: pointer;
    text-decoration: none;
  }

  /* Position Account Dropdown Menu Aligned to Right Side on Mobile */
  .bk-account-dropdown-menu {
    position: absolute !important;
    top: 40px !important;
    right: 0 !important;
    left: auto !important;
    width: 270px !important;
    max-width: calc(100vw - 20px) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
    z-index: 4000 !important;
  }

  /* Row 2: Full Width Search Bar (order 4, flex-basis 100%) */
  .bk-search-container {
    order: 4 !important;
    width: 100% !important;
    flex-basis: 100% !important;
    margin: 6px 0 2px 0 !important;
    height: 40px !important;
    background: #f8f9fc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
  }

  .bk-search-input {
    font-size: 0.85rem !important;
    padding-left: 36px !important;
  }

  /* Main Container Padded for Bottom Sticky Cart Bar */
  body {
    padding-bottom: 75px;
  }

  /* Floating Bottom Mobile Cart Bar */
  .bk-mobile-bottom-cart-bar {
    position: fixed;
    bottom: 14px;
    left: 12px;
    right: 12px;
    background: #0c831f;
    color: #ffffff;
    border-radius: 12px;
    padding: 8px 16px;
    z-index: 3000;
    box-shadow: 0 8px 24px rgba(12, 131, 31, 0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease;
    height: 52px;
  }

  .bk-mobile-bottom-cart-bar:active {
    transform: scale(0.97);
    background-color: #0a6f1a;
  }

  .bk-mobile-cart-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .bk-mobile-cart-icon-box {
    width: 34px;
    height: 34px;
    background: #096818;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #ffffff;
  }

  .bk-mobile-cart-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
  }

  .bk-mobile-cart-count {
    font-size: 0.76rem;
    font-weight: 500;
    opacity: 0.9;
    color: #ffffff;
  }

  .bk-mobile-cart-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
  }

  .bk-mobile-cart-price i {
    font-size: 0.8rem;
    margin-right: 1px;
  }

  .bk-mobile-cart-right {
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
  }

  .bk-mobile-cart-right i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
  }

  .bk-mobile-bottom-cart-bar:hover .bk-mobile-cart-right i {
    transform: translateX(2px);
  }

  /* Hero Banners on Mobile */
  .bk-hero-section {
    grid-template-columns: 1fr;
    margin-bottom: 16px;
  }

  /* Hero Carousel Slider (Mobile) */
  .bk-hero-slider {
    height: 108px !important;
    margin-bottom: 14px !important;
  }

  .bk-slider-arrow {
    display: none !important; /* Hide arrows on mobile */
  }

  .bk-slider-dots {
    bottom: 8px !important;
  }

  .bk-hero-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Categories Grid: 4 items per row on mobile */
  .bk-categories-wrapper {
    margin: 16px 0;
  }

  .bk-cat-grid-exact {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }

  .bk-cat-img-box-exact {
    width: 70px !important;
    height: 70px !important;
    padding: 6px !important;
    margin: 0 auto !important;
  }

  .bk-cat-name-exact {
    font-size: 0.68rem !important;
  }

  /* Product Shelves: Fixed Compact Card Height & Smooth Scroll */
  .bk-shelf-grid,
  .bk-pdp-shelf-grid-6 {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    padding-bottom: 8px !important;
    margin-left: -4px !important;
    margin-right: -4px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    -webkit-overflow-scrolling: touch;
  }

  .bk-shelf-grid::-webkit-scrollbar,
  .bk-pdp-shelf-grid-6::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .bk-shelf-slider .bk-card-exact,
  .bk-shelf-card-exact,
  .bk-card-exact,
  .bk-pdp-shelf-grid-6 > div {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    min-width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    height: 310px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    scroll-snap-align: start !important;
    padding: 10px !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 12px !important;
  }

  .bk-shelf-arrow {
    display: none !important;
  }

  .bk-exact-card-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .bk-exact-price-box {
    flex-shrink: 0 !important;
  }

  .bk-exact-add-btn-wrapper {
    flex-shrink: 0 !important;
  }

  .bk-shelf-img-box-exact {
    height: 90px !important;
    max-height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .bk-shelf-img-exact {
    max-height: 80px !important;
    object-fit: contain !important;
  }

  .bk-cat-prod-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .bk-prod-card {
    padding: 10px !important;
  }

  .bk-prod-name,
  .bk-shelf-prod-name {
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
    height: 30px !important;
    overflow: hidden !important;
  }

  /* Full Footer Mobile Layout */
  .bk-footer {
    padding: 0 16px 0 !important;
  }

  .bk-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .bk-footer-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px 8px !important;
    font-size: 0.78rem !important;
  }

  .bk-footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-top: 24px !important;
    padding-top: 16px !important;
    font-size: 0.74rem !important;
  }

  /* Category Page Layout Mobile */
  .bk-cat-page-container {
    margin: 8px auto !important;
    border-radius: 8px !important;
  }

  .bk-cat-layout {
    grid-template-columns: 120px 1fr !important;
  }

  .bk-subcat-sidebar {
    max-height: calc(100vh - 120px) !important;
    width: 120px !important;
  }

  .bk-subcat-item {
    padding: 12px 6px !important;
    gap: 6px !important;
  }

  .bk-subcat-icon-box {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.15rem !important;
  }

  .bk-subcat-label {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
    word-break: break-word !important;
  }

  .bk-cat-products-area {
    padding: 10px !important;
  }

  /* Product Details Page Mobile */
  .bk-pdp-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .bk-main-img-box {
    height: 250px !important;
  }

  .bk-pdp-title {
    font-size: 1.15rem !important;
  }

  .bk-pdp-right {
    position: relative !important;
    top: 0 !important;
  }

  .bk-zoom-preview-box {
    display: none !important;
  }

  /* Account & Orders Pages Mobile */
  .bk-account-container {
    grid-template-columns: 1fr !important;
    margin: 10px auto !important;
    padding: 0 10px !important;
  }

  .bk-checkout-container {
    grid-template-columns: 1fr !important;
    padding: 0 12px !important;
  }
}

/* Desktop Only Rules */
@media (min-width: 769px) {
  .bk-mobile-account-icon {
    display: none !important;
  }
}
