/* Shop: carousel (js/shop-carousel.js) and colorway swatches */
.sc { position: relative; overflow: hidden; border-radius: 16px; touch-action: pan-y; max-width: 100%; min-width: 0; }
.sc-track { display: flex; transition: transform .55s cubic-bezier(.22, .8, .3, 1); }
.sc-slide { flex: 0 0 100%; min-width: 0; }
.sc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #171717; font-size: 1.5rem; line-height: 1; box-shadow: 0 2px 10px rgba(0, 0, 0, .14); transition: transform .15s ease; }
.sc-arrow:hover { transform: translateY(-50%) scale(1.07); }
.sc-prev { left: 14px; }
.sc-next { right: 14px; }
.sc-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.sc-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: rgba(0, 0, 0, .25); box-shadow: 0 0 0 1px rgba(255, 255, 255, .55); transition: width .2s ease; }
.sc-dots button.active { width: 24px; border-radius: 5px; background: #171717; }
@media (prefers-reduced-motion: reduce) { .sc-track { transition: none; } }

.swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.swatch { width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); cursor: pointer; }
.swatch.active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--text); }
.swatches.large .swatch { width: 30px; height: 30px; }

/* Design cards, on the shop and on category pages */
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.design-card { display: block; color: var(--text); }
.design-card[hidden] { display: none; }
.design-thumb { background: var(--bg-alt); border-radius: 8px; padding: 14px; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.design-thumb img { max-width: 100%; max-height: 100%; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.design-name { font-weight: 600; font-size: .9375rem; margin-top: 10px; }
.design-meta { color: var(--text-muted); font-size: .8125rem; margin-top: 2px; }
@media (max-width: 800px) {
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .design-thumb { padding: 10px; }
}

/* Category links at the foot of shop pages */
.shop-cats { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--border); }
.shop-cats h2 { font-size: 1rem; margin-bottom: 12px; }
.shop-cats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 24px; }
.shop-cats a { color: var(--text-muted); font-size: .9375rem; }
.shop-cats a:hover { color: var(--text); }

/* Hover preview beside a card (js/shop-preview.js) */
.shop-preview { position: fixed; left: 0; top: 0; z-index: 900; width: min(440px, 36vw); padding: 14px 14px 12px; border-radius: 14px; background: var(--bg); color: var(--text); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .35), 0 0 0 1px var(--border); pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .16s ease, visibility 0s linear .16s; }
.shop-preview.on { opacity: 1; visibility: visible; transition: opacity .16s ease; }
.sp-frame { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 18px; border-radius: 10px; background: var(--bg-alt); }
.sp-frame img { max-width: 100%; max-height: 100%; box-shadow: 0 4px 18px rgba(0, 0, 0, .16); }
.sp-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .875rem; font-weight: 600; }
.sp-count { color: var(--text-muted); font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .shop-preview, .shop-preview.on { transition: none; } }

/* Suite cards (inc/shop-suite-card.php): on the shop three to a row, nine of them, and all of them on /shop/suites */
.suite-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 64px; }
.suites-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.suites-more { flex: none; color: var(--text); font-size: .9375rem; font-weight: 600; }
.suites-more:hover { text-decoration: underline; }
.suite-card { display: block; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; color: var(--text); background: var(--bg); transition: border-color .15s ease; }
.suite-card:hover { border-color: var(--text); }
.suite-fan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px; background: var(--bg-alt); aspect-ratio: 3 / 2; align-items: center; }
.suite-fan img { width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.suite-body { padding: 14px 16px 16px; }
.suite-name { font-weight: 600; font-size: 1.0625rem; }
.suite-meta { color: var(--text-muted); font-size: .875rem; margin-top: 3px; }
.suite-site { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--text); font-size: .75rem; font-weight: 600; }
.suite-colors { margin-top: 12px; }
@media (max-width: 1000px) { .suite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .suite-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
