/*
 * Zahra Bordir - App-like Store Main Stylesheet
 * Inspired by modern mobile e-commerce UI (Vikram UI style)
 */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f2f4f8;
  color: #0f172a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 90px; /* Space for bottom nav & floating cart */
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* App Container */
.zb-container {
  width: 100%;
  max-width: 480px; /* App-like mobile width by default */
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .zb-container {
    max-width: 720px;
    padding: 0 16px;
  }
}

@media (min-width: 1024px) {
  .zb-container {
    max-width: 980px;
  }
}

/* ==========================================================================
   1. Header App Bar
   ========================================================================== */
.zb-header {
  background-color: #ffffff;
  padding: 14px 0 12px;
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid #eef2f6;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.zb-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.zb-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zb-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e2e8f0;
}

.zb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zb-avatar-letter {
  font-weight: 700;
  color: #2563eb;
  font-size: 15px;
}

.zb-welcome-text {
  display: flex;
  flex-direction: column;
}

.zb-greeting-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  text-transform: capitalize;
}

.zb-brand-name {
  display: flex;
  align-items: center;
  gap: 4px;
}

.zb-brand-name strong {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.zb-badge-verified {
  display: flex;
  align-items: center;
}

.zb-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.zb-icon-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zb-icon-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.zb-icon-btn.zb-shopee-btn {
  color: #ee4d2d;
  background-color: #ffffff;
  border-color: #ffedd5;
}

.zb-icon-btn.zb-shopee-btn:hover {
  background-color: #fff7ed;
  border-color: #fdba74;
  color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 77, 45, 0.2);
}

.zb-icon-btn.zb-open-wa {
  color: #16a34a;
}

.zb-icon-btn.zb-open-wa:hover {
  background-color: #f0fdf4;
  border-color: #86efac;
  color: #15803d;
}

.zb-cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

/* Search Bar */
.zb-search-wrapper {
  margin-top: 4px;
}

.zb-search-form {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.2s ease;
}

.zb-search-form:focus-within {
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.zb-search-icon {
  color: #94a3b8;
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.zb-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: #0f172a;
}

.zb-search-input::placeholder {
  color: #94a3b8;
}

.zb-filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s;
}

.zb-filter-btn:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* ==========================================================================
   2. Horizontal Category Pills (Vikram Mockup Style)
   ========================================================================== */
.zb-section-pills {
  padding: 14px 0 10px;
}

.zb-pill-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.zb-pill-slider::-webkit-scrollbar {
  display: none;
}

.zb-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.zb-pill-item:hover {
  background-color: #f1f5f9;
}

.zb-pill-item.is-active {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.zb-pill-item.is-active svg {
  stroke: #ffffff;
}

/* ==========================================================================
   3. Promo Banner Card (Vikram Hero Style)
   ========================================================================== */
.zb-promo-banner-section {
  padding: 8px 0 16px;
}

.zb-promo-card {
  position: relative;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
  border-radius: 24px;
  padding: 22px 20px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zb-promo-content {
  max-width: 65%;
  z-index: 2;
}

.zb-promo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 9999px;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
}

.zb-promo-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

.zb-promo-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zb-btn-promo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fef08a; /* Soft amber/yellow Vikram style button */
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.zb-btn-promo:hover {
  transform: translateY(-2px);
  background-color: #fef9c3;
}

.zb-promo-media {
  position: absolute;
  right: -10px;
  bottom: -15px;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.zb-stitch-circle {
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.zb-stitch-icon {
  font-size: 34px;
}

.zb-stitch-tag {
  font-size: 10px;
  font-weight: 700;
  background: #ffffff;
  color: #2563eb;
  padding: 1px 6px;
  border-radius: 999px;
  margin-top: 2px;
}

.zb-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.zb-carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.zb-carousel-dots .dot.active {
  width: 14px;
  border-radius: 999px;
  background: #ffffff;
}

/* ==========================================================================
   4. Category Grid Tiles (Screen 2 Mockup Style - 4 Kolom Rapi)
   ========================================================================== */
.zb-category-grid-section {
  padding: 10px 0 16px;
}

.zb-category-cards-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.zb-category-cards-grid::-webkit-scrollbar {
  display: none;
}

.zb-cat-tile {
  flex: 0 0 88px;
  min-width: 88px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 14px 6px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  text-decoration: none;
}

.zb-cat-tile:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.08);
}

.zb-cat-tile-icon {
  font-size: 28px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zb-cat-tile-label {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .zb-category-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    overflow-x: visible;
    padding: 0;
  }

  .zb-cat-tile {
    flex: auto;
    min-width: 0;
  }
}

/* ==========================================================================
   5. Product Card Grid (Vikram Mockup Style)
   ========================================================================== */
.zb-featured-products-section {
  padding: 8px 0 24px;
}

.zb-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.zb-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.zb-section-subtitle {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 1px;
}

.zb-view-all {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  display: flex;
  align-items: center;
  gap: 2px;
}

.zb-product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Force 2 columns on mobile and inside phone frame preview */
.phone-frame .zb-product-grid,
.preview-viewport-wrapper:not(.is-desktop) .zb-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

@media (min-width: 768px) {
  .preview-viewport-wrapper.is-desktop .zb-product-grid,
  body:not(.has-preview-frame) .zb-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (min-width: 1024px) {
  .preview-viewport-wrapper.is-desktop .zb-product-grid,
  body:not(.has-preview-frame) .zb-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* Individual Card */
.zb-product-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 8px !important;
  border: 1px solid #eef2f6 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.zb-product-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}

.zb-card-media {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  background-color: #f8fafc !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: block !important;
  margin: 0 0 8px 0 !important;
}

.zb-card-img-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.zb-card-media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

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

/* Wishlist Button */
.zb-wishlist-btn {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(4px) !important;
  border: none !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #94a3b8 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  z-index: 2 !important;
  transition: all 0.2s ease !important;
}

.zb-wishlist-btn:hover,
.zb-wishlist-btn.is-active {
  color: #ef4444 !important;
}

.zb-wishlist-btn.is-active svg {
  fill: #ef4444 !important;
}

/* Vikram Style Price Badge (Shifted cleanly BELOW the photo) */
.zb-card-price-row {
  margin-bottom: 6px !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  width: 100% !important;
}

.zb-price-badge {
  position: static !important;
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  letter-spacing: -0.01em !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.zb-price-badge bdi,
.zb-price-badge span {
  color: #ffffff !important;
}

.zb-price-badge del {
  display: none !important;
}

.zb-price-badge ins {
  text-decoration: none !important;
}

/* Card Body */
.zb-card-body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.zb-meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  margin-bottom: 3px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.zb-meta-row-sub {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

.zb-stock-tag {
  font-size: 9.5px !important;
  color: #64748b !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.zb-sold-tag {
  font-size: 9px !important;
  font-weight: 700 !important;
  color: #ea580c !important;
  background-color: #fff7ed !important;
  padding: 1px 5px !important;
  border-radius: 999px !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.zb-rating-tag {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 10.5px !important;
  color: #334155 !important;
  white-space: nowrap !important;
}

.zb-rating-tag strong {
  font-weight: 700 !important;
}

.zb-rating-tag small {
  color: #94a3b8 !important;
  font-size: 9.5px !important;
}

.zb-card-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 0 8px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: 32px !important;
  min-width: 0 !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

.zb-card-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.zb-card-title a:hover {
  color: #2563eb !important;
}

.zb-card-action {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: auto !important;
  min-width: 0 !important;
  width: 100% !important;
}

.zb-btn-add-cart {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  background-color: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #bfdbfe !important;
  padding: 6px 4px !important;
  border-radius: 9999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: all 0.2s ease !important;
}

.zb-btn-add-cart:hover {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

.zb-btn-outline {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

.zb-btn-quick-wa {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 50% !important;
  background-color: #22c55e !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease !important;
}

.zb-btn-quick-wa:hover {
  transform: scale(1.08) !important;
}

/* ==========================================================================
   6. Trust / Custom Embroidery Box
   ========================================================================== */
.zb-trust-section {
  padding: 10px 0 24px;
}

.zb-trust-card {
  background: #ffffff;
  border: 1.5px dashed #2563eb;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.zb-trust-icon {
  font-size: 32px;
}

.zb-trust-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.zb-trust-content p {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1.4;
}

.zb-btn-wa-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #22c55e; /* WhatsApp Green */
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transition: all 0.2s ease;
}

.zb-btn-wa-custom:hover {
  background-color: #16a34a;
  transform: translateY(-1px);
}

/* ==========================================================================
   7. Vikram Floating Cart Pill (Fixed Bottom Bar: "View your cart (3x) $256.00")
   ========================================================================== */
.zb-floating-cart-pill {
  position: fixed;
  bottom: 74px; /* Just above the bottom nav */
  left: 0;
  right: 0;
  z-index: 80;
  padding: 0 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.zb-floating-cart-pill.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.zb-cart-pill-btn {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.zb-cart-pill-btn:hover {
  background-color: #1d4ed8;
  transform: scale(1.02);
}

.zb-pill-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zb-pill-text {
  font-size: 14px;
  font-weight: 700;
}

.zb-pill-count {
  background: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
}

.zb-pill-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zb-pill-total {
  font-size: 14px;
  font-weight: 800;
}

/* ==========================================================================
   8. Bottom Navigation Bar (Fixed Mobile Nav)
   ========================================================================== */
.zb-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid #eef2f6;
  z-index: 85;
  height: 64px;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.04);
}

.zb-bottom-nav-inner {
  max-width: 480px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
}

.zb-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
  position: relative;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.2s;
}

.zb-nav-item.is-active,
.zb-nav-item:hover {
  color: #2563eb;
}

.zb-nav-item.zb-nav-wa {
  color: #16a34a;
}

.zb-nav-item.zb-nav-wa:hover {
  color: #15803d;
}

.zb-nav-dot {
  position: absolute;
  top: 2px;
  width: 4px;
  height: 4px;
  background-color: #2563eb;
  border-radius: 50%;
}

.zb-nav-cart-icon {
  position: relative;
}

.zb-nav-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

/* ==========================================================================
   9. Slide-in Cart & WhatsApp Checkout Drawer
   ========================================================================== */
.zb-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  z-index: 99999 !important;
  visibility: hidden;
  transition: visibility 0.3s;
}

.zb-drawer.is-open {
  visibility: visible;
}

.zb-drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.zb-drawer.is-open .zb-drawer-overlay {
  opacity: 1;
}

.zb-drawer-panel {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  max-height: 92% !important;
  max-height: 92dvh !important;
  height: auto !important;
  background: #ffffff !important;
  border-radius: 28px 28px 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2) !important;
  overflow: hidden !important;
  z-index: 100000 !important;
}

.zb-drawer.is-open .zb-drawer-panel {
  transform: translateY(0) !important;
}

.zb-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.zb-drawer-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.zb-drawer-subtitle {
  font-size: 11.5px;
  color: #22c55e;
  font-weight: 600;
}

.zb-drawer-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
}

.zb-drawer-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 16px 20px !important;
}

/* Cart Items inside Drawer */
.zb-cart-item-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f8fafc;
  align-items: center;
}

.zb-item-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #f1f5f9;
  overflow: hidden;
  flex-shrink: 0;
}

.zb-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zb-item-details {
  flex: 1;
}

.zb-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.zb-item-var {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.zb-item-price {
  font-size: 12.5px;
  font-weight: 800;
  color: #2563eb;
  margin-top: 3px;
}

.zb-item-qty-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zb-qty-pill {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 2px 6px;
}

.zb-qty-btn-mini {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  cursor: pointer;
  color: #334155;
}

.zb-qty-val-mini {
  font-size: 12px;
  font-weight: 700;
  padding: 0 4px;
}

.zb-btn-delete-item {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
}

/* Form Alamat Section */
.zb-checkout-form-section {
  margin-top: 20px;
  background: #f8fafc;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
}

.zb-form-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.zb-form-heading h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.zb-form-group {
  margin-bottom: 10px;
}

.zb-form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.zb-form-group label .required {
  color: #ef4444;
}

.zb-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s;
}

.zb-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.zb-textarea {
  resize: vertical;
}

/* Drawer Footer */
.zb-drawer-footer {
  flex-shrink: 0 !important;
  padding: 14px 20px calc(24px + env(safe-area-inset-bottom, 12px)) 20px !important;
  border-top: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.04) !important;
  position: relative !important;
  z-index: 10 !important;
}

.zb-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.zb-summary-label {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 600;
}

.zb-summary-value {
  font-size: 18px;
  font-weight: 800;
  color: #2563eb;
}

.zb-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s;
}

.zb-btn-primary:hover {
  background-color: #1d4ed8;
}

.zb-btn-wa {
  background-color: #22c55e !important; /* WhatsApp Green */
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35) !important;
  margin-bottom: 6px !important;
  padding: 13px 20px !important;
}

.zb-btn-wa:hover {
  background-color: #16a34a !important;
}

.zb-footer-trust-note {
  text-align: center !important;
  margin-top: 4px !important;
  color: #94a3b8 !important;
  font-size: 10.5px !important;
}

/* ==========================================================================
   10. Shop Archive / Catalog Styles
   ========================================================================== */
.zb-shop-archive {
  padding: 12px 0 40px;
}

.zb-archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.zb-archive-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 170px;
}

.zb-btn-back {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.zb-btn-back:hover {
  border-color: #2563eb;
  color: #2563eb;
  background-color: #eff6ff;
  transform: translateX(-2px);
}

.zb-archive-title-wrap {
  flex: 1;
  min-width: 0;
}

.zb-archive-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

.zb-archive-subtitle {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  display: block;
  margin-top: 1px;
}

.zb-shop-sort {
  position: relative;
  flex-shrink: 0;
}

.woocommerce-ordering {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.woocommerce-ordering select.orderby,
.zb-shop-sort select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9999px !important;
  padding: 8px 32px 8px 14px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 11px 11px !important;
  line-height: 1.4 !important;
  max-width: 165px !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  transition: all 0.2s ease !important;
}

.woocommerce-ordering select.orderby:hover,
.woocommerce-ordering select.orderby:focus,
.zb-shop-sort select:hover,
.zb-shop-sort select:focus {
  border-color: #2563eb !important;
  color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.zb-filter-chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.zb-filter-chips-row::-webkit-scrollbar {
  display: none;
}

.zb-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.zb-chip-item.is-active {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   Modern App Pagination
   ========================================================================== */
.zb-pagination,
.woocommerce-pagination {
  margin: 32px 0 115px 0 !important; /* Space for bottom nav & floating cart */
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.zb-pagination .screen-reader-text,
.woocommerce-pagination .screen-reader-text {
  display: none !important;
}

.zb-pagination .nav-links,
.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.zb-pagination .page-numbers,
.woocommerce-pagination .page-numbers,
.woocommerce-pagination ul.page-numbers li > * {
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.zb-pagination .page-numbers:hover,
.woocommerce-pagination .page-numbers:hover,
.woocommerce-pagination ul.page-numbers li > *:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  background: #eff6ff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15) !important;
}

.zb-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination ul.page-numbers li span.current {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
  transform: scale(1.04) !important;
  cursor: default !important;
}

.zb-pagination .page-numbers.dots,
.woocommerce-pagination .page-numbers.dots,
.woocommerce-pagination ul.page-numbers li span.dots {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #94a3b8 !important;
  font-weight: 800 !important;
  min-width: 20px !important;
  padding: 0 2px !important;
  cursor: default !important;
}

.zb-pagination a.prev,
.zb-pagination a.next,
.woocommerce-pagination a.prev,
.woocommerce-pagination a.next {
  padding: 0 14px !important;
  border-radius: 9999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #2563eb !important;
}

.zb-pagination a.prev:hover,
.zb-pagination a.next:hover,
.woocommerce-pagination a.prev:hover,
.woocommerce-pagination a.next:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

/* Empty State */
.zb-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 20px;
}

.zb-empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

/* ==========================================================================
   11. Single Product Details Page
   ========================================================================== */
.zb-single-product {
  padding: 12px 0 40px;
}

.zb-single-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.zb-btn-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  cursor: pointer;
}

.zb-single-topbar-title {
  font-size: 15px;
  font-weight: 700;
}

.zb-single-gallery {
  margin-bottom: 16px;
}

.zb-main-img-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eef2f6;
  aspect-ratio: 1 / 1;
}

.zb-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Single Product Price Row (Shifted cleanly BELOW the photo, prominent and clear) */
.zb-single-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 10px;
}

.zb-single-price-tag {
  display: inline-flex;
  align-items: center;
  background: #2563eb;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  letter-spacing: -0.02em;
}

.zb-single-price-tag bdi,
.zb-single-price-tag span {
  color: #ffffff !important;
}

.zb-single-price-tag del {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-right: 6px;
  text-decoration: line-through;
}

.zb-single-price-tag ins {
  text-decoration: none;
  font-weight: 800;
}

.zb-gallery-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.zb-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #ffffff;
}

.zb-thumb.is-active {
  border-color: #2563eb;
}

.zb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zb-single-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.zb-tag-category {
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
}

.zb-single-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 10px;
}

.zb-badge-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.zb-feature-pill {
  font-size: 11px;
  font-weight: 600;
  background: #eff6ff;
  color: #1e40af;
  padding: 4px 10px;
  border-radius: 999px;
}

.zb-single-order-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid #eef2f6;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.zb-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.zb-qty-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
}

.zb-qty-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px;
  box-sizing: border-box;
}

.zb-qty-btn {
  background: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  line-height: 1;
  outline: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.zb-qty-btn:active {
  transform: scale(0.94);
  background-color: #f8fafc;
}

.zb-qty-btn:focus,
.zb-qty-btn:focus-visible {
  outline: none;
}

.zb-qty-input {
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  height: 32px;
  line-height: 32px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
  -moz-appearance: textfield;
  appearance: textfield;
}

.zb-qty-input::-webkit-outer-spin-button,
.zb-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
  display: none !important;
}

.zb-custom-bordir-input-group {
  margin-bottom: 16px;
}

.zb-custom-bordir-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.zb-help-text {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.zb-single-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zb-btn-add-cart-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #eff6ff;
  border: 1.5px solid #2563eb;
  color: #2563eb;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.zb-btn-add-cart-large:hover {
  background: #2563eb;
  color: #ffffff;
}

.zb-btn-wa-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #22c55e;
  color: #ffffff;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transition: background 0.2s;
}

.zb-btn-wa-large:hover {
  background: #16a34a;
}

.zb-single-desc-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 20px;
  border: 1px solid #eef2f6;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

@media (min-width: 640px) {
  .zb-single-desc-card {
    padding: 28px 28px;
    border-radius: 24px;
  }
}

/* ==========================================================================
   Slidable Gallery Styles
   ========================================================================== */
.zb-gallery-slider-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eef2f6;
}

.zb-gallery-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.zb-gallery-slider::-webkit-scrollbar {
  display: none;
}

.zb-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
}

.zb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zb-gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  z-index: 6;
  letter-spacing: 0.5px;
}

.zb-gallery-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  background: rgba(15, 23, 42, 0.45);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.zb-gallery-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.zb-gallery-dots .dot.is-active {
  width: 14px;
  border-radius: 999px;
  background: #ffffff;
}

.zb-meta-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zb-sold-badge {
  font-size: 11px;
  font-weight: 700;
  color: #ea580c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ==========================================================================
   Reviews Card & WooCommerce Reviews Styles
   ========================================================================== */
.zb-single-reviews-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 20px;
  border: 1px solid #eef2f6;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

@media (min-width: 640px) {
  .zb-single-reviews-card {
    padding: 28px 28px;
    border-radius: 24px;
  }
}

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

.zb-reviews-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.zb-rating-box {
  text-align: right;
}

.zb-rating-big {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.zb-rating-big small {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.zb-rating-count {
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
  margin-top: 3px;
}

.zb-reviews-list {
  font-size: 13px;
}

.zb-review-item {
  padding: 12px 0;
  border-bottom: 1px solid #f8fafc;
}

.zb-review-item:last-child {
  border-bottom: none;
}

.zb-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.zb-reviewer-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.zb-badge-verified-buyer {
  color: #22c55e;
  font-size: 10px;
  background: #f0fdf4;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 600;
}

.zb-review-date {
  font-size: 10.5px;
  color: #94a3b8;
}

.zb-review-stars {
  color: #f59e0b;
  font-size: 12px;
  margin-bottom: 4px;
}

.zb-review-text {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
}

.zb-no-reviews {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  padding: 16px 0;
}

.zb-desc-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  letter-spacing: -0.01em;
}

.zb-desc-content {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.7;
}

.zb-desc-content p {
  margin: 0 0 16px;
  line-height: 1.7;
  color: #334155;
}

.zb-desc-content h3,
.zb-desc-content h4,
.zb-desc-content h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 22px 0 10px;
  line-height: 1.45;
  display: block;
}

.zb-desc-content h3:first-child,
.zb-desc-content h4:first-child {
  margin-top: 0;
}

.zb-desc-content ul,
.zb-desc-content ol {
  padding-left: 22px !important;
  margin: 10px 0 18px !important;
  list-style-position: outside !important;
}

.zb-desc-content ul {
  list-style-type: disc !important;
}

.zb-desc-content ol {
  list-style-type: decimal !important;
}

.zb-desc-content li {
  margin-bottom: 9px;
  line-height: 1.65;
  color: #475569;
  padding-left: 4px;
}

.zb-desc-content li::marker {
  color: #2563eb;
  font-size: 1.1em;
}

.zb-desc-content strong,
.zb-desc-content b {
  color: #0f172a;
  font-weight: 700;
}

.zb-desc-content em,
.zb-desc-content i {
  color: #64748b;
  font-style: italic;
  display: inline-block;
  margin-top: 6px;
}

.zb-desc-content > *:last-child {
  margin-bottom: 0;
}

.zb-related-products-section {
  padding-top: 10px;
}

/* ==========================================================================
   12. Standard Page Styles
   ========================================================================== */
.zb-standard-page {
  padding: 24px 0 40px;
}

.zb-page-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.zb-page-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

/* Loading Spinner */
.zb-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.zb-cart-loading {
  text-align: center;
  color: #64748b;
  font-size: 12px;
  padding: 30px 0;
}

/* ==========================================================================
   Site Footer (Mobile-First Card Style)
   ========================================================================== */
.zb-site-footer {
  margin-top: 32px;
  padding-bottom: calc(95px + env(safe-area-inset-bottom, 15px));
}

.zb-footer-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 24px;
  padding: 22px 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.zb-footer-brand {
  margin-bottom: 18px;
}

.zb-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.zb-footer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.zb-footer-brand-text {
  display: flex;
  flex-direction: column;
}

.zb-footer-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.zb-footer-tagline {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.zb-footer-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
  margin: 6px 0 0;
}

.zb-footer-address-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.zb-footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.zb-footer-icon {
  font-size: 15px;
  line-height: 1;
}

.zb-footer-heading h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.zb-footer-address-text {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.55;
  margin: 0 0 12px;
  font-weight: 500;
}

.zb-footer-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.zb-footer-map-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.zb-footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.zb-footer-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.zb-footer-action-pill:active {
  transform: scale(0.97);
}

.zb-footer-action-pill.zb-pill-wa {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.zb-footer-action-pill.zb-pill-wa:hover {
  background: #dcfce7;
}

.zb-footer-action-pill.zb-pill-shopee {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #ee4d2d;
}

.zb-footer-action-pill.zb-pill-shopee:hover {
  background: #ffedd5;
}

.zb-footer-bottom {
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  text-align: center;
}

.zb-footer-copy {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}


