/* ==============================================================================
   PAYFLOW ENTERPRISE - JUMIA KENYA STOREFRONT DESIGN SYSTEM
   Authentic Jumia Kenya Aesthetic & Micro-Interactions
   Mobile-First Responsive Layouts & High-Conversion UX
   Strict Asset Separation - Zero Inline Styles
   ============================================================================== */

/* Layout Container */
.store-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.store-main-content {
  background-color: var(--color-jumia-bg, #f1f1f2);
  min-height: calc(100vh - 200px);
  padding-bottom: 40px;
}

/* ------------------------------------------------------------------------------
   1. TOP JUMIA UTILITY BANNER
   ------------------------------------------------------------------------------ */
.store-top-bar {
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-size: 11px;
  color: #555555;
  height: 32px;
  display: flex;
  align-items: center;
}

.store-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-link {
  color: #555555;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--color-accent, #E8650A);
}

.top-bar-divider {
  color: #d1d5db;
}

.top-bar-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #ecfdf5;
  color: #047857;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.top-bar-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #75757a;
}

/* ------------------------------------------------------------------------------
   2. MAIN JUMIA HEADER NAVIGATION
   ------------------------------------------------------------------------------ */
.store-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ededed;
  position: sticky;
  top: 0;
  z-index: var(--z-header, 100);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.store-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #282828;
  cursor: pointer;
  padding: 4px;
  align-items: center;
  justify-content: center;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #282828;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  background-color: var(--color-accent, #E8650A);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.brand-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #282828;
}

.brand-star {
  color: var(--color-accent, #E8650A);
  font-size: 14px;
  margin-left: -2px;
}

.brand-badge {
  background-color: var(--color-accent-subtle, #fef4ec);
  color: var(--color-accent, #E8650A);
  border: 1px solid rgba(232, 101, 10, 0.25);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Massive Central Search Bar */
.header-search {
  flex: 1;
  max-width: 600px;
}

.header-search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.header-search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 18px;
  pointer-events: none;
}

.header-search input[type="search"] {
  width: 100%;
  height: 44px;
  padding: 0 100px 0 42px;
  border: 1px solid #c7c7cd;
  border-radius: 4px;
  font-size: 14px;
  color: #282828;
  outline: none;
  background-color: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.header-search input[type="search"]:focus {
  border-color: var(--color-accent, #E8650A);
  box-shadow: 0 0 0 3px rgba(232, 101, 10, 0.15);
}

.search-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  margin: 2px 0 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.search-suggest[hidden] { display: none; }

.search-suggest li {
  padding: 9px 16px;
  font-size: 14px;
  color: #282828;
  cursor: pointer;
}

.search-suggest li strong { font-weight: 700; }

.search-suggest li:hover,
.search-suggest li.active { background: #fef4ec; }

.btn-header-search {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(135deg, #E8650A 0%, #d85705 100%);
  color: #ffffff;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(232, 101, 10, 0.28);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-header-search:hover {
  background: linear-gradient(135deg, #cf5705 0%, #b84a03 100%);
  box-shadow: 0 4px 12px rgba(232, 101, 10, 0.38);
}

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

.header-dropdown-wrap {
  position: relative;
}

.header-action-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 8px 10px;
  border-radius: 6px;
  color: #282828;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header-action-item i {
  font-size: 20px;
}

.header-action-item:hover {
  background-color: #f5f5f5;
  color: var(--color-accent, #E8650A);
}

.dropdown-arrow {
  font-size: 14px;
  margin-left: -2px;
}

/* Dropdown Menus */
.header-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: #ffffff;
  border: 1px solid #ededed;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  width: 240px;
  padding: 8px 0;
  display: none;
  z-index: 200;
  animation: dropdownFadeIn 150ms ease-out forwards;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.header-dropdown-wrap:hover .header-dropdown-menu,
.header-dropdown-wrap:focus-within .header-dropdown-menu,
.header-dropdown-wrap.open .header-dropdown-menu {
  display: block;
}

.header-dropdown-wrap.closed .header-dropdown-menu {
  display: none;
}

.dropdown-header {
  padding: 10px 16px;
  background-color: #fbfbfb;
  border-bottom: 1px solid #ededed;
  font-size: 13px;
}

.dropdown-email {
  font-size: 12px;
  color: #75757a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: #282828;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item i {
  font-size: 16px;
  color: #75757a;
}

.dropdown-item:hover {
  background-color: #fff7ed;
  color: var(--color-accent, #E8650A);
}

.dropdown-item:hover i {
  color: var(--color-accent, #E8650A);
}

.dropdown-divider {
  height: 1px;
  background-color: #ededed;
  margin: 6px 0;
}

.phone-cta {
  font-weight: 700;
  color: var(--color-accent, #E8650A);
}

/* POS Terminal Action Button */
.pos-trigger {
  color: #282828;
}

.pos-trigger:hover {
  color: var(--color-accent, #E8650A);
}

/* Cart Trigger with Floating Badge */
.cart-trigger {
  position: relative;
}

.cart-icon-wrapper {
  position: relative;
  display: inline-flex;
}

.cart-icon-wrapper i {
  font-size: 22px;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--color-accent, #E8650A);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  height: 18px;
  min-width: 18px;
  padding: 0 4px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* ------------------------------------------------------------------------------
   3. MOBILE SLIDE-IN NAVIGATION DRAWER & BOTTOM BAR
   ------------------------------------------------------------------------------ */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background-color: #ffffff;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #ededed;
  background-color: #fafafa;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #282828;
  cursor: pointer;
  padding: 4px;
}

.mobile-drawer-body {
  padding: 16px 0 60px 0;
}

.mobile-drawer-account {
  padding: 0 16px 16px 16px;
  border-bottom: 1px solid #ededed;
}

.mobile-account-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mobile-account-info i {
  font-size: 28px;
  color: var(--color-accent, #E8650A);
}

.mobile-account-info strong {
  display: block;
  font-size: 14px;
}

.mobile-account-info span {
  font-size: 12px;
  color: #75757a;
}

.mobile-drawer-section-title {
  padding: 14px 16px 6px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #75757a;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  color: #282828;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: background-color var(--transition-fast);
}

.mobile-nav-item i {
  font-size: 18px;
  color: #75757a;
  margin-right: 12px;
  width: 20px;
  text-align: center;
}

.mobile-nav-item .nav-arrow {
  margin-left: auto;
  margin-right: 0;
  font-size: 16px;
  color: #cbd5e1;
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  background-color: #fff7ed;
  color: var(--color-accent, #E8650A);
}

.mobile-nav-item:hover i {
  color: var(--color-accent, #E8650A);
}

/* Jumia Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  height: 56px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.mobile-bottom-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #75757a;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  gap: 2px;
  transition: color var(--transition-fast);
}

.mobile-bottom-item i {
  font-size: 20px;
}

.mobile-bottom-item.active, .mobile-bottom-item:hover {
  color: var(--color-accent, #E8650A);
}

.mobile-cart-badge-wrap {
  position: relative;
  display: flex;
}

.mobile-cart-badge-wrap .cart-count {
  top: -6px;
  right: -8px;
}

/* ------------------------------------------------------------------------------
   4. JUMIA 3-COLUMN HERO TOP SECTION (Desktop)
   ------------------------------------------------------------------------------ */
.jumia-hero-wrapper {
  padding-top: 16px;
  padding-bottom: 16px;
}

.jumia-hero-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  min-height: 384px;
}

/* Category Sidebar */
.jumia-category-sidebar {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 8px 0;
  overflow: hidden;
}

.jumia-cat-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jumia-cat-link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: #282828;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
}

.cat-icon {
  font-size: 16px;
  color: #75757a;
  margin-right: 10px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.cat-arrow {
  margin-left: auto;
  font-size: 14px;
  color: #cbd5e1;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.jumia-cat-link:hover {
  background-color: #fff7ed;
  color: var(--color-accent, #E8650A);
  font-weight: 600;
}

.jumia-cat-link:hover .cat-icon {
  color: var(--color-accent, #E8650A);
}

.jumia-cat-link:hover .cat-arrow {
  opacity: 1;
  color: var(--color-accent, #E8650A);
}

.menu-divider {
  height: 1px;
  background-color: #ededed;
  margin: 6px 0;
}

.cat-link-all {
  color: var(--color-accent, #E8650A);
  font-weight: 700;
}

/* Interactive Center Hero Carousel */
.jumia-carousel-container {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  background-color: #1e293b;
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease-in-out, visibility 400ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 40px;
  color: #ffffff;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.carousel-slide.slide-tech {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.carousel-slide.slide-mpesa {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
}

.carousel-slide.slide-etims {
  background: linear-gradient(135deg, #431407 0%, #1f0701 100%);
}

.slide-content {
  max-width: 58%;
  z-index: 2;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: rgba(232, 101, 10, 0.2);
  color: #fb923c;
  border: 1px solid rgba(232, 101, 10, 0.4);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.badge-mpesa {
  background-color: rgba(0, 176, 80, 0.2);
  color: #4ade80;
  border-color: rgba(0, 176, 80, 0.4);
}

.badge-etims {
  background-color: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.4);
}

.slide-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.slide-title .text-accent {
  color: var(--color-accent, #E8650A);
}

.slide-desc {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.slide-actions {
  display: flex;
  gap: 10px;
}

.slide-graphic {
  width: 38%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-graphic img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(40, 40, 40, 0.5);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background-color var(--transition-fast);
  z-index: 10;
}

.carousel-arrow:hover {
  background-color: var(--color-accent, #E8650A);
}

.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dots .dot.active {
  background-color: var(--color-accent, #E8650A);
  width: 22px;
  border-radius: 6px;
}

/* Right Side Promo Cards */
.jumia-hero-promos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-promo-card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-sell .promo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ededed;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.promo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #fff7ed;
  color: var(--color-accent, #E8650A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.promo-subtitle {
  font-size: 10px;
  font-weight: 800;
  color: #75757a;
  letter-spacing: 0.05em;
  display: block;
}

.promo-phone {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-accent, #E8650A);
  text-decoration: none;
}

.promo-vendor-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.promo-vendor-link i {
  font-size: 18px;
  color: #0f172a;
}

.promo-vendor-link strong {
  font-size: 13px;
  display: block;
}

.promo-vendor-link p {
  font-size: 11px;
  color: #75757a;
  line-height: 1.4;
  margin: 0;
}

.promo-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.promo-trust-item:last-child {
  border-bottom: none;
}

.promo-trust-item i {
  font-size: 20px;
  flex-shrink: 0;
}

.promo-trust-item strong {
  display: block;
  font-size: 12px;
}

.promo-trust-item span {
  font-size: 11px;
  color: #75757a;
}

/* ------------------------------------------------------------------------------
   5. QUICK ACTION SERVICE TILES (Jumia Circular Badges)
   ------------------------------------------------------------------------------ */
.jumia-quick-strip {
  margin-bottom: 16px;
}

.quick-tiles-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  background-color: #ffffff;
  padding: 14px 16px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #282828;
  gap: 6px;
  transition: transform var(--transition-fast);
}

.quick-tile:hover {
  transform: translateY(-2px);
}

.quick-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
}

.icon-flash { background: linear-gradient(135deg, #ef4444, #dc2626); }
.icon-stores { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.icon-phones { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.icon-tvs { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.icon-appliances { background: linear-gradient(135deg, #f59e0b, #d97706); }
.icon-pos { background: linear-gradient(135deg, #10b981, #059669); }
.icon-delivery { background: linear-gradient(135deg, #ec4899, #db2777); }
.icon-deals { background: linear-gradient(135deg, #E8650A, #c85507); }

.quick-tile span {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: #282828;
  white-space: nowrap;
}

/* ------------------------------------------------------------------------------
   6. JUMIA FLASH SALES SECTION
   ------------------------------------------------------------------------------ */
.jumia-section {
  margin-bottom: 20px;
}

.flash-sale-card {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.flash-sale-header {
  background: linear-gradient(90deg, #dc2626 0%, #E8650A 65%, #ff771f 100%);
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flash-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flash-icon-box {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.flash-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
}

.flash-countdown-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 4px 12px;
  border-radius: 4px;
}

.countdown-label {
  color: #ffedd5;
  text-transform: uppercase;
  font-size: 11px;
}

.countdown-timer {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.flash-see-all {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity var(--transition-fast);
}

.flash-see-all:hover {
  opacity: 0.85;
}

.flash-products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background-color: #ededed;
  padding: 1px;
}

/* ------------------------------------------------------------------------------
   7. JUMIA PRODUCT CARD & PRODUCTS GRID
   ------------------------------------------------------------------------------ */
.jumia-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 14px 18px;
  border-radius: 6px 6px 0 0;
  border-bottom: 1px solid #ededed;
}

.section-heading {
  font-size: 17px;
  font-weight: 800;
  color: #282828;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-subtext {
  font-size: 12px;
  color: #75757a;
  display: block;
  margin-top: 2px;
}

.section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent, #E8650A);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.jumia-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  background-color: transparent;
  margin-bottom: 20px;
}

.jumia-product-card {
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.jumia-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-color: #ffffff;
  display: block;
  overflow: hidden;
}

.product-thumb-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform var(--transition-normal);
}

.jumia-product-card:hover .product-thumb-wrap img {
  transform: scale(1.05);
}

.jumia-discount-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: var(--color-accent-subtle, #fef4ec);
  color: var(--color-accent, #E8650A);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid rgba(232, 101, 10, 0.2);
  z-index: 2;
}

.jumia-stock-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 2px;
}

.jumia-stock-badge.out-of-stock {
  background-color: #e61601;
  color: #ffffff;
}

.jumia-stock-badge.low-stock {
  background-color: #f59e0b;
  color: #ffffff;
}

.jumia-product-body {
  padding: 10px 12px 14px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jumia-product-vendor {
  font-size: 11px;
  color: #75757a;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.jumia-product-title {
  font-size: 13px;
  color: #282828;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 35px;
  margin-bottom: 8px;
}

.jumia-product-title:hover {
  color: var(--color-accent, #E8650A);
}

.jumia-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.jumia-price {
  font-size: 15px;
  font-weight: 800;
  color: #282828;
}

.jumia-old-price {
  font-size: 12px;
  color: #75757a;
  text-decoration: line-through;
}

.jumia-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.stars-wrap {
  display: flex;
  color: #f6b01e;
  font-size: 12px;
}

.rating-count {
  font-size: 11px;
  color: #75757a;
}

.jumia-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #047857;
  background-color: #ecfdf5;
  padding: 2px 6px;
  border-radius: 2px;
  width: fit-content;
  margin-bottom: 10px;
}

/* Stock progress in flash sales */
.jumia-stock-progress {
  margin-bottom: 10px;
}

.stock-progress-bar {
  height: 6px;
  background-color: #ededed;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.stock-fill {
  height: 100%;
  background: linear-gradient(90deg, #E8650A, #e61601);
  border-radius: 3px;
}

.stock-text {
  font-size: 11px;
  color: #75757a;
  font-weight: 600;
}

/* ------------------------------------------------------------------------------
   8. CATEGORY TILES GRID (Visual Circles)
   ------------------------------------------------------------------------------ */
.category-tiles-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  background-color: #ffffff;
  padding: 16px;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cat-tile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  transition: transform var(--transition-fast);
}

.cat-tile-card:hover {
  transform: translateY(-3px);
}

.cat-tile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ededed;
  background-color: #ffffff;
}

.cat-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.cat-tile-card:hover .cat-tile-img img {
  transform: scale(1.1);
}

.cat-tile-label {
  font-size: 12px;
  font-weight: 600;
  color: #282828;
  text-align: center;
}

/* ------------------------------------------------------------------------------
   9. VENDORS SHOWCASE GRID
   ------------------------------------------------------------------------------ */
.vendors-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 16px;
  background-color: #ffffff;
  padding: 16px;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.vendor-store-card {
  border: 1px solid #ededed;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.vendor-store-card:hover {
  border-color: var(--color-accent, #E8650A);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.vendor-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vendor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #fff7ed;
  color: var(--color-accent, #E8650A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.vendor-name {
  font-size: 15px;
  font-weight: 700;
  color: #282828;
  margin: 0 0 2px 0;
}

.vendor-location {
  font-size: 12px;
  color: #75757a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.vendor-card-body {
  margin-bottom: 14px;
}

.vendor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.badge-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.etims-tag {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.standard-tag {
  background-color: #f1f5f9;
  color: #475569;
}

.mpesa-tag {
  background-color: #f0fdf4;
  color: #16a34a;
}

.vendor-contact {
  font-size: 12px;
  color: #75757a;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ------------------------------------------------------------------------------
   10. JUMIA TRUST BANNER & SEO CARD
   ------------------------------------------------------------------------------ */
.jumia-trust-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.trust-banner-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #f5f5f5;
  color: #282828;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.trust-banner-item:hover .trust-icon-box {
  background-color: #fff7ed;
  color: var(--color-accent, #E8650A);
}

.trust-banner-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: #282828;
  margin: 0 0 2px 0;
}

.trust-banner-item p {
  font-size: 11px;
  color: #75757a;
  margin: 0;
}

.jumia-seo-card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.seo-title {
  font-size: 16px;
  font-weight: 800;
  color: #282828;
  margin-bottom: 8px;
}

.seo-text {
  font-size: 12px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid #ededed;
  padding-top: 16px;
}

.seo-grid h4 {
  font-size: 13px;
  font-weight: 700;
  color: #282828;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.seo-grid p {
  font-size: 11px;
  color: #75757a;
  line-height: 1.5;
  margin: 0;
}

/* ------------------------------------------------------------------------------
   11. JUMIA CATALOG PAGE STYLES
   ------------------------------------------------------------------------------ */
.jumia-catalog-page {
  padding-top: 14px;
  padding-bottom: 30px;
}

.jumia-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #75757a;
  margin-bottom: 12px;
}

.jumia-breadcrumbs a {
  color: #75757a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.jumia-breadcrumbs a:hover {
  color: var(--color-accent, #E8650A);
}

.breadcrumb-sep {
  font-size: 12px;
  color: #94a3b8;
}

.jumia-breadcrumbs .active {
  color: #282828;
  font-weight: 600;
}

.catalog-top-bar {
  background-color: #ffffff;
  padding: 16px 20px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.catalog-heading {
  font-size: 20px;
  font-weight: 800;
  color: #282828;
  margin: 0 0 2px 0;
}

.catalog-count {
  font-size: 12px;
  color: #75757a;
  margin: 0;
}

.catalog-sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #282828;
}

.form-select-sm {
  padding: 6px 12px;
  border: 1px solid #c7c7cd;
  border-radius: 4px;
  font-size: 13px;
  background-color: #ffffff;
  color: #282828;
  outline: none;
}

.catalog-layout-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
}

/* Sidebar Filters */
.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-card {
  background-color: #ffffff;
  padding: 14px 16px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.filter-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #282828;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #ededed;
  padding-bottom: 6px;
}

.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-link {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.filter-link:hover, .filter-link.active {
  background-color: #fff7ed;
  color: var(--color-accent, #E8650A);
  font-weight: 700;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.form-input-sm {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #c7c7cd;
  border-radius: 4px;
  font-size: 12px;
}

.filter-badges-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #282828;
}

.clear-filters-box {
  margin-top: 4px;
}

/* Pagination */
.jumia-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.page-btn, .page-num {
  padding: 6px 12px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #282828;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.page-num.active {
  background-color: var(--color-accent, #E8650A);
  border-color: var(--color-accent, #E8650A);
  color: #ffffff;
}

.page-btn:hover, .page-num:hover:not(.active) {
  border-color: var(--color-accent, #E8650A);
  color: var(--color-accent, #E8650A);
}

.catalog-empty-card {
  background-color: #ffffff;
  padding: 48px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.empty-icon {
  font-size: 48px;
  color: #94a3b8;
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------------------
   12. JUMIA PRODUCT DETAIL PAGE (PDP)
   ------------------------------------------------------------------------------ */
.jumia-pdp-page {
  padding-top: 14px;
  padding-bottom: 40px;
}

.jumia-pdp-grid {
  display: grid;
  grid-template-columns: 360px 1fr 280px;
  gap: 16px;
  margin-bottom: 20px;
}

.pdp-gallery-col {
  background-color: #ffffff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.pdp-main-image-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  margin-bottom: 12px;
}

.pdp-main-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.15s ease-out;
}

.pdp-main-image-wrap.is-zoomable { overflow: hidden; cursor: zoom-in; }
.pdp-main-image-wrap.is-zoomable::after {
  content: 'Click to zoom';
  position: absolute; bottom: 6px; right: 6px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(15, 23, 42, 0.7); color: #fff; font-size: 11px;
  pointer-events: none;
}

.zoom-viewer {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, 0.94);
}
.zoom-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.zoom-stage img { max-width: 92vw; max-height: 86vh; object-fit: contain; user-select: none; transition: transform 0.08s linear; background: #fff; }
.zoom-stage.is-zoomed { cursor: grab; }
.zoom-toolbar {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
}
.zoom-toolbar button, .zoom-nav {
  border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, 0.18);
  min-width: 40px; min-height: 40px; border-radius: 999px; font-size: 18px; padding: 0 12px;
}
.zoom-toolbar button:hover, .zoom-nav:hover { background: var(--color-accent, #E8650A); }
.zoom-level { color: #fff; font-size: 13px; min-width: 48px; text-align: center; }
.zoom-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; font-size: 28px; }
.zoom-prev { left: 14px; }
.zoom-next { right: 14px; }
.zoom-hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #cbd5e1; font-size: 12px; pointer-events: none; }

.pdp-tag {
  top: 0; right: 0;
}

.pdp-thumbs-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pdp-thumb-item {
  width: 56px;
  height: 56px;
  border: 1px solid #ededed;
  border-radius: 4px;
  padding: 4px;
  background: none;
  cursor: pointer;
}

.pdp-thumb-item.active {
  border-color: var(--color-accent, #E8650A);
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-share-strip {
  border-top: 1px solid #ededed;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-title {
  font-size: 11px;
  font-weight: 700;
  color: #75757a;
}

.share-links {
  display: flex;
  gap: 6px;
}

.share-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.share-btn.whatsapp { background-color: #25d366; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.facebook { background-color: #1877f2; }

/* PDP Info Col */
.pdp-info-col {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pdp-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pdp-brand-tag {
  background-color: #f1f5f9;
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pdp-etims-tag {
  background-color: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pdp-title {
  font-size: 22px;
  font-weight: 700;
  color: #282828;
  line-height: 1.3;
  margin-bottom: 6px;
}

.pdp-sku-row {
  font-size: 12px;
  color: #75757a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pdp-sku-row .divider { color: #d1d5db; }

.pdp-ratings-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #ededed;
  padding-bottom: 12px;
}

.pdp-rating-num {
  font-size: 14px;
  font-weight: 800;
  color: #282828;
}

.pdp-rating-count {
  font-size: 12px;
  color: #75757a;
}

.pdp-price-box {
  background-color: #fafafa;
  padding: 14px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.price-main-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.pdp-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-accent, #E8650A);
}

.pdp-old-price {
  font-size: 15px;
  color: #75757a;
  text-decoration: line-through;
}

.pdp-discount-pill {
  background-color: var(--color-accent-subtle, #fef4ec);
  color: var(--color-accent, #E8650A);
  border: 1px solid rgba(232, 101, 10, 0.2);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 2px;
}

.pdp-tax-notice {
  font-size: 11px;
  color: #75757a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pdp-stock-strip {
  margin-bottom: 18px;
}

.stock-alert {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-alert.in-stock { background-color: #ecfdf5; color: #047857; }
.stock-alert.low-stock { background-color: #fffbeb; color: #b45309; }
.stock-alert.out-of-stock { background-color: #fef2f2; color: #b91c1c; }

.pdp-actions-card {
  margin-bottom: 20px;
}

.pdp-qty-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #282828;
}

.jumia-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c7c7cd;
  border-radius: 4px;
  overflow: hidden;
}

.btn-qty {
  background-color: #f5f5f5;
  border: none;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #282828;
}

.jumia-qty-control input {
  width: 44px;
  height: 34px;
  border: none;
  text-align: center;
  font-weight: 700;
  outline: none;
}

.pdp-cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  font-weight: 700;
}
.btn-whatsapp:hover:not(:disabled) { background: #1ebe5a; color: #fff; }
.btn-whatsapp:disabled { opacity: 0.6; cursor: not-allowed; }
.pdp-cta-buttons .btn-whatsapp { grid-column: 1 / -1; }

.pdp-promo-alert {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
}

.pdp-promo-alert strong {
  display: block;
  color: #166534;
}

.pdp-promo-alert span {
  color: #475569;
}

/* Col 3: PDP Sidebar */
.pdp-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdp-card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.card-section-title {
  font-size: 12px;
  font-weight: 800;
  color: #282828;
  letter-spacing: 0.04em;
  margin: 0 0 14px 0;
  border-bottom: 1px solid #ededed;
  padding-bottom: 6px;
}

.delivery-option-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.option-icon {
  font-size: 20px;
  color: #75757a;
  flex-shrink: 0;
}

.option-title {
  font-size: 13px;
  font-weight: 700;
  color: #282828;
}

.option-cost {
  font-size: 12px;
  color: #282828;
  margin: 1px 0;
}

.option-meta {
  font-size: 11px;
  color: #75757a;
  line-height: 1.4;
}

.delivery-divider {
  height: 1px;
  background-color: #ededed;
  margin: 12px 0;
}

/* Seller Profile */
.seller-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.seller-badge-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff7ed;
  color: var(--color-accent, #E8650A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.seller-name {
  font-size: 14px;
  font-weight: 700;
  color: #282828;
}

.seller-verified {
  font-size: 11px;
  color: #047857;
  font-weight: 600;
}

.seller-metrics {
  background-color: #fafafa;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

/* PDP Specifications Card */
.jumia-pdp-specs-section {
  margin-top: 16px;
}

.pdp-specs-card {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  min-width: 0;
}

.specs-tab-header {
  display: flex;
  flex-wrap: wrap;
  background-color: #fafafa;
  border-bottom: 1px solid #ededed;
}

.specs-tab-btn {
  padding: 14px 24px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 700;
  color: #75757a;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
}

.specs-tab-btn.active {
  color: var(--color-accent, #E8650A);
  border-bottom-color: var(--color-accent, #E8650A);
  background-color: #ffffff;
}

.specs-tab-body {
  padding: 24px;
}

.rich-text-content {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}

.specs-tab-body[hidden] { display: none; }

.pdp-specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pdp-specs-table th, .pdp-specs-table td { padding: 10px 12px; border-bottom: 1px solid #ededed; text-align: left; }
.pdp-specs-table th { width: 220px; color: #75757a; font-weight: 600; background: #fafafa; }

.review-prompt-bar { background: #fff4e5; color: #8a4b00; padding: 10px 14px; font-size: 14px; border-radius: 6px; margin-bottom: 16px; }
.review-prompt-bar a { color: var(--color-accent, #E8650A); font-weight: 700; margin-left: 8px; }

.review-pending-list { display: grid; gap: 12px; margin: 16px 0 40px; }
.review-pending-item { display: flex; align-items: center; gap: 14px; background: #fff; padding: 12px 16px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); }
.review-pending-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.review-pending-item > div { flex: 1; }

.review-summary { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-bottom: 20px; }
.review-summary-score strong { font-size: 36px; }
.review-summary-score span { color: #75757a; font-size: 13px; }
.review-summary-bars { flex: 1; min-width: 220px; max-width: 420px; }
.review-bar-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.review-bar { flex: 1; height: 8px; background: #ededed; border-radius: 4px; overflow: hidden; }
.review-bar div { height: 100%; background: #f59e0b; }
.review-notice { background: #f5f5f5; padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; }
.review-notice a { color: var(--color-accent, #E8650A); font-weight: 700; }
.review-empty { color: #75757a; }

.review-form { display: grid; gap: 10px; background: #fafafa; padding: 16px; border-radius: 6px; margin-bottom: 24px; max-width: 640px; }
.review-form input[type="text"], .review-form textarea { padding: 10px; border: 1px solid #d5d5d9; border-radius: 4px; font: inherit; }
.review-star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.review-star-input input { position: absolute; opacity: 0; pointer-events: none; }
.review-star-input label { font-size: 28px; color: #c9c9ce; cursor: pointer; }
.review-star-input input:checked ~ label, .review-star-input label:hover, .review-star-input label:hover ~ label { color: #f59e0b; }

.review-item { padding: 14px 0; border-bottom: 1px solid #ededed; }
.review-item-head { display: flex; align-items: center; gap: 10px; }
.review-item-meta { color: #75757a; font-size: 12px; }
.review-verified { color: #0f8a4b; margin-left: 8px; font-weight: 600; }

/* ------------------------------------------------------------------------------
   13. JUMIA SHOPPING CART PAGE
   ------------------------------------------------------------------------------ */
.jumia-cart-page {
  padding-top: 14px;
  padding-bottom: 40px;
}

.jumia-empty-cart-card {
  background-color: #ffffff;
  padding: 60px 20px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  max-width: 540px;
  margin: 30px auto;
}

.empty-cart-icon {
  font-size: 64px;
  color: #E8650A;
  margin-bottom: 16px;
}

.jumia-empty-cart-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: #282828;
  margin-bottom: 8px;
}

.jumia-empty-cart-card p {
  font-size: 14px;
  color: #75757a;
  margin-bottom: 24px;
}

.jumia-cart-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
}

.cart-box {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.cart-box-header {
  padding: 16px 20px;
  border-bottom: 1px solid #ededed;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-heading {
  font-size: 18px;
  font-weight: 800;
  color: #282828;
  margin: 0;
}

.btn-clear-cart {
  background: none;
  border: none;
  color: #e61601;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-items-container {
  padding: 0;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #ededed;
  gap: 16px;
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-main {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  border: 1px solid #ededed;
  border-radius: 4px;
  object-fit: contain;
  padding: 4px;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #282828;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.cart-item-sku {
  font-size: 11px;
  color: #75757a;
}

.cart-item-pricing {
  text-align: right;
  min-width: 120px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 800;
  color: #282828;
}

.cart-item-unit-price {
  font-size: 11px;
  color: #75757a;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-remove-item {
  background: none;
  border: none;
  color: #e61601;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-continue-strip {
  margin-top: 14px;
}

.btn-continue-shopping {
  color: var(--color-accent, #E8650A);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Sticky Cart Summary */
.cart-summary-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 90px;
}

.summary-heading {
  font-size: 14px;
  font-weight: 800;
  color: #282828;
  letter-spacing: 0.04em;
  margin: 0 0 14px 0;
  border-bottom: 1px solid #ededed;
  padding-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
}

.summary-label {
  color: #555555;
}

.summary-val {
  font-weight: 600;
  color: #282828;
}

.voucher-box {
  margin: 14px 0;
}

.voucher-input-group {
  display: flex;
  position: relative;
}

.voucher-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
}

.voucher-input-group input {
  width: 100%;
  height: 38px;
  padding: 0 70px 0 34px;
  border: 1px solid #c7c7cd;
  border-radius: 4px 0 0 4px;
  font-size: 12px;
  outline: none;
}

.btn-apply-voucher {
  background-color: #282828;
  color: #ffffff;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.summary-divider {
  height: 1px;
  background-color: #ededed;
  margin: 14px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 16px;
  font-weight: 800;
  color: #282828;
}

.total-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-accent, #E8650A);
}

.summary-vat-subtext {
  font-size: 11px;
  color: #75757a;
  margin-top: 2px;
  margin-bottom: 16px;
}

.btn-checkout-action {
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(232, 101, 10, 0.35);
}

.cart-trust-badges {
  margin-top: 18px;
  border-top: 1px solid #ededed;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-badge-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #555555;
}

.trust-badge-line i {
  font-size: 16px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------------------
   14. JUMIA CHECKOUT PAGE
   ------------------------------------------------------------------------------ */
.jumia-checkout-page {
  padding-top: 14px;
  padding-bottom: 40px;
}

.checkout-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.checkout-header-bar h1 {
  font-size: 22px;
  font-weight: 800;
  color: #282828;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-secure-badge {
  background-color: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jumia-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
}

.checkout-card {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  overflow: hidden;
}

.checkout-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid #ededed;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-accent, #E8650A);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 14px;
  font-weight: 800;
  color: #282828;
  letter-spacing: 0.03em;
  margin: 0;
}

.checkout-card-body {
  padding: 18px;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 18px;
  pointer-events: none;
}

.input-icon-wrap input, .input-icon-wrap textarea {
  padding-left: 38px;
}

.delivery-option-card {
  border: 1px solid #c7c7cd;
  border-radius: 6px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}

.delivery-option-card:last-child {
  margin-bottom: 0;
}

.delivery-mode-switch { margin-bottom: 12px; }
.shipping-status { font-size: 12px; color: #75757a; margin: 6px 0; min-height: 4px; }
.shipping-empty { font-size: 13px; color: #75757a; padding: 8px 0; }
.quote-card, .station-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid #c7c7cd; border-radius: 6px; padding: 12px; margin-bottom: 8px; cursor: pointer;
}
.quote-card.active, .station-item.active, .quote-card:hover, .station-item:hover {
  border-color: var(--color-accent, #E8650A); background-color: #fff7ed;
}
.quote-card input { margin-right: 4px; }
.quote-info { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.quote-service, .station-meta, .quote-eta, .station-addr { font-size: 12px; color: #75757a; font-weight: 400; }
.station-addr, .station-meta { display: block; }
.quote-fee { font-weight: 700; white-space: nowrap; }
.quote-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 6px; border-radius: 10px; }
.quote-badge-cheapest { background: #dcfce7; color: #166534; }
.quote-badge-fastest { background: #dbeafe; color: #1e40af; }
.station-picker[hidden], .shipping-options[hidden], .station-map[hidden], .payment-method-card[hidden] { display: none; }
.station-picker .input-icon-wrap { margin-bottom: 10px; }
.station-layout { display: grid; grid-template-columns: 1fr; gap: 12px; }
.station-list { max-height: 280px; overflow-y: auto; }
.station-map { height: 280px; border-radius: 6px; z-index: 0; }
@media (min-width: 768px) { .station-layout { grid-template-columns: 1fr 1fr; } }

.delivery-option-card.active, .delivery-option-card:hover {
  border-color: var(--color-accent, #E8650A);
  background-color: #fff7ed;
}

.delivery-option-info {
  flex: 1;
}

.option-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.option-header strong {
  font-size: 14px;
  color: #282828;
}

.option-price {
  font-size: 13px;
  font-weight: 800;
  color: #282828;
}

.option-desc {
  font-size: 12px;
  color: #75757a;
}

.payment-method-card {
  border: 1px solid #c7c7cd;
  border-radius: 6px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}

.payment-method-card.active, .payment-method-card:hover {
  border-color: var(--color-accent, #E8650A);
  background-color: #fff7ed;
}

.payment-card-content {
  flex: 1;
}

.payment-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.payment-brand-title {
  font-size: 14px;
  font-weight: 700;
  color: #282828;
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-desc {
  font-size: 12px;
  color: #75757a;
  line-height: 1.4;
  margin: 0;
}

/* Sticky Checkout Summary */
.checkout-summary-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 90px;
}

.vendor-summary-strip {
  font-size: 12px;
  color: #75757a;
  margin-bottom: 12px;
}

.etims-chip {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.checkout-items-list {
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.checkout-item-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  border-bottom: 1px dashed #ededed;
}

.checkout-item-preview:last-child {
  border-bottom: none;
}

.checkout-item-preview img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 3px;
}

.btn-pay-now {
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-top: 14px;
}

.checkout-terms-note {
  font-size: 11px;
  color: #75757a;
  line-height: 1.4;
  margin-top: 12px;
  text-align: center;
}

.checkout-terms-note a {
  color: var(--color-accent, #E8650A);
}

.checkout-trust-box {
  margin-top: 14px;
  border-top: 1px solid #ededed;
  padding-top: 12px;
  font-size: 11px;
  color: #555555;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ------------------------------------------------------------------------------
   15. JUMIA CONFIRMATION PAGE
   ------------------------------------------------------------------------------ */
.jumia-confirmation-page {
  padding-top: 24px;
  padding-bottom: 50px;
}

.confirmation-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.confirmation-success-card {
  background-color: #ffffff;
  padding: 36px 24px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #ecfdf5;
  color: #00b050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 16px;
}

.success-title {
  font-size: 26px;
  font-weight: 800;
  color: #282828;
  margin-bottom: 6px;
}

.order-number-line {
  font-size: 16px;
  color: #555555;
  margin-bottom: 12px;
}

.order-code {
  color: var(--color-accent, #E8650A);
  font-family: var(--font-mono, monospace);
  font-size: 18px;
}

.success-desc {
  font-size: 13px;
  color: #75757a;
  max-width: 580px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

.payment-status-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background-color: #f8f8f8;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
}

.confirmation-etims-card {
  background-color: #ffffff;
  border-left: 4px solid var(--color-accent, #E8650A);
  padding: 18px 24px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.etims-badge-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-accent, #E8650A);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.etims-subtitle {
  font-size: 12px;
  color: #75757a;
  margin-bottom: 8px;
}

.etims-control-num {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  background-color: #f1f5f9;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}

.etims-qr-box {
  text-align: center;
}

.etims-qr-box img {
  width: 90px;
  height: 90px;
  border: 1px solid #ededed;
  border-radius: 4px;
}

.qr-label {
  display: block;
  font-size: 10px;
  color: #75757a;
  margin-top: 4px;
}

.confirmation-items-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.jumia-order-table th, .jumia-order-table td {
  padding: 10px 12px;
  font-size: 13px;
}

.sku-tag {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  background-color: #f1f5f9;
  padding: 2px 6px;
  border-radius: 3px;
}

.confirmation-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid #ededed;
  padding-top: 20px;
}

/* ------------------------------------------------------------------------------
   16. JUMIA FOOTER STYLES
   ------------------------------------------------------------------------------ */
.store-footer {
  background-color: #282828;
  color: #94a3b8;
  margin-top: auto;
}

.footer-newsletter-strip {
  background-color: #1a1a1a;
  padding: 24px 0;
  border-bottom: 1px solid #333333;
}

.footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.newsletter-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.newsletter-logo .brand-title {
  color: #ffffff;
}

.newsletter-text h3 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 2px 0;
}

.newsletter-text p {
  color: #94a3b8;
  font-size: 12px;
  margin: 0;
}

.newsletter-form {
  flex: 1;
  max-width: 440px;
}

.newsletter-status {
  min-height: 1em;
  margin: 6px 0 0;
  font-size: 12px;
}

.newsletter-input-group {
  display: flex;
  position: relative;
}

.newsletter-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 18px;
}

.newsletter-input-group input {
  flex: 1;
  height: 40px;
  padding: 0 10px 0 38px;
  background-color: #ffffff;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 13px;
  outline: none;
}

.newsletter-input-group button {
  height: 40px;
  border: none;
  font-size: 12px;
  font-weight: 800;
  padding: 0 12px;
  cursor: pointer;
}

.newsletter-input-group button:last-child {
  border-radius: 0 4px 4px 0;
  background-color: #cf5705;
}

.footer-app-badges {
  display: flex;
  gap: 8px;
}

.app-badge-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #282828;
  border: 1px solid #444444;
  padding: 6px 14px;
  border-radius: 6px;
  color: #ffffff;
  text-decoration: none;
  transition: border-color var(--transition-fast);
}

.app-badge-link:hover {
  border-color: var(--color-accent, #E8650A);
}

.app-badge-link i {
  font-size: 24px;
  color: var(--color-accent, #E8650A);
}

.app-badge-link .sub {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  text-transform: uppercase;
}

.app-badge-link .main {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.footer-links-section {
  padding-top: 36px;
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.footer-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-desc {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.payment-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-badge {
  background-color: #383838;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.payment-badge.mpesa { background-color: #047857; }
.payment-badge.airtel { background-color: #991b1b; }
.payment-badge.visa { background-color: #1e3a8a; }
.payment-badge.etims { background-color: #15803d; }

.footer-bottom-bar {
  border-top: 1px solid #383838;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
}

.footer-meta {
  display: flex;
  gap: 14px;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-dev-link {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-dev-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-title-spaced {
  margin-top: 20px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #383838;
  color: #ffffff;
  font-size: 18px;
  transition: background 150ms ease, transform 150ms ease;
}

.footer-social-link:hover {
  background: var(--accent, #E8650A);
  transform: translateY(-2px);
}

.footer-address {
  margin-top: 14px;
}

/* Admin-managed carousel slides */
.carousel-slide.slide-custom {
  min-height: 300px;
  overflow: hidden;
}
.carousel-slide.slide-custom .slide-content.no-graphic {
  max-width: 80%;
}
.carousel-slide.slide-custom .slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.carousel-slide.slide-custom:has(.slide-bg)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.15) 100%);
}
.slide-content.has-image {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
@media (max-width: 768px) {
  .carousel-slide.slide-custom { min-height: 240px; }
  .carousel-slide.slide-custom:has(.slide-bg)::before {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  }
  .slide-content.has-image { max-width: 100%; margin-bottom: 0; }
  .slide-content .slide-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

.slide-title .text-accent {
  display: inline-block;
}

/* Flash sale extras */
.stock-fill.is-low {
  background: #dc2626;
}

/* ------------------------------------------------------------------
   Product cards, grids and horizontal category rows (responsive)
   ------------------------------------------------------------------ */
.jumia-products-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.flash-products-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  background-color: #ededed;
}
.jumia-product-card {
  height: 100%;
  border: 1px solid #efefef;
  border-radius: 8px;
}
.product-thumb-wrap {
  padding-top: 0;
  aspect-ratio: 1 / 1;
  background: #fafafa;
}
.product-thumb-wrap img { padding: 10px; }
.jumia-product-body { gap: 0; padding: 10px 12px 12px; }
.jumia-product-vendor {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}
.jumia-product-title { height: auto; min-height: calc(1.35em * 2); }
.jumia-price-row { flex-wrap: wrap; row-gap: 0; margin-bottom: 10px; }
.jumia-product-body > .btn,
.jumia-product-body > .add-to-cart-btn { margin-top: auto; }
.jumia-stock-progress { margin-top: auto; }
.jumia-stock-progress + .btn { margin-top: 0; }

.category-row-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.category-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #fff7f0, #ffffff);
  border-bottom: 1px solid #f1e3d6;
}
.category-row-head .section-heading { font-size: 16px; }
.category-row-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent, #E8650A);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 101, 10, 0.35);
}
.category-row-more:hover { background: var(--color-accent, #E8650A); color: #fff; }

.h-scroll { position: relative; }
.h-scroll-track {
  display: flex;
  gap: 12px;
  padding: 14px 16px 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.h-scroll-track::-webkit-scrollbar { display: none; }
.h-scroll-item {
  flex: 0 0 200px;
  max-width: 200px;
  scroll-snap-align: start;
  display: flex;
}
.h-scroll-item > .jumia-product-card { width: 100%; }
.h-scroll-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #282828;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.h-scroll-btn[hidden] { display: none; }
.h-scroll-btn.prev { left: 6px; }
.h-scroll-btn.next { right: 6px; }
.h-scroll-btn:hover { background: var(--color-accent, #E8650A); color: #fff; border-color: transparent; }

.show-more-card {
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
  color: #282828;
  background: #fff7f0;
  border: 1px dashed rgba(232, 101, 10, 0.5);
  border-radius: 8px;
}
.show-more-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent, #E8650A);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.show-more-card small { color: #75757a; }
.show-more-card:hover { background: #ffeedd; }

@media (max-width: 1024px) {
  .jumia-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flash-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .h-scroll-btn { display: none !important; }
  .h-scroll-item { flex-basis: 150px; max-width: 150px; }
  .h-scroll-track { gap: 8px; padding: 10px 12px 14px; scroll-snap-type: x mandatory; }
  .category-row-head { padding: 10px 12px; }
  .category-row-head .section-heading { font-size: 14px; }
  .category-row-more { padding: 5px 10px; font-size: 12px; }
  .jumia-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .flash-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jumia-product-body { padding: 8px 8px 10px; }
  .jumia-product-title { font-size: 12px; }
  .jumia-price { font-size: 14px; }
  .product-thumb-wrap img { padding: 6px; }
  .jumia-product-body .btn { font-size: 12px; padding: 7px 6px; }
}

.flash-empty {
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
}

/* Info, help and contact pages */
.info-page {
  padding: 28px 0 48px;
}

.info-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.info-sidebar,
.info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
}

.info-sidebar h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

.info-sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #334155;
}

.info-sidebar a:hover,
.info-sidebar a.active {
  background: #fff4ec;
  color: #E8650A;
}

.info-card h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

.info-card .info-summary {
  color: #64748b;
  margin-bottom: 20px;
}

.info-card h2 {
  font-size: 18px;
  margin: 22px 0 8px;
}

.info-card p,
.info-card li {
  line-height: 1.65;
  color: #334155;
}

.info-card ul,
.info-card ol {
  padding-left: 20px;
  margin: 8px 0;
}

.info-contact-box {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #fff4ec;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.info-contact-box strong {
  flex: 1 1 100%;
}

.help-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.help-hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  display: block;
  color: inherit;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.help-hub-card:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.help-hub-card i {
  font-size: 26px;
  color: #E8650A;
}

.help-hub-card h3 {
  margin: 8px 0 4px;
  font-size: 16px;
}

.help-hub-card p {
  font-size: 13px;
  color: #64748b;
}

.contact-form .form-row {
  margin-bottom: 14px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}

.contact-status {
  margin-top: 10px;
  font-size: 14px;
}

@media (max-width: 800px) {
  .info-layout {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------------------
   17. RESPONSIVE MEDIA QUERIES (Mobile-First Polish)
   ------------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .jumia-hero-grid {
    grid-template-columns: 200px 1fr;
  }
  .jumia-hero-promos {
    display: none;
  }
  .flash-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-tiles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .seo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jumia-pdp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pdp-sidebar-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  /* Show hamburger button & mobile bottom bar */
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 56px; /* space for bottom nav */
  }

  .store-top-bar {
    display: none; /* Hide slim top bar on mobile */
  }

  .store-header-inner {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-title {
    font-size: 18px;
  }

  .header-actions {
    margin-left: auto;
    gap: 6px;
  }

  .header-dropdown-wrap,
  .header-actions .pos-trigger {
    display: none;
  }

  .header-search {
    order: 3;
    max-width: none;
    width: 100%;
  }

  .header-search input[type="search"] {
    height: 38px;
    padding-right: 70px;
    font-size: 13px;
  }

  .btn-header-search {
    padding: 0 12px;
    font-size: 11px;
  }

  .cart-trigger {
    padding-inline: 6px;
  }

  .cart-trigger .action-text {
    display: none;
  }

  /* Homepage mobile layout */
  .jumia-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .jumia-hero-grid > *,
  .jumia-checkout-grid > *,
  .checkout-steps-column,
  .checkout-card {
    min-width: 0;
    max-width: 100%;
  }

  .jumia-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .slide-actions {
    flex-wrap: wrap;
  }

  .quick-tile {
    min-width: 0;
  }

  .jumia-category-sidebar {
    display: none; /* Handled by mobile drawer */
  }

  .carousel-slide {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .slide-content {
    max-width: 100%;
    margin-bottom: 12px;
  }

  .slide-title {
    font-size: 22px;
  }

  .slide-graphic {
    display: none;
  }

  .slide-actions {
    justify-content: center;
  }

  .quick-tiles-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .quick-tile-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .flash-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jumia-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .category-tiles-grid {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
  }

  .cat-tile-card {
    min-width: 0;
  }

  .cat-tile-img {
    width: 64px;
    height: 64px;
  }

  .cat-tile-label {
    font-size: 10px;
  }

  .catalog-layout-grid {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    display: none; /* Filters collapsed on mobile */
  }

  .jumia-pdp-grid {
    grid-template-columns: 1fr;
  }

  .pdp-sidebar-col {
    grid-column: span 1;
  }

  .pdp-cta-buttons {
    grid-template-columns: 1fr;
  }

  .jumia-cart-grid, .jumia-checkout-grid {
    grid-template-columns: 1fr;
  }

  .form-row-grid {
    grid-template-columns: 1fr;
  }

  .jumia-trust-banner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-newsletter-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-left,
  .newsletter-form {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .newsletter-input-group input {
    min-width: 0;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-meta {
    justify-content: center;
  }

  .specs-tab-btn {
    flex: 1 1 100%;
    justify-content: center;
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .flash-sale-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .flash-see-all {
    align-self: flex-end;
  }
  .jumia-trust-banner {
    grid-template-columns: 1fr;
  }
  .seo-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .confirmation-actions-row {
    flex-direction: column;
  }
  .confirmation-actions-row .btn {
    width: 100%;
  }
}

/* ===== Address book, modal & customer account ===== */
.addr-book-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.addr-book-hint { font-size: 13px; color: #555; min-width: 0; }
.addr-list { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.addr-list-grid { gap: 14px; }
.addr-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #e0e0e0; border-radius: 8px; padding: 14px; background: #fff; cursor: pointer; min-width: 0; transition: border-color .15s, box-shadow .15s; }
article.addr-card { cursor: default; }
.addr-card.active { border-color: var(--color-accent, #f68b1e); box-shadow: 0 0 0 3px rgba(246, 139, 30, .15); }
.addr-card input[type="radio"] { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--color-accent, #f68b1e); }
.addr-card-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.addr-card-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 4px; }
.addr-card-line, .addr-card-contacts, .addr-card-notes { margin: 2px 0; font-size: 13.5px; color: #444; }
.addr-card-notes { color: #777; font-style: italic; }
.addr-contact-sep { margin: 0 6px; color: #aaa; }
.addr-card-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
.addr-link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; color: #0b63ce; font-weight: 600; font-size: 13px; cursor: pointer; }
.addr-link-btn.is-danger { color: #c62828; }
.addr-empty { text-align: center; padding: 28px 16px; border: 1.5px dashed #ccc; border-radius: 8px; color: #666; }
.addr-empty[hidden] { display: none; }
.addr-empty i { font-size: 36px; color: var(--color-accent, #f68b1e); }
.addr-guest-banner { display: flex; gap: 10px; align-items: flex-start; background: #fff8ec; border: 1px solid #ffe0b2; border-radius: 8px; padding: 12px; margin-bottom: 14px; font-size: 13.5px; }
.addr-guest-banner i { font-size: 20px; color: var(--color-accent, #f68b1e); }

.addr-modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.addr-modal-backdrop[hidden] { display: none; }
.addr-modal { background: #fff; border-radius: 12px; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.addr-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #eee; }
.addr-modal-header h2 { font-size: 17px; margin: 0; }
.addr-modal-close { background: none; border: 0; width: 44px; height: 44px; font-size: 22px; cursor: pointer; }
.addr-modal-body { padding: 16px 18px 0; overflow-y: auto; }
.addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.addr-grid > * { min-width: 0; }
.addr-contacts { border: 1px solid #e5e5e5; border-radius: 8px; padding: 10px 12px 4px; margin: 0 0 14px; min-width: 0; }
.addr-contacts legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.addr-contacts legend small, .addr-optional { font-weight: 400; color: #888; }
.addr-hint { margin: 0 0 8px; }
.addr-form-error { background: #fdecea; color: #b71c1c; border: 1px solid #f5c2c0; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; font-size: 13.5px; }
.addr-form-error[hidden] { display: none; }
.addr-default-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.addr-default-check input { width: 20px; height: 20px; accent-color: var(--color-accent, #f68b1e); }
.addr-modal-footer { position: sticky; bottom: 0; background: #fff; display: flex; justify-content: flex-end; gap: 10px; padding: 12px 0 14px; border-top: 1px solid #eee; margin-top: 8px; }
body.addr-modal-open { overflow: hidden; }

.account-auth-page, .account-page { padding-block: 24px; }
.account-auth-card { max-width: 460px; margin: 0 auto; background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.account-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid #eee; margin-bottom: 16px; }
.account-auth-tab { text-align: center; padding: 12px 8px; font-weight: 700; color: #666; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.account-auth-tab.active { color: var(--color-accent, #f68b1e); border-bottom-color: var(--color-accent, #f68b1e); }
.account-auth-switch { text-align: center; font-size: 13.5px; margin-top: 14px; }
.account-auth-staff { color: #777; }
.account-auth-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: #777; font-size: 13px; }
.account-auth-divider::before, .account-auth-divider::after { content: ''; flex: 1; height: 1px; background: #e5e5e5; }
.account-google-button { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #dadce0; background: #fff; color: #3c4043; }
.account-google-button:hover { background: #f8f9fa; color: #202124; }
.account-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: flex-start; margin: 12px 0 18px; }
.account-header h1 { font-size: 22px; margin: 0 0 4px; }
.account-sub { margin: 0; color: #666; font-size: 14px; max-width: 560px; }
.account-header-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.confirmation-delivery-line { margin: 4px 0; overflow-wrap: anywhere; }

@media (min-width: 768px) {
  .addr-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .addr-modal-backdrop { padding: 0; align-items: flex-end; }
  .addr-modal { max-width: none; border-radius: 16px 16px 0 0; max-height: 94dvh; }
  .addr-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .addr-modal-footer .btn { flex: 1; min-height: 44px; }
  .account-header-actions { width: 100%; }
  .account-header-actions .btn { flex: 1; }
}

/* AI assistant tab */
.ai-chat { max-width: 760px; }
.ai-chat-intro { background: #fff7ed; border: 1px solid #fed7aa; padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 14px; }
.ai-chat-log { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 2px 10px; }
.ai-msg { padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; max-width: 85%; white-space: pre-wrap; word-break: break-word; }
.ai-msg-user { align-self: flex-end; background: var(--color-accent, #E8650A); color: #fff; border-bottom-right-radius: 3px; }
.ai-msg-assistant { align-self: flex-start; background: #f1f1f2; color: #282828; border-bottom-left-radius: 3px; }
.ai-pending { opacity: .6; font-style: italic; }
.ai-suggestion { display: flex; gap: 12px; align-items: center; align-self: flex-start; max-width: 85%; padding: 10px; border: 1px solid #ededed; border-radius: 8px; background: #fff; text-decoration: none; color: inherit; }
.ai-suggestion:hover { border-color: var(--color-accent, #E8650A); }
.ai-suggestion img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.ai-suggestion-body { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.ai-suggestion-price { color: var(--color-accent, #E8650A); font-weight: 700; }
.ai-suggestion-price s { color: #75757a; font-weight: 400; margin-left: 6px; }
.ai-suggestion-body em { color: #55555a; }
.ai-chat-starters { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.ai-starter { border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.ai-starter:hover { border-color: var(--color-accent, #E8650A); }
.ai-chat-form { display: flex; gap: 8px; }
.ai-chat-form input { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.ai-msg-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ai-retry { margin-left: 4px; border: 0; background: none; color: var(--color-accent, #E8650A); font-weight: 700; cursor: pointer; text-decoration: underline; padding: 0; font-size: 14px; }

.rich-text-content img { max-width: 100%; height: auto; border-radius: 6px; }

/* ------------------------------------------------------------------------------
   CATEGORY NAVIGATION: scrollable bar, mega menu and hamburger flyout
   ------------------------------------------------------------------------------ */
.cat-hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  font-size: 28px;
  color: #282828;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.cat-hamburger:hover, .cat-hamburger[aria-expanded="true"] { color: var(--color-accent, #E8650A); }

.cat-bar {
  display: flex;
  align-items: center;
  position: relative;
  border-top: 1px solid #f1f1f1;
}
.cat-bar-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.cat-bar-scroll::-webkit-scrollbar { display: none; }
.cat-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  white-space: nowrap;
  color: #282828;
  font-size: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.cat-bar-item i { font-size: 20px; }
.cat-bar-item:hover, .cat-bar-item.is-open { color: var(--color-accent, #E8650A); font-weight: 600; }
.cat-bar-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cat-bar-arrow[hidden] { display: none; }

.cat-nav-anchor { position: relative; height: 0; }
.cat-mega, .cat-flyout {
  position: absolute;
  top: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  border-radius: 0 0 6px 6px;
  z-index: 5;
}
.cat-mega[hidden], .cat-flyout[hidden] { display: none; }
.cat-mega { left: 0; right: 0; padding: 20px 24px; max-height: 70vh; overflow-y: auto; }
.cat-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 32px;
  align-content: start;
}
.cat-mega-col { display: flex; flex-direction: column; margin-bottom: 14px; }
.cat-mega-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #282828;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid #ededed;
  text-decoration: none;
}
.cat-mega-link { font-size: 14px; color: #55555a; padding: 6px 0; text-decoration: none; }
.cat-mega-title:hover, .cat-mega-link:hover { color: var(--color-accent, #E8650A); }

.cat-flyout { left: 0; width: 300px; }
.cat-flyout-list { list-style: none; margin: 0; padding: 8px 0; width: 300px; }
.cat-flyout-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #282828;
  font-size: 15px;
  text-decoration: none;
}
.cat-flyout-link i { font-size: 22px; }
.cat-flyout-list > li:hover > .cat-flyout-link { color: var(--color-accent, #E8650A); background: #fff7ed; }
.cat-flyout-pane {
  display: none;
  position: absolute;
  top: 0;
  left: 300px;
  width: min(880px, calc(100vw - 340px));
  min-height: 100%;
  max-height: 75vh;
  overflow-y: auto;
  padding: 20px 24px;
  background: #fff;
  border-left: 1px solid #ededed;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  border-radius: 0 6px 6px 0;
}
.cat-flyout-list > li:hover > .cat-flyout-pane { display: block; }

.mobile-cat-group > summary { list-style: none; cursor: pointer; }
.mobile-cat-group > summary::-webkit-details-marker { display: none; }
.mobile-cat-group[open] > summary .nav-arrow { transform: rotate(180deg); }
.mobile-cat-sub { padding-left: 44px; font-size: 14px; }
.mobile-cat-leaf { padding-left: 64px; color: #75757a; }

@media (max-width: 768px) {
  .cat-hamburger, .cat-flyout, .cat-mega { display: none !important; }
}
@media (hover: none) {
  .cat-mega { display: none !important; }
}
