/* Cozy Sewn product grid. Colors: sage #5F6B53, blush #F8E5DF, rose #A64B43, charcoal #2F2E2B. */
.csp-wrap { width: 100%; }
.csp-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.csp-label { width: 100%; margin: 0 0 8px; padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6B6460; }
.csp-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.csp-filter { font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; color: #5F6B53; background: transparent; border: 1px solid #5F6B53; border-radius: 3px; padding: 10px 18px; cursor: pointer; transition: background .2s, color .2s; }
.csp-filter:hover, .csp-filter.is-active { background: #5F6B53; color: #fff; }
.csp-filter:focus-visible, .csp-sort select:focus-visible, .csp-btn:focus-visible { outline: 2px solid #A64B43; outline-offset: 2px; }
.csp-tools { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.csp-count { margin: 0; padding: 0; font-size: 14px; color: #6B6460; }
.csp-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6B6460; }
.csp-sort select { font-family: inherit; font-size: 14px; color: #2F2E2B; border: 1px solid #E2DACE; border-radius: 3px; background: #fff; padding: 8px 10px; }

.csp-grid { display: grid; gap: 32px 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.csp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.csp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.csp-cols-1 { grid-template-columns: minmax(0, 1fr); }
.csp-card { display: flex; flex-direction: column; height: 100%; }
.csp-card[hidden] { display: none; }
.csp-img { margin-bottom: 16px; }
.csp-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.csp-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.csp-body h3 { font-family: inherit !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.3; color: #2F2E2B; margin: 0; padding: 0 0 2px; }
.csp-body .cs-desc { font-size: 14px; line-height: 1.5; margin: 0; padding: 0 0 6px; }
.csp-body .cs-price { font-weight: 600; color: #2F2E2B; margin: 0; padding: 0 0 12px; }
.csp-soldout { font-size: 14px; margin: 0; padding: 0 0 10px; }
.csp-btn { margin-top: auto; display: inline-block; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; color: #5F6B53; border: 1px solid #5F6B53; border-radius: 3px; padding: 9px 16px; text-decoration: none; transition: background .2s, color .2s; }
.csp-btn:hover { background: #5F6B53; color: #fff; }
.csp-btn-solid { background: #5F6B53; color: #fff; }
.csp-btn-solid:hover { background: #4E5944; }
.csp-empty { background: #F8E5DF; border-radius: 6px; padding: 28px; text-align: center; }
.csp-empty[hidden] { display: none; }
.csp-empty p { margin: 0 0 14px; padding: 0; }

@media (max-width: 980px) {
	.csp-grid, .csp-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.csp-tools { margin-left: 0; width: 100%; justify-content: space-between; }
}
@media (max-width: 479px) {
	.csp-grid, .csp-cols-3, .csp-cols-2 { grid-template-columns: minmax(0, 1fr); }
}
