/* Category filters: drawer on every screen size. */
html.vw-filter-open, html.vw-filter-open body { overflow: hidden; }
#product-category .vw-catalog-filter-layout { display: block; }
#product-category .vw-catalog-filter-content { width: 100%; min-width: 0; }
#product-category:has(.vw-catalog-filter-layout) #content > h1 { width: 100%; margin-left: 0; }
#product-category .vw-mobile-filter-trigger { position: relative; inset: auto; z-index: auto; display: inline-flex; align-items: center; justify-content: center; width: auto; height: 44px; max-height: none; gap: 10px; margin: 0 0 18px; padding: 10px 18px; border: 1px solid #d8d0c0; border-radius: 4px; color: #193a30; background: #fff; font: 600 15px/1.2 Arial, sans-serif; writing-mode: horizontal-tb; transform: none; visibility: visible; }
#product-category .vw-mobile-filter-trigger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
#product-category .vw-catalog-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10020; width: min(340px, calc(100vw - 40px)); padding: 68px 16px 24px; overflow-x: hidden; overflow-y: auto; background: #fff; border: 0; box-shadow: 8px 0 30px #0002; transform: translateX(-110%); visibility: hidden; transition: transform .22s ease, visibility .22s ease; }
html.vw-filter-open #product-category .vw-catalog-sidebar { transform: translateX(0); visibility: visible; }
#product-category .vw-catalog-sidebar__close { position: absolute; inset: 16px 16px auto auto; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 4px; color: #193a30; background: #f4f0e6; font: 28px/1 Arial, sans-serif; opacity: 1; pointer-events: auto; }
#product-category .vw-catalog-filter-backdrop { position: fixed; inset: 0; z-index: 10010; display: block; background: #0006; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
html.vw-filter-open #product-category .vw-catalog-filter-backdrop { visibility: visible; opacity: 1; pointer-events: auto; }
#product-category .vw-catalog-filters { margin: 0; border: 0; }
#product-category .vw-catalog-filters > h2 { display: block; padding: 0 0 16px; color: #193a30; background: transparent; text-align: left; font: 700 22px/1.2 Arial, sans-serif; }
@media (min-width: 992px) { body #product-category .vw-catalog-filter-content #product-list { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (prefers-reduced-motion: reduce) { #product-category .vw-catalog-sidebar, #product-category .vw-catalog-filter-backdrop { transition: none; } }

/* Compact category header and left-edge filter tab. */
#product-category > .breadcrumb { height: auto; min-height: 20px; margin: 8px 0 10px; padding: 0; font-family: Arial, Helvetica, sans-serif !important; font-weight: 400 !important; font-size: 13px; line-height: 20px; letter-spacing: 0; }
#product-category > .breadcrumb a { font-weight: 400; color: #34433f; }
#product-category > .breadcrumb li:last-child a { color: #68736f; }
#product-category #content > h1 { margin-top: 0; margin-bottom: 14px; }
#product-category:has(.vw-catalog-filter-layout) #content > h1 { margin: 0 0 14px; }
#product-category:has(.vw-catalog-filter-layout) #content > h1::after { margin-top: 6px; }
#product-category .vw-mobile-filter-trigger { position: fixed; inset: 42% auto auto 0; z-index: 9999; width: 40px; height: 112px; margin: 0; padding: 10px 6px; gap: 10px; border-left: 0; border-radius: 0 5px 5px 0; writing-mode: vertical-rl; transform: translateY(-50%); box-shadow: 2px 2px 8px #0001; }
html.vw-filter-open #product-category .vw-mobile-filter-trigger { visibility: hidden; }
#product-category .vw-catalog-filter-content > .row:first-child { display: flex; }
#product-category .vw-catalog-filter-content > .row:first-child .input-group { margin-bottom: 12px !important; }
@media (max-width: 767px) {
  #product-category > .breadcrumb { font-size: 12px; overflow-x: auto; }
  #product-category .vw-mobile-filter-trigger { width: 32px; height: 100px; padding: 8px 4px; font-size: 13px; }
  #product-category:has(.vw-catalog-filter-layout) #content > h1 { margin-bottom: 12px; }
}

#product-category .vw-category-description__details summary { font-family: Arial, Helvetica, sans-serif; font-weight: 400; font-size: 15px; line-height: 1.4; letter-spacing: 0; }

/* Align pagination controls with the result count. */
#product-category .vw-catalog-pagination { align-items: center; row-gap: 12px; }
#product-category .vw-catalog-pagination .pagination { margin-top: 0; margin-bottom: 0; }
#product-category .vw-catalog-pagination__results { line-height: 1.4; }

/* Center all category and sale page titles. */
#product-category #content > h1, #product-category #content > section > h1 { width: 100%; margin-left: 0; margin-right: 0; text-align: center; }
/* Shorts empty state disappears when the category has products. */
#product-category .vw-shorts-empty { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); max-width: 1160px; margin: 0 auto; padding: 8px 0 32px; }
.vw-shorts-empty__art img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.vw-shorts-empty__copy h2 { margin: 0 0 20px; color: #193a30; font: 400 clamp(30px, 3.2vw, 48px)/1.12 Georgia, serif; }
.vw-shorts-empty__copy p { margin: 0 0 26px; max-width: 470px; color: #34433c; font: 400 17px/1.65 Arial, sans-serif; }
.vw-shorts-empty__link { display: inline-flex; justify-content: space-between; align-items: center; gap: 36px; padding: 15px 22px; border: 1px solid #193a30; color: #193a30; text-decoration: none; font: 600 14px/1.2 Arial, sans-serif; }
.vw-shorts-empty__link:hover { color: #fff; background: #193a30; }
.vw-shorts-empty__link:focus-visible { outline: 2px solid #193a30; outline-offset: 4px; }
@media (max-width: 767px) { #product-category .vw-shorts-empty { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; } .vw-shorts-empty__art { max-width: 440px; margin: 0 auto; } .vw-shorts-empty__copy { text-align: center; } .vw-shorts-empty__copy p { margin-left: auto; margin-right: auto; font-size: 16px; } }
/* Keep fine black ink and punctuation readable on dark backgrounds. */
.vw-shorts-empty__art { padding: 12px; background: #f5f0e4; border-radius: 12px; color-scheme: light; }
@media (prefers-color-scheme: dark) { .vw-shorts-empty__art { background: #f5f0e4; } }
