/* Drift (m-drift on a Loop Grid widget): its cards run in one endless row that drifts slowly sideways, edge to edge
   (like Keramiko's shop strip), each photo panning inside its frame. drift.js moves everything (transforms only).
   Paused on hover and while off-screen; reduced motion: no drift, the row scrolls sideways by hand. */
.m-drift { overflow: hidden; }
.m-drift .elementor-loop-container {
  display: flex !important; flex-wrap: nowrap !important; width: max-content;
  gap: 0 !important; grid-template-columns: none !important;
}
.m-drift .elementor-loop-container > .e-loop-item { flex: 0 0 auto; width: 320px; margin-right: 24px; }
.m-drift .elementor-loop-container > .e-loop-item.outofstock { display: none; }   /* only pieces you can buy */
.m-drift-js { will-change: transform; }
@media (hover: hover) { .m-drift-js .m-sc-media img { will-change: transform; } }   /* drift.js pans each photo inside its frame (not on touch screens) */
@media (max-width: 767px) { .m-drift .elementor-loop-container > .e-loop-item { width: 260px; margin-right: 16px; } }
@media (prefers-reduced-motion: reduce) { .m-drift { overflow-x: auto; } }
/* the shop card (Loop Item 6677) fills its slot in the strip */
.m-drift .m-shopcard.m-shopcard.m-shopcard { max-width: none; }

/* the tile (Loop Item 6739): photo only, 2:3, white frame, rounded */
.m-shoptile.e-con { --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0; padding: 6px !important;
  background: #fff; border-radius: 24px; overflow: hidden; }
.m-shoptile .elementor-widget-image, .m-shoptile .elementor-widget-image a { display: block; width: 100%; }
.m-shoptile img { display: block; width: 100% !important; aspect-ratio: 2 / 3; height: auto !important; max-width: none;
  object-fit: cover; border-radius: 18px; }
@media (max-width: 767px) { .m-shoptile.e-con { padding: 4px !important; border-radius: 18px; } .m-shoptile img { border-radius: 14px; } }

@media (hover: hover) { .m-drift { cursor: grab; } .m-drift.m-drift-dragging { cursor: grabbing; } }
.m-drift.m-drift-dragging { user-select: none; -webkit-user-select: none; }
.m-drift img { -webkit-user-drag: none; user-select: none; }
