/* رجوع: zarina-enhancements css start */
body.zarina-enhanced > header:not(.admin-header) {
  transition: background-color 260ms ease, box-shadow 260ms ease, border-color 260ms ease, transform 260ms ease;
}

body.zarina-scrolled > header:not(.admin-header) {
  background: rgba(255, 252, 245, 0.94);
  border-bottom-color: rgba(198, 164, 63, 0.34);
  box-shadow: 0 14px 34px rgba(31, 30, 26, 0.11);
}

html[data-theme="dark"] body.zarina-scrolled > header:not(.admin-header) {
  background: rgba(18, 24, 16, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

body.zarina-enhanced :where(.hero, .hero-apothecary, .collections-hero, .contact-hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.zarina-enhanced :where(.hero, .hero-apothecary, .collections-hero, .contact-hero) > *:not(.zarina-three-stage) {
  position: relative;
  z-index: 2;
}

.zarina-three-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.46;
  mix-blend-mode: soft-light;
}

html[data-theme="dark"] .zarina-three-stage {
  opacity: 0.34;
  mix-blend-mode: screen;
}

body.zarina-enhanced :where(.hero-content, .hero-apothecary .container, .collections-hero .container, .contact-hero) {
  will-change: transform;
}

html.z-animate-ready .z-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.99);
}

html.z-animate-ready .z-reveal.z-revealed,
html.z-animate-ready .z-reveal.active {
  opacity: 1;
  transform: none;
}

body.zarina-enhanced :where(
  .product-card,
  .home-collection-card,
  .trust-item,
  .value-card,
  .policy-card,
  .contact-form,
  .connect-card,
  .ai-assistant-shell,
  .cta-banner
) {
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 260ms ease, border-color 260ms ease;
}

@media (hover: hover) {
  body.zarina-enhanced :where(
    .product-card:not(.product-card-skeleton),
    .home-collection-card:not(.home-collection-skeleton),
    .trust-item,
    .value-card,
    .policy-card,
    .contact-form,
    .connect-card,
    .ai-assistant-shell,
    .cta-banner
  ):hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(31, 30, 26, 0.14);
  }

  body.zarina-enhanced :where(.hero-btn, .hero-link, .cta-btn, .submit-btn, .add-to-cart, .checkout-action):hover {
    transform: translateY(-2px);
  }
}

body.zarina-enhanced :where(.hero-btn, .hero-link, .cta-btn, .submit-btn, .add-to-cart, .checkout-action) {
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

body.zarina-enhanced .home-collections-track,
body.zarina-enhanced :where(.products-grid, .product-grid, .featured-grid, .collections-grid, .trust-row, .values-grid, .policy-grid) {
  scroll-behavior: smooth;
}

@media (max-width: 760px) {
  .zarina-three-stage {
    opacity: 0.28;
  }

  body.zarina-enhanced :where(.product-card, .home-collection-card, .trust-item, .value-card, .policy-card):hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zarina-three-stage {
    display: none;
  }

  html.z-animate-ready .z-reveal,
  body.zarina-enhanced *,
  body.zarina-enhanced *::before,
  body.zarina-enhanced *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* رجوع: zarina-enhancements css end */
