/* Low-specificity structural fallback. The active theme owns visual design. */
:where(.th-product-grid__items, .th-category-grid__items) { display:grid; grid-template-columns:repeat(var(--th-columns, 4), minmax(0, 1fr)); gap:24px; padding:0; margin:24px 0 0; list-style:none; }
:where(.th-product-card, .th-category-card) { min-width:0; }
:where(.th-product-card__image) { position:relative; display:block; }
:where(.th-product-card__image img, .th-category-card img) { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; }
:where(.th-product-card__title) { font-size:1rem; font-weight:400; line-height:1.6; margin:14px 0 7px; }
:where(.th-product-card a, .th-category-card a) { color:inherit; text-decoration:none; }
:where(.th-product-card__sale) { position:absolute; top:12px; right:12px; padding:4px 10px; border-radius:20px; background:#242833; color:white; font-size:.75rem; }
:where(.th-product-card__price, .th-product-card__stock) { font-size:.9rem; }
:where(.th-product-card__price del) { opacity:.6; margin-inline-end:.4em; }
:where(.th-product-card__price ins) { text-decoration:none; }
:where(.th-category-card__name) { display:block; text-align:center; margin-top:12px; }
:where(.th-category-grid.is-intentions img) { border-radius:50%; }
:where(.th-grid-title) { text-align:center; }
:where(.th-block-notice, .th-grid-empty) { padding:20px; border:1px dashed #c8c8c8; }
:where(.th-shop-actions) { display:flex; align-items:center; justify-content:flex-end; gap:20px; position:relative; }
:where(.th-shop-actions a, .th-shop-actions summary) { display:flex; align-items:center; justify-content:center; min-width:36px; min-height:44px; color:inherit; cursor:pointer; text-decoration:none; list-style:none; }
:where(.th-shop-actions summary::-webkit-details-marker) { display:none; }
:where(.th-shop-actions .screen-reader-text) { clip-path:inset(50%); height:1px; width:1px; overflow:hidden; position:absolute; white-space:nowrap; }
:where(.th-cart-link) { position:relative; gap:4px; }
:where(.th-cart-count) { font-size:.75rem; }
:where(.th-shop-search__form) { position:absolute; inset-inline-end:0; top:calc(100% + 10px); z-index:100; display:flex; width:min(360px, calc(100vw - 32px)); padding:15px; gap:8px; background:white; color:#242833; border:1px solid #ddd; box-shadow:0 12px 30px #0001; }
:where(.th-shop-search__form input[type=search]) { flex:1; min-width:0; padding:10px; border:1px solid #aaa; font:inherit; font-size:1rem; }
:where(.th-shop-search__form button) { background:#242833; color:#fff; border:0; padding:10px 14px; cursor:pointer; font:inherit; }
:where(.th-shop-actions a:focus-visible, .th-shop-actions summary:focus-visible, .th-product-card a:focus-visible, .th-category-card a:focus-visible) { outline:2px solid currentColor; outline-offset:4px; }
:where(.th-catalog-filters) { clear:both; margin:24px 0; }
:where(.th-catalog-filters fieldset) { margin:0; padding:20px; border:1px solid #dedbd6; border-radius:4px; }
:where(.th-catalog-filters legend) { padding:0 8px; font-weight:500; }
:where(.th-catalog-filters__fields) { display:flex; flex-wrap:wrap; align-items:flex-end; gap:16px; }
:where(.th-catalog-filters__field) { display:flex; flex:1 1 160px; flex-direction:column; gap:6px; }
:where(.th-catalog-filters__field:first-child) { flex-basis:240px; }
:where(.th-catalog-filters label) { font-size:.85rem; }
:where(.th-catalog-filters select, .th-catalog-filters input) { box-sizing:border-box; width:100%; min-height:44px; padding:10px; font:inherit; font-size:1rem; background:#fff; color:#242833; border:1px solid #b6b4b0; border-radius:2px; }
:where(.th-catalog-filters button) { min-height:44px; padding:10px 20px; border:1px solid #242833; background:#242833; color:white; font:inherit; cursor:pointer; }
:where(.th-catalog-filters__clear) { display:inline-flex; align-items:center; min-height:44px; color:inherit; text-underline-offset:3px; }
:where(.th-catalog-filters__error) { color:#9f2828; font-size:.9rem; margin:0 0 16px; }
:where(.th-catalog-filters :is(input, select, button, a):focus-visible) { outline:2px solid currentColor; outline-offset:3px; }
@media (max-width: 989px) {
	:where(.th-product-grid__items, .th-category-grid__items) { grid-template-columns:repeat(min(var(--th-columns, 4), 3), minmax(0, 1fr)); gap:18px; }
}
@media (max-width: 599px) {
	:where(.th-product-grid__items, .th-category-grid__items) { grid-template-columns:repeat(min(var(--th-columns, 4), 2), minmax(0, 1fr)); gap:16px; }
	:where(.th-shop-actions) { gap:8px; }
	:where(.th-product-card__title) { font-size:.9rem; }
}
