.xiancai-product-showcase { min-width: 0; overflow: hidden; background: var(--ivory); }
.filter-controls { display: flex; gap: 10px; margin-bottom: 28px; overflow-x: auto; }
.filter-controls button { flex: 0 0 auto; min-height: 44px; padding: 9px 22px; border: 1px solid var(--blush); border-radius: 999px; background: transparent; color: var(--ink); font-size: 16px; }
.filter-controls button:hover { border-color: var(--brand); color: var(--brand); }
.filter-controls button[aria-selected="true"] { border-color: var(--brand); background: var(--brand); color: var(--paper); }
.filter-description { margin-bottom: 28px; color: var(--muted); font-size: 16px; }
.products-carousel { width: 100%; min-width: 0; overflow: visible; }
#collections .filter-controls, #collections .filter-description { display: none; }
#collections .product-item { opacity: .28; transition: opacity .35s ease; }
#collections .product-item.swiper-slide-active { opacity: 1; }
.products-carousel:not(.swiper-initialized) .swiper-wrapper { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 1.5); gap: 40px; }
.products-carousel:not(.swiper-initialized) .product-item:nth-child(n+3) { display: none; }
.product-item { min-width: 0; height: auto; }
.collection-card { height: 100%; padding: 12px; border: 1px solid var(--blush); background: var(--paper); }
.collection-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--powder); }
.collection-card__image { overflow: hidden; background: var(--powder); }
.collection-card__image img { width: 100%; height: 100%; transition: transform .45s ease; }
.collection-card__application { position: absolute; inset: 0; }
.collection-card__application img { object-fit: cover; }
.collection-card__product { position: absolute; left: 22px; bottom: 22px; z-index: 1; width: 25%; aspect-ratio: 1; border: 6px solid var(--paper); box-shadow: 0 10px 28px rgba(53, 19, 38, .16); }
.collection-card__product img { object-fit: cover; }
.collection-card:hover .collection-card__image img, .collection-card:focus-within .collection-card__image img { transform: scale(1.025); }
.collection-card__body { padding: 22px 10px 12px; border-top: 1px solid var(--blush); }
.xiancai-product-showcase .collection-card__body h3 { margin: 0 0 10px; font: 400 24px/1.16 Arial, Helvetica, sans-serif; }
.collection-card__body h3 a { color: var(--ink); }
.collection-card__body h3 a:hover { color: var(--brand); }
.xiancai-product-showcase .collection-card__body p { max-width: none; margin: 0 0 18px; color: var(--muted); font: 400 18px/1.65 Arial, Helvetica, sans-serif; }
.product-carousel-controls { display: flex; width: calc((100% - 40px) / 1.5); align-items: center; gap: 10px; margin-top: 36px; }
.product-carousel-controls .products-prev { margin-left: auto; }
.products-pagination { width: auto !important; flex: 0 0 auto; color: var(--brand); font-size: 16px; }
.editor-styles-wrapper .xiancai-product-showcase .product-item { opacity: 1 !important; }
@media (max-width: 1023px) {
    .product-carousel-controls { width: calc((100% - 28px) / 1.2); }
}
@media (max-width: 1199px) {
    .products-carousel:not(.swiper-initialized) .swiper-wrapper { grid-auto-columns: calc((100% - 28px) / 1.2); gap: 28px; }
}
@media (min-width: 1600px) {
    #collections .products-carousel { width: calc(100% + (100vw - 1600px) / 2); }
}
@media (max-width: 767px) {
    .products-carousel { overflow: hidden; }
    .filter-controls { margin-right: -20px; padding-right: 20px; }
    .products-carousel:not(.swiper-initialized) .swiper-wrapper { grid-auto-columns: calc((100% - 16px) / 1.08); gap: 16px; }
    .collection-card { padding: 8px; }
    .collection-card__media { aspect-ratio: 4 / 3; }
    .collection-card__product { left: 12px; bottom: 12px; width: 28%; border-width: 4px; }
    .collection-card__body { padding: 16px 6px 10px; }
    .xiancai-product-showcase .collection-card__body h3 { font-size: 23px; }
    .xiancai-product-showcase .collection-card__body p { font-size: 16px; }
    #collections .swiper-slide-next .collection-card__body { visibility: hidden; }
    .product-carousel-controls { margin-top: 24px; }
}
@media (max-width: 639px) {
    .product-carousel-controls { width: calc((100% - 16px) / 1.08); }
}
@media (prefers-reduced-motion: reduce) {
    .collection-card__image img { transition: none; }
    #collections .product-item { transition: none; }
}
