/* ==========================================================================
   Bushra Veterinary Pharmacy - صيدلية بشرى البيطرية
   Modern Bilingual (Arabic RTL & English LTR) Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --vet-primary: #dc2626;
  --vet-primary-dark: #b91c1c;
  --vet-primary-deep: #1e293b;
  --vet-primary-light: #ef4444;
  --vet-accent: #f59e0b;
  --vet-warm: #f59e0b;
  --vet-danger: #dc2626;
  --vet-bg-light: #f8fafc;
  --vet-bg-tint: #fef2f2;
  --vet-card-bg: #ffffff;
  --vet-border: #e2e8f0;
  --vet-text-main: #0f172a;
  --vet-text-muted: #64748b;
  --vet-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --vet-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --vet-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.03);
  --vet-radius: 12px;
  --vet-radius-lg: 18px;
}

/* Base & Typography */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: var(--vet-text-main);
  background-color: var(--vet-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

/* Direction font handling */
html[dir="rtl"] body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  text-align: right;
}

html[dir="ltr"] body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  text-align: left;
}

/* BiDi Isolation for Phone Numbers and Codes in Arabic RTL */
.vet-phone-number,
bdi.vet-phone-number {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  text-align: left;
  white-space: nowrap;
}

/* Container */
.vet-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Top Notification / Contact Strip */
.vet-topbar {
  background: var(--vet-primary-deep);
  color: #e2e8f0;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.vet-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.vet-topbar-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.vet-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.vet-topbar-item:hover {
  color: #ffffff;
}

/* Language Switcher */
.vet-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s;
}

.vet-lang-switch:hover {
  background: var(--vet-primary-light);
  color: #064e3b;
}

/* Header & Navigation */
.vet-header {
  background: #ffffff;
  box-shadow: var(--vet-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--vet-bg-tint);
}

.vet-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.vet-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--vet-primary-deep);
}

.vet-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--vet-primary), var(--vet-primary-deep));
  color: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.vet-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: var(--vet-primary-dark);
}

.vet-brand-tagline {
  font-size: 0.8rem;
  color: var(--vet-text-muted);
  font-weight: 600;
  margin: 0;
}

.vet-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.vet-nav-link {
  color: var(--vet-text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s;
}

.vet-nav-link:hover,
.vet-nav-link.active {
  color: var(--vet-primary);
}

.vet-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vet-primary);
  border-radius: 2px;
}

.vet-nav-cta {
  background: var(--vet-primary);
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 24px;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
  transition: all 0.2s;
}

.vet-nav-cta:hover {
  background: var(--vet-primary-dark);
  transform: translateY(-1px);
}

/* Hero Section */
.vet-hero {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #047857 100%);
  color: #ffffff;
  padding: 70px 0 80px 0;
  overflow: hidden;
}

.vet-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
}

.vet-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.vet-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.vet-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 18px 0;
}

.vet-hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin: 0 0 32px 0;
}

.vet-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.vet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.vet-btn-primary {
  background: #ffffff;
  color: var(--vet-primary-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.vet-btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.vet-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.vet-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

/* Feature Stats Ribbon */
.vet-stats-ribbon {
  background: #ffffff;
  margin-top: -35px;
  position: relative;
  z-index: 10;
  border-radius: var(--vet-radius);
  box-shadow: var(--vet-shadow-lg);
  padding: 24px 30px;
  border: 1px solid var(--vet-border);
}

.vet-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.vet-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vet-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--vet-bg-tint);
  color: var(--vet-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.vet-stat-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: var(--vet-text-main);
}

.vet-stat-desc {
  font-size: 0.85rem;
  color: var(--vet-text-muted);
  margin: 0;
}

/* Section Header */
.vet-section {
  padding: 65px 0;
}

.vet-section-tint {
  background: #f1f5f9;
}

.vet-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 45px auto;
}

.vet-section-badge {
  display: inline-block;
  background: var(--vet-bg-tint);
  color: var(--vet-primary-dark);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid #a7f3d0;
}

.vet-section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--vet-primary-deep);
  margin: 0 0 12px 0;
}

.vet-section-subtitle {
  font-size: 1.02rem;
  color: var(--vet-text-muted);
  margin: 0;
}

/* Categories Grid */
.vet-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.vet-cat-card {
  background: var(--vet-card-bg);
  border-radius: var(--vet-radius);
  padding: 28px 24px;
  border: 1px solid var(--vet-border);
  box-shadow: var(--vet-shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vet-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--vet-shadow-lg);
  border-color: var(--vet-primary-light);
}

.vet-cat-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--vet-bg-tint), #d1fae5);
  color: var(--vet-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.vet-cat-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: var(--vet-text-main);
}

.vet-cat-desc {
  font-size: 0.92rem;
  color: var(--vet-text-muted);
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.vet-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.vet-tag {
  background: #f8fafc;
  border: 1px solid var(--vet-border);
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.vet-cat-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--vet-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Catalog Hero Header */
.vet-catalog-hero {
  background: linear-gradient(135deg, var(--vet-primary-deep), var(--vet-primary-dark));
  color: #ffffff;
  padding: 42px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.vet-catalog-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 10px 0 12px 0;
  line-height: 1.3;
  word-break: break-word;
}

.vet-catalog-desc {
  font-size: 1.05rem;
  color: #d1fae5;
  margin: 0;
  line-height: 1.6;
}

.vet-catalog-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.9rem;
  color: var(--vet-text-muted);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Product Filter Toolbar & Search */
.vet-filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 8px 14px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--vet-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.vet-filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 2px 0;
}

.vet-filter-pills::-webkit-scrollbar {
  display: none;
}

.vet-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  background: #f8fafc;
  color: var(--vet-text-main);
  border: 1px solid var(--vet-border);
  transition: all 0.2s ease;
  user-select: none;
  text-decoration: none;
}

.vet-filter-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--vet-primary-dark);
}

.vet-filter-btn.active {
  background: var(--vet-primary) !important;
  color: #ffffff !important;
  border-color: var(--vet-primary) !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

.vet-filter-count {
  display: inline-block;
  font-size: 0.72rem;
  padding: 1px 5px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.06);
  font-weight: 700;
}

.vet-filter-btn.active .vet-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.vet-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--vet-border);
  border-radius: 24px;
  padding: 8px 16px;
  min-width: 220px;
  flex-grow: 1;
  max-width: 320px;
  transition: all 0.2s ease;
}

.vet-search-box:focus-within {
  border-color: var(--vet-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.vet-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  width: 100%;
  color: var(--vet-text-main);
  font-family: inherit;
}

.vet-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: var(--vet-radius);
  border: 1px dashed var(--vet-border);
  color: var(--vet-text-muted);
}

/* Quick Secondary Filters & Collapsible Drawer */
.vet-quick-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--vet-text-main);
  border: 1.5px solid var(--vet-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.vet-quick-toggle-btn:hover {
  background: #f8fafc;
  border-color: var(--vet-primary);
  color: var(--vet-primary-dark);
}

.vet-quick-toggle-btn.open {
  background: #ecfdf5;
  border-color: var(--vet-primary);
  color: var(--vet-primary-dark);
}

.vet-quick-toggle-btn.has-active {
  background: #f0fdf4;
  border-color: var(--vet-primary);
  color: var(--vet-primary-dark);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.vet-quick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vet-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  line-height: 1;
}

.vet-toggle-chevron {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
  color: var(--vet-text-muted);
}

.vet-quick-toggle-btn.open .vet-toggle-chevron {
  transform: rotate(180deg);
  color: var(--vet-primary);
}

.vet-quick-drawer {
  width: 100%;
  margin-top: -8px;
  margin-bottom: 16px;
  animation: vetDrawerFade 0.2s ease-out;
}

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

.vet-quick-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--vet-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-size: 0.82rem;
}

.vet-search-desc-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  margin-inline-start: auto;
}

.vet-search-desc-check:hover {
  background: #f1f5f9;
  border-color: var(--vet-primary);
  color: var(--vet-primary-dark);
}

.vet-search-desc-check input[type="checkbox"] {
  accent-color: var(--vet-primary);
  cursor: pointer;
  width: 15px;
  height: 15px;
  margin: 0;
}

.vet-quick-label {
  color: var(--vet-text-muted);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vet-quick-pill {
  border: 1px solid var(--vet-border);
  background: #f8fafc;
  color: var(--vet-text-main);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.vet-quick-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.vet-quick-pill.active {
  background: var(--vet-primary-deep) !important;
  color: #ffffff !important;
  border-color: var(--vet-primary-deep) !important;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.25);
}

/* Medication Cards (Products) */
.vet-med-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.vet-med-card {
  background: #ffffff;
  border-radius: var(--vet-radius);
  border: 1px solid var(--vet-border);
  box-shadow: var(--vet-shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.vet-med-card.hidden {
  display: none !important;
}

.vet-med-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vet-shadow-lg);
  border-color: #cbd5e1;
}

/* Card Media Header (Supports Images & Graceful Fallback Placeholders) */
.vet-med-media {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--vet-border);
}

.vet-med-media.has-img {
  background: #ffffff;
}

.vet-med-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  text-decoration: none;
  overflow: hidden;
}

.vet-med-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vet-med-card:hover .vet-med-img {
  transform: scale(1.06);
}

/* Category Themed Fallback Placeholders (When No Image is Uploaded) */
.vet-med-media.no-img {
  color: #ffffff;
}

.vet-theme-mooneh {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.vet-theme-meat {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.vet-theme-dairy {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.vet-theme-produce {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.vet-theme-grocery {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.vet-theme-oils {
  background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
}

.vet-theme-cleaning {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.vet-theme-vaccine {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.vet-theme-poultry {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.vet-theme-pets {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.vet-theme-vitamins {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.vet-theme-livestock {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.vet-med-placeholder-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.vet-med-placeholder-watermark {
  position: absolute;
  inset-inline-end: -15px;
  bottom: -20px;
  font-size: 8rem;
  opacity: 0.12;
  pointer-events: none;
}

.vet-med-placeholder-center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.vet-med-placeholder-emblem {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  margin: 0 auto 8px auto;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

.vet-med-card:hover .vet-med-placeholder-emblem {
  transform: scale(1.1);
}

.vet-med-placeholder-label {
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Floating Corner Badges */
.vet-med-float-start {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 58% !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.vet-med-float-end {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  max-width: 40% !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.vet-float-tag {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 2.5px 7.5px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16) !important;
  line-height: 1.25 !important;
  letter-spacing: 0.1px !important;
  flex-shrink: 0 !important;
  pointer-events: auto;
}

.vet-float-tag span,
.vet-float-tag bdi {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: 100% !important;
  display: inline-block !important;
}

.vet-float-tag i {
  font-size: 0.65rem !important;
  flex-shrink: 0 !important;
}

.vet-tag-cold {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3) !important;
  border: none !important;
}

.vet-tag-certified {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  color: #047857 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12) !important;
  font-weight: 800 !important;
}

.vet-tag-certified i {
  color: #10b981 !important;
}

.kookh-float-tag-offer {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35) !important;
  border: none !important;
}

.kookh-float-tag-weight {
  background: rgba(15, 23, 42, 0.82) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

/* Out of Stock Card State & Floating Badge */
.kookh-tag-out-of-stock {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  letter-spacing: 0.2px;
}

.kookh-tag-out-of-stock i {
  color: #fee2e2 !important;
}

.vet-med-card.is-out-of-stock .vet-med-img {
  filter: grayscale(0.55) contrast(0.95);
  opacity: 0.82;
  transition: all 0.3s ease;
}

.vet-btn-action-cart.is-out-of-stock,
.vet-btn-action-cart:disabled {
  background: #64748b !important;
  border: 1px solid #475569 !important;
  color: #f1f5f9 !important;
  cursor: not-allowed !important;
  opacity: 0.9 !important;
  box-shadow: none !important;
  transform: none !important;
}

.vet-btn-action-cart.is-out-of-stock i {
  color: #fca5a5 !important;
}

.vet-tag-safe {
  background: #10b981;
  color: #ffffff;
}

.vet-tag-temp {
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
}

/* Card Header */
.vet-med-header {
  padding: 16px 20px 10px 20px;
  background: #ffffff;
}

.vet-med-name {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.vet-med-name a {
  color: var(--vet-text-main);
  text-decoration: none;
  transition: color 0.2s;
}

.vet-med-name a:hover {
  color: var(--vet-primary);
}

.vet-med-generic {
  font-size: 0.82rem;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
}

/* Card Body */
.vet-med-body {
  padding: 10px 20px 16px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vet-med-detail {
  font-size: 0.88rem;
  color: #475569;
}

.vet-med-detail strong {
  color: #0f172a;
  font-weight: 700;
  margin-inline-end: 4px;
}

.vet-indications-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.vet-withdrawal-box {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-inline-start: 3px solid #f59e0b;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: #92400e;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Modern Product Card & Footer Layout (Streamlined & Mobile-Optimized)
   ========================================================================== */
.vet-med-footer {
  padding: 12px 16px 14px 16px;
  background: #f8fafc;
  border-top: 1px solid var(--vet-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* Footer Top Row: Price / Stock & Details Link */
.vet-med-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.vet-med-price-col {
  display: flex;
  align-items: center;
}

.vet-med-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vet-primary-deep);
  letter-spacing: -0.2px;
}

.vet-med-price small {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--vet-text-muted);
  margin-inline-start: 3px;
}

.vet-med-stock {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--vet-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vet-med-detail-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vet-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
}

.vet-med-detail-link:hover {
  color: var(--vet-primary-deep);
  background: #dcfce7;
  border-color: #bbf7d0;
  gap: 8px;
}

/* Footer Bottom Row: 2 Touch-Friendly Wide Primary CTAs */
.vet-med-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

/* Button 1: Add to Order List (+ Cart) */
.vet-btn-card-cart {
  min-height: 42px;
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.vet-btn-card-cart:hover {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
  transform: translateY(-1px);
}

.vet-btn-card-cart:active {
  transform: scale(0.97);
}

.vet-btn-card-cart.vet-btn-added {
  background: #10b981 !important;
  border-color: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Button 2: Direct 1-Click WhatsApp Order */
.vet-btn-card-order {
  min-height: 42px;
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 10px;
  background: linear-gradient(135deg, #25d366 0%, #1ea952 100%);
  border: 1px solid #1ea952;
  color: #ffffff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  box-sizing: border-box;
}

.vet-btn-card-order:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.vet-btn-card-order:active {
  transform: scale(0.97);
}

/* Fallback for legacy class */
.vet-btn-card-detail {
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--vet-border);
  color: var(--vet-text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.vet-btn-card-detail:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--vet-primary-dark);
}

.vet-med-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

/* ==========================================================================
   Breadcrumb Strip (Product Details & Subpages)
   ========================================================================== */
.vet-breadcrumb-strip {
  background: #f8fafc;
  border-bottom: 1px solid var(--vet-border);
  padding: 12px 0;
  font-size: 0.88rem;
}

.vet-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.vet-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--vet-text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  list-style: none !important;
}

.vet-breadcrumbs li::marker {
  display: none !important;
  content: "" !important;
}

.vet-breadcrumbs li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--vet-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.vet-breadcrumbs li a:hover {
  color: var(--vet-primary);
}

.vet-breadcrumbs li a i {
  color: var(--vet-warm);
}

.vet-breadcrumbs li .fa-angle-left,
.vet-breadcrumbs li .fa-angle-right {
  font-size: 0.72rem;
  color: #94a3b8;
}

.vet-breadcrumbs li.active {
  color: var(--vet-primary-dark);
  font-weight: 700;
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .vet-breadcrumb-strip {
    padding: 10px 0;
    font-size: 0.82rem;
  }
  .vet-breadcrumbs li.active {
    max-width: 220px;
  }
}

/* ==========================================================================
   Product Detail Page (Single Product Showcase)
   ========================================================================== */
.vet-detail-grid,
.vet-product-detail-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 991px) {
  .vet-detail-grid,
  .vet-product-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.vet-detail-gallery-wrap {
  position: sticky;
  top: 96px;
  z-index: 2;
}

@media (max-width: 991px) {
  .vet-detail-gallery-wrap {
    position: static;
  }
}

.vet-detail-main-img-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--vet-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: box-shadow 0.25s ease;
}

.vet-detail-main-img-box:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

@media (max-width: 768px) {
  .vet-detail-main-img-box {
    height: 320px;
    padding: 16px;
    border-radius: 12px;
  }
}

.vet-detail-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.vet-detail-main-img:hover {
  transform: scale(1.04);
}

.vet-detail-float-badges {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.vet-detail-thumbs-strip {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
}

.vet-detail-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  padding: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  object-fit: contain;
}

.vet-detail-thumb:hover {
  border-color: var(--vet-primary);
  transform: translateY(-2px);
}

.vet-detail-thumb.active {
  border-color: var(--vet-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
  transform: scale(1.04);
}

.vet-detail-specs-box {
  background: #ffffff;
  border: 1px solid var(--vet-border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--vet-shadow-sm);
}

/* ==========================================================================
   Mobile Sticky Order Bar for Product Page
   ========================================================================== */
.vet-mobile-sticky-order-bar {
  display: none;
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--vet-border);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
  padding: 10px 16px;
  z-index: 998;
}

@media (max-width: 768px) {
  .vet-mobile-sticky-order-bar {
    display: block;
  }
  body.kookh-page-product {
    padding-bottom: 120px !important;
  }
  body.kookh-page-product #kookhStickyCartBar {
    display: none !important;
  }
}

.vet-sticky-order-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
  gap: 12px;
}

.vet-sticky-price-info {
  display: flex;
  flex-direction: column;
}

.vet-sticky-label {
  font-size: 0.75rem;
  color: var(--vet-text-muted);
}

.vet-sticky-price {
  font-size: 1.15rem;
  color: var(--vet-primary);
  font-weight: 800;
  line-height: 1.2;
}

.vet-sticky-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vet-btn-sticky-cart {
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
  transition: background 0.2s;
}

.vet-btn-sticky-cart:hover {
  background: #15803d;
}

.vet-btn-sticky-wa {
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
  transition: background 0.2s;
}

.vet-btn-sticky-wa:hover {
  background: #20ba59;
}

.vet-detail-media-card {
  background: #ffffff;
  border-radius: var(--vet-radius);
  border: 1px solid var(--vet-border);
  box-shadow: var(--vet-shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.vet-detail-media-view {
  height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--vet-border);
}

.vet-detail-media-view.has-img {
  background: #ffffff;
  padding: 20px;
}

.vet-detail-media-view.has-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vet-detail-media-view.no-img {
  color: #ffffff;
}

.vet-detail-quick-specs {
  padding: 20px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vet-detail-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--vet-border);
}

.vet-detail-spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vet-detail-spec-item strong {
  color: var(--vet-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vet-detail-spec-item span {
  font-weight: 700;
  color: var(--vet-text-main);
}

.vet-detail-info-card {
  background: #ffffff;
  border-radius: var(--vet-radius);
  border: 1px solid var(--vet-border);
  box-shadow: var(--vet-shadow-sm);
  padding: 32px;
}

.vet-detail-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--vet-border);
}

.vet-detail-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: var(--vet-text-main);
}

.vet-detail-generic {
  font-size: 1.05rem;
  color: #0369a1;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  padding: 4px 12px;
  border-radius: 8px;
}

.vet-detail-price-box {
  background: var(--vet-bg-tint);
  border: 1px solid #bbf7d0;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
}

.vet-detail-price-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--vet-primary-deep);
  display: block;
}

.vet-detail-section {
  margin-bottom: 24px;
}

.vet-detail-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--vet-primary-deep);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vet-detail-section p {
  color: #475569;
  line-height: 1.75;
  margin: 0;
  font-size: 0.98rem;
}

.vet-detail-action-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--vet-border);
}

.vet-detail-action-bar a {
  flex: 1;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  transition: all 0.2s;
}

.vet-btn-detail-wa {
  background: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.vet-btn-detail-call {
  background: var(--vet-primary-deep) !important;
  color: #ffffff !important;
}

.vet-btn-detail-share {
  background: #f8fafc !important;
  border: 1px solid var(--vet-border);
  color: var(--vet-text-main) !important;
}

/* Feature/Why Us Box */
.vet-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.vet-why-card {
  background: #ffffff;
  padding: 26px 20px;
  border-radius: var(--vet-radius);
  border: 1px solid var(--vet-border);
  text-align: center;
}

.vet-why-icon {
  width: 60px;
  height: 60px;
  background: var(--vet-bg-tint);
  color: var(--vet-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px auto;
}

.vet-why-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: var(--vet-text-main);
}

.vet-why-desc {
  font-size: 0.9rem;
  color: var(--vet-text-muted);
  margin: 0;
}

/* Inquiry Box / Banner */
.vet-inquiry-banner {
  background: linear-gradient(135deg, var(--vet-primary-deep) 0%, var(--vet-primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--vet-radius-lg);
  padding: 50px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: var(--vet-shadow-lg);
}

.vet-inquiry-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.vet-inquiry-text p {
  font-size: 1.05rem;
  color: #d1fae5;
  margin: 0;
  max-width: 580px;
}

.vet-inquiry-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.vet-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  border-radius: 30px;
  padding: 14px 26px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: all 0.2s;
}

.vet-btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
}

/* Footer */
.vet-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 25px 0;
  font-size: 0.94rem;
}

.vet-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 35px;
  margin-bottom: 45px;
}

.vet-footer-brand h3 {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 12px 0;
}

.vet-footer-brand p {
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 18px 0;
}

.vet-footer-col h4 {
  color: #f8fafc;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.vet-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vet-footer-links li {
  margin-bottom: 10px;
}

.vet-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

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

.vet-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #cbd5e1;
}

.vet-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

/* Mobile Navigation Drawer & Bottom Bar (Base) */
.vet-menu-toggle {
  display: none;
  background: var(--vet-bg-tint);
  color: var(--vet-primary-dark);
  border: 1px solid var(--vet-border);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vet-menu-toggle:hover {
  background: var(--vet-primary);
  color: #ffffff;
  border-color: var(--vet-primary);
}

.vet-mobile-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 2px solid var(--vet-bg-tint);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out;
}

.vet-mobile-drawer.open {
  max-height: 550px;
}

.vet-mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 0 20px 0;
  gap: 6px;
}

.vet-mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--vet-text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition: all 0.2s ease;
}

.vet-mobile-nav-link i {
  width: 22px;
  color: var(--vet-primary);
  font-size: 1.1rem;
}

.vet-mobile-nav-link:hover,
.vet-mobile-nav-link.active {
  background: var(--vet-bg-tint);
  color: var(--vet-primary-dark);
}

.vet-mobile-cta {
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.vet-mobile-bottom-bar {
  display: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 991px) {
  .vet-nav {
    display: none;
  }
  .vet-menu-toggle {
    display: inline-flex;
  }
  .vet-mobile-drawer {
    display: block;
  }
  .vet-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  /* Prevent sticky bottom bar from obscuring content */
  body {
    padding-bottom: 74px !important;
  }

  /* Fixed Mobile Sticky Bottom Bar */
  .vet-mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--vet-border);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) 12px;
    gap: 10px;
    z-index: 9999;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  }

  .vet-btn-wa-bottom {
    flex: 2;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
  }

  .vet-btn-call-bottom {
    flex: 1;
    background: var(--vet-primary-deep);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  /* Slim Mobile Topbar */
  .vet-hide-mobile {
    display: none !important;
  }
  .vet-topbar {
    padding: 6px 0;
    font-size: 0.8rem;
  }
  .vet-topbar-inner {
    gap: 6px;
  }
  .vet-topbar-item {
    font-size: 0.82rem;
  }

  /* Compact Header */
  .vet-header-inner {
    padding: 10px 0;
  }
  .vet-logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
    border-radius: 10px;
  }
  .vet-brand-title {
    font-size: 1.15rem;
  }
  .vet-brand-tagline {
    display: none;
  }

  /* Clean Hero & Banner Spacing */
  .vet-hero {
    padding: 38px 0 50px 0;
  }
  .vet-hero-title {
    font-size: 1.65rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }
  .vet-hero-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .vet-hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .vet-hero-buttons .vet-btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  /* 2x2 Clean Stats Ribbon */
  .vet-stats-ribbon {
    margin-top: -24px;
    padding: 16px 12px;
    border-radius: 14px;
  }
  .vet-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .vet-stat-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 8px 4px;
    gap: 8px;
  }
  .vet-stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .vet-stat-title {
    font-size: 0.92rem;
  }
  .vet-stat-desc {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  /* Compact Sections */
  .vet-section {
    padding: 35px 0;
  }
  .vet-section-header {
    margin-bottom: 24px;
  }
  .vet-section-title {
    font-size: 1.5rem;
  }
  .vet-section-subtitle {
    font-size: 0.9rem;
  }

  /* Horizontal Swipeable Category Filter Toolbar on Mobile */
  .vet-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 12px;
    margin-bottom: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: visible; /* Allows autocomplete dropdown to drop down cleanly */
    border-radius: 14px;
  }
  .vet-search-box {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    order: -1; /* Place search bar at the very top */
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  .vet-filter-pills {
    display: flex;
    overflow-x: auto !important;
    overflow-y: hidden;
    flex-wrap: nowrap !important;
    padding: 4px 2px 10px 2px;
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important; /* CRITICAL: prevents flex blowout */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }
  .vet-filter-pills::-webkit-scrollbar {
    height: 4px;
    display: block;
  }
  .vet-filter-pills::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
  }
  .vet-filter-pills::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
  }
  .vet-filter-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: 20px;
    -webkit-tap-highlight-color: transparent;
  }

  .vet-catalog-hero {
    padding: 24px 0 20px 0;
  }
  .vet-catalog-title {
    font-size: 1.55rem;
    margin: 8px 0 10px 0;
  }
  .vet-catalog-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .vet-catalog-status-bar {
    font-size: 0.84rem;
    margin-bottom: 16px;
    gap: 6px;
  }

  /* Mobile-Optimized Product Cards */
  .vet-med-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    gap: 16px;
  }
  .vet-med-card {
    border-radius: 14px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
  }
  .vet-med-header {
    padding: 14px 16px 10px 16px;
  }
  .vet-med-name {
    font-size: 1.15rem;
    word-break: break-word;
  }
  .vet-med-body {
    padding: 12px 16px;
  }
  .vet-med-detail {
    margin-bottom: 8px;
    font-size: 0.85rem;
    word-break: break-word;
  }
  .vet-withdrawal-box {
    padding: 6px 10px;
    font-size: 0.8rem;
    margin-top: 8px;
    word-break: break-word;
  }
  .vet-med-footer {
    padding: 12px 14px 14px 14px;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .vet-med-price {
    font-size: 1.25rem;
  }
  .vet-med-detail-link {
    font-size: 0.82rem;
    padding: 5px 9px;
  }
  .vet-med-actions-grid {
    gap: 8px;
  }
  .vet-btn-card-cart,
  .vet-btn-card-order {
    min-height: 46px; /* High-touch target on mobile */
    font-size: 0.88rem;
    border-radius: 12px;
  }

  /* Mobile Categories Grid & Specialists */
  .vet-cat-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .vet-cat-card {
    padding: 20px 16px;
  }

  /* Inquiry Banner */
  .vet-inquiry-banner {
    padding: 26px 18px;
    text-align: center;
  }
  .vet-inquiry-text h2 {
    font-size: 1.4rem;
  }
  .vet-inquiry-text p {
    font-size: 0.92rem;
  }
  .vet-inquiry-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .vet-inquiry-actions a {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Footer */
  .vet-footer {
    padding: 40px 0 20px 0;
  }
  .vet-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .vet-container {
    padding: 0 12px;
  }
  .vet-hero-title {
    font-size: 1.45rem;
  }
  .vet-catalog-title {
    font-size: 1.35rem;
  }
  .vet-med-footer {
    padding: 10px 12px 12px 12px;
    gap: 8px;
  }
  .vet-med-price {
    font-size: 1.15rem;
  }
  .vet-med-detail-link {
    font-size: 0.78rem;
    padding: 4px 6px;
  }
  .vet-med-actions-grid {
    gap: 6px;
  }
  .vet-btn-card-cart,
  .vet-btn-card-order {
    min-height: 44px;
    font-size: 0.83rem;
    padding: 8px 6px;
    border-radius: 10px;
  }
}

/* ==========================================================================
   WhatsApp Quick Cart System Styles
   ========================================================================== */

/* Nav Cart Button */
.vet-nav-cart-btn {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  position: relative;
  font-family: inherit;
}

.vet-nav-cart-btn:hover {
  background: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
}

.vet-cart-counter {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  line-height: 19px;
  border-radius: 10px;
  text-align: center;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
}

/* Floating Cart Pill (Bottom Corner) */
.vet-floating-cart-pill {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 998;
  background: linear-gradient(135deg, var(--vet-primary-deep), var(--vet-primary));
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.25);
  font-size: 0.95rem;
  font-weight: 700;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, opacity 0.25s ease;
  backdrop-filter: blur(8px);
}

.vet-floating-cart-pill.visible {
  display: inline-flex;
}

.vet-floating-cart-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px -5px rgba(6, 78, 59, 0.6);
}

.vet-floating-cart-pill:active {
  transform: scale(0.97);
}

.vet-floating-cart-counter {
  background: #ffffff;
  color: var(--vet-primary-deep);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 12px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* When Mobile Bar is visible, raise the floating pill */
@media (max-width: 768px) {
  .vet-floating-cart-pill {
    bottom: 76px;
    inset-inline-end: 14px;
    padding: 10px 16px;
    font-size: 0.88rem;
  }
}

/* Drawer Backdrop Overlay */
.vet-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vet-cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Slide-over Drawer Panel */
.vet-cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: 440px;
  max-width: 90vw;
  background: #ffffff;
  z-index: 10001;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

[dir="rtl"] .vet-cart-drawer {
  transform: translateX(-105%);
}

.vet-cart-drawer.open {
  transform: translateX(0) !important;
}

/* Drawer Header */
.vet-cart-drawer-header {
  padding: 13px 18px;
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(6, 78, 59, 0.2);
}

.vet-cart-drawer-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.vet-cart-drawer-close {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.2s, transform 0.2s;
}

.vet-cart-drawer-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg);
}

/* Drawer Body & Items */
.vet-cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 12px 16px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vet-cart-empty {
  text-align: center;
  padding: 40px 10px;
  margin: auto 0;
}

.vet-cart-empty-icon {
  font-size: 3.5rem;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.vet-cart-empty h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--vet-text-main);
  margin-bottom: 8px;
}

.vet-cart-empty p {
  font-size: 0.9rem;
  color: var(--vet-text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.vet-cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vet-cart-item {
  background: #ffffff;
  border: 1px solid var(--vet-border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease;
}

.vet-cart-item:hover {
  border-color: #cbd5e1;
}

.vet-cart-item-media {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.vet-cart-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.vet-cart-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
}

.vet-cart-item-info {
  flex-grow: 1;
  min-width: 0;
}

.vet-cart-item-title {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vet-cart-item-title a {
  color: var(--vet-text-main);
  text-decoration: none;
}

.vet-cart-item-title a:hover {
  color: var(--vet-primary);
}

.vet-cart-cold-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 1px 6px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.vet-cart-item-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.vet-cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.vet-qty-btn {
  border: none;
  background: transparent;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.78rem;
}

.vet-qty-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.vet-qty-val {
  min-width: 26px;
  text-align: center;
  font-weight: 800;
  font-size: 0.88rem;
  color: #0f172a;
}

.vet-cart-line-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--vet-primary-deep);
}

.vet-cart-del-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 6px;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.vet-cart-del-btn:hover {
  color: #ef4444;
}

/* Item Preparation Notes in Cart Drawer */
.vet-cart-item-note-container {
  margin: 4px 0 6px 0;
}

.vet-cart-add-note-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.vet-cart-add-note-btn:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #b45309;
}

.vet-cart-item-note-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  line-height: 1.3;
  cursor: pointer;
  max-width: 100%;
  word-break: break-word;
  transition: background 0.15s ease;
}

.vet-cart-item-note-badge:hover {
  background: #fde68a;
}

.vet-cart-item-note-badge strong {
  font-weight: 800;
}

.vet-cart-note-edit-icon {
  font-size: 0.68rem;
  opacity: 0.7;
  margin-right: 2px;
}

.vet-cart-item-note-wrap {
  margin-top: 5px;
}

.vet-cart-item-note-inner {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vet-cart-item-note-input {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 1.5px solid #f59e0b;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.78rem;
  color: #1e293b;
  outline: none;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.15);
  font-family: inherit;
}

.vet-cart-item-note-input:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.vet-cart-note-save-btn {
  background: #10b981;
  color: #fff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: background 0.15s;
}

.vet-cart-note-save-btn:hover {
  background: #059669;
}

.vet-cart-note-clear-btn {
  background: #f1f5f9;
  color: #ef4444;
  border: 1px solid #cbd5e1;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all 0.15s;
}

.vet-cart-note-clear-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

/* Farm / Client Details Form */
.vet-cart-form-section {
  background: #ffffff;
  border: 1px solid var(--vet-border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
}

.vet-cart-form-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--vet-text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vet-cart-input-group {
  margin-bottom: 8px;
}

.vet-cart-input-group:last-child {
  margin-bottom: 0;
}

.vet-cart-input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid var(--vet-border);
  border-radius: 8px;
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--vet-text-main);
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s;
}

.vet-cart-input:focus {
  outline: none;
  border-color: var(--vet-primary);
  background: #ffffff;
}

.vet-cart-textarea {
  resize: vertical;
}

/* Drawer Footer - Modern Ultra-Compact Sticky Bar (Talabat / Careem style) */
.vet-cart-drawer-footer {
  padding: 8px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  position: sticky;
  bottom: 0;
  z-index: 20;
}

.vet-cart-sticky-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vet-cart-sticky-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  min-width: 0;
}

.vet-cart-sticky-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.1;
}

.vet-cart-sticky-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
}

.vet-cart-bar-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #064e3b;
  letter-spacing: -0.3px;
}

.vet-cart-bar-price.ready {
  font-size: 1.05rem;
  color: #059669;
}

.vet-cart-bar-curr {
  font-size: 0.82rem;
  font-weight: 800;
  color: #047857;
  margin-inline-start: 2px;
}

.vet-cart-sticky-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}

.vet-cart-sticky-dot {
  color: #cbd5e1;
}

.vet-cart-bar-del-status {
  color: #64748b;
}

.vet-cart-bar-del-status.free {
  color: #059669;
  font-weight: 700;
}

.vet-cart-sticky-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
  font-family: inherit;
}

.vet-cart-sticky-cta:hover {
  background: linear-gradient(135deg, #1eb956 0%, #0d7064 100%);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.vet-cart-sticky-cta:active {
  transform: translateY(0);
}

.vet-cart-sticky-cta i {
  font-size: 1.05rem;
}

/* Items List Quick Utility Bar (Inside Scrollable Body) */
.kookh-cart-body-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 4px;
  margin: 10px 0 14px 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
}

.kookh-cart-body-actions-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.kookh-cart-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f0fdf4;
  border: 1px solid #a7f3d0;
  color: #047857;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.kookh-cart-pill-btn:hover {
  background: #dcfce7;
  border-color: #6ee7b7;
  transform: translateY(-1px);
}

.kookh-cart-sheet-pill {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.kookh-cart-sheet-pill:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

.kookh-cart-reorder-pill {
  background: #f0fdfa;
  border-color: #99f6e4;
  color: #0f766e;
}

.kookh-cart-reorder-pill:hover {
  background: #ccfbf1;
  border-color: #5eead4;
}

.kookh-cart-clear-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.18s;
  font-family: inherit;
}

.kookh-cart-clear-text-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}

.vet-cart-header-icon-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.vet-cart-header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.06);
}

/* Legacy Fallback Classes */
.vet-cart-footer-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.vet-cart-sum-label {
  color: var(--vet-text-muted);
}

.vet-cart-sum-val {
  font-size: 1.15rem;
  color: var(--vet-primary-deep);
}

.vet-cart-share-btn {
  width: 100%;
  margin-top: 6px;
  background: #f0fdf4;
  color: #047857;
  border: 1.5px solid #10b981;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.vet-cart-sheet-btn {
  width: 100%;
  margin-top: 6px;
  background: #ffffff;
  color: var(--vet-primary-deep);
  border: 1.5px solid var(--vet-primary);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

/* Toast Notifications */
.vet-cart-toast {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 10005;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vet-cart-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.vet-toast-inner {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  font-size: 0.88rem;
}

.vet-toast-inner i {
  color: #10b981;
  font-size: 1.15rem;
}

.vet-toast-btn {
  background: var(--vet-primary);
  color: #ffffff;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  margin-inline-start: 6px;
  font-family: inherit;
  transition: background 0.15s;
}

.vet-toast-btn:hover {
  background: var(--vet-primary-dark);
}

/* Pulse bounce keyframes */
@keyframes pulseBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.pulse-bounce {
  animation: pulseBounce 0.4s ease;
}

/* Product Detail Page: Add to Cart Row */
.vet-detail-cart-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.vet-detail-qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--vet-border);
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
  height: 44px;
}

.vet-detail-qty-btn {
  border: none;
  background: transparent;
  width: 36px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  transition: background 0.15s;
}

.vet-detail-qty-btn:hover {
  background: #e2e8f0;
}

.vet-detail-qty-input {
  width: 44px;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--vet-text-main);
  padding: 0;
}

.vet-btn-detail-add-cart {
  flex-grow: 1;
  height: 44px;
  padding: 0 20px;
  border: 1px solid #16a34a;
  background: #f0fdf4;
  color: #15803d;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.vet-btn-detail-add-cart:hover {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   Multi-Image Interactive Product Gallery
   ========================================================================== */
.vet-detail-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.vet-gallery-badge {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.vet-detail-thumbs-container {
  padding: 12px 14px;
  background: #f8fafc;
  border-top: 1px solid var(--vet-border);
}

.vet-detail-thumbs-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.vet-detail-thumb-btn {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  padding: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vet-detail-thumb-btn:hover {
  border-color: var(--vet-primary);
  transform: translateY(-2px);
}

.vet-detail-thumb-btn.active {
  border-color: var(--vet-primary);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
  transform: scale(1.03);
}

.vet-detail-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* ==========================================================================
   Live Autocomplete Search (Desktop & Mobile)
   ========================================================================== */
.vet-nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  border: 1px solid var(--vet-border);
  border-radius: 24px;
  padding: 7px 14px;
  color: var(--vet-text-muted);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}
.vet-nav-search-btn:hover {
  background: #ffffff;
  border-color: var(--vet-primary);
  color: var(--vet-primary-deep);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}
.vet-nav-search-text {
  font-weight: 500;
}
.vet-search-kbd {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  color: #64748b;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}
.vet-mobile-search-btn {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--vet-border);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  color: var(--vet-primary-deep);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.vet-mobile-search-btn:hover {
  background: #e2e8f0;
}
@media (max-width: 991px) {
  .vet-nav-search-btn {
    display: none;
  }
  .vet-mobile-search-btn {
    display: inline-flex;
  }
}

/* Live Search Modal Overlay */
.vet-search-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 16px 20px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.vet-search-modal.active {
  opacity: 1;
  visibility: visible;
}
.vet-search-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
}
.vet-search-modal.active .vet-search-modal-box {
  transform: translateY(0) scale(1);
}

/* Modal Search Header */
.vet-search-header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--vet-border);
  background: #ffffff;
}
.vet-search-header-icon {
  font-size: 1.25rem;
  color: var(--vet-primary);
  flex-shrink: 0;
}
.vet-search-input-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.12rem;
  font-family: inherit;
  color: var(--vet-text-main);
  background: transparent;
  font-weight: 600;
}
.vet-search-input-field::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.vet-search-clear-btn {
  background: #f1f5f9;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.15s;
}
.vet-search-clear-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.vet-search-close-btn {
  background: #f8fafc;
  border: 1px solid var(--vet-border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
}
.vet-search-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* Status / Results Counter Bar */
.vet-search-status-bar {
  padding: 8px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: var(--vet-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Results Scrollable Area */
.vet-search-results-box {
  padding: 12px 16px;
  overflow-y: auto;
  max-height: 55vh;
  overscroll-behavior: contain;
}

/* Results List & Items */
.vet-search-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vet-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}
.vet-search-item:hover,
.vet-search-item.selected {
  background: #f0fdf4;
  border-color: #86efac;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.vet-search-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vet-search-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.vet-search-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
}

.vet-search-item-info {
  flex: 1;
  min-width: 0;
}
.vet-search-item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vet-search-item-name {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--vet-text-main);
  line-height: 1.35;
}
.vet-search-item-generic {
  margin: 2px 0 6px 0;
  font-size: 0.8rem;
  color: #64748b;
  font-style: italic;
  font-family: 'Inter', system-ui;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vet-search-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.vet-search-pill-category,
.vet-search-pill-species,
.vet-search-pill-cold {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vet-search-pill-category {
  background: #f1f5f9;
  color: #475569;
}
.vet-search-pill-species {
  background: #fef3c7;
  color: #92400e;
}
.vet-search-pill-cold {
  background: #e0f2fe;
  color: #0369a1;
}

.vet-search-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.vet-search-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--vet-primary-deep);
}
.vet-search-item-stock {
  font-size: 0.78rem;
  color: var(--vet-primary);
  font-weight: 700;
}
.vet-search-action-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vet-btn-search-cart {
  background: #f0fdf4;
  color: var(--vet-primary-dark);
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vet-btn-search-cart:hover,
.vet-btn-search-cart.added {
  background: var(--vet-primary);
  color: #ffffff;
  border-color: var(--vet-primary);
}
.vet-btn-search-wa {
  background: #25d366;
  color: #ffffff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.15s;
}
.vet-btn-search-wa:hover {
  background: #1eb855;
  transform: scale(1.06);
}

/* Matched query highlight */
.vet-search-highlight {
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  border-radius: 3px;
  padding: 0 2px;
}

/* Suggestion Chips */
.vet-search-chips-container {
  padding: 10px 4px 16px 4px;
}
.vet-search-chips-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--vet-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.vet-search-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vet-search-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--vet-text-main);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vet-search-chip:hover {
  background: #f0fdf4;
  border-color: #86efac;
  color: var(--vet-primary-deep);
  transform: translateY(-1px);
}

/* Empty State */
.vet-search-empty {
  text-align: center;
  padding: 35px 20px;
}
.vet-search-empty-icon {
  font-size: 2.8rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}
.vet-search-empty h3 {
  font-size: 1.1rem;
  color: var(--vet-text-main);
  margin: 0 0 8px 0;
}
.vet-search-empty p {
  font-size: 0.88rem;
  color: var(--vet-text-muted);
  max-width: 440px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}
.vet-search-empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.vet-btn-search-empty-wa {
  background: #25d366;
  color: #ffffff;
  border-radius: 25px;
  padding: 9px 20px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.vet-btn-search-empty-wa:hover {
  background: #1eb855;
  transform: translateY(-2px);
}
.vet-btn-search-empty-clear {
  background: #f1f5f9;
  border: 1px solid var(--vet-border);
  border-radius: 25px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}
.vet-btn-search-empty-clear:hover {
  background: #e2e8f0;
}

/* Footer Keyboard Hints */
.vet-search-footer {
  padding: 10px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--vet-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
}
.vet-search-kbd-hints {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vet-search-kbd-hints span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Sticky Mobile Action Bar (Product Detail Page)
   ========================================================================== */
.vet-product-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .vet-product-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(16, 185, 129, 0.25);
    padding: 10px 14px;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
    transition: transform 0.3s ease;
  }

  .vet-sticky-prod-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .vet-sticky-prod-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid var(--vet-border);
    flex-shrink: 0;
  }

  .vet-sticky-prod-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .vet-sticky-prod-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .vet-sticky-prod-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--vet-text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }

  .vet-sticky-prod-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
  }

  .vet-sticky-price-val {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--vet-primary-deep);
  }

  .vet-sticky-stock-tag {
    font-size: 0.74rem;
    color: var(--vet-primary);
    font-weight: 700;
  }

  .vet-sticky-cold-badge {
    font-size: 0.68rem;
    background: #e0f2fe;
    color: #0369a1;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
  }

  .vet-sticky-prod-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .vet-btn-sticky-cart {
    background: #f0fdf4;
    color: var(--vet-primary-dark);
    border: 1px solid #86efac;
    border-radius: 20px;
    padding: 9px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
  }

  .vet-btn-sticky-cart:hover,
  .vet-btn-sticky-cart:active {
    background: var(--vet-primary);
    color: #ffffff;
    border-color: var(--vet-primary);
  }

  .vet-btn-sticky-wa {
    background: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
    white-space: nowrap;
    transition: all 0.15s;
  }

  .vet-btn-sticky-wa:active {
    transform: scale(0.97);
  }
}

/* ==========================================================================
   Scroll To Top Floating Button
   ========================================================================== */
.vet-scroll-top-btn {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--vet-primary-deep);
  border: 2px solid var(--vet-primary);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s, color 0.2s;
  outline: none;
}

.vet-scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vet-scroll-top-btn:hover {
  background: var(--vet-primary);
  color: #ffffff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.vet-scroll-top-btn:active {
  transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
  .vet-scroll-top-btn {
    bottom: 76px;
    inset-inline-start: 14px;
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Kokh Al-Mooneh - In-Card Actions (Add to Mooneh + WhatsApp) & Steppers
   ========================================================================== */

/* Actions Pair Container */
.vet-med-actions-pair {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

/* Primary Button: أضف للمونة (Add to Mooneh) */
.vet-btn-action-cart {
  flex: 1;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  border: 1px solid #166534;
  color: #ffffff !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 3px 10px rgba(21, 128, 61, 0.22);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  white-space: nowrap;
  box-sizing: border-box;
}

.vet-btn-action-cart:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.35);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.vet-btn-action-cart:active {
  transform: scale(0.97);
}

.vet-btn-action-cart i {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.vet-btn-action-cart:hover i {
  transform: scale(1.15);
}

/* Secondary Button: طلب فوري عبر واتساب (WhatsApp Direct Order) */
.vet-btn-action-wa {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1.5px solid #86efac;
  color: #15803d !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}

.vet-btn-action-wa i {
  font-size: 1.15rem;
  color: #25d366;
  transition: transform 0.2s ease;
}

.vet-btn-action-wa:hover {
  background: linear-gradient(135deg, #25d366 0%, #1ea952 100%);
  border-color: #1ea952;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.vet-btn-action-wa:hover i {
  color: #ffffff;
  transform: scale(1.15);
}

.vet-btn-action-wa:active {
  transform: scale(0.97);
}

/* In-Card Stepper (when item is added to cart) */
.kookh-card-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fdf4;
  border: 1.5px solid #16a34a;
  border-radius: 12px;
  padding: 2px 6px;
  gap: 8px;
  flex: 1;
  height: 40px;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.15);
  user-select: none;
  box-sizing: border-box;
}

.kookh-stepper-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: #15803d;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.kookh-stepper-btn:hover {
  background: #166534;
  transform: scale(1.08);
}

.kookh-stepper-btn:active {
  transform: scale(0.9);
}

.kookh-stepper-val {
  font-weight: 800;
  font-size: 1.05rem;
  color: #14532d;
  min-width: 24px;
  text-align: center;
  line-height: 1;
}

/* Mobile Sticky Bottom Floating Cart Bar */
/* ==========================================================
   Kokh Al-Mooneh - Mobile Sticky Bottom Floating Cart Bar
   شريط السلة العائم فائق التفاعل
   ========================================================== */
.kookh-sticky-cart-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  width: calc(100% - 28px);
  max-width: 520px;
  background: linear-gradient(135deg, #064e3b, #022c22);
  color: #ffffff;
  border-radius: 50px;
  padding: 8px 14px 8px 8px;
  box-shadow: 0 12px 36px rgba(6, 78, 59, 0.45), 0 0 0 1.5px rgba(34, 197, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 994;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  user-select: none;
  box-sizing: border-box;
}

.kookh-sticky-cart-bar.visible {
  transform: translateX(-50%) translateY(0);
}

@keyframes kookhStickyPulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.03); }
  100% { transform: translateX(-50%) scale(1); }
}

.kookh-sticky-cart-bar.bump {
  animation: kookhStickyPulse 0.3s ease-in-out;
}

.kookh-sticky-cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.kookh-sticky-cart-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  flex-shrink: 0;
}

.kookh-sticky-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: #bbf7d0;
  line-height: 1.2;
  white-space: nowrap;
}

.kookh-sticky-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.kookh-sticky-cart-action {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.81rem;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
  letter-spacing: -0.2px;
  margin-inline-start: auto;
  margin-inline-end: 0;
}

.kookh-sticky-cart-action i.fa-whatsapp {
  font-size: 0.95rem;
}

.kookh-sticky-cart-action i.fa-arrow-left,
.kookh-sticky-cart-action i.fa-arrow-right {
  font-size: 0.72rem;
  opacity: 0.85;
}

.kookh-sticky-cart-bar:hover .kookh-sticky-cart-action {
  background: linear-gradient(135deg, #1eb956 0%, #0d7064 100%);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================
   Delivery Location & GPS Card
   كارت تحديد موقع التوصيل وخرائط Google
   ========================================================== */
.kookh-delivery-location-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.kookh-location-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.kookh-location-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vet-text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.kookh-gps-trigger-btn {
  width: 100%;
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px dashed #34d399;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
  margin-bottom: 8px;
}

.kookh-gps-trigger-btn:hover {
  background: #d1fae5;
  border-color: #059669;
  color: #047857;
  transform: translateY(-1px);
}

.kookh-gps-trigger-btn.locating {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #b45309;
  cursor: wait;
}

.kookh-gps-success-pill {
  width: 100%;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  box-sizing: border-box;
  animation: kookhGpsFade 0.25s ease-out;
}

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

.kookh-gps-status-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #166534;
}

.kookh-gps-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kookh-gps-link-btn {
  background: #ffffff;
  color: #15803d;
  border: 1px solid #86efac;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
}

.kookh-gps-link-btn:hover {
  background: #f0fdf4;
}

.kookh-gps-reselect-btn {
  background: transparent;
  color: #64748b;
  border: none;
  font-size: 0.85rem;
  padding: 4px;
  cursor: pointer;
  transition: color 0.15s, transform 0.2s;
}

.kookh-gps-reselect-btn:hover {
  color: #0f172a;
  transform: rotate(90deg);
}

.kookh-address-input-wrap .vet-cart-input {
  background: #ffffff;
  margin-bottom: 0;
}

/* Curated Mooneh Bundles */
.kookh-bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 25px;
}

.kookh-bundle-card {
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #fed7aa;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kookh-bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.18);
}

.kookh-bundle-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.kookh-bundle-header {
  padding: 24px 20px 14px 20px;
  background: linear-gradient(180deg, #fffbeb, #ffffff);
  border-bottom: 1px dashed #fde68a;
}

.kookh-bundle-title {
  margin: 0 0 6px 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vet-primary-deep);
}

.kookh-bundle-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.4;
}

.kookh-bundle-items-list {
  list-style: none;
  padding: 16px 20px;
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  color: var(--vet-text-main);
  line-height: 1.8;
}

.kookh-bundle-items-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kookh-bundle-items-list li i {
  color: #16a34a;
  font-size: 0.8rem;
}

.kookh-bundle-footer {
  padding: 16px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--vet-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kookh-bundle-price {
  display: flex;
  flex-direction: column;
}

.kookh-bundle-price-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--vet-primary);
  line-height: 1.2;
}

.kookh-bundle-price-old {
  font-size: 0.82rem;
  color: var(--vet-text-muted);
  text-decoration: line-through;
  line-height: 1.2;
}

.kookh-bundle-add-btn {
  background: var(--vet-primary);
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  transition: background 0.2s, transform 0.15s;
}

.kookh-bundle-add-btn:hover {
  background: #b91c1c;
  transform: scale(1.03);
}

/* Horizontal scrollable category bar on mobile */
@media (max-width: 768px) {
  .vet-filter-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
    scrollbar-width: none;
  }
  .vet-filter-nav::-webkit-scrollbar {
    display: none;
  }
  .vet-filter-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.86rem;
  }
}

/* ==========================================================================
   Kokh Al-Mooneh - Mobile-First App Experience & Decluttering
   ========================================================================== */

/* Mobile Elements Default (Desktop: Hidden) */
.kookh-app-bottom-nav {
  display: none;
}

.kookh-mobile-quick-search {
  display: none;
}

.kookh-mobile-stories-bar {
  display: none;
}

.vet-mobile-cart-btn {
  display: none;
}

@media (max-width: 768px) {
  /* Prevent content behind bottom bar */
  body {
    padding-bottom: 74px !important;
  }

  /* Hide Desktop Topbar on mobile for clean screen space */
  .vet-topbar {
    display: none !important;
  }

  /* Hide old overlapping floating cart pill */
  .vet-floating-cart-pill {
    display: none !important;
  }

  /* Adjust scroll to top button above mobile nav */
  .vet-scroll-top-btn {
    bottom: 78px !important;
    inset-inline-start: 14px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 0.85rem !important;
  }

  /* Sticky Cart Bar above bottom nav */
  .kookh-sticky-cart-bar {
    bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
    width: calc(100% - 16px) !important;
    max-width: 460px !important;
    padding: 7px 14px 7px 6px !important;
    border-radius: 35px !important;
  }
  .kookh-sticky-cart-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }
  .kookh-sticky-count {
    font-size: 0.78rem !important;
  }
  .kookh-sticky-price {
    font-size: 0.95rem !important;
  }
  .kookh-sticky-cart-action {
    padding: 5px 12px !important;
    font-size: 0.77rem !important;
    gap: 5px !important;
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }

  /* Slim App Header */
  .vet-header {
    padding: 8px 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 980 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
  }
  .vet-header-inner {
    gap: 8px !important;
  }
  .kookh-brand-logo-img {
    width: 44px !important;
    height: 44px !important;
  }
  .vet-brand-title {
    font-size: 1.1rem !important;
  }
  .vet-brand-tagline {
    font-size: 0.7rem !important;
    display: none !important;
  }

  /* Header action buttons on mobile */
  .vet-mobile-search-btn {
    display: inline-flex !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    background: #f1f5f9 !important;
    border: 1px solid var(--vet-border) !important;
  }
  .vet-mobile-cart-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #fee2e2 !important;
    color: var(--vet-primary) !important;
    border: 1px solid #fca5a5 !important;
    font-size: 1.05rem !important;
    position: relative !important;
    cursor: pointer !important;
  }
  .vet-mobile-cart-btn .vet-cart-counter {
    position: absolute !important;
    top: -5px !important;
    inset-inline-end: -5px !important;
    min-width: 17px !important;
    height: 17px !important;
    font-size: 0.65rem !important;
    line-height: 17px !important;
    padding: 0 4px !important;
  }

  /* Dedicated Mobile App Bottom Navigation Bar */
  .kookh-app-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px) !important;
    border-top: 1px solid #e2e8f0 !important;
    align-items: center !important;
    justify-content: space-around !important;
    z-index: 990 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06) !important;
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
  }

  .kookh-bottom-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 6px 12px !important;
    transition: color 0.15s !important;
    font-family: inherit !important;
    position: relative !important;
  }
  .kookh-bottom-tab i {
    font-size: 1.2rem !important;
    transition: transform 0.15s !important;
  }
  .kookh-bottom-tab.active,
  .kookh-bottom-tab:hover {
    color: var(--vet-primary) !important;
  }
  .kookh-bottom-tab.active i {
    transform: scale(1.1) !important;
  }
  .kookh-tab-wa {
    color: #16a34a !important;
  }
  .kookh-tab-icon-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .kookh-tab-icon-wrap .vet-cart-counter {
    position: absolute !important;
    top: -6px !important;
    inset-inline-end: -10px !important;
    min-width: 17px !important;
    height: 17px !important;
    line-height: 17px !important;
    font-size: 0.65rem !important;
    padding: 0 4px !important;
  }

  /* Mobile Quick Search Bar */
  .kookh-mobile-quick-search {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #ffffff !important;
    border: 1.5px solid #fecaca !important;
    border-radius: 30px !important;
    padding: 10px 16px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.08) !important;
    cursor: pointer !important;
    color: #64748b !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    user-select: none !important;
  }
  .kookh-mobile-quick-search i {
    color: var(--vet-primary) !important;
    font-size: 1rem !important;
  }
  .kookh-search-badge {
    margin-inline-start: auto !important;
    background: #fef2f2 !important;
    color: var(--vet-primary) !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    border: 1px solid #fca5a5 !important;
  }

  /* Mobile Category Stories (Bubbles) - Hidden as requested to keep UI compact */
  .kookh-mobile-stories-bar {
    display: none !important;
  }
  .kookh-story-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    width: 68px !important;
    text-align: center !important;
  }
  .kookh-story-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08) !important;
    border: 2px solid #ffffff !important;
    transition: transform 0.15s !important;
  }
  .kookh-story-item:active .kookh-story-icon {
    transform: scale(0.92) !important;
  }
  .kookh-story-item span {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  /* Curated Bundles Horizontal Swiper on Mobile */
  .kookh-bundles-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 14px !important;
    padding-bottom: 12px !important;
    margin-top: 14px !important;
  }
  .kookh-bundles-grid::-webkit-scrollbar {
    display: none !important;
  }
  .kookh-bundle-card {
    flex: 0 0 85% !important;
    min-width: 275px !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
    border-radius: 14px !important;
  }
  .kookh-bundle-header {
    padding: 16px 14px 10px 14px !important;
  }
  .kookh-bundle-title {
    font-size: 1.05rem !important;
  }
  .kookh-bundle-subtitle {
    font-size: 0.78rem !important;
  }
  .kookh-bundle-items-list {
    padding: 10px 14px !important;
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
  }
  .kookh-bundle-footer {
    padding: 12px 14px !important;
  }
  .kookh-bundle-price-val {
    font-size: 1.2rem !important;
  }
  .kookh-bundle-add-btn {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
  }

  /* High-Density 2-Column Product Grid on Mobile */
  .vet-med-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .vet-med-card {
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
    margin: 0 !important;
    border: 1px solid var(--vet-border) !important;
  }
  .vet-med-media {
    height: 115px !important;
  }
  .vet-med-body {
    padding: 8px 10px 10px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
  }
  .vet-med-category {
    font-size: 0.68rem !important;
    margin-bottom: 3px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .vet-med-name {
    font-size: 0.85rem !important;
    margin: 0 0 3px 0 !important;
    line-height: 1.3 !important;
    height: 2.6em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
  .vet-med-name a {
    color: var(--vet-text-main) !important;
  }
  .vet-med-generic {
    font-size: 0.7rem !important;
    margin-bottom: 4px !important;
    color: #64748b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  /* Decluttering: Hide long indication paragraphs on mobile */
  .vet-med-desc {
    display: none !important;
  }
  .vet-med-card-footer {
    margin-top: auto !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
  .vet-med-price-wrap {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
  }
  .vet-med-price-val {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
  }
  .vet-med-price-unit {
    font-size: 0.75rem !important;
  }
  .vet-med-actions-pair {
    width: 100% !important;
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    margin-top: 8px !important;
  }
  .vet-btn-action-cart {
    flex: 1 !important;
    height: 38px !important;
    min-height: 38px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.22) !important;
    justify-content: center !important;
  }
  .vet-btn-action-cart i {
    font-size: 0.88rem !important;
    margin-inline-end: 4px !important;
  }
  .vet-btn-action-wa {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #25d366 0%, #1ea952 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .vet-btn-action-wa span {
    display: none !important;
  }
  .vet-btn-action-wa i {
    font-size: 1.15rem !important;
    color: #ffffff !important;
    margin: 0 !important;
  }
  .kookh-card-stepper {
    flex: 1 !important;
    width: auto !important;
    height: 38px !important;
    min-width: 0 !important;
    border-radius: 10px !important;
    background: #f0fdf4 !important;
    border: 1.5px solid #16a34a !important;
    padding: 2px 5px !important;
    justify-content: space-between !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15) !important;
  }
  .kookh-stepper-btn {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    background: #15803d !important;
    font-size: 0.8rem !important;
  }
  .kookh-stepper-val {
    font-size: 0.95rem !important;
    color: #14532d !important;
  }

  /* Catalog Hero Simplification on Mobile */
  .vet-catalog-hero {
    padding: 16px 0 12px 0 !important;
  }
  .vet-catalog-title {
    font-size: 1.25rem !important;
    margin: 4px 0 !important;
  }
  .vet-catalog-desc {
    display: none !important;
  }

  /* Decluttering Homepage Sections on Mobile */
  .vet-hero {
    padding: 24px 0 16px 0 !important;
  }
  .vet-hero-title {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
  .vet-hero-desc {
    display: none !important;
  }
  .vet-hero-badges {
    display: none !important;
  }
  .vet-hero-actions {
    margin-top: 14px !important;
    gap: 8px !important;
  }
  .vet-hero-actions .vet-btn {
    padding: 10px 16px !important;
    font-size: 0.88rem !important;
  }

  /* Hide huge desktop category grid cards (since quick stories bar replaced it) */
  .vet-cat-grid {
    display: none !important;
  }
  /* Hide text-heavy "Why Kokh Al-Mooneh" cards on mobile for clutter-free experience */
  .vet-why-grid {
    display: none !important;
  }
  .vet-section-header p.vet-section-subtitle {
    display: none !important;
  }
  .vet-section-header {
    margin-bottom: 16px !important;
  }
  .vet-section-title {
    font-size: 1.25rem !important;
  }

  /* Filter toolbar on catalog */
  .vet-filter-toolbar {
    padding: 8px 12px !important;
    margin-bottom: 12px !important;
  }
  .vet-quick-filters {
    padding: 6px 10px !important;
    margin-bottom: 14px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
  }
  .vet-quick-filters::-webkit-scrollbar {
    display: none !important;
  }

  /* Cart Drawer Mobile Bottom Sheet */
  .vet-cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    inset-inline-end: 0 !important;
    inset-inline-start: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 94vh !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3) !important;
  }
  .vet-cart-input,
  .vet-cart-textarea {
    font-size: 16px !important;
  }
}

/* ==========================================================
   Kokh Al-Mooneh - Inline Search Autocomplete Dropdown
   نظام الإكمال التلقائي الذكي لصندوق البحث
   ========================================================== */

.vet-search-box {
  position: relative !important;
}

.vet-search-inline-clear {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.72rem;
  transition: all 0.2s ease;
  margin-inline-start: 4px;
}

.vet-search-inline-clear:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.vet-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: 480px;
  max-width: min(520px, calc(100vw - 32px));
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 45px -6px rgba(15, 23, 42, 0.22), 0 6px 16px rgba(15, 23, 42, 0.08);
  max-height: 480px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  text-align: start;
}

.vet-autocomplete-dropdown.active {
  display: block !important;
  animation: vetAcFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.vet-ac-header {
  padding: 12px 16px 8px 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vet-ac-header-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.vet-ac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.vet-ac-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vet-ac-chip:hover {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
  transform: translateY(-1px);
}

.vet-ac-featured-header {
  padding: 10px 16px 4px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vet-ac-list {
  padding: 4px 0;
}

.vet-ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f8fafc;
  text-decoration: none;
}

.vet-ac-item:last-child {
  border-bottom: none;
}

.vet-ac-item:hover,
.vet-ac-item.selected {
  background: #f0fdf4;
}

.vet-ac-item-media {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vet-ac-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vet-ac-thumb-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
}

.vet-ac-item-info {
  flex: 1;
  min-width: 0;
}

.vet-ac-item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.vet-ac-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}

.vet-ac-item-name mark,
.vet-search-highlight {
  background: #fef08a !important;
  color: #854d0e !important;
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 800;
}

.vet-ac-item-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: #15803d;
  flex-shrink: 0;
  white-space: nowrap;
}

.vet-ac-item-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.vet-ac-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.vet-ac-item-generic {
  font-size: 0.78rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}

.vet-ac-item-action {
  flex-shrink: 0;
}

.vet-ac-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  color: #ffffff;
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.2);
}

.vet-ac-btn-add:hover {
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.35);
  transform: translateY(-1px);
}

.vet-ac-btn-add.added {
  background: #10b981 !important;
}

.vet-ac-footer {
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 18px 18px;
}

.vet-ac-hint {
  font-size: 0.78rem;
  color: #64748b;
}

.vet-ac-footer-btn {
  background: transparent;
  border: none;
  color: var(--vet-primary);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.vet-ac-footer-btn:hover {
  color: var(--vet-primary-dark);
  text-decoration: underline;
}

.vet-ac-empty {
  padding: 24px 16px;
  text-align: center;
}

.vet-ac-empty-icon {
  font-size: 2.2rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.vet-ac-empty-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.vet-ac-empty-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 12px;
}

.vet-ac-empty-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.vet-ac-empty-wa:hover {
  background: #1ea952;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .vet-autocomplete-dropdown {
    width: 100% !important;
    max-width: 100% !important;
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    border-radius: 16px;
  }
}

/* Hide duplicate "فوري" mobile quick search box and live search popup modal */
.kookh-mobile-quick-search,
#vetSearchModal {
  display: none !important;
}

/* Clickable submit button inside .vet-search-box */
.vet-search-submit-btn {
  background: transparent;
  border: none;
  padding: 0 4px;
  margin: 0;
  color: var(--vet-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.vet-search-submit-btn:hover {
  color: var(--vet-primary);
  transform: scale(1.15);
}

/* Active Search Results Feedback Banner */
.vet-search-results-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 10px 18px;
  margin-bottom: 20px;
  animation: vetFadeIn 0.25s ease;
}

.vet-search-banner-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #166534;
}

.vet-search-banner-info strong {
  color: var(--vet-primary-dark);
}

.vet-search-banner-clear {
  background: #ffffff;
  border: 1px solid #86efac;
  color: #15803d;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.vet-search-banner-clear:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

@media (max-width: 600px) {
  .vet-search-results-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .vet-search-banner-clear {
    align-self: flex-end;
  }
}

/* ==========================================================
   Kokh Al-Mooneh - Empty Cart Confirmation Dialog
   نافذة تأكيد إفراغ سلة المونة
   ========================================================== */
.kookh-confirm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.kookh-confirm-overlay.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.kookh-confirm-dialog {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.95);
  width: 92%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 28px 28px 28px;
  z-index: 100001;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.kookh-confirm-dialog.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.kookh-confirm-close-btn {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.kookh-confirm-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.kookh-confirm-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.kookh-confirm-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fef2f2;
  border: 4px solid #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc2626;
  font-size: 2rem;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.18);
  animation: kookhPulseRed 2.2s infinite;
}

@keyframes kookhPulseRed {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);
  }
}

.kookh-confirm-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.kookh-confirm-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 18px 0;
}

.kookh-confirm-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 22px;
}

.kookh-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.kookh-btn-confirm-delete {
  width: 100%;
  padding: 13px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border: none;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease;
  font-family: inherit;
}

.kookh-btn-confirm-delete:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.kookh-btn-confirm-cancel {
  width: 100%;
  padding: 12px 20px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: inherit;
}

.kookh-btn-confirm-cancel:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   PWA Installation Banner Styling
   ========================================================================== */
.kookh-pwa-banner {
  position: fixed;
  bottom: 84px;
  left: 20px;
  right: 20px;
  max-width: 460px;
  margin: 0 auto;
  z-index: 9998;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 14px 16px;
  animation: kookhPwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: #f8fafc;
}

@keyframes kookhPwaSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.kookh-pwa-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.kookh-pwa-close-btn {
  position: absolute;
  top: -6px;
  right: -8px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #94a3b8;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

[dir="rtl"] .kookh-pwa-close-btn {
  right: auto;
  left: -8px;
}

.kookh-pwa-close-btn:hover {
  background: rgba(220, 38, 38, 0.8);
  color: #fff;
}

.kookh-pwa-icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kookh-pwa-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kookh-pwa-info {
  flex: 1;
  min-width: 0;
}

.kookh-pwa-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.kookh-pwa-info p {
  margin: 3px 0 0 0;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.3;
}

.kookh-pwa-install-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 9px 15px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.kookh-pwa-install-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

@media (max-width: 576px) {
  .kookh-pwa-banner {
    left: 12px;
    right: 12px;
    bottom: 80px;
    padding: 12px 14px;
  }
  .kookh-pwa-icon-box {
    width: 42px;
    height: 42px;
  }
  .kookh-pwa-info strong {
    font-size: 0.88rem;
  }
  .kookh-pwa-info p {
    font-size: 0.74rem;
  }
  .kookh-pwa-install-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Share Cart (مشاركة السلة) & Import Modal Styling
   ========================================================================== */
.vet-cart-share-btn {
  width: 100%;
  margin-top: 8px;
  background: #f0fdf4;
  color: #047857;
  border: 1.5px solid #10b981;
  padding: 10px 14px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.1);
}

.vet-cart-share-btn:hover {
  background: #dcfce7;
  color: #065f46;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.vet-cart-share-btn:active {
  transform: translateY(0);
}

.vet-cart-header-share-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vet-cart-header-share-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: scale(1.06);
}

.kookh-share-btn-wa {
  width: 100%;
  padding: 12px 20px;
  border-radius: 14px;
  background: #25d366;
  color: #ffffff;
  border: none;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  font-family: inherit;
  transition: all 0.2s ease;
}

.kookh-share-btn-wa:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.kookh-share-copy-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 4px;
}

.kookh-share-copy-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  color: #334155;
  padding: 8px 10px;
  outline: none;
  font-family: inherit;
  direction: ltr;
}

.kookh-share-copy-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.kookh-share-copy-btn:hover {
  background: #334155;
}

.kookh-share-btn-native {
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.kookh-share-btn-native:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Import Shared Cart Preview List */
.kookh-import-preview-list {
  max-height: 200px;
  overflow-y: auto;
  margin: 16px 0;
  padding: 8px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  text-align: start;
}

.kookh-import-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid #edf2f7;
}

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

.kookh-import-item-media {
  flex-shrink: 0;
}

.kookh-import-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: block;
}

.kookh-import-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
}

.kookh-import-item-info {
  flex: 1;
  min-width: 0;
}

.kookh-import-item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kookh-import-item-meta {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

.kookh-btn-import-primary {
  width: 100%;
  padding: 12px 20px;
  border-radius: 14px;
  background: #059669;
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  font-family: inherit;
  transition: all 0.2s ease;
}

.kookh-btn-import-primary:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
}

.kookh-btn-import-merge {
  width: 100%;
  padding: 11px 18px;
  border-radius: 14px;
  background: #f0fdf4;
  color: #047857;
  border: 1.5px solid #10b981;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.kookh-btn-import-merge:hover {
  background: #dcfce7;
}

/* =========================================================
   KOKH AL-MOONEH - CHECKOUT EXPERIENCE ENHANCEMENTS
   Payment Method Cards, CliQ Helper, Delivery Slots, Address Pills
   ========================================================= */

.kookh-section-sublabel {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kookh-pay-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.kookh-pay-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 10px 6px;
  background: #ffffff;
  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;
}

.kookh-pay-card:hover {
  border-color: #10b981;
  background: #f0fdf4;
  transform: translateY(-1px);
}

.kookh-pay-card.active {
  border-color: #059669;
  background: #ecfdf5;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.kookh-pay-icon {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.kookh-pay-card.active .kookh-pay-icon {
  color: #059669;
}

.kookh-pay-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}

.kookh-pay-desc {
  font-size: 0.67rem;
  color: #64748b;
  margin-top: 2px;
}

.kookh-pay-card.active .kookh-pay-desc {
  color: #047857;
  font-weight: 600;
}

.kookh-pay-check {
  position: absolute;
  top: 5px;
  inset-inline-end: 5px;
  font-size: 0.75rem;
  color: #059669;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.kookh-pay-card.active .kookh-pay-check {
  opacity: 1;
  transform: scale(1);
}

/* CliQ Helper Notice */
.kookh-cliq-notice {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1.5px solid #38bdf8;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  animation: kookhFadeIn 0.25s ease;
}

.kookh-cliq-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.kookh-cliq-badge {
  background: #0284c7;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.kookh-cliq-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369a1;
}

.kookh-cliq-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.kookh-cliq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #bae6fd;
}

.kookh-cliq-item-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}

.kookh-cliq-label {
  color: #64748b;
  font-size: 0.74rem;
}

.kookh-cliq-val {
  color: #0369a1;
  font-weight: 800;
  font-size: 0.92rem;
  font-family: monospace, sans-serif;
}

.kookh-copy-badge-btn {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #7dd3fc;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.kookh-copy-badge-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

.kookh-copy-badge-btn.copied {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

.kookh-cliq-note {
  font-size: 0.73rem;
  color: #0369a1;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* Card / POS Helper */
.kookh-card-notice {
  background: #eff6ff;
  border: 1.5px dashed #60a5fa;
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e40af;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: kookhFadeIn 0.25s ease;
}

/* Quick Delivery Tag Pills */
.kookh-quick-tags-wrap {
  margin-top: 8px;
  margin-bottom: 6px;
}

.kookh-quick-tags-header {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.kookh-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kookh-tag-pill {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.73rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
  user-select: none;
}

.kookh-tag-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.kookh-tag-pill:active {
  transform: scale(0.95);
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

.kookh-input-highlight {
  outline: none;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

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

@media (max-width: 380px) {
  .kookh-pay-card {
    padding: 8px 3px;
  }
  .kookh-pay-title {
    font-size: 0.72rem;
  }
  .kookh-pay-desc {
    font-size: 0.62rem;
  }
}

/* =========================================================
   KOKH AL-MOONEH - PRODUCT CUSTOMIZATION (WEIGHT & BUTCHERY)
   ========================================================= */

.kookh-custom-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease;
}

.kookh-custom-card:hover {
  border-color: #cbd5e1;
}

.kookh-custom-header {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kookh-weight-pills,
.kookh-prep-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kookh-weight-pill {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.kookh-weight-pill:hover {
  border-color: #10b981;
  background: #f0fdf4;
  color: #047857;
  transform: translateY(-1px);
}

.kookh-weight-pill.active {
  background: #ecfdf5;
  border-color: #059669;
  color: #047857;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.18);
}

.kookh-weight-custom-btn {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.kookh-weight-custom-btn:hover {
  background: #dbeafe;
  border-color: #3b82f6;
  color: #1e40af;
}

.kookh-custom-weight-wrap {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-radius: 10px;
  animation: kookhFadeIn 0.2s ease;
}

.kookh-custom-weight-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}

.kookh-custom-weight-input-box {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
}

.kookh-custom-weight-input-box input {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  background: #ffffff;
  font-family: inherit;
}

.kookh-custom-weight-input-box input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.kookh-custom-weight-unit {
  font-weight: 800;
  color: #059669;
  font-size: 0.9rem;
}

.kookh-live-calc-box {
  margin-top: 14px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kookh-live-calc-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #065f46;
}

.kookh-live-calc-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #047857;
}

.kookh-weight-disclaimer {
  font-size: 0.73rem;
  color: #64748b;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Preparation & Cutting Pills */
.kookh-prep-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.kookh-prep-pill:hover {
  border-color: #d97706;
  background: #fffbeb;
  color: #b45309;
  transform: translateY(-1px);
}

.kookh-prep-pill.active {
  background: #fffbeb;
  border-color: #d97706;
  color: #b45309;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.18);
}

.kookh-prep-check {
  font-size: 0.72rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.kookh-prep-pill.active .kookh-prep-check {
  opacity: 1;
}

.kookh-prep-note-wrap {
  margin-top: 12px;
}

.kookh-prep-note-input {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.84rem;
  color: #1e293b;
  background: #ffffff;
  outline: none;
  font-family: inherit;
  transition: all 0.2s;
}

.kookh-prep-note-input:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* Float weight badge on listing cards */
.kookh-float-tag-weight {
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   Kokh Al-Mooneh Top Announcement Bar & Offers Banner
   ========================================================================== */

.kookh-ann-dismissed-init {
  display: none !important;
}

.kookh-announcement-bar {
  background: linear-gradient(90deg, #064e3b 0%, #065f46 45%, #047857 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  color: #ffffff;
  position: relative;
  z-index: 1001;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.kookh-ann-dismissing {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom-width: 0 !important;
  box-shadow: none !important;
}

.kookh-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  min-height: 44px;
}

.kookh-announcement-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.kookh-announcement-badge {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fef08a;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  letter-spacing: 0.2px;
}

.kookh-announcement-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  position: relative;
  display: inline-block;
}

.kookh-announcement-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.5);
  animation: kookhPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes kookhPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(2);
    opacity: 0;
  }
}

.kookh-announcement-ticker {
  position: relative;
  overflow: hidden;
  height: 26px;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.kookh-announcement-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kookh-announcement-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.kookh-announcement-text-link {
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.kookh-announcement-text-link:hover {
  color: #fef08a;
  text-decoration: underline;
}

.kookh-announcement-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.kookh-announcement-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 9999px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.kookh-announcement-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  color: #000000 !important;
}

.kookh-announcement-btn i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.kookh-announcement-btn:hover i {
  transform: translateX(-3px);
}

html[dir="ltr"] .kookh-announcement-btn:hover i {
  transform: translateX(3px);
}

.kookh-announcement-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #cbd5e1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.82rem;
  padding: 0;
}

.kookh-announcement-close:hover {
  background: rgba(239, 68, 68, 0.85);
  color: #ffffff;
  transform: scale(1.08);
}

/* Offers Hero Banner on Products Catalog */
.kookh-offers-hero-banner {
  background: linear-gradient(135deg, #1e293b 0%, #064e3b 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(6, 78, 59, 0.15);
  color: #ffffff;
}

.kookh-offers-hero-content {
  flex: 1;
}

.kookh-offers-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fef08a;
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.kookh-offers-hero-content h3 {
  margin: 0 0 6px 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.kookh-offers-hero-content p {
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.kookh-offers-hero-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  padding: 12px 18px;
  border-radius: 12px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kookh-offers-percent {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
  display: block;
}

.kookh-offers-sub {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.9;
  display: block;
}

/* Floating offer badge on cards */
.kookh-float-tag-offer {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
  border: none !important;
}

.kookh-card-offer {
  border-color: rgba(245, 158, 11, 0.45) !important;
}

.kookh-card-offer:hover {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.18) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .kookh-announcement-inner {
    padding: 6px 0;
    gap: 8px;
    min-height: 38px;
  }
  .kookh-announcement-badge {
    padding: 2px 8px;
    font-size: 0.72rem;
  }
  .kookh-announcement-text-link {
    font-size: 0.78rem;
  }
  .kookh-announcement-btn {
    padding: 4px 10px;
    font-size: 0.74rem;
  }
  .kookh-announcement-btn span {
    display: inline;
  }
  .kookh-offers-hero-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 14px;
  }
  .kookh-offers-hero-badge {
    align-self: flex-start;
    padding: 8px 14px;
  }
}

@media (max-width: 480px) {
  .kookh-announcement-content {
    gap: 6px;
  }
  .kookh-announcement-badge {
    display: none;
  }
  .vet-med-float-start {
    top: 6px !important;
    inset-inline-start: 6px !important;
    gap: 3px !important;
    max-width: 58% !important;
    box-sizing: border-box !important;
  }
  .vet-med-float-end {
    top: 6px !important;
    inset-inline-end: 6px !important;
    gap: 3px !important;
    max-width: 38% !important;
    box-sizing: border-box !important;
  }
  .vet-float-tag {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
    border-radius: 5px !important;
    gap: 3px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .vet-float-tag i {
    font-size: 0.58rem !important;
    flex-shrink: 0 !important;
  }
}

/* ==========================================================================
   Smart Quick Paste Grocery List Modal & Triggers
   ========================================================================== */

.kookh-nav-quicklist-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 15px;
  border-radius: 9999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.kookh-nav-quicklist-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.38);
}

.kookh-mobile-quicklist-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  padding: 0;
}

@media (max-width: 991px) {
  .kookh-mobile-quicklist-btn {
    display: inline-flex !important;
  }
}

.kookh-mobile-quicklist-btn:hover {
  background: #f59e0b;
  color: #0f172a;
}

/* Quicklist trigger in Cart */
.kookh-cart-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.kookh-cart-paste-btn {
  background: #fef3c7;
  border: 1.5px dashed #f59e0b;
  color: #b45309;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.kookh-cart-paste-btn:hover {
  background: #fde68a;
  transform: translateY(-1px);
}

.kookh-cart-quicklist-pill-bar {
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 7px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.kookh-cart-quicklist-pill-bar:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.kookh-cart-ql-pill-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #475569;
}

.kookh-cart-ql-pill-inner strong {
  color: #d97706;
}

/* Modal Overlay & Dialog */
.kookh-ql-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: kookhFadeIn 0.22s ease-out;
}

.kookh-ql-modal-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(245, 158, 11, 0.3);
  animation: kookhScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 22px;
  direction: inherit;
}

@keyframes kookhFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes kookhScaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.kookh-ql-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.kookh-ql-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kookh-ql-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(6, 78, 59, 0.25);
}

.kookh-ql-title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
}

.kookh-ql-subtitle {
  margin: 3px 0 0 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.kookh-ql-close-btn {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.kookh-ql-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Quick Example Chips */
.kookh-ql-chips-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 0 8px 0;
}

.kookh-ql-chips-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kookh-ql-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.kookh-ql-chip:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #b45309;
}

/* Textarea & Controls */
.kookh-ql-input-wrap {
  margin-top: 6px;
}

.kookh-ql-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  font-size: 0.88rem;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
  min-height: 110px;
  transition: all 0.2s ease;
}

.kookh-ql-textarea:focus {
  border-color: #064e3b;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.12);
}

.kookh-ql-controls-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.kookh-ql-btn-secondary {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.kookh-ql-btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.kookh-ql-btn-primary {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  border: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  box-shadow: 0 3px 8px rgba(6, 78, 59, 0.25);
  transition: all 0.2s ease;
}

.kookh-ql-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 5px 14px rgba(6, 78, 59, 0.35);
}

/* Results section */
.kookh-ql-results-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1.5px dashed #e2e8f0;
}

.kookh-ql-results-header h4 {
  margin: 0 0 10px 0;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kookh-ql-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  padding-inline-end: 4px;
}

.kookh-ql-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  transition: all 0.18s ease;
}

.kookh-ql-item-row.selected {
  border-color: #cbd5e1;
  background: #ffffff;
}

.kookh-ql-check-wrap input {
  width: 18px;
  height: 18px;
  accent-color: #064e3b;
  cursor: pointer;
}

.kookh-ql-item-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kookh-ql-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kookh-ql-item-thumb i {
  color: #064e3b;
  font-size: 1.1rem;
}

.kookh-ql-item-info {
  flex: 1;
  min-width: 0;
}

.kookh-ql-item-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kookh-ql-item-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1px;
}

.kookh-ql-item-orig {
  background: #e2e8f0;
  padding: 1px 6px;
  border-radius: 4px;
  color: #475569;
}

.kookh-ql-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.kookh-ql-qty-stepper button {
  background: transparent;
  border: none;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.kookh-ql-qty-stepper button:hover {
  background: #e2e8f0;
}

.kookh-ql-qty-val {
  padding: 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #064e3b;
  min-width: 32px;
  text-align: center;
}

.kookh-ql-item-total {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  min-width: 60px;
  text-align: end;
  flex-shrink: 0;
}

.kookh-ql-del-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s;
}

.kookh-ql-del-btn:hover {
  color: #ef4444;
}

/* Extra uncatalogued items */
.kookh-ql-extra-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 10px;
}

.kookh-ql-extra-header {
  font-size: 0.82rem;
  font-weight: 700;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.kookh-ql-extra-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kookh-ql-extra-pill {
  background: #ffffff;
  border: 1px solid #fcd34d;
  color: #78350f;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kookh-ql-extra-pill i {
  color: #16a34a;
  font-size: 0.65rem;
}

/* Summary Footer */
.kookh-ql-summary-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.kookh-ql-totals-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.kookh-ql-totals-label {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 600;
}

.kookh-ql-totals-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: #064e3b;
}

.kookh-ql-totals-count {
  font-size: 0.78rem;
  color: #94a3b8;
}

.kookh-ql-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kookh-ql-action-cart {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  border: none;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 3px 8px rgba(6, 78, 59, 0.25);
  transition: all 0.2s ease;
  font-family: inherit;
}

.kookh-ql-action-cart:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 5px 14px rgba(6, 78, 59, 0.35);
}

.kookh-ql-action-wa {
  background: #25d366;
  color: #ffffff;
  border: none;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  font-family: inherit;
}

.kookh-ql-action-wa:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 5px 14px rgba(37, 211, 102, 0.4);
}

@media (max-width: 640px) {
  .kookh-ql-modal-card {
    padding: 16px;
  }
  .kookh-ql-summary-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .kookh-ql-actions-group {
    flex-direction: column;
  }
  .kookh-ql-action-cart,
  .kookh-ql-action-wa {
    width: 100%;
    justify-content: center;
  }
  .kookh-ql-item-row {
    padding: 6px 8px;
    gap: 6px;
  }
  .kookh-ql-item-name {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Permanent Footer PWA Install Button & Guide Modal
   ========================================================================== */
.kookh-footer-pwa-wrap {
  margin-top: 18px;
  width: 100%;
}

.kookh-footer-pwa-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  color: #ffffff;
  cursor: pointer;
  text-align: start;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  font-family: inherit;
}

.kookh-footer-pwa-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.kookh-footer-pwa-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35);
}

.kookh-footer-pwa-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 2px;
}

.kookh-footer-pwa-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kookh-footer-pwa-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.kookh-footer-pwa-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.2;
}

.kookh-footer-pwa-arrow {
  font-size: 1.15rem;
  color: #f59e0b;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.kookh-footer-pwa-btn:hover .kookh-footer-pwa-arrow {
  transform: translateY(2px);
  color: #ffffff;
}

.kookh-ios-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}

.kookh-step-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.90rem;
  line-height: 1.5;
}

.kookh-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Free Delivery Interactive Progress Bar (Cart Drawer)
   ========================================================================== */
.kookh-fdb-wrap {
  background: #ffffff;
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.kookh-fdb-wrap.kookh-fdb-unlocked {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #86efac;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
  animation: kookhPulseGlow 2s infinite ease-in-out;
}

@keyframes kookhPulseGlow {
  0%, 100% { box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15); }
  50% { box-shadow: 0 2px 16px rgba(16, 185, 129, 0.3); }
}

.kookh-fdb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.kookh-fdb-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.81rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.35;
}

.kookh-fdb-title i {
  font-size: 0.92rem;
  color: #d97706;
}

.kookh-fdb-wrap.kookh-fdb-unlocked .kookh-fdb-title {
  color: #065f46;
  font-weight: 700;
}

.kookh-fdb-wrap.kookh-fdb-unlocked .kookh-fdb-title i {
  color: #10b981;
}

.kookh-fdb-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.kookh-fdb-wrap.kookh-fdb-unlocked .kookh-fdb-badge {
  background: #10b981;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.kookh-fdb-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.kookh-fdb-bar {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #10b981 100%);
  border-radius: 9999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.kookh-fdb-wrap.kookh-fdb-unlocked .kookh-fdb-bar {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* ==========================================================================
   Kokh Al-Mooneh - Quick Re-Order Feature (تكرار الطلبية السابقة)
   ========================================================================== */
.kookh-reorder-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #fefce8 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
  text-align: start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.kookh-reorder-card:hover {
  transform: translateY(-2px);
  border-color: #34d399;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.16);
}

.kookh-reorder-card:hover .kookh-reorder-title {
  color: #047857;
}

.kookh-reorder-card:active {
  transform: translateY(0);
}

.kookh-reorder-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.kookh-reorder-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.kookh-reorder-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.kookh-reorder-date {
  font-size: 0.78rem;
  color: #065f46;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kookh-reorder-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  color: #064e3b;
  margin-bottom: 8px;
  line-height: 1.4;
}

.kookh-reorder-action-icon {
  font-size: 1.25rem;
  color: #10b981;
  transition: transform 0.22s ease, color 0.22s ease;
  flex-shrink: 0;
}

.kookh-reorder-card:hover .kookh-reorder-action-icon {
  color: #059669;
  transform: translateX(-4px);
}

.kookh-reorder-tap-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #065f46;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px dashed #6ee7b7;
  border-radius: 12px;
  padding: 9px 14px;
  margin-top: 6px;
  transition: all 0.22s ease;
  letter-spacing: 0.01em;
}

.kookh-reorder-card:hover .kookh-reorder-tap-prompt {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

.kookh-reorder-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #047857;
  font-weight: 700;
  margin-bottom: 12px;
}

.kookh-reorder-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kookh-reorder-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.kookh-reorder-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #bbf7d0;
  color: #14532d;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 8px;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.kookh-reorder-pill-qty {
  font-weight: 800;
  color: #059669;
}

.kookh-reorder-pill-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kookh-reorder-pill-more {
  display: inline-flex;
  align-items: center;
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
}

.kookh-reorder-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.kookh-reorder-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.38);
  transform: translateY(-1px);
}

.kookh-reorder-btn:active {
  transform: translateY(0);
}

/* Footer Auxiliary Actions (Re-order + Clear Cart) */
.vet-cart-footer-aux-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.vet-cart-reorder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vet-cart-reorder-link:hover {
  background: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
}

/* Re-order confirmation dialog specific buttons */
.kookh-btn-confirm-merge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #059669;
  color: #ffffff;
  border: none;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: filter 0.18s ease, transform 0.18s ease;
}

.kookh-btn-confirm-merge:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.kookh-btn-confirm-replace {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #fffbeb;
  color: #92400e;
  border: 1.5px solid #fde68a;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.kookh-btn-confirm-replace:hover {
  background: #fef3c7;
  border-color: #fcd34d;
}

.kookh-reorder-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  text-align: start;
}










