/* ==========================================================================
   Ziggy Pupps — shared stylesheet (dir-agnostic, works for LTR + RTL)
   Uses CSS logical properties so the same file serves /(en) and /ar/ pages.
   ========================================================================== */

:root {
  --zp-primary: #ff6b4a;
  --zp-primary-dark: #e8552f;
  --zp-secondary: #2d4356;
  --zp-secondary-dark: #1b2a38;
  --zp-accent: #ffc145;
  --zp-light: #fff8f0;
  --zp-cream: #fdf3e7;
  --zp-success: #4caf82;
  --zp-radius-lg: 1.25rem;
  --zp-radius-md: 0.75rem;
  --zp-shadow-soft: 0 0.75rem 2rem rgba(45, 67, 86, 0.08);
  --zp-shadow-pop: 0 1rem 2.5rem rgba(255, 107, 74, 0.18);
  --font-latin: "Poppins", "Nunito", sans-serif;
  --font-body-latin: "Nunito", sans-serif;
  --font-arabic: "Cairo", sans-serif;
}

html[lang="ar"] body,
html[lang="ar"] {
  --font-latin: var(--font-arabic);
  --font-body-latin: var(--font-arabic);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body-latin);
  color: var(--zp-secondary-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .zp-font-heading {
  font-family: var(--font-latin);
  font-weight: 700;
}

a {
  text-decoration: none;
}

.zp-text-primary { color: var(--zp-primary) !important; }
.zp-bg-primary { background-color: var(--zp-primary) !important; }
.zp-bg-light { background-color: var(--zp-light) !important; }
.zp-bg-cream { background-color: var(--zp-cream) !important; }
.zp-bg-secondary { background-color: var(--zp-secondary) !important; }

/* Buttons */
.btn-zp-primary {
  background-color: var(--zp-primary);
  border-color: var(--zp-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 50rem;
  padding-inline: 1.75rem;
  padding-block: 0.65rem;
  transition: all 0.2s ease;
}
.btn-zp-primary:hover,
.btn-zp-primary:focus {
  background-color: var(--zp-primary-dark);
  border-color: var(--zp-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--zp-shadow-pop);
}
.btn-zp-outline {
  background-color: transparent;
  border: 2px solid var(--zp-secondary);
  color: var(--zp-secondary);
  font-weight: 600;
  border-radius: 50rem;
  padding-inline: 1.75rem;
  padding-block: 0.6rem;
  transition: all 0.2s ease;
}
.btn-zp-outline:hover {
  background-color: var(--zp-secondary);
  color: #fff;
}
.btn-zp-dark {
  background-color: var(--zp-secondary-dark);
  color: #fff;
  border-radius: 50rem;
  font-weight: 600;
}
.btn-zp-dark:hover { background-color: var(--zp-secondary); color:#fff; }

.btn-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--zp-light);
  color: var(--zp-secondary-dark);
  border: 1px solid rgba(45, 67, 86, 0.1);
  transition: all 0.2s ease;
  position: relative;
}
.btn-icon:hover { background: var(--zp-primary); color: #fff; }

/* Top bar */
.zp-topbar {
  background-color: var(--zp-secondary-dark);
  color: #fff;
  font-size: 0.85rem;
}
.zp-topbar a { color: #fff; opacity: 0.85; }
.zp-topbar a:hover { opacity: 1; color: var(--zp-accent); }

/* Navbar */
.zp-navbar {
  background-color: #fff;
  padding-block: 0.9rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.zp-logo {
  font-family: var(--font-latin);
  font-size: 1.6rem;
  color: var(--zp-secondary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.zp-logo .paw {
  color: var(--zp-primary);
  font-size: 1.5rem;
}
.zp-logo-word {
  font-weight: 800;
  color: var(--zp-secondary-dark);
}
.zp-logo-domain {
  font-weight: 600;
  color: var(--zp-primary);
}
.zp-footer .zp-logo-word,
.zp-logo.text-white .zp-logo-word { color: #fff; }
.zp-footer .zp-logo-domain,
.zp-logo.text-white .zp-logo-domain { color: var(--zp-accent); }
.zp-navbar .nav-link {
  font-weight: 600;
  color: var(--zp-secondary-dark);
  padding-inline: 0.9rem !important;
}
.zp-navbar .nav-link:hover,
.zp-navbar .nav-link.active { color: var(--zp-primary); }

.zp-cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -6px;
  background: var(--zp-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.lang-switch {
  font-weight: 700;
  border: 1px solid rgba(45,67,86,0.15);
  border-radius: 50rem;
  padding: 0.35rem 0.9rem;
  color: var(--zp-secondary-dark);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.lang-switch:hover { background: var(--zp-light); color: var(--zp-primary); }

/* Hero */
.zp-hero {
  background: linear-gradient(135deg, var(--zp-light) 0%, var(--zp-cream) 100%);
  position: relative;
  overflow: hidden;
  padding-block: 4.5rem;
}
.zp-hero .blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(10px);
}
.zp-hero-title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.15;
}
.zp-hero-img {
  border-radius: var(--zp-radius-lg);
  box-shadow: var(--zp-shadow-soft);
}
.badge-floating {
  position: absolute;
  background: #fff;
  border-radius: var(--zp-radius-md);
  box-shadow: var(--zp-shadow-soft);
  padding: 0.75rem 1.1rem;
}

.section-pad { padding-block: 4.5rem; }
.section-eyebrow {
  color: var(--zp-primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* Category cards */
.zp-cat-card {
  border-radius: var(--zp-radius-lg);
  overflow: hidden;
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  box-shadow: var(--zp-shadow-soft);
}
.zp-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.zp-cat-card:hover img { transform: scale(1.08); }
.zp-cat-card .zp-cat-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(27,42,56,0.85), transparent);
  color: #fff;
  padding: 1rem;
  font-weight: 700;
}

/* Product cards */
.zp-product-card {
  border: none;
  border-radius: var(--zp-radius-lg);
  overflow: hidden;
  box-shadow: var(--zp-shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.zp-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--zp-shadow-pop);
}
.zp-product-media {
  position: relative;
  background: var(--zp-light);
  aspect-ratio: 1/1;
  overflow: hidden;
}
.zp-product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.zp-product-card:hover .zp-product-media img { transform: scale(1.06); }
.zp-product-badge {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 50rem;
}
.zp-product-actions {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.25s ease;
}
.zp-product-card:hover .zp-product-actions { opacity: 1; }
.zp-product-actions .btn-icon { width: 36px; height: 36px; background: #fff; }
.zp-rating { color: var(--zp-accent); font-size: 0.85rem; }
.zp-price-old {
  text-decoration: line-through;
  color: #9aa5ac;
  font-size: 0.9rem;
}
.zp-price { color: var(--zp-primary); font-weight: 800; font-size: 1.15rem; }
.zp-price,
.zp-price-old {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

/* Feature icons */
.zp-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--zp-light);
  color: var(--zp-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Promo banner */
.zp-promo {
  background: var(--zp-secondary-dark);
  border-radius: var(--zp-radius-lg);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.zp-promo .accent-text { color: var(--zp-accent); }

/* Testimonials */
.zp-testimonial {
  background: #fff;
  border-radius: var(--zp-radius-lg);
  box-shadow: var(--zp-shadow-soft);
  padding: 2rem;
  height: 100%;
}
.zp-quote-icon { color: var(--zp-primary); opacity: 0.25; font-size: 2.5rem; }

/* Newsletter */
.zp-newsletter {
  background: linear-gradient(135deg, var(--zp-primary), #ff8a6e);
  border-radius: var(--zp-radius-lg);
  color: #fff;
}
.zp-newsletter .form-control {
  border-radius: 50rem;
  padding-inline-start: 1.2rem;
  border: none;
  height: 52px;
}
.zp-newsletter .btn { border-radius: 50rem; height: 52px; padding-inline: 1.75rem; font-weight: 700; }

/* Footer */
.zp-footer {
  background: var(--zp-secondary-dark);
  color: rgba(255,255,255,0.75);
}
.zp-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.1rem; }
.zp-footer a { color: rgba(255,255,255,0.65); }
.zp-footer a:hover { color: var(--zp-accent); }
.zp-footer .list-unstyled li { margin-bottom: 0.6rem; }
.zp-footer-bottom {
  background: #0f1922;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}
.zp-social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}
.zp-social-icon:hover { background: var(--zp-primary); color: #fff; }

/* Back to top */
.zp-back-top {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--zp-secondary-dark);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  box-shadow: var(--zp-shadow-soft);
}
.zp-back-top.show { display: inline-flex; }

/* Breadcrumb / page header */
.zp-page-header {
  background: var(--zp-light);
  padding-block: 2.5rem;
}

/* Shop filters */
.zp-filter-card {
  border: none;
  border-radius: var(--zp-radius-md);
  background: var(--zp-light);
  padding: 1.25rem;
}
.zp-filter-card h6 { font-weight: 700; }
.form-check-input:checked { background-color: var(--zp-primary); border-color: var(--zp-primary); }
.form-range::-webkit-slider-thumb { background: var(--zp-primary); }

/* Product detail */
.zp-thumb {
  border-radius: var(--zp-radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  aspect-ratio: 1/1;
}
.zp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.zp-thumb.active { border-color: var(--zp-primary); }
.zp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(45,67,86,0.15);
  border-radius: 50rem;
  overflow: hidden;
}
.zp-qty button {
  width: 42px; height: 42px;
  border: none;
  background: var(--zp-light);
  font-weight: 700;
  font-size: 1.1rem;
}
.zp-qty input {
  width: 48px;
  text-align: center;
  border: none;
  font-weight: 700;
}
.zp-qty input:focus { outline: none; box-shadow: none; }

.nav-tabs .nav-link { font-weight: 700; color: var(--zp-secondary-dark); border: none; }
.nav-tabs .nav-link.active { color: var(--zp-primary); border-bottom: 3px solid var(--zp-primary); }

/* Stats */
.zp-stat-number {
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--zp-primary);
}

/* Team */
.zp-team-card { border-radius: var(--zp-radius-lg); overflow: hidden; box-shadow: var(--zp-shadow-soft); }

/* Contact */
.zp-contact-card {
  border-radius: var(--zp-radius-lg);
  box-shadow: var(--zp-shadow-soft);
  padding: 1.75rem;
  height: 100%;
}
.zp-map-wrap { border-radius: var(--zp-radius-lg); overflow: hidden; box-shadow: var(--zp-shadow-soft); }

/* Toast */
.zp-toast-container { z-index: 1080; }

/* Utility: accordion */
.accordion-button:not(.collapsed) { color: var(--zp-primary); background-color: var(--zp-light); }
.accordion-button:focus { box-shadow: none; }

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .section-pad { padding-block: 3rem; }
  .zp-hero { padding-block: 3rem; }
}
@media (max-width: 575.98px) {
  .zp-hero-title { font-size: 1.85rem; }
  .zp-newsletter .form-control { margin-bottom: 0.75rem; }
  .btn-zp-primary, .btn-zp-outline { padding-inline: 1.4rem; }
}

/* Small helper for star ratings input-less display */
.zp-star-row i { margin-inline-end: 2px; }
[dir="rtl"] .zp-star-row i { margin-inline-end: 0; margin-inline-start: 2px; }

/* ==========================================================================
   Scroll-reveal animation system
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.21,.6,.35,1), transform 0.7s cubic-bezier(.21,.6,.35,1);
  will-change: opacity, transform;
}
.reveal.reveal-scale { transform: translateY(16px) scale(0.94); }
.reveal.reveal-left { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
[dir="rtl"] .reveal.reveal-left { transform: translateX(32px); }
[dir="rtl"] .reveal.reveal-right { transform: translateX(-32px); }
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .4s; }
.reveal-delay-6 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view { opacity: 1; transform: none; transition: none; }
  .zp-float, .zp-pulse-ring, .zp-hero-title .paw-spin { animation: none !important; }
}

/* Ambient float / pulse keyframes */
@keyframes zpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes zpFloatSm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.zp-float { animation: zpFloat 4.5s ease-in-out infinite; }
.zp-float-sm { animation: zpFloatSm 3.2s ease-in-out infinite; }
.zp-float-sm.delay-1 { animation-delay: .4s; }
.zp-float-sm.delay-2 { animation-delay: .8s; }

@keyframes zpPulseRing {
  0% { box-shadow: 0 0 0 0 rgba(255,107,74,0.35); }
  70% { box-shadow: 0 0 0 14px rgba(255,107,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,74,0); }
}

@keyframes zpPawPop {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.15); }
}
.zp-logo .paw { display: inline-block; animation: zpPawPop 2.6s ease-in-out infinite; }

/* Hero blob decorations */
.zp-hero .blob-1, .zp-hero .blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}
.zp-hero .blob-1 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,193,69,0.35), transparent 70%);
  top: -60px; inset-inline-end: 8%;
  animation: zpFloat 6s ease-in-out infinite;
}
.zp-hero .blob-2 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,107,74,0.3), transparent 70%);
  bottom: -40px; inset-inline-start: 4%;
  animation: zpFloat 5s ease-in-out infinite reverse;
}
.zp-hero .container { z-index: 1; }

/* ==========================================================================
   Shop by Pet — circular category picker
   ========================================================================== */
.zp-pet-item { text-align: center; display: block; }
.zp-pet-circle {
  width: 100%;
  max-width: 168px;
  aspect-ratio: 1/1;
  margin-inline: auto;
  border-radius: 50%;
  position: relative;
  padding: 8px;
  transition: transform 0.35s ease;
}
.zp-pet-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--ring-color, var(--zp-primary));
  transition: all 0.35s ease;
}
.zp-pet-circle .zp-pet-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--fill-color, var(--zp-light));
  box-shadow: var(--zp-shadow-soft);
}
.zp-pet-circle .zp-pet-inner img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.zp-pet-item:hover .zp-pet-circle { transform: translateY(-6px); }
.zp-pet-item:hover .zp-pet-circle::before { inset: -5px; }
.zp-pet-item:hover .zp-pet-inner img { transform: scale(1.1); }
.zp-pet-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--zp-secondary-dark);
  transition: color 0.2s ease;
}
.zp-pet-label i { transition: transform 0.2s ease; font-size: 0.8rem; }
[dir="rtl"] .zp-pet-label i { transform: scaleX(-1); }
.zp-pet-item:hover .zp-pet-label { color: var(--zp-primary); }
.zp-pet-item:hover .zp-pet-label i { transform: translateX(4px); }
[dir="rtl"] .zp-pet-item:hover .zp-pet-label i { transform: translateX(-4px) scaleX(-1); }

/* ==========================================================================
   Trusted Brands — circular logo strip
   ========================================================================== */
.zp-brand-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--zp-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  box-shadow: var(--zp-shadow-soft);
  transition: all 0.3s ease;
  cursor: default;
  overflow: hidden;
  border: 3px solid #fff;
}
.zp-brand-circle:hover {
  box-shadow: var(--zp-shadow-pop);
  transform: translateY(-4px) scale(1.06);
  border-color: var(--zp-primary);
}
.zp-brand-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.zp-brand-circle:hover img { transform: scale(1.08); }
.zp-brand-wordmark {
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.1;
  color: var(--zp-secondary-dark);
  padding: 0 0.5rem;
  transition: color 0.3s ease;
}
.zp-brand-circle:hover .zp-brand-wordmark { color: var(--zp-primary); }

/* Animated counters */
.zp-count {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* ==========================================================================
   RTL/LTR-safe numeric content — phone numbers, WhatsApp numbers, review
   counts and any other digit/symbol strings (+, (), -) that must always
   read left-to-right even when embedded inside an Arabic (RTL) sentence.
   ========================================================================== */
.zp-ltr-num {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

/* Enhanced card entrance stagger helper applied via JS is inline; buttons get a subtle press */
.btn-zp-primary:active, .btn-zp-outline:active { transform: translateY(0) scale(0.97); }

/* ==========================================================================
   Navbar upgrades — underline links, polished dropdown, scroll shrink
   ========================================================================== */
.zp-navbar { transition: padding-block 0.25s ease, box-shadow 0.25s ease; }
.zp-navbar.zp-scrolled { padding-block: 0.55rem; box-shadow: 0 0.5rem 1.5rem rgba(45,67,86,0.1); }

.zp-navbar .nav-link { position: relative; }
.zp-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  inset-inline-start: 0.9rem;
  inset-inline-end: 0.9rem;
  height: 2px;
  border-radius: 2px;
  background: var(--zp-primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.zp-navbar .nav-link:hover::after,
.zp-navbar .nav-link.active::after { transform: scaleX(1); }
.zp-navbar .dropdown-toggle::after { margin-inline-start: 0.35em; vertical-align: 0.1em; }

.zp-navbar .dropdown-menu {
  border: none;
  border-radius: var(--zp-radius-md);
  box-shadow: var(--zp-shadow-pop);
  padding: 0.5rem;
  margin-top: 0.6rem !important;
  animation: zpDropIn 0.18s ease;
  min-width: 230px;
}
@keyframes zpDropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.zp-navbar .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: var(--zp-radius-md);
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  color: var(--zp-secondary-dark);
}
.zp-navbar .dropdown-item i {
  color: var(--zp-primary);
  width: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}
.zp-navbar .dropdown-item:hover,
.zp-navbar .dropdown-item:focus { background: var(--zp-light); color: var(--zp-primary); }

/* Toggler rendered as a circular icon button, matching the other nav icons */
.zp-navbar .navbar-toggler:focus { box-shadow: none; }

/* ==========================================================================
   Mobile Offcanvas menu
   ========================================================================== */
.zp-offcanvas { width: min(320px, 85vw); z-index: 1075; }
.offcanvas-backdrop { z-index: 1070; }
.zp-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(45,67,86,0.08);
  padding: 1.25rem;
}
.zp-offcanvas .offcanvas-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.zp-offcanvas .navbar-nav { flex-grow: 1; }
.zp-offcanvas .nav-link {
  padding: 0.9rem 0.15rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--zp-secondary-dark);
  border-bottom: 1px solid rgba(45,67,86,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zp-offcanvas .nav-link.active,
.zp-offcanvas .nav-link:hover { color: var(--zp-primary); }
.zp-offcanvas .nav-link[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }
.zp-offcanvas .nav-link .bi-chevron-down { transition: transform 0.2s ease; font-size: 0.8rem; }
.zp-offcanvas .zp-sub-links { padding-inline-start: 0.75rem; }
.zp-offcanvas .zp-sub-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.25rem;
  color: var(--zp-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.zp-offcanvas .zp-sub-links a:hover { color: var(--zp-primary); }
.zp-offcanvas .zp-sub-links a i { color: var(--zp-primary); width: 1.1rem; text-align: center; }

.zp-social-icon-light {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--zp-light);
  color: var(--zp-secondary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.zp-social-icon-light:hover { background: var(--zp-primary); color: #fff; }

/* ==========================================================================
   WhatsApp floating multi-contact widget
   ========================================================================== */
.zp-whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 0.75rem 1.75rem rgba(37,211,102,0.45);
  z-index: 1060;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.zp-whatsapp-fab:hover { transform: scale(1.08); color: #fff; }
.zp-whatsapp-fab .zp-wa-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: zpWaPulse 2.4s ease-out infinite;
}
@keyframes zpWaPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

.zp-whatsapp-panel {
  position: fixed;
  bottom: 5.75rem;
  inset-inline-start: 1.5rem;
  width: min(320px, calc(100vw - 3rem));
  background: #fff;
  border-radius: var(--zp-radius-lg);
  box-shadow: var(--zp-shadow-pop);
  z-index: 1060;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transform-origin: bottom left;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
[dir="rtl"] .zp-whatsapp-panel { transform-origin: bottom right; }
.zp-whatsapp-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.zp-whatsapp-panel-header {
  background: #25d366;
  color: #fff;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.zp-whatsapp-panel-body { padding: 0.75rem; }
.zp-whatsapp-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.6rem;
  border-radius: var(--zp-radius-md);
  text-decoration: none;
  color: var(--zp-secondary-dark);
  transition: background 0.2s ease;
}
.zp-whatsapp-item:hover { background: var(--zp-light); color: var(--zp-secondary-dark); }
.zp-whatsapp-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(37,211,102,0.12);
  color: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.zp-whatsapp-item > i:last-child { color: #adb5bd; }
[dir="rtl"] .zp-whatsapp-item > i:last-child { transform: scaleX(-1); }

@media (max-width: 420px) {
  .zp-whatsapp-fab { width: 52px; height: 52px; font-size: 1.5rem; bottom: 1rem; inset-inline-start: 1rem; }
  .zp-whatsapp-panel { bottom: 5rem; inset-inline-start: 1rem; }
  .zp-back-top { bottom: 1rem; }
}
