/** Styles for the latest-products tabs block. */
/* The outer margin is the page's rhythm, set for every block in base.css. */
.ps-latest-products { --ps-latest-tab-gap: clamp(8px, 1.8vw, 24px); width: 100%; }
.ps-latest-products__title { margin: 0; color: var(--ps-color-text); font-family: var(--ps-font-display); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: .035em; line-height: .98; text-align: center; text-transform: uppercase; }
.ps-latest-products__tabs { display: flex; justify-content: center; gap: var(--ps-latest-tab-gap); margin: var(--ps-space-5) auto var(--ps-space-7); padding: 0 var(--ps-space-3) 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ps-latest-products__tabs::-webkit-scrollbar { display: none; }
.ps-latest-products__tab { position: relative; flex: 0 0 auto; min-height: 40px; padding: 7px 0; border: 0; border-radius: 0; background: transparent; color: var(--ps-color-text-muted); font: inherit; font-size: clamp(12px, 1.15vw, 15px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ps-latest-products__tab::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: currentcolor; transform: scaleX(0); transform-origin: center; transition: transform var(--ps-transition-fast), color var(--ps-transition-fast); content: ""; }
.ps-latest-products__tab.is-active, .ps-latest-products__tab[aria-selected="true"] { color: var(--ps-color-text); }
.ps-latest-products__tab.is-active::after, .ps-latest-products__tab[aria-selected="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .ps-latest-products__tab:hover { color: var(--ps-color-brand-600); } }
.myc-app-body .ps-latest-products__tab:focus-visible { outline: 2px solid var(--ps-color-brand-border); outline-offset: 3px; }
.ps-latest-products__results { position: relative; min-width: 0; transition: opacity var(--ps-transition-fast); }
.ps-latest-products__results.is-loading { pointer-events: none; opacity: .5; }
.ps-latest-products__results.is-loading::after { position: absolute; top: var(--ps-space-6); left: 50%; width: 30px; height: 30px; border: 2px solid var(--ps-color-border-strong); border-top-color: var(--ps-color-brand-600); border-radius: 50%; transform: translateX(-50%); animation: ps-latest-products-spin .7s linear infinite; content: ""; }
/* The switch between two rows that are both already on the page: the dip
   without the spinner. A spinner that appears and leaves inside 170ms reads as
   a glitch rather than as work being done, and there is no work being done —
   the fade is there to carry the eye from one row to the next, which it still
   has to do now that the wait is gone. `is-loading` keeps the spinner for the
   fallback fetch, where something really is being waited for. */
.ps-latest-products__results.is-switching { pointer-events: none; opacity: .45; }
.ps-latest-products__grid { --myc-grid-columns: 5; --myc-grid-tablet-columns: 3; --myc-grid-mobile-columns: 2; }
/* One panel per tab, all but one hidden. `[hidden]` needs stating because the
   panel is given a display below the desktop breakpoint. */
.ps-latest-products__panel[hidden] { display: none; }
.ps-latest-products__empty { margin: 0; padding: var(--ps-space-7) var(--ps-space-4); border: 1px solid var(--ps-color-border); border-radius: var(--ps-radius-lg); background: var(--ps-color-surface-muted); color: var(--ps-color-text-muted); text-align: center; }
@keyframes ps-latest-products-spin { to { transform: translateX(-50%) rotate(360deg); } }
@media (max-width: 1080px) {
	.ps-latest-products__tabs { justify-content: flex-start; margin-bottom: var(--ps-space-6); }
	/* `position: relative` is what makes the scrolling actually contain the
	   track. The cards carry `.screen-reader-text` spans, positioned absolute;
	   with a static track their containing block is __results, outside this
	   scroller, and a scroller does not clip descendants anchored outside it.
	   The tenth card's label then sat 1774px into a 390px page and took the
	   document with it. `min-width: 0` cannot help: the track was never the
	   thing overflowing. */
	.ps-latest-products__grid { --ps-latest-slider-gap: var(--ps-space-4); position: relative; display: flex; gap: var(--ps-latest-slider-gap); overflow-x: auto; min-width: 0; scroll-behavior: smooth; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.ps-latest-products__grid::-webkit-scrollbar { display: none; }
	.ps-latest-products__grid .myc-album-card { flex: 0 0 calc((100% - 2 * var(--ps-latest-slider-gap)) / 3); }
	.ps-latest-products__grid .myc-album-card:nth-child(3n + 1) { scroll-snap-align: start; scroll-snap-stop: always; }
	.ps-latest-products__dots { display: flex; justify-content: center; gap: var(--ps-space-2); margin-top: var(--ps-space-4); }
	.ps-latest-products__dots[hidden] { display: none; }
	.ps-latest-products__dot { display: grid; width: 24px; height: 24px; padding: 0; border: 0; background: none; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
	.ps-latest-products__dot::before { width: 6px; height: 6px; border-radius: 999px; background: var(--ps-color-border-strong, #c9c1c3); transition: width var(--ps-transition-base), background-color var(--ps-transition-base); content: ""; }
	.ps-latest-products__dot[aria-current="true"]::before { width: 18px; background: var(--ps-color-brand-600); }
	.myc-app-body .ps-latest-products__dot:focus-visible { outline: 2px solid var(--ps-color-brand-border); outline-offset: -2px; border-radius: var(--ps-radius-sm); }
}
@media (max-width: 760px) { .ps-latest-products__tabs { --ps-latest-tab-gap: var(--ps-space-4); } .ps-latest-products__title { font-size: clamp(1.75rem, 8vw, 2.125rem); } .ps-latest-products__tabs { margin-top: var(--ps-space-4); margin-bottom: var(--ps-space-5); padding-inline: 0; } .ps-latest-products__tab { min-height: 44px; font-size: 12px; } .ps-latest-products__grid { --ps-latest-slider-gap: var(--ps-space-3); } .ps-latest-products__grid .myc-album-card { flex-basis: calc((100% - var(--ps-latest-slider-gap)) / 2); } .ps-latest-products__grid .myc-album-card:nth-child(3n + 1) { scroll-snap-align: none; scroll-snap-stop: normal; } .ps-latest-products__grid .myc-album-card:nth-child(odd) { scroll-snap-align: start; scroll-snap-stop: always; } }
@media (prefers-reduced-motion: reduce) { .ps-latest-products__results, .ps-latest-products__tab::after { transition: none; } .ps-latest-products__results.is-loading::after { animation: none; } .ps-latest-products__results.is-switching { opacity: 1; } }
