/* Arabic shop/category phase: scoped to archive pages only. */
body.oc-shop-motion-ar {
  --oc-shop-gold: #b88435;
  --oc-shop-brown: #5f351f;
  --oc-shop-paper: #fffdf9;
  --oc-shop-ease: cubic-bezier(.22,.75,.24,1);
}

body.oc-shop-motion-ar .oc-shop-reveal,
body.oc-shop-motion-ar .oc-shop-card-reveal {
  opacity: 0;
  transform: translate3d(0,16px,0);
  transition:
    opacity .54s var(--oc-shop-ease),
    transform .54s var(--oc-shop-ease),
    box-shadow .28s ease,
    border-color .28s ease;
  transition-delay: var(--oc-shop-delay,0ms);
}

body.oc-shop-motion-ar .oc-shop-card-reveal {
  transform: translate3d(0,12px,0) scale(.988);
}

body.oc-shop-motion-ar :is(.oc-shop-reveal,.oc-shop-card-reveal).oc-shop-visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}

body.oc-shop-motion-ar :is(.shop-loop-head,.wd-shop-tools,.woocommerce-ordering,.wd-show-sidebar-btn) {
  border-radius: 14px;
  transition: transform .22s ease, box-shadow .28s ease, border-color .28s ease;
}

body.oc-shop-motion-ar .wd-product {
  overflow: hidden;
  transform-origin: center bottom;
}

body.oc-shop-motion-ar .wd-product :is(.product-image-link img,.hover-img img) {
  transition: transform .48s var(--oc-shop-ease), opacity .22s ease !important;
  transform-origin: center center;
}

body.oc-shop-motion-ar .wd-product :is(.wd-add-btn,.wd-bottom-actions,.wrap-price) {
  transition: transform .25s ease, opacity .25s ease;
}

body.oc-shop-motion-ar .product-label {
  animation: none !important;
}

@media (hover:hover) and (pointer:fine) {
  body.oc-shop-motion-ar .wd-product:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(184,132,53,.32) !important;
    box-shadow: 0 18px 38px rgba(62,38,20,.13) !important;
  }

  body.oc-shop-motion-ar .wd-product:hover .product-image-link img {
    transform: scale(1.022) !important;
  }

  body.oc-shop-motion-ar :is(.woocommerce-ordering,.wd-show-sidebar-btn):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(62,38,20,.09);
  }
}

body.oc-shop-motion-ar :is(.button,.add_to_cart_button,.product_type_variable):active {
  transform: scale(.975);
}

@media (max-width:767px) {
  body.oc-shop-motion-ar .oc-shop-reveal {
    transform: translate3d(0,11px,0);
    transition-duration: .46s;
  }

  body.oc-shop-motion-ar .oc-shop-card-reveal {
    transform: translate3d(0,8px,0) scale(.994);
    transition-duration: .42s;
  }

  body.oc-shop-motion-ar .products {
    row-gap: 18px;
  }
}

@media (prefers-reduced-motion:reduce) {
  body.oc-shop-motion-ar .oc-shop-reveal,
  body.oc-shop-motion-ar .oc-shop-card-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  body.oc-shop-motion-ar .wd-product,
  body.oc-shop-motion-ar .wd-product *,
  body.oc-shop-motion-ar :is(.shop-loop-head,.wd-shop-tools,.woocommerce-ordering,.wd-show-sidebar-btn) {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}
