/* ==========================================================
   OP STORE — COMPLETE MODERN GROCERY DESIGN SYSTEM
   Bespoke, Clean, Mobile-First, Accessible, High Performance
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700;1,800;1,900&display=swap');

:root {
  --op-primary: #2874f0;
  --op-primary-hover: #1a56b8;
  --op-primary-light: #f0f5ff;
  --op-primary-dark: #12449a;
  --op-accent: #ffe500;
  --op-accent-hover: #ffd814;
  --op-accent-light: #fffde6;
  --op-dark: #0f172a;
  --op-slate: #1e293b;
  --op-muted: #64748b;
  --op-light-gray: #f1f5f9;
  --op-border: #e2e8f0;
  --op-bg: #f1f3f6;
  --op-card-bg: #ffffff;
  --op-danger: #ef4444;
  --op-success: #10b981;
  --op-success-light: #ecfdf5;
  --op-radius: 12px;
  --op-radius-sm: 8px;
  --op-radius-lg: 16px;
  --op-radius-full: 9999px;
  --op-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --op-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --op-shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --op-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --op-font: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --op-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

body {
  font-family: var(--op-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: var(--op-bg);
  color: var(--op-slate);
  line-height: 1.5;
  font-size: 15px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 72px; /* space for mobile bottom bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--op-primary);
  text-decoration: none;
  transition: var(--op-transition);
}

a:hover {
  color: var(--op-primary-hover);
}

/* ==========================================================
   TOPBAR & HEADER
   ========================================================== */

.op-topbar {
  background-color: var(--op-slate);
  color: #cbd5e1;
  font-size: 12.5px;
  padding: 6px 0;
}

.op-topbar a {
  color: #cbd5e1;
}

.op-topbar a:hover {
  color: #ffffff;
}

.op-navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--op-border);
  box-shadow: var(--op-shadow-sm);
}

.op-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--op-primary);
  letter-spacing: -0.5px;
}

.op-brand-badge {
  background: linear-gradient(135deg, var(--op-primary), var(--op-primary-hover));
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--op-radius-sm);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.35);
}

/* ==========================================================
   BLINKIT-STYLE QUICK COMMERCE LOCATION BAR & MODAL
   ========================================================== */
.blinkit-loc-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-decoration: none;
  line-height: 1.15;
}

.blinkit-loc-pill:hover {
  background: #fffbeb;
  border-color: #facc15;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.25);
}

.blinkit-loc-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fef08a;
  color: #854d0e;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.blinkit-loc-pill:hover .blinkit-loc-icon-wrap {
  background: #0c831f;
  color: #ffffff;
}

.blinkit-loc-body {
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 175px;
}

.blinkit-eta-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: #0c831f;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.blinkit-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #0c831f;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(12, 131, 31, 0.7);
  animation: blinkitPulse 1.8s infinite;
}

@keyframes blinkitPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(12, 131, 31, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(12, 131, 31, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(12, 131, 31, 0); }
}

.blinkit-area-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.blinkit-area-title i {
  font-size: 9px;
  color: #64748b;
  margin-top: 1px;
  transition: transform 0.2s ease;
}

.blinkit-loc-pill:hover .blinkit-area-title i {
  transform: translateY(1px);
  color: #0f172a;
}

.blinkit-modal-header {
  background: linear-gradient(135deg, #fffbeb 0%, #fef9c3 100%);
  border-bottom: 1px solid #fef08a;
  padding: 20px 24px;
}

.blinkit-geo-btn {
  background: #ffffff;
  border: 2px solid #0c831f;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blinkit-geo-btn:hover {
  background: #f0fdf4;
  box-shadow: 0 6px 16px rgba(12, 131, 31, 0.15);
  transform: translateY(-1px);
}

.blinkit-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blinkit-area-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.blinkit-area-chip:hover {
  background: #0c831f;
  border-color: #0c831f;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 131, 31, 0.25);
}

.blinkit-area-chip.active {
  background: #0c831f;
  border-color: #0c831f;
  color: #ffffff;
  font-weight: 700;
}

.blinkit-service-card {
  border-radius: 14px;
  border: 1.5px solid #86efac;
  background: #f0fdf4;
  padding: 16px;
}

.op-search-form {
  position: relative;
  width: 100%;
}

.op-search-input {
  width: 100%;
  height: 46px;
  border-radius: var(--op-radius-full);
  border: 1.5px solid var(--op-border);
  padding: 0 45px 0 20px;
  background: var(--op-light-gray);
  font-size: 14.5px;
  font-family: inherit;
  transition: var(--op-transition);
}

.op-search-input:focus {
  outline: none;
  border-color: var(--op-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.op-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--op-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--op-transition);
}

.op-search-btn:hover {
  background: var(--op-primary-hover);
}

.op-nav-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--op-radius-full);
  color: var(--op-slate);
  font-weight: 600;
  font-size: 14px;
  background: transparent;
  border: 1px solid transparent;
  transition: var(--op-transition);
}

.op-nav-action-btn:hover {
  background: var(--op-light-gray);
  color: var(--op-primary);
}

.op-nav-cart-btn {
  background: var(--op-primary-light);
  color: var(--op-primary-dark);
  font-weight: 700;
}

.op-nav-cart-btn:hover {
  background: var(--op-primary);
  color: #fff;
}

.op-badge-counter {
  background: var(--op-accent);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--op-radius-full);
  margin-left: 4px;
}

/* Secondary Navigation Bar (Categories) */
.op-subnav {
  background: #ffffff;
  border-bottom: 1px solid var(--op-border);
  padding: 8px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
}

.op-subnav::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.op-subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  color: var(--op-slate);
  font-weight: 500;
  font-size: 13.5px;
  border-radius: var(--op-radius-full);
  transition: var(--op-transition);
}

.op-subnav-link:hover, .op-subnav-link.active {
  background: var(--op-light-gray);
  color: var(--op-primary);
}

.op-subnav-link.bulk-highlight {
  background: var(--op-accent-light);
  color: #92400e;
  font-weight: 700;
}

/* ==========================================================
   JIOMART MODERN CLEAN HEADER & TOP NAVIGATION SYSTEM
   ========================================================== */

/* Top Announcement Bar */
.jm-topbar {
  background: #2874f0; /* Original signature primary */
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.jm-topbar a {
  color: #e0f2fe;
  text-decoration: none;
  transition: color 0.15s ease;
}

.jm-topbar a:hover {
  color: #ffffff;
}

/* Main Sticky Navigation Header */
.jm-header-sticky {
  position: sticky;
  top: 0;
  z-index: 1025;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Brand Logo */
.jm-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
}

.jm-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #d92d20 0%, #b42318 100%);
  color: #ffffff;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(217, 45, 32, 0.35);
  flex-shrink: 0;
}

.jm-brand-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
  line-height: 1.1;
}

.jm-brand-text span {
  color: #0078ad;
}

/* Quick Capsule Tag */
.jm-quick-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  flex-shrink: 0;
}

/* Location Selector Pill (JioMart 2-line layout) */
.jm-loc-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-decoration: none;
  line-height: 1.25;
}

.jm-loc-box:hover {
  background: #ffffff;
  border-color: #0078ad;
  box-shadow: 0 4px 14px rgba(0, 120, 173, 0.15);
  transform: translateY(-1px);
}

.jm-loc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0078ad;
  font-size: 14px;
  flex-shrink: 0;
}

.jm-loc-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 175px;
}

.jm-loc-time {
  font-size: 11px;
  font-weight: 700;
  color: #0c831f; /* Crisp delivery green */
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.jm-loc-area {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}

.jm-loc-area i {
  font-size: 10px;
  color: #64748b;
  transition: transform 0.2s ease;
}

.jm-loc-box:hover .jm-loc-area i {
  color: #0078ad;
  transform: translateY(1px);
}

/* JioMart Search Bar */
.jm-search-box {
  position: relative;
  width: 100%;
}

.jm-search-icon-left {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
}

.jm-search-input {
  width: 100%;
  height: 46px;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  padding: 0 48px 0 48px;
  background: #f1f5f9;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  transition: all 0.2s ease;
}

.jm-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #0078ad;
  box-shadow: 0 0 0 4px rgba(0, 120, 173, 0.12);
}

.jm-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.jm-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0078ad;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jm-search-btn:hover {
  background: #005a82;
  transform: translateY(-50%) scale(1.05);
}

/* Action items (Right column) */
.jm-actions-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.jm-action-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 10px;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
  min-width: 58px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.jm-action-link:hover {
  color: #0078ad;
  background: #f8fafc;
  transform: translateY(-1px);
}

.jm-action-icon-box {
  position: relative;
  font-size: 19px;
  line-height: 1;
  margin-bottom: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.jm-action-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

/* Cart Badge */
.jm-badge-count {
  position: absolute;
  top: -7px;
  right: -10px;
  background: #d92d20;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(217, 45, 32, 0.4);
  border: 1.5px solid #ffffff;
}

/* JioMart Subnav Categories Bar */
.jm-subnav-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 7px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.jm-subnav-strip::-webkit-scrollbar {
  display: none;
}

.jm-subnav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  user-select: none;
  flex-shrink: 0;
}

.jm-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0078ad;
  transform: translateY(-1px);
}

.jm-chip.active {
  background: #0078ad;
  border-color: #0078ad;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 120, 173, 0.25);
}

.jm-chip-home {
  background: #0c831f; /* JioMart signature green pill */
  border-color: #0c831f;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(12, 131, 31, 0.25);
}

.jm-chip-home:hover {
  background: #096317;
  border-color: #096317;
  color: #ffffff;
}

.jm-chip-bulk {
  background: #fffbeb;
  border-color: #fde047;
  color: #92400e;
  font-weight: 700;
}

.jm-chip-bulk:hover {
  background: #fef08a;
  color: #78350f;
}

.jm-chip-hot {
  background: #d92d20;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 2px;
}


/* ==========================================================
   SMART BUYS PROMOTIONAL DEAL CARDS (EXACT JIOMART SECTION)
   ========================================================== */
.jm-smart-buys-section {
  width: 100%;
}

.jm-smart-buys-banner {
  background: #7ee2be; /* Exact mint green from screenshot */
  background: linear-gradient(180deg, #84e5bb 0%, #76dbb3 100%);
  border: 1.5px solid rgba(6, 95, 70, 0.15);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(6, 95, 70, 0.08);
}

.jm-smart-cards-scroller {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
  padding: 6px 4px;
}

.jm-smart-cards-scroller::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.jm-smart-cards-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  min-width: min-content;
}

@media (max-width: 991px) {
  .jm-smart-cards-track {
    justify-content: flex-start;
    padding: 0 6px;
    gap: 10px;
  }
}

.jm-smart-deal-card {
  display: block;
  flex-shrink: 0;
  width: 148px;
  border-radius: 22px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  background: transparent;
}

.jm-smart-deal-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.16);
  transition: all 0.25s ease;
}

.jm-smart-deal-card:hover {
  transform: translateY(-5px) scale(1.03);
}

.jm-smart-deal-card:hover img {
  box-shadow: 0 12px 26px rgba(6, 78, 59, 0.32);
}

@media (max-width: 576px) {
  .jm-smart-deal-card {
    width: 126px;
  }
}

/* Mobile Header Refinements */
@media (max-width: 991px) {
  .jm-loc-box {
    padding: 4px 8px;
    border-radius: 8px;
  }
  .jm-loc-icon {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .jm-loc-time {
    font-size: 9.5px;
  }
  .jm-loc-area {
    font-size: 11.5px;
    max-width: 110px;
  }
  .jm-brand-text {
    font-size: 18px;
  }
  .jm-brand-badge {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .jm-action-link {
    padding: 4px 6px;
    min-width: 44px;
  }
  .jm-action-icon-box {
    font-size: 17px;
  }
  .jm-action-title {
    font-size: 10.5px;
  }
}

/* ==========================================================
   CARDS & PRODUCTS
   ========================================================== */

.op-card {
  background: var(--op-card-bg);
  border-radius: var(--op-radius);
  border: 1px solid var(--op-border);
  box-shadow: var(--op-shadow-sm);
  transition: var(--op-transition);
  overflow: hidden;
}

.op-card:hover {
  box-shadow: var(--op-shadow-md);
  border-color: #cbd5e1;
}

.op-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.op-product-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

/* Circular white wishlist heart icon button on top-right overlay */
.op-prod-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 3;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
  padding: 0;
}

.op-prod-wishlist-btn:hover,
.op-prod-wishlist-btn:active {
  color: #ef4444;
  transform: scale(1.1);
  background: #ffffff;
}

.op-prod-wishlist-btn.active {
  color: #ef4444;
}

.op-prod-wishlist-btn i {
  font-size: 14px;
}

/* Discount Badge (Top-left if discount exists) */
.op-product-badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fbbf24;
  color: #000000;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.op-product-card .op-product-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 85%;
  background: #f8fafc;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.op-product-card .op-product-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.op-product-card:hover .op-product-img-wrap img {
  transform: scale(1.04);
}

.op-product-card .op-product-body {
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Store Icon + Store/Seller Name (Green icon, dark font, single line ellipsis) */
.op-product-card .op-prod-store-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.op-product-card .op-prod-store-row i {
  font-size: 12px;
  color: #0e624f;
}

/* Product Title: Black, bold, 2-line max, ellipsis overflow */
.op-product-card .op-product-title {
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 38px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.op-product-card .op-product-title:hover {
  color: #0e624f;
}

/* Bottom Row (flex, space-between): Price in green bold + Green rounded "Reserve" button */
.op-product-card .op-prod-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
  gap: 8px;
}

/* Price: Green bold text, format "Rs {amount}" */
.op-product-card .op-prod-price {
  color: #0e624f;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

/* Reserve Button: Green rounded pill-shaped, white bold text */
.op-product-card .btn-op-cart,
.op-product-card .btn-add-to-cart {
  background: #0e624f;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 6px 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(14, 98, 79, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.op-product-card .btn-op-cart:hover,
.op-product-card .btn-add-to-cart:hover {
  background: #084335;
  transform: translateY(-1px);
  color: #ffffff;
}

.op-product-card .btn-op-cart:active,
.op-product-card .btn-add-to-cart:active {
  transform: scale(0.96);
}

/* Mobile responsive sizing */
@media (max-width: 576px) {
  .op-product-card {
    border-radius: 14px;
  }
  .op-product-card .op-product-img-wrap {
    border-radius: 13px 13px 0 0;
    padding-top: 85%;
  }
  .op-product-card .op-product-body {
    padding: 10px 10px 12px 10px;
  }
  .op-prod-wishlist-btn {
    width: 28px;
    height: 28px;
    top: 7px;
    right: 7px;
  }
  .op-prod-wishlist-btn i {
    font-size: 12px;
  }
  .op-product-card .op-prod-store-row {
    font-size: 11px;
    gap: 4px;
  }
  .op-product-card .op-product-title {
    font-size: 13px;
    height: 35px;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .op-product-card .op-prod-price {
    font-size: 15px;
  }
  .op-product-card .btn-op-cart,
  .op-product-card .btn-add-to-cart {
    padding: 5px 12px;
    font-size: 11.5px;
  }
}

/* ==========================================================
   BUTTONS & FORMS
   ========================================================== */

.btn-op-primary {
  background: var(--op-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--op-radius-sm);
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--op-transition);
  cursor: pointer;
}

.btn-op-primary:hover {
  background: var(--op-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.btn-op-secondary {
  background: var(--op-accent);
  color: #0f172a;
  border: none;
  border-radius: var(--op-radius-sm);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--op-transition);
  cursor: pointer;
}

.btn-op-secondary:hover {
  background: var(--op-accent-hover);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-op-outline {
  background: transparent;
  color: var(--op-slate);
  border: 1.5px solid var(--op-border);
  border-radius: var(--op-radius-sm);
  padding: 9px 18px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--op-transition);
}

.btn-op-outline:hover {
  background: var(--op-light-gray);
  border-color: #cbd5e1;
  color: var(--op-slate);
}

.op-form-control {
  width: 100%;
  border: 1.5px solid var(--op-border);
  border-radius: var(--op-radius-sm);
  padding: 10px 14px;
  font-size: 14.5px;
  font-family: inherit;
  transition: var(--op-transition);
  background: #ffffff;
}

.op-form-control:focus {
  outline: none;
  border-color: var(--op-primary);
  box-shadow: 0 0 0 3.5px rgba(15, 118, 110, 0.15);
}

.op-form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--op-slate);
  margin-bottom: 6px;
  display: block;
}

/* ==========================================================
   HERO BANNER & PROMOTIONS (Attractive, Clean & Responsive)
   ========================================================== */

.op-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--op-radius-lg);
  padding: 32px 30px;
  min-height: 290px;
  display: flex;
  align-items: center;
  color: #ffffff;
  transition: all 0.3s ease;
}

/* Theme 1: Retail / Everyday Grocery (Deep Rich Emerald Green) */
.op-hero-theme-retail {
  background: linear-gradient(135deg, #064e3b 0%, #047857 55%, #059669 100%);
}

/* Theme 2: Bulk / Wholesale (Royal Indigo & Dark Slate) */
.op-hero-theme-bulk {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
}

/* Theme 3: Super Saver Deals / Oils & Ghee (Warm Sunset Ember) */
.op-hero-theme-all {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 55%, #ea580c 100%);
}

/* Subtle background lighting effect */
.op-hero-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.op-hero-body {
  position: relative;
  z-index: 2;
}

.op-hero-tag-wrap {
  display: inline-block;
}

.op-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #ffffff;
  text-transform: uppercase;
}

.op-hero-title {
  font-size: clamp(1.4rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.op-hero-subtitle {
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  max-width: 520px;
}

.op-btn-hero {
  background-color: #f59e0b;
  color: #0f172a !important;
  font-weight: 800;
  font-size: 15px;
  padding: 11px 24px;
  border-radius: 9999px;
  border: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.op-btn-hero:hover {
  background-color: #fbbf24;
  color: #0f172a !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.45);
}

.op-hero-perk {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.op-hero-art-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.op-hero-art-box {
  width: 100%;
  max-width: 380px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.op-hero-art-img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease;
}

.carousel-item:hover .op-hero-art-img {
  transform: scale(1.03);
}

/* Modern Carousel Indicators */
#heroCarousel .carousel-indicators {
  bottom: 12px;
  margin-bottom: 0;
  gap: 8px;
}

#heroCarousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  transition: all 0.3s ease;
  opacity: 1;
}

#heroCarousel .carousel-indicators .active {
  width: 26px;
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Modern Minimalist Carousel Controls */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 42px;
  height: 42px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  margin: 0 16px;
  opacity: 0;
  transition: all 0.25s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
  opacity: 0.9;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
  background: rgba(15, 23, 42, 0.75);
  transform: translateY(-50%) scale(1.08);
}

/* Mobile Screens (Under 768px) */
@media (max-width: 767.98px) {
  .op-hero-card {
    padding: 22px 18px 26px 18px;
    min-height: auto;
  }
  .op-hero-title {
    font-size: 1.32rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .op-hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 16px;
  }
  .op-hero-art-col {
    display: none !important; /* Keep mobile completely simple, uncluttered and highly readable */
  }
  .op-btn-hero {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 14px;
  }
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none; /* Hide arrows on touch phones so they don't block content */
  }
}


/* ==========================================================
   CATEGORY GRID
   ========================================================== */

.op-cat-card {
  background: #ffffff;
  border-radius: var(--op-radius);
  border: 1px solid var(--op-border);
  padding: 14px 10px;
  text-align: center;
  transition: var(--op-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.op-cat-card:hover {
  border-color: var(--op-primary);
  transform: translateY(-2px);
  box-shadow: var(--op-shadow-sm);
}

.op-cat-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--op-primary-light);
  color: var(--op-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--op-transition);
}

.op-cat-card:hover .op-cat-icon-wrap {
  background: var(--op-primary);
  color: #fff;
}

.op-cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--op-slate);
  line-height: 1.3;
}

/* ==========================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================== */

.op-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: #ffffff;
  border-top: 1px solid var(--op-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1030;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
  .op-bottom-nav {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
}

.op-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--op-muted);
  font-size: 11px;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  height: 100%;
  position: relative;
  text-decoration: none !important;
  transition: color 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.op-bottom-nav-item:hover,
.op-bottom-nav-item:focus {
  text-decoration: none !important;
  color: var(--op-primary);
}

.op-bottom-nav-item i {
  font-size: 19px;
  line-height: 1;
  margin-bottom: 1px;
}

.op-bottom-nav-item span {
  font-size: 11px;
  line-height: 1.2;
}

.op-bottom-nav-item.active {
  color: #047857 !important;
  font-weight: 700 !important;
}

.op-bottom-nav-item.active i {
  color: #047857 !important;
  transform: translateY(-1px);
}

.op-bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 28%;
  right: 28%;
  height: 3px;
  background: #047857;
  border-radius: 0 0 4px 4px;
}

.op-bottom-badge {
  position: absolute;
  top: 6px;
  right: 22%;
  background: var(--op-accent);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--op-radius-full);
}

/* ==========================================================
   TOASTS & ALERTS
   ========================================================== */

.op-alert {
  border-radius: var(--op-radius-sm);
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
}

.op-toast-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 992px) {
  .op-toast-container {
    bottom: 24px;
  }
}

.op-toast {
  background: var(--op-slate);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--op-radius-sm);
  font-size: 14px;
  box-shadow: var(--op-shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: opFadeIn 0.3s ease;
}

@keyframes opFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   FOOTER
   ========================================================== */

.op-footer {
  background: #ffffff;
  border-top: 1px solid var(--op-border);
  margin-top: auto;
  padding: 50px 0 20px;
  color: var(--op-muted);
}

.op-footer h6 {
  color: var(--op-slate);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.op-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
}

.op-footer-links a {
  color: var(--op-muted);
}

.op-footer-links a:hover {
  color: var(--op-primary);
}

.op-footer-bottom {
  border-top: 1px solid var(--op-border);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
}
