/* ==========================================================================
   Native Sell - Main Custom CSS (main.css)
   Strict Standard: Frontend / Vendor / Shared Custom Styling
   ========================================================================== */

/* 1. Global Select2 Standard Height & Appearance */
.select2-container--default .select2-selection--single {
  border-color: #cbd5e1 !important;
  border-width: 1.5px !important;
  border-radius: 8px !important;
  padding: 0 36px 0 14px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  background-color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px !important;
  color: #1e293b !important;
  font-size: 0.925rem !important;
  font-weight: 500 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  display: block !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #64748b !important;
  font-weight: 400 !important;
  line-height: 40px !important;
  display: block !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important;
  top: 0 !important;
  right: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 2. Select2 Dropdown Styling & High Z-Index */
.select2-dropdown {
  z-index: 999999 !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18) !important;
  overflow: hidden !important;
}

.select2-search--dropdown {
  padding: 8px 10px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  font-size: 0.875rem !important;
  outline: none !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #0b7b3e !important;
  box-shadow: 0 0 0 2px rgba(11, 123, 62, 0.15) !important;
}

.select2-results__options {
  max-height: 240px !important;
  overflow-y: auto !important;
  padding: 4px 0 !important;
}

.select2-results__option {
  color: #1e293b !important;
  font-size: 0.9rem !important;
  padding: 9px 14px !important;
  display: block !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #0b7b3e !important;
  color: #ffffff !important;
}

.select2-results__option.select2-results__option--selected {
  background-color: #eef8f2 !important;
  color: #0b7b3e !important;
  font-weight: 600 !important;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
  color: #64748b !important;
}

/* 3. Delivery Location Modal UI */
.location--modal .modal-content {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.location--modal .modal-header {
  border-bottom: 1px solid #f1f5f9;
  background-color: #ffffff;
}

.map--search-bar-container {
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.map--search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background-color: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.map--search-input-group:focus-within {
  border-color: #0b7b3e;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 123, 62, 0.15);
}

.map--search-input {
  width: 100%;
  height: 44px;
  padding: 0 95px 0 40px;
  border: none;
  background: transparent;
  font-size: 0.925rem;
  outline: none;
  color: #1e293b;
}

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

.map--clear-btn {
  position: absolute;
  right: 58px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.95rem;
  padding: 6px;
  cursor: pointer;
  display: none;
}

.map--clear-btn:hover {
  color: #e11d48;
}

.map--go-btn {
  position: absolute;
  right: 5px;
  height: 34px;
  min-width: 50px;
  border: none;
  border-radius: 6px;
  background-color: #0b7b3e;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.825rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.map--go-btn:hover {
  opacity: 0.92;
}

.map--controls-bar {
  padding: 10px 16px 14px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.select2-city-parent .select2-container,
.location--modal .select2-container {
  width: 100% !important;
  display: block !important;
}

/* Custom City Dropdown in Location Modal */
.city--custom-dropdown {
  position: relative;
  width: 100%;
}

.city--dropdown-toggle {
  height: 42px;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 0.925rem;
  font-weight: 500;
  color: #1e293b;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.city--dropdown-toggle:hover {
  border-color: #94a3b8;
}

.city--dropdown-toggle:focus,
.city--custom-dropdown.show .city--dropdown-toggle {
  border-color: #0b7b3e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 123, 62, 0.15);
}

.city--selected-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
}

.city--dropdown-chevron {
  font-size: 0.85rem;
  color: #64748b;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.city--custom-dropdown.show .city--dropdown-chevron {
  transform: rotate(180deg);
}

.city--dropdown-menu {
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  z-index: 999999 !important;
  max-height: 280px;
  overflow: hidden;
  margin-top: 4px;
}

.city--search-header {
  background-color: #f8fafc;
}

.city--search-input {
  font-size: 0.875rem;
  height: 34px;
}

.city--search-input:focus {
  border-color: #0b7b3e;
  box-shadow: 0 0 0 2px rgba(11, 123, 62, 0.15);
}

.city--dropdown-options-list {
  max-height: 210px;
  overflow-y: auto;
}

.city--dropdown-item {
  cursor: pointer;
  font-size: 0.9rem;
  color: #1e293b;
  transition: background-color 0.15s;
}

.city--dropdown-item:hover {
  background-color: #f1f5f9;
  color: #0b7b3e;
}

.city--dropdown-item.active {
  background-color: #eef8f2;
  color: #0b7b3e;
  font-weight: 600;
}

.btn-gps-location {
  height: 42px;
  border: 1.5px solid #cbd5e1;
  background-color: #f8fafc;
  color: #334155;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-gps-location:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

/* 4. Google Map Canvas */
.map--canvas-area {
  position: relative;
  width: 100%;
  height: 350px;
  background-color: #e2e8f0;
  overflow: hidden;
}

.google-map-container {
  width: 100%;
  height: 100%;
}

.map--loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 15;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
}

.map--loading-overlay.d-none {
  display: none !important;
}

.map--instruction-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  pointer-events: none;
}

.map--controls {
  position: absolute;
  right: 14px;
  bottom: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.map--control-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.map--control-btn:hover {
  background-color: #f8fafc;
  color: #0f172a;
}

/* 5. Google Places Autocomplete dropdown z-index */
.pac-container {
  z-index: 999999 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18) !important;
  border: 1px solid #cbd5e1 !important;
  font-family: inherit !important;
  margin-top: 4px;
}

/* ==========================================================================
   6. Product Details Page (PDP) Redesign - Matching doc/5.product details page.jfif
   Strict Standard: Human-Designed Aesthetics, Zero Inline Blade Styles
   ========================================================================== */

/* Breadcrumb */
.pdp--breadcrumb-wrap {
  padding: 12px 0 16px 0;
}
.pdp--breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}
.pdp--breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
}
.pdp--breadcrumb li a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.pdp--breadcrumb li a:hover {
  color: #0f766e;
}
.pdp--breadcrumb li.active {
  color: #0f172a;
  font-weight: 600;
}

/* Main Section */
.pdp--main-section {
  padding-bottom: 30px;
}

/* Gallery - Vertical Layout (Left Thumbnails + Right Main Image) */
.pdp--gallery-layout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pdp--vertical-thumbs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 64px;
  flex-shrink: 0;
}
.pdp--thumb-nav {
  width: 32px;
  height: 24px;
  border: none;
  background: #f1f5f9;
  border-radius: 4px;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}
.pdp--thumb-nav:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.pdp--thumb-nav.disabled {
  opacity: 0.4;
  cursor: default;
}
.pdp--thumbs-scroll-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pdp--thumbs-scroll-container::-webkit-scrollbar {
  display: none;
}
.pdp--thumb-item {
  width: 60px;
  height: 60px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.pdp--thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.pdp--thumb-item:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}
.pdp--thumb-item.active {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.25);
}
.pdp--main-image-card {
  flex: 1;
  min-height: 380px;
  max-height: 440px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.pdp--main-img {
  max-width: 90%;
  max-height: 370px;
  object-fit: contain;
  transition: transform 0.3s ease;
  user-select: none;
}
.pdp--main-image-card:hover .pdp--main-img {
  transform: scale(1.03);
}
.pdp--zoom-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  z-index: 3;
}
.pdp--zoom-btn:hover {
  background: #0f172a;
  transform: scale(1.1);
}

/* Product Info Column (Center) */
.pdp--info-col {
  padding: 0 8px;
}
.pdp--bestseller-badge {
  background: #15803d;
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}
.pdp--product-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 3px;
}
.pdp--product-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 10px;
}
.pdp--meta-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.pdp--star-icon {
  color: #eab308;
  font-size: 0.95rem;
}
.pdp--rating-number {
  font-weight: 700;
  color: #0f172a;
}
.pdp--reviews-text {
  color: #64748b;
  text-decoration: none;
}
.pdp--meta-divider {
  color: #cbd5e1;
}
.pdp--sold-text {
  color: #475569;
  font-weight: 600;
}
.pdp--price-container {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}
.pdp--price-large {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.pdp--price-struck {
  font-size: 1.05rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.pdp--discount-pill {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.pdp--unit-calc-text {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 16px;
}
.pdp--variation-chip {
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 5px 12px;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pdp--variation-chip:hover {
  border-color: #0f766e;
  color: #0f766e;
  background: #f0fdf4;
}
.pdp--variation-chip.active {
  border-color: #0f766e;
  color: #ffffff;
  background: #0f766e;
}
.pdp--info-spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.pdp--info-spec-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}
.pdp--spec-key {
  width: 90px;
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
}
.pdp--spec-val {
  color: #1e293b;
  font-weight: 600;
}
.pdp--spec-val a {
  color: #0f766e;
  text-decoration: none;
}
.pdp--spec-val a:hover {
  text-decoration: underline;
}

/* 4 Trust Badges in Center Column */
.pdp--trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.pdp--trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.pdp--trust-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: #f0fdf4;
}
.pdp--trust-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

/* Right Sidebar: Pickup & Other Shops Cards */
.pdp--sidebar-pickup-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 18px;
}
.pdp--sidebar-card-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.pdp--pickup-method-box {
  background: #f0fdf4;
  border: 1.5px solid #16a34a;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.pdp--pickup-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pdp--pickup-main-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 2px;
}
.pdp--pickup-sub-desc {
  font-size: 0.75rem;
  color: #15803d;
  line-height: 1.35;
}
.pdp--qty-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.pdp--qty-lbl {
  font-size: 0.775rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}
.pdp--qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  height: 34px;
  background: #ffffff;
}
.pdp--qty-step-btn {
  width: 28px;
  height: 100%;
  border: none;
  background: #f8fafc;
  color: #334155;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.pdp--qty-step-btn:hover {
  background: #e2e8f0;
}
.pdp--qty-step-input {
  width: 34px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.925rem;
  color: #0f172a;
  outline: none;
  background: transparent;
}
.pdp--total-lbl {
  font-size: 0.775rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
  text-align: right;
}
.pdp--total-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f766e;
  text-align: right;
  line-height: 1;
}
.pdp--btn-primary-cart {
  width: 100%;
  background: #0f766e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.pdp--btn-primary-cart:hover {
  background: #115e59;
  color: #ffffff;
}
.pdp--btn-primary-cart:active {
  transform: scale(0.98);
}
.pdp--btn-secondary-wishlist {
  width: 100%;
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 14px;
}
.pdp--btn-secondary-wishlist:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.pdp--notice-alert {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.775rem;
  color: #92400e;
  line-height: 1.4;
}
.pdp--notice-alert i {
  color: #d97706;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Other Shops Card */
.pdp--other-shops-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.pdp--other-shops-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pdp--other-shops-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.pdp--other-shops-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
}
.pdp--other-shops-link:hover {
  text-decoration: underline;
}
.pdp--other-shops-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdp--other-shop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  background: #ffffff;
  transition: all 0.15s ease;
}
.pdp--other-shop-row:hover {
  border-color: #cbd5e1;
  background: #fafafa;
}
.pdp--other-shop-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.pdp--other-shop-thumb {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.pdp--other-shop-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp--other-shop-dist {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  white-space: nowrap;
  border: 1px solid #a7f3d0;
}
.pdp--btn-shop-view {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.pdp--btn-shop-view:hover {
  border-color: #0f766e;
  color: #0f766e;
  background: #f0fdf4;
}

/* Tabs Section */
.pdp--tabs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-top: 32px;
}
.pdp--tabs-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 16px;
}
.pdp--tabs-header .nav-tabs {
  border-bottom: none;
  gap: 12px;
}
.pdp--tabs-header .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748b;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 14px 16px;
  background: transparent;
  border-radius: 0;
  transition: all 0.15s ease;
}
.pdp--tabs-header .nav-link:hover {
  color: #0f766e;
}
.pdp--tabs-header .nav-link.active {
  color: #0f766e;
  border-bottom-color: #0f766e;
  background: transparent;
}
.pdp--tab-content-area {
  padding: 24px;
}
.pdp--check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp--check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #1e293b;
  font-weight: 500;
}
.pdp--check-list li i {
  color: #16a34a;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Nutrition Box */
.pdp--nutrition-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
}
.pdp--nutrition-title {
  font-size: 0.925rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}
.pdp--nutrition-table {
  width: 100%;
  border-collapse: collapse;
}
.pdp--nutrition-table tr {
  border-bottom: 1px dashed #e2e8f0;
}
.pdp--nutrition-table tr:last-child {
  border-bottom: none;
}
.pdp--nutrition-table td {
  padding: 8px 4px;
  font-size: 0.85rem;
}
.pdp--nutrition-table td:first-child {
  color: #475569;
  font-weight: 600;
}
.pdp--nutrition-table td:last-child {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

/* Carousels: Related & Recommended */
.pdp--carousel-section {
  margin-top: 36px;
}
.pdp--section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pdp--section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.pdp--section-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f766e;
  text-decoration: none;
}
.pdp--section-link:hover {
  text-decoration: underline;
}
.pdp--carousel-wrap {
  position: relative;
}
.pdp--carousel-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
  font-size: 0.85rem;
}
.pdp--carousel-nav-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}
.pdp--carousel-prev {
  left: -14px;
}
.pdp--carousel-next {
  right: -14px;
}

/* Card in Carousels */
.pdp--product-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 12px;
  transition: all 0.2s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pdp--product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}
.pdp--card-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  transition: color 0.15s ease;
  padding: 0;
  line-height: 1;
}
.pdp--card-wishlist-btn:hover {
  color: #ef4444;
}
.pdp--card-img-wrap {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.pdp--card-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.pdp--card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.35;
  height: 2.65em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pdp--card-title a {
  color: inherit;
  text-decoration: none;
}
.pdp--card-title a:hover {
  color: #0f766e;
}
.pdp--card-weight {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 6px;
}
.pdp--card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.pdp--card-price-current {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}
.pdp--card-price-old {
  font-size: 0.775rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.pdp--card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}
.pdp--card-rating {
  font-size: 0.775rem;
  font-weight: 700;
  color: #eab308;
  display: flex;
  align-items: center;
  gap: 3px;
}
.pdp--card-cart-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #0f766e;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}
.pdp--card-cart-btn:hover {
  background: #115e59;
}

/* Bottom 5-Column Trust Bar */
.pdp--bottom-trust-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 24px;
  margin-top: 40px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pdp--trust-pillar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pdp--pillar-icon {
  font-size: 1.65rem;
  color: #0f766e;
  flex-shrink: 0;
}
.pdp--pillar-title {
  font-size: 0.825rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.pdp--pillar-sub {
  font-size: 0.725rem;
  color: #64748b;
  line-height: 1.3;
}

/* Image Zoom Modal */
.pdp--zoom-modal .modal-content {
  background: rgba(15, 23, 42, 0.95);
  border: none;
  border-radius: 12px;
}
.pdp--zoom-modal .modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pdp--zoom-modal-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

/* Responsive Adaptations */
@media (max-width: 991px) {
  .pdp--bottom-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .pdp--carousel-prev {
    left: -4px;
  }
  .pdp--carousel-next {
    right: -4px;
  }
}
@media (max-width: 767px) {
  .pdp--gallery-layout {
    flex-direction: column-reverse;
  }
  .pdp--vertical-thumbs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    justify-content: center;
  }
  .pdp--thumb-nav {
    display: none;
  }
  .pdp--thumbs-scroll-container {
    flex-direction: row;
    max-height: none;
  }
  .pdp--main-image-card {
    min-height: 300px;
    max-height: 340px;
  }
  .pdp--trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .pdp--bottom-trust-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   Flatpickr Custom Theme (Emerald Green & Modern Rounded Aesthetics)
   ========================================================================== */
.flatpickr-calendar {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  font-family: inherit;
  overflow: hidden;
  z-index: 1060;
}
.flatpickr-calendar .flatpickr-months {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 6px;
  border-radius: 14px 14px 0 0;
}
.flatpickr-calendar .flatpickr-month {
  color: #1e293b;
  fill: #1e293b;
  height: 38px;
}
.flatpickr-current-month {
  padding: 4px 0 0 0;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-weight: 700;
  color: #0f172a;
}
.flatpickr-current-month input.cur-year {
  font-weight: 700;
  color: #0f172a;
}
.flatpickr-calendar .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-next-month {
  color: #10843f;
  fill: #10843f;
  padding: 8px 12px;
}
.flatpickr-calendar .flatpickr-prev-month:hover svg,
.flatpickr-calendar .flatpickr-next-month:hover svg {
  fill: #0d6832;
}
span.flatpickr-weekday {
  color: #64748b;
  font-weight: 600;
  font-size: 0.85rem;
}
.flatpickr-day {
  border-radius: 8px;
  font-weight: 500;
  color: #1e293b;
  height: 38px;
  line-height: 38px;
  margin: 1px;
}
.flatpickr-day:hover {
  background: #e8f5ed;
  border-color: #c2e5cf;
  color: #10843f;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus {
  background: #10843f !important;
  border-color: #10843f !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 132, 63, 0.35);
}
.flatpickr-day.today {
  border-color: #10843f;
  color: #10843f;
  font-weight: 700;
}
.flatpickr-day.today:hover {
  background: #10843f;
  color: #ffffff;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #cbd5e1 !important;
  background: transparent !important;
  cursor: not-allowed !important;
  opacity: 0.45;
}
.flatpickr-time {
  border-top: 1px solid #e2e8f0;
  height: 46px;
  line-height: 46px;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
  background: #e8f5ed;
}
.checkout-date-input,
.checkout-time-input {
  cursor: pointer !important;
  background-color: #ffffff !important;
}
.checkout-date-input:focus,
.checkout-time-input:focus {
  border-color: #10843f !important;
  box-shadow: 0 0 0 0.25rem rgba(16, 132, 63, 0.15) !important;
}

/* ==========================================================================
   Order Status Badges - High-Contrast & Accessible
   ========================================================================== */
.order-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  padding: 0.28rem 0.75rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  border-radius: 50rem !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  letter-spacing: 0.01em !important;
}
.order-status-badge i {
  font-size: 0.85rem !important;
}
.order-status-badge--pending {
  background-color: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}
.order-status-badge--confirmed {
  background-color: #f0f9ff !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}
.order-status-badge--processing {
  background-color: #faf5ff !important;
  color: #7e22ce !important;
  border: 1px solid #e9d5ff !important;
}
.order-status-badge--ready {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}
.order-status-badge--completed {
  background-color: #059669 !important;
  color: #ffffff !important;
  border: 1px solid #059669 !important;
}
.order-status-badge--completed i {
  color: #ffffff !important;
}
.order-status-badge--rejected {
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}
.order-status-badge--cancelled {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}

/* ============================================================
   RATING COLOR SYSTEM  — danger(1-2) / warning(3) / success(4-5)
   Usage:  <span class="rating-color--{1..5}"> wraps the filled stars
   ============================================================ */

/* Per-score colour tokens */
.rating-color--1 { color: #dc2626 !important; }   /* red    */
.rating-color--2 { color: #ea580c !important; }   /* orange */
.rating-color--3 { color: #ca8a04 !important; }   /* amber  */
.rating-color--4 { color: #65a30d !important; }   /* lime   */
.rating-color--5 { color: #16a34a !important; }   /* green  */

/* Single-star + number badge (product cards, shop cards, PDP header) */
.rating-badge--1 i,
.rating-badge--1 .bi { color: #dc2626 !important; }
.rating-badge--1 span { color: #dc2626 !important; }

.rating-badge--2 i,
.rating-badge--2 .bi { color: #ea580c !important; }
.rating-badge--2 span { color: #ea580c !important; }

.rating-badge--3 i,
.rating-badge--3 .bi { color: #ca8a04 !important; }
.rating-badge--3 span { color: #ca8a04 !important; }

.rating-badge--4 i,
.rating-badge--4 .bi { color: #65a30d !important; }
.rating-badge--4 span { color: #65a30d !important; }

.rating-badge--5 i,
.rating-badge--5 .bi { color: #16a34a !important; }
.rating-badge--5 span { color: #16a34a !important; }

/* Interactive star selector (review form) — update via JS */
.star-btn.star-active--1 i  { color: #dc2626 !important; }
.star-btn.star-active--2 i  { color: #ea580c !important; }
.star-btn.star-active--3 i  { color: #ca8a04 !important; }
.star-btn.star-active--4 i  { color: #65a30d !important; }
.star-btn.star-active--5 i  { color: #16a34a !important; }

/* PDP hero single-star icon inherits rating color */
.pdp--meta-rating-row.rating-badge--1 .pdp--star-icon { color: #dc2626 !important; }
.pdp--meta-rating-row.rating-badge--2 .pdp--star-icon { color: #ea580c !important; }
.pdp--meta-rating-row.rating-badge--3 .pdp--star-icon { color: #ca8a04 !important; }
.pdp--meta-rating-row.rating-badge--4 .pdp--star-icon { color: #65a30d !important; }
.pdp--meta-rating-row.rating-badge--5 .pdp--star-icon { color: #16a34a !important; }

/* ==========================================================================
   Wishlist Styles & Micro-interactions
   ========================================================================== */
.product--card-wishlist {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease;
}
.product--card-wishlist:active {
  transform: scale(0.85);
}
.product--card-wishlist.active {
  background-color: #fef2f2 !important;
  border-color: #fca5a5 !important;
}
.product--card-wishlist.active i {
  color: #dc2626 !important;
}
.wishlist-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background-color: #f8fafc;
}
.user-wishlist-table tbody tr {
  transition: background-color 0.15s ease;
}
.user-wishlist-table tbody tr:hover {
  background-color: #f8fafc;
}
.hover-primary:hover {
  color: var(--base-color, #0b7b3e) !important;
}
.sidebar-wishlist-badge {
  font-size: 0.75rem;
  padding: 0.3em 0.65em;
  font-weight: 600;
}
.header--action-btn {
  text-decoration: none !important;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & CARD DESIGN SYSTEM (320px & 375px SUPPORT)
   ========================================================================== */

/* 1. Global Card Layout & Uniform Alignment */
.product--card,
.deal--product-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.product--card:hover,
.deal--product-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
  border-color: #cbd5e1 !important;
}

.product--card-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* 2. Badge & Wishlist Positioning (Zero Collision on Small Screens) */
.deal--discount-tag,
.product--card .badge.bg-danger {
  position: absolute !important;
  top: 0.5rem !important;
  left: 0.5rem !important;
  z-index: 2 !important;
  max-width: calc(100% - 46px) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 0.18rem 0.45rem !important;
  border-radius: 4px !important;
  line-height: 1.2 !important;
}

.product--card-wishlist {
  position: absolute !important;
  top: 0.5rem !important;
  right: 0.5rem !important;
  z-index: 3 !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  line-height: 1 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

.product--card-wishlist i,
.pdp--card-wishlist-btn i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 1 !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(0.75px) !important;
}

.product--card-wishlist i::before,
.pdp--card-wishlist-btn i::before {
  display: block !important;
  line-height: 1 !important;
  vertical-align: 0 !important;
  margin: 0 !important;
}

/* 3. Product Card Images */
.product--card-image-wrap {
  width: 100% !important;
  height: 140px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0.5rem !important;
  margin-bottom: 0.85rem !important;
}

.product--card-image {
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  transition: transform 0.25s ease !important;
}

.product--card:hover .product--card-image,
.deal--product-card:hover .product--card-image {
  transform: scale(1.05) !important;
}

/* 4. Product Card Typography & Alignment */
.product--card-title {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin-top: 0.25rem !important;
  margin-bottom: 0.4rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.7em !important;
  height: 2.7em !important;
  word-break: break-word !important;
}

.product--card-title a {
  color: #1e293b !important;
  text-decoration: none !important;
}

.product--card-title a:hover {
  color: #0b7b3e !important;
}

/* 5. Distance Tag & Meta */
.product--distance-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  font-size: 0.72rem !important;
  color: #0b7b3e !important;
  background-color: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  padding: 0.15rem 0.4rem !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
}

/* 6. Price Row */
.product--card-price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.35rem !important;
  flex-wrap: wrap !important;
  margin-bottom: 0.3rem !important;
}

.product--card-current-price {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0b7b3e !important;
  line-height: 1.2 !important;
}

.product--card-old-price {
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  line-height: 1.2 !important;
}

/* 7. Stock Bar */
.deal--progress-wrap {
  margin-top: 0.3rem !important;
  margin-bottom: 0.25rem !important;
}

.deal--progress-bar {
  height: 4px !important;
  background-color: #e2e8f0 !important;
  border-radius: 999px !important;
}

.deal--stock-info {
  font-size: 0.72rem !important;
  color: #64748b !important;
  margin-top: 0.2rem !important;
  font-weight: 500 !important;
}

/* 8. Full-Width Add to Cart Buttons (Zero Clipping) */
.product--card-cart-btn.w-100,
.deal--cart-btn,
.product--card-content .product--card-cart-btn.w-100 {
  width: 100% !important;
  height: auto !important;
  min-height: 35px !important;
  padding: 0.35rem 0.45rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  border-radius: 6px !important;
  background-color: #0b7b3e !important;
  color: #ffffff !important;
  border: 1px solid #0b7b3e !important;
  margin-top: auto !important;
  cursor: pointer !important;
  text-align: center !important;
  white-space: normal !important;
}

.product--card-cart-btn.w-100:hover,
.deal--cart-btn:hover {
  background-color: #086332 !important;
  border-color: #086332 !important;
  color: #ffffff !important;
}

.product--card-cart-btn.w-100 i,
.deal--cart-btn i {
  font-size: 0.9rem !important;
  flex-shrink: 0 !important;
}

/* 9. Offers Hero Banner Fix */
.offer--hero-card h1,
.offer--hero-card h2,
.offer--hero-card h3,
.offer--hero-card p {
  color: #ffffff !important;
}

/* 10. Responsive Screen Sizes: Tablets & Phones (max-width: 575.98px) */
@media (max-width: 575.98px) {
  .product--card,
  .deal--product-card {
    padding: 0.55rem 0.45rem !important;
  }

  .product--card-image-wrap {
    height: 118px !important;
    margin-bottom: 0.55rem !important;
    padding: 0.25rem !important;
  }

  .product--card-title {
    font-size: 0.785rem !important;
    line-height: 1.3 !important;
    min-height: 2.6em !important;
    height: 2.6em !important;
    margin-top: 0.15rem !important;
    margin-bottom: 0.25rem !important;
  }

  .product--card-current-price {
    font-size: 0.9rem !important;
  }

  .product--card-old-price {
    font-size: 0.72rem !important;
  }

  .product--card-wishlist {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
  }

  .product--card-cart-btn.w-100,
  .deal--cart-btn {
    min-height: 33px !important;
    padding: 0.3rem 0.3rem !important;
    font-size: 0.75rem !important;
  }

  /* Compact Floating Buttons */
  .floating--buttons-group {
    bottom: 4.25rem !important;
    right: 0.65rem !important;
    gap: 0.4rem !important;
    z-index: 1025 !important;
  }

  .floating--btn-scrolltop,
  .floating--btn-whatsapp {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
  }

  .floating--btn-whatsapp span {
    display: none !important;
  }

  .floating--btn-whatsapp {
    padding: 0 !important;
    justify-content: center !important;
  }

  /* Safe Bottom Spacing for Content */
  main.main--content {
    padding-bottom: 4.5rem !important;
  }

  /* Bottom Nav Touch Targets */
  .mobile--bottom-nav {
    padding: 0.3rem 0.2rem !important;
    height: 56px !important;
  }

  .mobile--bottom-nav-link {
    font-size: 0.68rem !important;
    gap: 0.1rem !important;
    padding: 0.1rem 0 !important;
  }

  .mobile--bottom-nav-link i {
    font-size: 1.2rem !important;
  }

  .mobile--bottom-nav-badge {
    font-size: 0.65rem !important;
    min-width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    right: 12% !important;
    top: -3px !important;
  }

  /* Breadcrumb Wrapping */
  .pdp--breadcrumb {
    flex-wrap: wrap !important;
    font-size: 0.78rem !important;
  }

  /* Filter Top Bar */
  .filter--top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    padding: 0.75rem 0.85rem !important;
  }
}

/* 11. Ultra-Narrow Screens (320px to 360px) */
@media (max-width: 360px) {
  .product--card,
  .deal--product-card {
    padding: 0.45rem 0.35rem !important;
  }

  .product--card-image-wrap {
    height: 105px !important;
  }

  .product--card-title {
    font-size: 0.75rem !important;
  }

  .product--card-current-price {
    font-size: 0.85rem !important;
  }

  .deal--discount-tag,
  .product--card .badge.bg-danger {
    font-size: 0.68rem !important;
    padding: 0.15rem 0.35rem !important;
  }

  .product--card-cart-btn.w-100,
  .deal--cart-btn {
    min-height: 32px !important;
    font-size: 0.72rem !important;
    padding: 0.25rem 0.2rem !important;
    gap: 0.2rem !important;
  }

  .product--card-cart-btn.w-100 i,
  .deal--cart-btn i {
    font-size: 0.8rem !important;
  }

  .mobile--bottom-nav-link {
    font-size: 0.62rem !important;
  }

  .mobile--bottom-nav-link i {
    font-size: 1.1rem !important;
  }
}

/* ==========================================================================
   VISERMART BLOG SYSTEM & STYLING
   ========================================================================== */
.blog--card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.blog--card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
  border-color: #cbd5e1 !important;
}

.blog--card-img-wrap {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  background-color: #f8fafc !important;
}

.blog--card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease !important;
}

.blog--card:hover .blog--card-img {
  transform: scale(1.05) !important;
}

.blog--date-tag {
  position: absolute !important;
  bottom: 0.75rem !important;
  left: 0.75rem !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 999px !important;
  letter-spacing: 0.2px !important;
}

.blog--card-title {
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.7em !important;
}

.blog--card-title a {
  color: #1e293b !important;
}

.blog--card-title a:hover {
  color: #0b7b3e !important;
}

.blog--content-body {
  font-size: 1rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
}

.blog--content-body p {
  margin-bottom: 1.25rem !important;
}

.blog--content-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  margin: 1rem 0 !important;
}

@media (max-width: 575.98px) {
  .blog--card-img-wrap {
    height: 165px !important;
  }
  .blog--card-title {
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   RESPONSIVE VERIFICATION & OTP SYSTEM (320px & 375px DEVICE SUPPORT)
   ========================================================================== */
.otp-boxes {
  display: flex !important;
  justify-content: space-between !important;
  gap: 0.35rem !important;
  width: 100% !important;
  max-width: 340px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.otp-box {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 48px !important;
  height: 50px !important;
  text-align: center !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  padding: 0 !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s !important;
}

.otp-box:focus {
  border-color: #0b7b3e !important;
  box-shadow: 0 0 0 3px rgba(11, 123, 62, 0.15) !important;
  background-color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.otp-box.filled {
  border-color: #0b7b3e !important;
  background-color: #f0fdf4 !important;
  color: #0b7b3e !important;
}

@media (max-width: 575.98px) {
  .otp-boxes {
    gap: 0.25rem !important;
  }
  .otp-box {
    height: 44px !important;
    font-size: 1.15rem !important;
    border-radius: 6px !important;
  }
  .verification-code-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 360px) {
  .otp-boxes {
    gap: 0.18rem !important;
  }
  .otp-box {
    height: 40px !important;
    font-size: 1rem !important;
    border-width: 1.5px !important;
  }
}

/* ========================================================
   GLOBAL OVERFLOW & VIEWPORT GUARD (Eliminates horizontal scrollbars)
======================================================== */
html {
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
}

body {
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
}

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

/* ========================================================
   AUTH LAYOUT & RESPONSIVE STRUCTURE (Header, Footer, Content)
======================================================== */
body.auth-page {
  background: #f8fafc !important;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
}

.auth--layout-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f8f3 100%);
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative;
}

.auth--header-bar {
  padding: 0.85rem 0.5rem;
  width: 100%;
  position: relative;
  z-index: 1050;
  background: transparent;
  flex-shrink: 0;
}

.auth--back-link {
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e2e8f0;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.auth--back-link:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0b7b3e !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.auth--lang-btn {
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #334155;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.auth--lang-btn:hover, .auth--lang-btn:focus {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.auth--main-body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  position: relative;
}

.auth--page-wrapper {
  background: transparent !important;
  min-height: unset !important;
  height: auto !important;
  padding: 1rem 0.75rem 2rem !important;
  position: relative;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Ensure background decorative shapes never push viewport or cause scrollbar */
.auth--bg-shape-1 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 123, 62, 0.08) 0%, rgba(11, 123, 62, 0) 70%);
  pointer-events: none !important;
  z-index: 0;
}

.auth--bg-shape-2 {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 123, 62, 0.06) 0%, rgba(11, 123, 62, 0) 70%);
  pointer-events: none !important;
  z-index: 0;
}

.auth--footer {
  flex-shrink: 0;
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 0;
  width: 100%;
}

.auth--card {
  max-width: 530px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg, 12px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

@media (max-width: 575.98px) {
  .auth--header-bar {
    padding: 0.65rem 0.25rem;
  }
  .auth--page-wrapper {
    padding: 0.5rem 0.5rem 1.5rem !important;
  }
  .auth--card {
    padding: 1.25rem 1rem !important;
    border-radius: 12px;
  }
  .auth--social-top {
    flex-direction: column;
    gap: 0.5rem;
  }
  .auth--footer {
    padding: 1rem 0;
  }
}

@media (max-width: 375px) {
  .auth--card {
    padding: 1rem 0.75rem !important;
  }
  .auth--role-tab {
    font-size: 0.8rem;
    padding: 0.5rem 0.25rem;
  }
}

/* ==========================================================================
   Blog Social Share Buttons
   ========================================================================== */
.blog-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.blog-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.blog-share-btn.facebook {
  color: #1877f2;
}
.blog-share-btn.facebook:hover {
  background-color: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #ffffff !important;
}
.blog-share-btn.facebook:hover i {
  color: #ffffff !important;
}

.blog-share-btn.whatsapp {
  color: #25d366;
}
.blog-share-btn.whatsapp:hover {
  background-color: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}
.blog-share-btn.whatsapp:hover i {
  color: #ffffff !important;
}

.blog-share-btn.twitter {
  color: #0f1419;
}
.blog-share-btn.twitter:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}
.blog-share-btn.twitter:hover i {
  color: #ffffff !important;
}

.blog-share-btn.copylink {
  color: #0b7b3e;
}
.blog-share-btn.copylink:hover {
  background-color: #0b7b3e !important;
  border-color: #0b7b3e !important;
  color: #ffffff !important;
}
.blog-share-btn.copylink:hover i {
  color: #ffffff !important;
}

/* ==========================================================================
   Modern Pagination Component (Frontend / Vendor / Dashboard)
   Theme: Native Sell Green (#0b7b3e / var(--base-color))
   ========================================================================== */
.pagination-wrapper,
.pagination-wrap {
  width: 100% !important;
  display: block !important;
  clear: both !important;
}

/* Ensure any parent d-flex doesn't collapse pagination */
.d-flex:has(> nav[role="navigation"]),
.d-flex:has(> .pagination-wrapper) {
  width: 100% !important;
  justify-content: space-between !important;
}

/* Force nav to be full 100% width */
nav[role="navigation"] {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Desktop layout container (d-none d-sm-flex) */
nav[role="navigation"] > div.d-none.flex-sm-fill.d-sm-flex,
nav[role="navigation"] .d-none.flex-sm-fill.d-sm-flex {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Left side results text */
nav[role="navigation"] .d-none.flex-sm-fill.d-sm-flex > div:first-child {
  text-align: left !important;
  margin-right: auto !important;
}

/* Right side pagination pills */
nav[role="navigation"] .d-none.flex-sm-fill.d-sm-flex > div:last-child {
  text-align: right !important;
  margin-left: auto !important;
}

/* "Showing X to Y of Z results" text */
nav[role="navigation"] p.text-muted,
nav[role="navigation"] .text-muted,
.pagination-info {
  font-size: 0.875rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

nav[role="navigation"] p.text-muted .fw-semibold,
nav[role="navigation"] p.text-muted b,
nav[role="navigation"] p.text-muted strong,
nav[role="navigation"] .text-muted .fw-semibold {
  color: #1e293b !important;
  font-weight: 700 !important;
}

/* Pagination container */
.pagination {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 4px !important;
  list-style: none !important;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Page items reset */
.pagination .page-item {
  margin: 0 !important;
}

/* Page links base */
.pagination .page-link {
  min-width: 36px;
  height: 36px;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  background-color: #ffffff !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  margin-left: 0 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover state */
.pagination .page-item:not(.active):not(.disabled) .page-link:hover,
.pagination .page-link:not(.active):not(:disabled):hover {
  background-color: #eef8f2 !important;
  border-color: #86efac !important;
  color: #0b7b3e !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(11, 123, 62, 0.12);
  z-index: 2;
}

/* Active page */
.pagination .page-item.active .page-link,
.pagination .page-link.active {
  background-color: #0b7b3e !important;
  border-color: #0b7b3e !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 8px rgba(11, 123, 62, 0.3) !important;
  z-index: 3;
}

/* Disabled state (< or > when inactive) */
.pagination .page-item.disabled .page-link,
.pagination .page-link:disabled,
.pagination .page-link.disabled {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #cbd5e1 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 0.7 !important;
}

/* Focus state */
.pagination .page-link:focus,
.pagination .page-link:focus-visible {
  outline: none !important;
  border-color: #0b7b3e !important;
  box-shadow: 0 0 0 3px rgba(11, 123, 62, 0.2) !important;
}

/* Responsive adjustment */
@media (max-width: 575.98px) {
  nav[role="navigation"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  nav[role="navigation"] > div {
    display: flex;
    justify-content: center !important;
    text-align: center;
  }
  .pagination {
    justify-content: center !important;
    gap: 4px !important;
  }
  .pagination .page-link {
    min-width: 32px;
    height: 32px;
    padding: 0 8px !important;
    font-size: 0.815rem !important;
  }
}

/* ==========================================================================
   Footer Brand & Social Links Spacing & Alignment
   ========================================================================== */
.footer--bio {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--footer-text, #d7ede1);
  margin-bottom: 1.25rem !important;
  max-width: 320px;
}

.footer--social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem !important;
}

.footer--social-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  line-height: 1;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer--social-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
}

.footer--social-btn i::before {
  display: block;
  line-height: 1;
  vertical-align: 0;
  margin: 0;
  padding: 0;
}

.footer--social-btn:hover {
  background-color: var(--base-color, #0b7b3e);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Sticky Header (Desktop & Mobile)
   ========================================================================== */
.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background-color: #ffffff !important;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-sticky {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

@media (max-width: 991.98px) {
  .mobile--header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background-color: #ffffff !important;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
  }
  .mobile--header.is-sticky {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  }

  /* Reset body padding-top: sticky header is in normal flow, no offset needed */
  body {
    padding-top: 0 !important;
  }
}

/* ==========================================================================
   Add-to-Cart Button - Perfect Center Alignment
   ========================================================================== */
.product--card-cart-btn:not(.w-100) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.product--card-cart-btn:not(.w-100) i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 1 !important;
  font-size: 1.15rem !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(0.5px, 1px) !important;
}

.product--card-cart-btn:not(.w-100) i::before {
  display: block !important;
  line-height: 1 !important;
  vertical-align: 0 !important;
  margin: 0 !important;
}

/* ==========================================================================
   Header User / Login Button & Icon Sizing
   ========================================================================== */
.header--user-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 1.15rem !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.header--user-btn i {
  font-size: 1.25rem !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  color: #475569;
  transition: color 0.2s ease;
}

.header--user-btn:hover {
  border-color: var(--base-color, #0b7b3e) !important;
  color: var(--base-color, #0b7b3e) !important;
  background-color: var(--base-color-light, #eef8f2) !important;
}

.header--user-btn:hover i {
  color: var(--base-color, #0b7b3e) !important;
}

/* ==========================================================================
   Category Directory Showcase & Subcategories Grid
   ========================================================================== */
.cat--search-bar-wrap {
  max-width: 520px;
  margin-top: 1.5rem;
}

.cat--search-bar-wrap .input-group {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border-radius: 50px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.cat--search-bar-wrap .input-group:focus-within {
  border-color: var(--base-color, #0b7b3e);
  box-shadow: 0 4px 18px rgba(11, 123, 62, 0.15);
}

.cat--search-bar-wrap .input-group-text {
  border: none;
  background: transparent;
  padding-left: 1.25rem;
  font-size: 1.1rem;
}

.cat--search-bar-wrap .form-control {
  border: none;
  font-size: 0.95rem;
  padding: 0.75rem 1rem 0.75rem 0.5rem;
  background: transparent;
}

.cat--search-bar-wrap .form-control:focus {
  box-shadow: none;
}

.cat--search-bar-wrap .btn-clear {
  border: none;
  background: transparent;
  color: #94a3b8;
  padding-right: 1.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cat--search-bar-wrap .btn-clear:hover {
  color: #ef4444;
}

.cat--showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.cat--showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.cat--showcase-banner {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1e293b;
}

.cat--banner-img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.cat--banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.92);
}

.cat--showcase-card:hover .cat--banner-img {
  transform: scale(1.06);
  filter: brightness(0.98);
}

.cat--banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.88) 100%);
  pointer-events: none;
}

.cat--banner-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.cat--featured-badge {
  background: rgba(11, 123, 62, 0.9);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cat--count-badge {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  margin-left: auto;
}

.cat--banner-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  z-index: 2;
}

.cat--showcase-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.cat--showcase-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.cat--showcase-title a:hover {
  color: #86efac;
}

.cat--view-all-pill {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cat--view-all-pill:hover {
  background: var(--base-color, #0b7b3e);
  border-color: var(--base-color, #0b7b3e);
  color: #ffffff !important;
  transform: translateX(2px);
}

.cat--showcase-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

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

.cat--sub-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cat--sub-masonry {
  column-count: 2;
  column-gap: 12px;
}

.cat--sub-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 10px 12px;
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.cat--sub-card:hover {
  border-color: #86efac;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 123, 62, 0.08);
}

.cat--sub-main-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  width: 100%;
}

.cat--sub-thumb {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat--sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.cat--sub-card:hover .cat--sub-thumb img {
  transform: scale(1.08);
}

.cat--sub-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.cat--sub-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.cat--sub-card:hover .cat--sub-name {
  color: var(--base-color, #0b7b3e);
}

.cat--sub-count {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 1px;
}

.cat--sub-arrow {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cat--sub-card:hover .cat--sub-arrow {
  color: var(--base-color, #0b7b3e);
  transform: translateX(3px);
}

/* ==========================================================================
   Multi-level Hierarchical Tree (Level 3 & Level 4)
   ========================================================================== */
.cat--child-tree {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cat--child-tree-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat--child-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.815rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none !important;
  transition: color 0.15s ease;
  width: fit-content;
}

.cat--child-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--base-color, #0b7b3e);
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cat--child-link:hover .cat--child-bullet {
  opacity: 1;
  transform: scale(1.4);
}

.cat--child-link:hover .cat--child-name {
  color: var(--base-color, #0b7b3e);
}

.cat--child-name {
  transition: color 0.15s ease;
}

.cat--child-count {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
}

.cat--deep-inline-wrap {
  padding-left: 12px;
  font-size: 0.74rem;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.cat--deep-link {
  color: #475569;
  text-decoration: none !important;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.72rem;
  transition: all 0.15s ease;
}

.cat--deep-link:hover {
  background: #dcfce7;
  color: var(--base-color, #0b7b3e) !important;
}

.cat--showcase-footer {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  padding: 12px 20px;
  border-radius: 0 0 18px 18px;
}

.cat--footer-cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--base-color, #0b7b3e);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.cat--footer-cta-link:hover {
  color: #045a2b;
  transform: translateX(2px);
}

.cat--footer-cta-link i {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.cat--footer-cta-link:hover i {
  transform: scale(1.15);
}

@media (max-width: 767.98px) {
  .cat--showcase-banner {
    height: 160px;
  }
  .cat--showcase-title {
    font-size: 1.1rem;
  }
  .cat--sub-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   Free Services Page Styles
   ========================================================================== */
.service-card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}
.service-card-hover:hover .transition-img {
  transform: scale(1.04);
}
.transition-img {
  transition: transform 0.3s ease;
}
.service-title-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.05rem;
  line-height: 1.35;
}
.service-desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-filter-wrapper::-webkit-scrollbar {
  height: 4px;
}
.category-filter-wrapper::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}

.social-login-btn {
  border: 1px solid #cbc4c4;
}

/* ==========================================================================
   Progressive Web App (PWA) Custom Styling
   ========================================================================== */

/* PWA Standalone Mode Adjustments */
/* Fix: Ensure scrolling always works in installed PWA — override any Bootstrap modal-open lock */
html.is-pwa-standalone,
html.is-pwa-standalone body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  /* Prevent Bootstrap's overflow:hidden from blocking scroll permanently */
  height: auto !important;
}

html.is-pwa-standalone body {
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
  /* Ensure touch scrolling works on older Android WebView */
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* Fix: Bootstrap's .modal-open on body blocks scroll in PWA — force override */
html.is-pwa-standalone body.modal-open {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Fix: Bootstrap offcanvas sometimes locks body scroll in PWA */
html.is-pwa-standalone body.offcanvas-open {
  overflow-y: auto !important;
}

html.is-pwa-standalone .site-header,
html.is-pwa-standalone .mobile--header {
  padding-top: max(0.5rem, env(safe-area-inset-top));
}

html.is-pwa-standalone .site-footer {
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

/* PWA Floating Install Banner */
.pwa--install-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  width: calc(100% - 48px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  z-index: 1040;
  overflow: hidden;
  animation: pwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.pwa--banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.pwa--banner-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

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

.pwa--banner-title {
  font-weight: 700;
  font-size: 0.925rem;
  color: #1e293b;
  line-height: 1.25;
}

.pwa--banner-desc {
  font-size: 0.775rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pwa--banner-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pwa--install-action-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.pwa--close-btn {
  font-size: 0.7rem;
  padding: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.pwa--close-btn:hover {
  opacity: 1;
}

/* PWA Update Notification Toast */
.pwa--update-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1.5px solid var(--base-color, #0b7b3e);
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 6px 16px;
  z-index: 1060;
  animation: pwaSlideDown 0.3s ease forwards;
}

@keyframes pwaSlideDown {
  from {
    transform: translate(-50%, -40px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.pwa--update-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa--update-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
}

.pwa--step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef8f2;
  color: var(--base-color, #0b7b3e);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .pwa--install-banner {
    bottom: 16px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}


/* ==========================================================================
   PWA Scroll Fix — Critical for installed Android PWA
   ========================================================================== */

/*
 * Fix: AOS (Animate on Scroll) uses pointer-events:none during animation.
 * On slow Android devices in PWA mode, this can block touch/scroll temporarily.
 * Force AOS animated elements to always allow pointer events after animation.
 */
[data-aos].aos-animate {
  pointer-events: auto !important;
}

/*
 * Fix: Ensure the main scrollable document area is never blocked.
 * Targets installed PWA mode (display-mode: standalone).
 */
@media (display-mode: standalone) {
  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  /* Bootstrap modal-open should never block scroll in standalone PWA */
  body.modal-open {
    overflow-y: auto !important;
  }
}

