/* Category Page v4 cards. Inlined by sub-template.php when the Misc "Category Page v4" switch is on. */
.plp4 { container: plp4 / inline-size; margin-bottom: 20px; }
.plp4-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.plp4-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; row-gap: 0; }
.plp4[data-size="large"] .plp4-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@container plp4 (max-width: 899px) {
  .plp4[data-size="small"] .plp4-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container plp4 (max-width: 599px) {
  .plp4[data-size="small"] .plp4-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .plp4[data-size="large"] .plp4-grid { grid-template-columns: minmax(0, 1fr); }
}
.plp4-sep,
.plp4-empty { grid-column: 1 / -1; padding: 10px 0 18px; }
.plp4-empty { padding: 30px 0 40px; text-align: center; }

.plp4-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; min-width: 0; padding-bottom: 36px; text-align: center; }
.plp4-card > *,
.plp4-theme > * { min-width: 0; }
.plp4 .plp4-theme { display: contents; }
.plp4-media { order: 1; position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #f4f2ef; isolation: isolate; }
.plp4-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-user-drag: none; }
.plp4-track::-webkit-scrollbar { display: none; }
.plp4-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.plp4-slide img,
.plp4-slide video,
.plp4-hover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity .25s ease; }
.plp4-slide img.is-loaded,
.plp4-hover img.is-loaded { opacity: 1; }
.plp4-slide.is-landscape video,
.plp4-slide.is-landscape .plp4-poster { inset: auto; top: 50%; left: 0; width: 100%; height: auto; aspect-ratio: 4 / 5; transform: translateY(calc(-50% + 5px)); object-fit: cover; object-position: center; }
.plp4-slide-video video { z-index: 1; }
.plp4-slide-video.has-frame video { opacity: 1; }

.plp4-ph { position: absolute; inset: 0; display: grid; padding: 10% 9%; background: linear-gradient(180deg, #e6e6e6 0%, #c2c2c2 100%); container-type: inline-size; }
.plp4-ph > span { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 9cqw; background: linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .35) 100%); color: #555; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; font-size: 15cqw; line-height: 1.18; letter-spacing: -.01em; }

.plp4-hover { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.plp4-card.is-hovering .plp4-hover { opacity: 1; }

.plp4-badges { position: absolute; z-index: 3; top: 5px; left: 5px; right: 38px; pointer-events: none; }
.plp4 .plp4-badges .product-merchandising-badges { position: static; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.plp4-stock { position: absolute; z-index: 3; left: 5px; right: 5px; bottom: 5px; display: flex; pointer-events: none; text-align: left; }
.plp4-card.has-video .plp4-stock { right: 41px; }
.plp4 .product-merchandising-badge,
.plp4 .plp4-stock .inventory-thumb-badge { position: static; display: inline-block; max-width: 100%; margin: 0; padding: 3px 5px; border-radius: 2px; font-size: 10px; line-height: 1.35; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: left; overflow-wrap: anywhere; }

.plp4-wish,
.plp4-vbtn,
.plp4-arrow { position: absolute; z-index: 4; display: grid; place-items: center; margin: 0; padding: 0; border: 0; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.plp4-wish { top: 5px; right: 5px; width: 28px; height: 28px; background: rgba(255, 255, 255, .72); color: #222; transition: transform .15s ease, background-color .15s ease; }
.plp4-wish:hover { background: rgba(255, 255, 255, .95); }
.plp4-wish svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.plp4-wish[aria-pressed="true"] svg { fill: #c8104f; stroke: #c8104f; }
.plp4-wish:active { transform: scale(.88); }

.plp4-vbtn { right: 5px; bottom: 5px; width: 30px; height: 30px; background: rgba(17, 17, 17, .62); color: #fff; }
.plp4-vbtn svg { width: 13px; height: 13px; fill: currentColor; }
.plp4-vbtn .i-pause,
.plp4-card[data-vstate="playing"] .plp4-vbtn .i-play { display: none; }
.plp4-card[data-vstate="playing"] .plp4-vbtn .i-pause { display: block; }
.plp4-card[data-vstate="loading"] .plp4-vbtn::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: plp4spin .8s linear infinite; }
@keyframes plp4spin { to { transform: rotate(360deg); } }

.plp4-arrow { top: 50%; width: 30px; height: 30px; margin-top: -15px; background: rgba(255, 255, 255, .9); color: #222; opacity: 0; transition: opacity .2s ease; }
.plp4-arrow.is-prev { left: 6px; }
.plp4-arrow.is-next { right: 6px; }
.plp4-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.plp4-arrow:disabled { opacity: 0 !important; pointer-events: none; }
.plp4-arrow:focus-visible { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .plp4-media:hover .plp4-arrow { opacity: 1; }
}
@media (hover: none) {
  .plp4-arrow { display: none; }
}

.plp4-dots { position: absolute; z-index: 3; left: 50%; bottom: 13px; height: 10px; overflow: hidden; transform: translateX(-50%); pointer-events: none; }
.plp4-card.has-stock .plp4-dots { bottom: 31px; }
.plp4-dots-row { display: flex; transition: transform .25s ease; }
.plp4-dot { flex: 0 0 12px; height: 10px; display: grid; place-items: center; }
.plp4-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); transition: transform .2s ease, background-color .2s ease; }
.plp4-dot.is-active::before { background: #222; box-shadow: 0 0 0 1px rgba(255, 255, 255, .9); }
.plp4-dot.is-edge::before { transform: scale(.6); }
.plp4-dot.is-video::before { width: 0; height: 0; border-radius: 0; background: none; box-shadow: none; border-left: 7px solid rgba(255, 255, 255, .9); border-top: 4px solid transparent; border-bottom: 4px solid transparent; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .6)); }
.plp4-dot.is-video.is-active::before { border-left-color: #222; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .9)); }

.plp4 .plp4-name { order: 3; align-self: start; margin: 10px 0 0; padding: 0; height: auto; font-size: 15px; line-height: 1.35; text-transform: capitalize; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.plp4[data-swatchpos="photo"] .plp4-name { margin-top: 4px; }
.plp4 .plp4-name a { text-decoration: none; }
.plp4 .plp4-name a:hover { text-decoration: underline; }
.plp4 .plp4-price { order: 4; align-self: start; margin: 2px 0 0; padding: 0; font-size: 15px; line-height: 1.4; }
.plp4 .plp4-price s { margin-right: 6px; opacity: .72; }
.plp4 .plp4-price .usdprice { display: block; font-size: 12px; }

.plp4-swatches { order: 5; align-self: start; display: flex; align-items: center; justify-content: center; height: 25px; padding-top: 6px; box-sizing: content-box; }
.plp4[data-swatchpos="photo"] .plp4-swatches { order: 2; padding-top: 8px; }
.plp4-sw-track { position: relative; display: flex; flex: 0 1 auto; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.plp4-sw-track::-webkit-scrollbar { display: none; }
.plp4-sw { flex: 0 0 auto; display: grid; place-items: center; width: 25px; height: 25px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; scroll-snap-align: start; }
.plp4-sw::before { content: ""; width: 19px; height: 19px; border-radius: 50%; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45); transition: box-shadow .15s ease; }
button.plp4-sw { cursor: pointer; }
button.plp4-sw:hover::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45), 0 0 0 2px #fff, 0 0 0 3px #8a8a8a; }
.plp4-sw.is-active::before,
button.plp4-sw.is-active:hover::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45), 0 0 0 2px #fff, 0 0 0 3px #222; }
.plp4-sw-nav { flex: 0 0 18px; display: grid; place-items: center; height: 25px; margin: 0; padding: 0; border: 0; border-radius: 4px; background: none; color: inherit; opacity: .7; cursor: pointer; }
.plp4-sw-nav[hidden] { display: none; }
.plp4-sw-nav:disabled { opacity: .25; cursor: default; }
.plp4-sw-nav svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.4; }

.plp4 a:focus-visible,
.plp4 button:focus-visible,
.plp4-size-btn:focus-visible,
.plp-sidebar-toggle button:focus-visible { outline: 2px solid #111; outline-offset: 2px; box-shadow: 0 0 0 4px #fff; }
.plp4 .plp4-name a:focus-visible { box-shadow: none; }
.plp4 button.plp4-sw:focus-visible { outline-offset: -1px; box-shadow: none; }

@container plp4 (max-width: 460px) {
  .plp4-badges { top: 4px; left: 4px; right: 34px; }
  .plp4 .plp4-badges .product-merchandising-badges { gap: 2px; }
  .plp4-stock { left: 4px; right: 4px; bottom: 4px; }
  .plp4-card.has-video .plp4-stock { right: 36px; }
  .plp4 .product-merchandising-badge,
  .plp4 .plp4-stock .inventory-thumb-badge { padding: 2px 4px; font-size: 9px; }
  .plp4-wish { top: 4px; right: 4px; width: 26px; height: 26px; }
  .plp4-wish svg { width: 14px; height: 14px; }
  .plp4-vbtn { right: 4px; bottom: 4px; width: 28px; height: 28px; }
  .plp4-dots { bottom: 10px; }
  .plp4-card.has-stock .plp4-dots { bottom: 25px; }
  .plp4 .plp4-name { font-size: 13px; }
  .plp4 .plp4-price { font-size: 13px; }
  .plp4-swatches { height: 26px; }
  .plp4-sw { width: 26px; height: 26px; }
  .plp4-sw::before { width: 19px; height: 19px; }
  .plp4-sw-nav { height: 26px; }
}

.product-filter .plp4-size { float: left; display: flex; gap: 2px; margin: 5px 0 0 4px; }
.plp4-size-btn { display: grid; place-items: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 4px; background: transparent; color: inherit; opacity: .55; cursor: pointer; }
.plp4-size-btn[aria-pressed="true"] { opacity: 1; }
.plp4-size-btn svg { width: 24px; height: 24px; fill: currentColor; }
.plp4-size-btn .plp4-ico-phone { display: none; }
@media (max-width: 767px) {
  .plp4-size-btn .plp4-ico-desk { display: none; }
  .plp4-size-btn .plp4-ico-phone { display: block; }
}

.plp4-wide { padding-left: 30px; padding-right: 30px; }
@media (min-width: 992px) {
  .plp4-wide #sidebar-left { width: 300px; }
  .plp4-wide #sidebar-main.col-md-9 { width: calc(100% - 300px); }
  html.plp-sidebar-hidden .plp4-wide #sidebar-main.col-md-9 { width: 100%; }
}
