/* VL_LISTING_LOOK_20261116 — pages that list products, plus the product page title. Header, homepage, product page layout and checkout are unchanged. */
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) {
  --vl-fg: #12161c; --vl-muted: #5d6674; --vl-line: #e2e5ea; --vl-surface: #f4f5f7;
  --vl-accent: #c63c32; --vl-r: 6px;
}

/* Heading and breadcrumb */
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main h1, :is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .h1 { text-transform: none; letter-spacing: -.01em; font-weight: 600; line-height: 1.15; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .breadcrumb { background: none; padding-left: 0; font-size: 13px; color: var(--vl-muted); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .breadcrumb a { color: var(--vl-muted); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .breadcrumb a:hover { color: var(--vl-fg); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .block-category { box-shadow: none; background: transparent; padding-left: 0; padding-right: 0; min-height: 0; margin-bottom: 16px; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .block-category #category-description { color: var(--vl-muted); max-width: 72ch; }

/* Subcategories: rounded buttons instead of boxed tiles */
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #subcategories { border: 0; padding: 0; margin-bottom: 24px; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #subcategories .subcategory-heading { font-family: inherit !important; font-size: 12px !important; text-transform: uppercase !important; letter-spacing: .07em; color: var(--vl-muted); font-weight: 600; margin-bottom: 12px; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #subcategories ul.subcategories-list { display: flex; flex-wrap: wrap; justify-content: flex-start !important; gap: 8px; margin: 0; padding: 0; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #subcategories ul.subcategories-list li { width: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; float: none; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #subcategories ul.subcategories-list h3, :is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #subcategories ul.subcategories-list h5 { margin: 0; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #subcategories ul.subcategories-list .subcategory-name { display: inline-block; border: 1px solid var(--vl-line); border-radius: 999px; padding: 7px 16px; background: #fff; color: var(--vl-fg);
  font-family: Roboto, "VL Roboto Fallback", Arial, sans-serif !important; font-size: 14px !important; font-weight: 500; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.4 !important; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #subcategories .subcategory-name:hover { border-color: var(--vl-fg); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #subcategories .subcategory-image { display: none; }

/* Filters: no boxes, small grey group titles, a line between groups */
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #search_filters, :is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #search_filter_controls, :is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .block-categories { box-shadow: none; background: transparent; padding-left: 0; padding-right: 0; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #search_filters .facet { border-bottom: 1px solid var(--vl-line); padding-bottom: 18px; margin-bottom: 18px; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #search_filters .facet .facet-title { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--vl-muted); font-weight: 600; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #search_filters .facet .facet-label a { color: var(--vl-fg); font-size: 14px; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #search_filters .facet .facet-label .magnitude { color: var(--vl-muted); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .active_filters { background: transparent; padding: 0; margin-bottom: 16px; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .active_filters .filter-block { background: var(--vl-surface); border-radius: 999px; box-shadow: none; padding: 5px 12px; font-size: 13px; }

/* Sort row */
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .products-selection .total-products, :is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .products-selection p { color: var(--vl-muted); font-size: 14px; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .products-sort-order .select-title { border: 1px solid var(--vl-line); border-radius: var(--vl-r); box-shadow: none; background: #fff; }

/* Product cards: no border or shadow, photo on light grey, brand above the name, sale price first */
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .thumbnail-container { box-shadow: none !important; border: 0 !important; background: transparent; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .thumbnail-top { background: var(--vl-surface); border-radius: var(--vl-r); overflow: hidden; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .product-thumbnail img { mix-blend-mode: multiply; transition: transform .3s ease; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature:hover .product-thumbnail img { transform: scale(1.04); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .highlighted-informations { display: none; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .product-description { background: transparent; box-shadow: none; padding: 12px 2px 0; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .vl-card-brand { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--vl-muted); font-weight: 500; margin-bottom: 2px; text-align: left; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .product-title { text-transform: none !important; font-family: inherit !important; font-size: 14px !important; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-align: left !important; margin-bottom: 6px; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .product-title a { color: var(--vl-fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; text-align: left !important; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .product-price-and-shipping { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 4px 8px; text-align: left !important; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .price { order: 1; font-size: 16px; font-weight: 700; color: var(--vl-fg); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .regular-price { order: 2; font-size: 13px; color: var(--vl-muted); text-decoration: line-through; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .discount-product { order: 3; font-size: 12px; font-weight: 700; color: var(--vl-accent); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature:has(.regular-price) .price { color: var(--vl-accent); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .product-flags li.product-flag { border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 7px; box-shadow: none; min-height: 0; text-transform: uppercase; }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .product-flags li.product-flag.new { background: #fff; color: var(--vl-fg); }
:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .product-flags li.product-flag.discount, :is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) .product-flags li.product-flag.on-sale { background: var(--vl-accent); color: #fff; }

/* Phone filters: full-screen panel, "Rodyti prekes" stays at the bottom */
@media (max-width: 767px) {
  :is(:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product), body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product).vl-filters-open #search_filters_wrapper:not(.hidden-sm-down) { position: fixed; inset: 0; z-index: 1000; background: #fff; overflow-y: auto; display: flex; flex-direction: column;
    padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)) !important; margin: 0 !important; width: auto !important; }
  :is(:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product), body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product).vl-filters-open #search_filters_wrapper #search_filters { order: 1; flex: 1 0 auto; padding-bottom: 16px; }
  :is(:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product), body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product).vl-filters-open #search_filter_controls { order: 2; position: sticky; bottom: 0; display: flex !important; gap: 8px; margin: 0 -16px !important; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important; background: #fff; border-top: 1px solid var(--vl-line); }
  :is(:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product), body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product).vl-filters-open #search_filter_controls .ok { flex: 1; height: 48px; background: var(--vl-accent); border-color: var(--vl-accent); color: #fff; border-radius: var(--vl-r); }
  :is(:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product), body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product).vl-filters-open #search_filter_controls .ok .material-icons { display: none; }
  :is(:is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product), body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product).vl-filters-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { :is(body#category, body#search, body#manufacturer, body#supplier, body#new-products, body#prices-drop, body#best-sales, body#product) #main .product-miniature .product-thumbnail img { transition: none; } }
