.wcat { --wcat-accent: #246557; --wcat-ink: #243332; --wcat-muted: #64716f; --wcat-line: #dce5e1; --wcat-paper: #f5f8f6; color: var(--wcat-ink); font-family: inherit; line-height: 1.7; width: 100%; margin: 1.5rem 0; }
.wcat *, .wcat *::before, .wcat *::after { box-sizing: border-box; }
.wcat a { color: var(--wcat-accent); text-decoration: none; }
.wcat a:hover { text-decoration: underline; }
.wcat a:focus-visible, .wcat button:focus-visible, .wcat input:focus-visible, .wcat select:focus-visible { outline: 3px solid #d79938; outline-offset: 3px; }
.wcat .wcat-filters { padding: 24px; background: var(--wcat-paper); border: 1px solid var(--wcat-line); border-radius: 12px; margin: 0 0 24px; }
.wcat .wcat-filters label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; min-width: 0; margin: 0; }
.wcat .wcat-filters input, .wcat .wcat-filters select { display: block; width: 100%; min-width: 0; max-width: 100%; height: 44px; padding: 8px 10px; border: 1px solid #b7c7c0; border-radius: 5px; background-color: #fff; color: var(--wcat-ink); font: inherit; font-size: 14px; line-height: 1.3; margin: 0; box-shadow: none; }
.wcat .wcat-search-row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.wcat .wcat-range-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.wcat .wcat-actions { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.wcat .wcat-actions label { min-width: 180px; margin-right: auto; }
.wcat .wcat-button { min-height: 44px; padding: 10px 24px; border: 0; border-radius: 5px; background: var(--wcat-accent); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; width: auto; box-shadow: none; margin: 0; }
.wcat .wcat-button:hover { background: #194a40; }
.wcat .wcat-reset { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.wcat .wcat-result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--wcat-muted); margin: 20px 0; }
.wcat .wcat-count { margin: 0; }
.wcat .wcat-count strong { color: var(--wcat-ink); font-size: 24px; margin-right: 5px; }
.wcat .wcat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wcat .wcat-card { display: flex; flex-direction: column; border: 1px solid var(--wcat-line); border-radius: 10px; overflow: hidden; background: #fff; margin: 0; padding: 0; min-width: 0; box-shadow: 0 3px 10px #24333208; }
.wcat .wcat-card:hover { border-color: #9db5a9; }
.wcat .wcat-cover { display: block; }
.wcat .wcat-media { display: block; position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #eaf0ec; }
.wcat .wcat-no-image { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; padding: 15px; color: #657970; font-size: 13px; background: linear-gradient(135deg, #edf2ef, #dfe9e2); }
.wcat .wcat-media img { position: relative; display: block; height: 100%; width: 100%; max-width: 100%; object-fit: cover; margin: 0; padding: 0; border: 0; }
.wcat .wcat-media img[hidden] { display: none; }
.wcat .wcat-card-body { display: flex; flex-direction: column; flex: 1; padding: 17px; gap: 12px; }
.wcat .wcat-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.wcat .wcat-tag { display: inline-block; padding: 2px 8px; background: #edf4ef; color: #375f4d; font-size: 11px; border-radius: 4px; line-height: 1.7; overflow-wrap: anywhere; }
.wcat .wcat-title { padding: 0; margin: 0; border: 0; background: none; box-shadow: none; font-size: 17px; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }
.wcat .wcat-title::before, .wcat .wcat-title::after { display: none; }
.wcat .wcat-title a { color: var(--wcat-ink); }
.wcat .wcat-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; margin-top: auto; font-size: 11px; color: var(--wcat-muted); }
.wcat .wcat-price { font-size: 15px; color: var(--wcat-accent); font-weight: 700; }
.wcat .wcat-pagination { margin: 34px 0; }
.wcat .wcat-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.wcat .wcat-pagination li { padding: 0; margin: 0; list-style: none; }
.wcat .wcat-pagination .page-numbers:not(ul) { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 6px 10px; border: 1px solid var(--wcat-line); border-radius: 5px; font-size: 13px; background: #fff; }
.wcat .wcat-pagination .current { background: var(--wcat-accent) !important; color: #fff; border-color: var(--wcat-accent) !important; }
.wcat .wcat-notice, .wcat .wcat-empty { padding: 28px; background: var(--wcat-paper); border: 1px solid var(--wcat-line); border-radius: 8px; }
.wcat .wcat-notice p { margin: 5px 0; }
.wcat .wcat-empty h2 { margin: 0 0 10px; padding: 0; border: none; background: none; font-size: 20px; }
.wcat .wcat-facts { display: flex; flex-wrap: wrap; gap: 24px; margin: 22px 0; padding: 18px 24px; background: var(--wcat-paper); border-radius: 8px; }
.wcat .wcat-facts div { flex: 1; min-width: 120px; }
.wcat .wcat-facts dt { font-size: 12px; color: var(--wcat-muted); margin: 0; }
.wcat .wcat-facts dd { font-size: 18px; font-weight: 700; margin: 4px 0 0; }
.wcat .wcat-description { overflow-wrap: anywhere; margin-bottom: 25px; }
.wcat .wcat-gallery { display: grid; grid-template-columns: 1fr; gap: 18px; }
.wcat .wcat-gallery .wcat-media { border-radius: 8px; aspect-ratio: auto; max-width: var(--wcat-detail-image-width, 800px); margin-inline: auto; }
.wcat .wcat-gallery img { object-fit: contain; height: auto; background: #edf2ef; }
.wcat .wcat-gallery .wcat-image-empty, .wcat .wcat-gallery .wcat-image-failed { min-height: 220px; }
.wcat .wcat-back { display: inline-block; margin-top: 28px; }
@media (max-width: 1023px) { .wcat .wcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wcat .wcat-range-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .wcat .wcat-filters { padding: 17px; } .wcat .wcat-grid, .wcat .wcat-search-row { grid-template-columns: minmax(0, 1fr); } .wcat .wcat-grid { gap: 20px; } .wcat .wcat-range-row { gap: 12px; } .wcat .wcat-actions { gap: 12px; } .wcat .wcat-actions label { width: 100%; min-width: 0; } .wcat .wcat-button { flex: 1; padding-left: 12px; padding-right: 12px; } .wcat .wcat-filters input { font-size: 16px; } }
