/* Catalog only. Overrides legacy fixed product heights/absolute controls without
   altering the parent theme, Additional CSS, checkout or product information. */
body.wayland-catalog #page, body.wayland-catalog #content, body.wayland-catalog #primary { min-width: 0; }
body.wayland-catalog #page .hero_banner.shop { padding: clamp(40px, 6vw, 88px) 24px !important; margin: 0; }
body.wayland-catalog #page .hero_banner h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.15; margin: 0; }
body.wayland-catalog #page .woocommerce { box-sizing: border-box; width: 100%; max-width: 1248px; margin: 0 auto; padding: 28px 24px 56px; }
body.wayland-catalog #page .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 24px; padding: 0; margin: 24px 0 36px !important; width: 100%; }
body.wayland-catalog #page .woocommerce ul.products::before, body.wayland-catalog #page .woocommerce ul.products::after { display: none !important; content: none; }
body.wayland-catalog #page .woocommerce ul.products li.product { position: relative; display: flex; flex-direction: column; float: none !important; clear: none !important; width: auto !important; height: auto !important; min-height: 0; min-width: 0; margin: 0 !important; padding: 0 !important; border: 1px solid #39352d; border-radius: 12px; background: #151412; overflow: hidden; box-sizing: border-box; }
body.wayland-catalog #page .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex: 1 1 auto; flex-direction: column; gap: 0; min-width: 0; padding: 0; margin: 0; color: #f5f2e9; text-decoration: none; box-shadow: none; }
body.wayland-catalog #page .woocommerce ul.products li.product img { display: block; float: none !important; width: 100% !important; max-width: 100%; height: auto !important; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 0; margin: 0 !important; }
body.wayland-catalog #page .woocommerce ul.products .wps-card-copy { display: flex; flex: 1 1 auto; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; }
body.wayland-catalog #page .woocommerce ul.products .list-div { display: contents !important; padding: 0 !important; }
body.wayland-catalog #page .woocommerce ul.products h2.woocommerce-loop-product__title { position: static; order: 0; font-family: 'Lato', Arial, sans-serif; color: #f5f2e9; font-size: 21px !important; font-weight: 700 !important; line-height: 1.35; letter-spacing: 0; text-transform: none; padding: 0 !important; margin: 0 !important; overflow-wrap: anywhere; }
body.wayland-catalog #page .woocommerce ul.products .custom-short-description { order: 1; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; color: #c8c4ba; opacity: 1; font: 400 15px/1.55 'Lato', Arial, sans-serif; padding: 0; margin: 0; }
body.wayland-catalog #page .woocommerce ul.products .custom-short-description p { font: inherit; color: inherit; margin: 0; }
body.wayland-catalog #page .woocommerce ul.products .price { position: static; order: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: auto 0 0 !important; padding: 4px 0 0 !important; color: #ffbf32; font: 700 20px/1.4 'Lato', Arial, sans-serif; }
body.wayland-catalog #page .woocommerce ul.products .price bdi, body.wayland-catalog #page .woocommerce ul.products .price ins { color: #ffbf32; font: inherit; text-decoration: none; background: none; }
body.wayland-catalog #page .woocommerce ul.products .price del, body.wayland-catalog #page .woocommerce ul.products .price del bdi { color: #aba69e !important; font: 400 16px/1.4 'Lato', Arial, sans-serif; text-decoration: line-through; opacity: 1; }
body.wayland-catalog #page .woocommerce ul.products .wps-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding: 0 20px 20px; }
body.wayland-catalog #page .woocommerce ul.products .btns, body.wayland-catalog #page .woocommerce ul.products .select-btns { display: contents !important; position: static !important; padding: 0 !important; margin: 0 !important; }
body.wayland-catalog #page .woocommerce ul.products li.product .button, body.wayland-catalog #page .woocommerce ul.products li.product a.custom-product-button { position: relative !important; inset: auto !important; float: none !important; flex: 1 1 120px; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; height: auto; width: auto; max-width: 100%; box-sizing: border-box; padding: 10px 12px !important; margin: 0 !important; border-radius: 8px; border: 1px solid #ffbf32; background: #ffbf32; color: #19150d; font: 700 14px/1.4 'Lato', Arial, sans-serif; text-align: center; text-decoration: none !important; letter-spacing: 0; white-space: normal; box-shadow: none; }
body.wayland-catalog #page .woocommerce ul.products li.product a.custom-product-button { color: #e7ded0; background: transparent; border-color: #6b6252; }
body.wayland-catalog #page .woocommerce ul.products li.product .button::before, body.wayland-catalog #page .woocommerce ul.products li.product .custom-product-button::before { display: none !important; content: none !important; }
body.wayland-catalog #page .woocommerce ul.products .added_to_cart { position: static !important; inset: auto !important; flex: 1 1 100%; color: #ffbf32; padding: 0 !important; margin: 0 !important; font: 600 14px/1.5 'Lato', Arial, sans-serif; }
body.wayland-catalog #page .woocommerce ul.products li.product .onsale { position: absolute; display: block; top: 12px; left: 12px; right: auto; margin: 0; padding: 6px 10px; min-height: 0; min-width: 0; border-radius: 6px; font: 700 12px/1.4 'Lato', Arial, sans-serif; color: #19150d; background: #ffbf32; z-index: 1; }
/* Legacy list-view wrappers remain supported; controls stay in normal flow. */
body.wayland-catalog #page .woocommerce ul.products.list-view { grid-template-columns: minmax(0, 1fr); }
body.wayland-catalog #page .woocommerce ul.products.list-view li.product > a.woocommerce-LoopProduct-link { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: start; }
body.wayland-catalog #page .woocommerce ul.products.list-view .wps-card-copy { height: 100%; box-sizing: border-box; }
body.wayland-catalog #page .woocommerce ul.products.list-view .wps-card-actions { padding-left: 220px; }
body.wayland-catalog #page .show-products { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 20px; }
body.wayland-catalog #page .products-per-page-form, body.wayland-catalog #page .woocommerce-ordering { position: static; float: none; flex: 1 1 220px; width: auto; min-width: 0; order: 0; margin: 0 !important; }
body.wayland-catalog #page .products-per-page-form::after, body.wayland-catalog #page .woocommerce-ordering::after { display: none !important; content: none !important; }
body.wayland-catalog #page .products-per-page-form select, body.wayland-catalog #page .woocommerce-ordering select { width: 100%; max-width: 100%; height: 46px; padding: 8px 36px 8px 12px; color: #eee; font: 400 15px/1.4 'Lato', Arial, sans-serif; background-color: #1b1916; background-position: right 12px center; background-size: 10px; border: 1px solid #6b6252; border-radius: 8px; }
body.wayland-catalog #page .view-switcher { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; margin: 0 !important; }
body.wayland-catalog #page .view-switcher a { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 64px; height: 44px; padding: 8px 12px; font: 600 14px/1.4 'Lato', Arial, sans-serif; color: #e7ded0; border: 1px solid #6b6252; border-radius: 8px; background: #1b1916; text-indent: 0; overflow: visible; }
body.wayland-catalog #page .view-switcher a::before { display: none !important; content: none !important; }
body.wayland-catalog #page .view-switcher a[aria-pressed="true"] { color: #19150d; background: #ffbf32; border-color: #ffbf32; }
body.wayland-catalog #page .woocommerce-result-count { display: block; color: #c8c4ba; font: 400 14px/1.5 'Lato', Arial, sans-serif; margin: 16px 0; }
body.wayland-catalog #page .wps-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
body.wayland-catalog #page .wps-categories a { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; padding: 8px 16px; color: #f5f2e9; font: 600 15px/1.4 'Lato', Arial, sans-serif; border: 1px solid #6b6252; border-radius: 999px; text-decoration: none; }
body.wayland-catalog #page .wps-categories img { display: none; }
body.wayland-catalog #page .wps-categories h2, body.wayland-catalog #page .wps-categories mark { margin: 0; padding: 0; color: inherit !important; font: inherit !important; text-decoration: none !important; background: none; }
body.wayland-catalog #page a:focus-visible, body.wayland-catalog #page select:focus-visible { outline: 3px solid #ffbf32; outline-offset: 3px; }
body.wayland-catalog #page .woocommerce-pagination { display: block !important; margin-top: 28px; }
body.wayland-catalog #page .woocommerce-pagination a, body.wayland-catalog #page .woocommerce-pagination span { color: #eee; min-width: 44px; padding: 10px; }
@media (max-width: 1000px) {
 body.wayland-catalog #page .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
 body.wayland-catalog #page .woocommerce { padding: 20px 16px 40px; }
 body.wayland-catalog #page .woocommerce ul.products { grid-template-columns: minmax(0, 1fr); gap: 20px; }
 body.wayland-catalog #page .woocommerce ul.products li.product img { max-height: 300px; }
 body.wayland-catalog #page .woocommerce ul.products.list-view li.product > a.woocommerce-LoopProduct-link { display: flex; }
 body.wayland-catalog #page .woocommerce ul.products.list-view .wps-card-actions { padding-left: 20px; }
 body.wayland-catalog #page .show-products { gap: 10px; }
 body.wayland-catalog #page .products-per-page-form, body.wayland-catalog #page .woocommerce-ordering { flex-basis: 100%; }
 body.wayland-catalog #page .view-switcher { flex-basis: 100%; }
}

/* Consistent high-contrast pagination, including WooCommerce's current span. */
body.wayland-catalog #page .woocommerce nav.woocommerce-pagination { display: block !important; margin: 32px 0 12px; text-align: center; }
body.wayland-catalog #page .woocommerce nav.woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; border: 0; background: transparent; }
body.wayland-catalog #page .woocommerce nav.woocommerce-pagination ul.page-numbers li { float: none; display: block; border: 0; margin: 0; padding: 0; overflow: visible; }
body.wayland-catalog #page .woocommerce nav.woocommerce-pagination ul.page-numbers li a,
body.wayland-catalog #page .woocommerce nav.woocommerce-pagination ul.page-numbers li span { display: inline-flex; justify-content: center; align-items: center; box-sizing: border-box; min-width: 44px; min-height: 44px; width: auto; padding: 10px 14px; margin: 0; border: 1px solid #6b6252; border-radius: 8px; background: #1b1916; color: #f5f2e9; font: 600 16px/1.4 'Lato', Arial, sans-serif; text-decoration: none; box-shadow: none; }
body.wayland-catalog #page .woocommerce nav.woocommerce-pagination ul.page-numbers li span.current { background: #ffbf32; color: #19150d; border-color: #ffbf32; }
body.wayland-catalog #page .woocommerce nav.woocommerce-pagination ul.page-numbers li a:hover { background: #332a17; color: #ffcf65; border-color: #ffbf32; }
body.wayland-catalog #page .woocommerce nav.woocommerce-pagination ul.page-numbers li a:focus-visible { outline: 3px solid #ffbf32; outline-offset: 3px; }

/* Compact catalog toolbar and genuinely distinct phone Grid/List layouts. */
body.wayland-catalog #page .products-per-page-form { display: none !important; }
body.wayland-catalog #page .show-products { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0 0 12px; }
body.wayland-catalog #page .woocommerce-ordering { width: 100%; margin: 0 !important; }
body.wayland-catalog #page .woocommerce-ordering select { height: 44px; font-size: 14px; }
body.wayland-catalog #page .view-switcher { gap: 6px; }
body.wayland-catalog #page .view-switcher a { min-width: 50px; padding: 8px 10px; }
body.wayland-catalog #page .wps-categories { gap: 8px; margin-bottom: 16px; }
body.wayland-catalog #page .wps-categories a { padding: 7px 12px; font-size: 14px; }
body.wayland-catalog #page .woocommerce-result-count { margin: 8px 0 16px; font-size: 13px; }
@media (max-width: 600px) {
 body.wayland-catalog #page .show-products { gap: 8px; }
 body.wayland-catalog #page .woocommerce ul.products { gap: 12px; margin-top: 16px !important; }
 body.wayland-catalog #page .woocommerce ul.products .wps-card-copy { padding: 12px; gap: 10px; }
 body.wayland-catalog #page .woocommerce ul.products h2.woocommerce-loop-product__title { font-size: 16px !important; line-height: 1.35; }
 body.wayland-catalog #page .woocommerce ul.products .custom-short-description { display: none !important; }
 body.wayland-catalog #page .woocommerce ul.products .price { font-size: 18px; }
 body.wayland-catalog #page .woocommerce ul.products .wps-card-actions { padding: 0 12px 12px; gap: 8px; }
 body.wayland-catalog #page .woocommerce ul.products li.product img { max-height: 240px; }
 body.wayland-catalog #page .woocommerce ul.products.list-view li.product > a.woocommerce-LoopProduct-link { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px; }
 body.wayland-catalog #page .woocommerce ul.products.list-view li.product img { width: 96px !important; height: 96px !important; max-height: 96px; border-radius: 6px; }
 body.wayland-catalog #page .woocommerce ul.products.list-view .wps-card-copy { padding: 0; height: auto; }
 body.wayland-catalog #page .woocommerce ul.products.list-view .wps-card-actions { padding-left: 12px; }
}
@media (min-width: 360px) and (max-width: 600px) {
 body.wayland-catalog #page .woocommerce ul.products:not(.list-view) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Explicit cells defeat legacy order/flex styles on the catalog toolbar. */
body.wayland-catalog #page .show-products { display: grid !important; grid-template-columns: minmax(0, 1fr) max-content; grid-auto-flow: row; align-items: center; gap: 8px; }
body.wayland-catalog #page .show-products > .woocommerce-ordering { grid-column: 1; grid-row: 1; order: 0 !important; float: none !important; width: 100% !important; min-width: 0; max-width: none; margin: 0 !important; }
body.wayland-catalog #page .show-products > .view-switcher { grid-column: 2; grid-row: 1; order: 0 !important; display: flex; flex-wrap: nowrap; width: auto !important; min-width: 0; margin: 0 !important; }
body.wayland-catalog #page .show-products .woocommerce-ordering select { min-width: 0; width: 100%; box-sizing: border-box; padding-left: 10px; padding-right: 25px; font-size: 13px; text-overflow: ellipsis; }
body.wayland-catalog #page .wps-categories { display: flex; flex-wrap: nowrap; gap: 7px; overflow-x: auto; max-width: 100%; padding: 3px 3px 8px; margin-bottom: 12px; -webkit-overflow-scrolling: touch; }
body.wayland-catalog #page .wps-categories a { flex: 0 0 auto; white-space: nowrap; min-height: 40px; padding: 6px 10px; font-size: 12px; box-sizing: border-box; }
@media (max-width: 600px) {
 body.wayland-catalog #page .show-products .view-switcher a { min-width: 42px; padding: 8px; font-size: 13px; }
}
