/* rail.css — product carousel (plan 02). Markup: template-parts/product/rail.php. Behavior: store-core rail.js
   (plan 03), which scrolls the viewport natively and wraps track + clone in a strip. The section is a .pc-container
   and the viewport has no inline padding, so the visible area is exactly the container's content box: the same left
   and right edges as the hero and the sections below at every width, and cards outside it are clipped there (Kian,
   2026-10-13; it used to bleed to the window's right edge). At rest (scrollLeft 0) the first card sits on the
   content box's left edge. Tokens only. Head: 12 + 32 (section bar) + 8 = 52 ≤ the 60 px budget (contract §6, test 10). */
.pc-rail{min-width:0}
.pc-rail__head{padding:var(--pc-sp-3) 0 var(--pc-sp-2)}
.pc-rail__viewport{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scroll-snap-type:none;scrollbar-width:none}
.pc-rail__viewport::-webkit-scrollbar{display:none}
.pc-rail__viewport.is-snapping{scroll-snap-type:x mandatory}
.pc-rail__viewport[data-pc-state="dragging"]{cursor:grabbing;user-select:none}
.pc-rail__viewport:focus-visible{outline:2px solid var(--pc-brand);outline-offset:-2px}
.pc-rail__track{display:flex;gap:var(--pc-card-gap);width:max-content;padding:var(--pc-sp-1) 0 var(--pc-sp-5);list-style:none}
.pc-rail__item{display:flex;flex:0 0 auto;scroll-snap-align:start}
@media (hover:hover) and (pointer:fine){
	.pc-rail__viewport{cursor:grab}
}
@media (prefers-reduced-motion:reduce){
	.pc-rail__viewport{scroll-snap-type:x mandatory}
}
