/* Compact geometry and glass information areas. Themes inherit their published palettes. */
body.cards-experiment { --catalog-glass-brightness:.84; --catalog-info-height:128px; }
body.cards-experiment[data-theme="light"] { --catalog-glass-brightness:1; }
body.cards-experiment { --catalog-old-price-color:#dce2ed; }
body.cards-experiment[data-theme="light"] { --catalog-old-price-color:#596579; }

/* Catalog controls share themed surfaces and keep the native selects as a fallback. */
.cards-experiment .catalog-head { gap:16px; flex-wrap:nowrap; margin-top:0; padding:10px 12px; border:1px solid transparent; border-radius:16px; }
.catalog-head>.catalog-title-wrap { display:flex; flex-direction:column; justify-content:center; min-height:50px; min-width:0; }
.catalog-head>.catalog-title-wrap :is(h2,p) { line-height:1.3; }
.catalog-head[hidden] { display:none!important; }
#catalogTopAnchor { height:1px; margin-bottom:-1px; flex:none; pointer-events:none; }
.catalog-controls { display:flex; gap:10px; max-width:100%; }
.catalog-filter { position:relative; width:218px; min-width:0; }
.catalog-filter.is-open { z-index:36; }
.catalog-filter select { width:100%; min-height:58px; border:1px solid var(--border-medium); border-radius:14px; background:var(--bg-surface-elevated); color:var(--text-primary); padding:12px; font:600 13px var(--font-sans); color-scheme:dark; }
body[data-theme="light"] .catalog-filter select { color-scheme:light; }
.catalog-filter select[hidden],.catalog-filter-menu[hidden],.catalog-filter-summary[hidden],.catalog-back-top[hidden] { display:none!important; }
.catalog-filter-trigger {
    display:flex; align-items:center; gap:10px; width:100%; min-height:62px; padding:10px 12px;
    border:1px solid var(--border-medium); border-radius:14px; background:var(--bg-surface-elevated);
    color:var(--text-primary); text-align:left; cursor:pointer; font-family:var(--font-sans);
    box-shadow:0 3px 12px #0000000b; transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.catalog-filter-trigger:hover,.catalog-filter.is-open .catalog-filter-trigger { border-color:var(--accent-secondary); box-shadow:0 3px 16px #00000014; }
.catalog-controls button,.catalog-back-top,.catalog-filter-summary button { -webkit-tap-highlight-color:transparent; }
.catalog-filter-trigger:focus-visible,.catalog-back-top:focus-visible,.catalog-filter-summary button:focus-visible { outline:2px solid var(--accent-secondary); outline-offset:3px; }
.catalog-filter-icon { display:grid; place-items:center; width:32px; height:32px; flex:none; border-radius:10px; background:color-mix(in srgb,var(--accent-secondary) 9%,transparent); color:var(--accent-secondary); }
.catalog-filter-icon svg { width:19px; height:19px; }
.catalog-filter-text { display:flex; flex-direction:column; gap:3px; min-width:0; flex:1; }
.catalog-filter-caption { font-size:10px; line-height:1.2; font-weight:500; color:var(--text-secondary); }
.catalog-filter-text strong { font-size:12px; line-height:1.3; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.catalog-filter-trigger>svg { flex:none; width:16px; height:16px; color:var(--text-secondary); transition:transform .2s ease; }
.catalog-filter.is-open .catalog-filter-trigger>svg { transform:rotate(180deg); }
.catalog-filter.is-active .catalog-filter-icon { background:color-mix(in srgb,var(--accent-secondary) 17%,transparent); }
.catalog-filter-menu {
    position:absolute; z-index:36; right:0; top:calc(100% + 8px); width:304px; max-width:calc(100vw - 32px);
    overflow-y:auto; overscroll-behavior:contain; scrollbar-width:auto; scrollbar-color:auto; scrollbar-gutter:stable;
    --filter-scroll-track:color-mix(in srgb,var(--bg-surface-elevated) 60%,#000);
    --filter-scroll-thumb:#d5d9e2; --filter-scroll-hover:#fff;
    padding:6px; border:1px solid var(--border-medium);
    border-radius:16px; background:var(--bg-surface-elevated); color:var(--text-primary); box-shadow:0 16px 44px #00000040;
    animation:catalog-menu-in .16s ease-out;
}
/* Straight, high-contrast scrollbar; retain native dragging and wheel/touch scrolling. */
.catalog-filter-menu::-webkit-scrollbar { width:10px; }
.catalog-filter-menu::-webkit-scrollbar-track { background:var(--filter-scroll-track); border-radius:0; margin-block:12px; }
.catalog-filter-menu::-webkit-scrollbar-thumb { background:var(--filter-scroll-thumb); border:0; border-radius:0; min-height:36px; }
.catalog-filter-menu::-webkit-scrollbar-thumb:hover,.catalog-filter-menu::-webkit-scrollbar-thumb:active { background:var(--filter-scroll-hover); }
.catalog-filter-menu::-webkit-scrollbar-button { display:none; width:0; height:0; }
body[data-theme="light"] .catalog-filter-menu { --filter-scroll-track:#e0e5ec; --filter-scroll-thumb:#687487; --filter-scroll-hover:#435064; }
@supports not selector(::-webkit-scrollbar) {
    .catalog-filter-menu { scrollbar-width:thin; scrollbar-color:var(--filter-scroll-thumb) var(--filter-scroll-track); }
}
.catalog-filter.opens-above .catalog-filter-menu { top:auto; bottom:calc(100% + 8px); }
.catalog-filter-option { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:50px; border:0; border-radius:10px; padding:9px 10px; background:transparent; color:inherit; text-align:left; font-family:var(--font-sans); cursor:pointer; }
.catalog-filter-option>span { display:flex; flex-direction:column; gap:3px; }
.catalog-filter-option strong { font-size:12px; font-weight:600; line-height:1.3; }
.catalog-filter-option small { color:var(--text-secondary); font-size:10px; line-height:1.4; }
.catalog-filter-option>svg { flex:none; width:17px; height:17px; color:var(--accent-secondary); visibility:hidden; }
.catalog-filter-option[aria-selected="true"] { background:color-mix(in srgb,var(--accent-secondary) 12%,transparent); }
.catalog-filter-option[aria-selected="true"]>svg { visibility:visible; }
.catalog-filter-option:hover,.catalog-filter-option:focus-visible { background:color-mix(in srgb,var(--accent-secondary) 17%,transparent); outline:0; }
.catalog-filter-summary { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:0 0 12px; font:500 12px/1.4 var(--font-sans); color:var(--text-secondary); }
.catalog-filter-summary button { min-height:36px; display:flex; align-items:center; gap:10px; padding:6px 10px; border:1px solid var(--border-medium); border-radius:8px; background:var(--bg-surface-elevated); color:var(--text-primary); cursor:pointer; font:inherit; }
.catalog-filter-summary button span { font-size:18px; }
.catalog-back-top { position:fixed; right:max(20px,env(safe-area-inset-right)); bottom:calc(max(20px,env(safe-area-inset-bottom)) + 66px); z-index:80; display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:11px 15px; border:1px solid var(--border-medium); border-radius:24px; background:var(--bg-surface-elevated); color:var(--text-primary); box-shadow:0 6px 24px #00000035; font:600 12px/1.3 var(--font-sans); cursor:pointer; transition:border-color .2s ease,background-color .2s ease; animation:catalog-menu-in .2s ease-out; }
.catalog-back-top svg { width:19px; height:19px; color:var(--accent-secondary); }
.catalog-back-top:hover { border-color:var(--accent-secondary); }
body.checkout-open .catalog-back-top,body:has(dialog[open],.age-modal-overlay.open,.lightbox-overlay.open) .catalog-back-top { visibility:hidden; pointer-events:none; }
.cards-experiment .catalog-ordered-grid { grid-column:1 / -1; margin-top:18px; }
/* Only the category strip scrolls; ordering and delivery stay in the shared bar. */
.folder-category-filters { flex-wrap:nowrap; gap:16px; padding:10px 12px; }
.folder-category-filters[hidden] { display:none!important; }
.catalog-category-browser { display:flex; align-items:center; gap:12px; flex:1 1 0; min-width:0; min-height:50px; }
.catalog-category-browser .catalog-title-wrap { flex:0 0 auto; min-width:0; max-width:110px; }
.catalog-category-browser .catalog-title-wrap h2 { font-size:13px; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.catalog-category-browser .catalog-title-wrap p { margin:3px 0 0; font-size:11px; line-height:1.3; white-space:nowrap; }
.folder-category-filters .folder-category-chips { flex:1 1 0; width:auto; min-width:0; }
:is(.catalog-head,.folder-category-filters) .catalog-controls { width:auto; flex:0 0 auto; padding-left:14px; border-left:1px solid transparent; }
.folder-category-filters .catalog-controls { border-left-color:var(--border-subtle); }
:is(.catalog-head,.folder-category-filters) .catalog-filter { width:184px; }
:is(.catalog-head,.folder-category-filters) .catalog-filter-trigger { min-height:50px; padding:7px 10px; border-radius:11px; box-shadow:none; }
:is(.catalog-head,.folder-category-filters) .catalog-filter-icon { width:28px; height:28px; border-radius:8px; }
@media(max-width:1000px) {
    .cards-experiment .catalog-head,.folder-category-filters { flex-wrap:wrap; gap:10px; }
    .catalog-head>.catalog-title-wrap { flex-basis:100%; }
    .catalog-category-browser { flex-basis:100%; }
    :is(.catalog-head,.folder-category-filters) .catalog-controls { width:100%; border-left:0; border-top:1px solid transparent; padding:10px 0 0; }
    .folder-category-filters .catalog-controls { border-top-color:var(--border-subtle); }
    :is(.catalog-head,.folder-category-filters) .catalog-filter { flex:1 1 0; width:auto; }
}
@media(max-width:600px) {
    .catalog-category-browser .catalog-title-wrap { max-width:90px; }
    :is(.catalog-head,.folder-category-filters) .catalog-filter-trigger { padding:7px 8px; }
}
@keyframes catalog-menu-in { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:960px) {
    .catalog-controls { width:100%; }
    .catalog-filter { flex:1; width:auto; }
    .catalog-filter:first-child .catalog-filter-menu { right:auto; left:0; }
}
@media(max-width:600px) {
    .cards-experiment .catalog-head { align-items:flex-start; }
    .catalog-controls { gap:8px; }
    .catalog-filter-trigger { padding:10px 8px; gap:7px; }
    .catalog-filter-icon { width:26px; height:30px; border-radius:8px; }
    .catalog-filter-icon svg { width:17px; height:17px; }
    .catalog-filter-trigger>svg { width:12px; height:12px; }
    .catalog-filter-text strong { font-size:11px; }
    .catalog-filter-caption { font-size:9px; }
    .catalog-back-top { right:max(14px,env(safe-area-inset-right)); bottom:calc(max(14px,env(safe-area-inset-bottom)) + 60px); width:46px; height:46px; padding:0; }
    .catalog-back-top>span { display:none; }
}
@media(max-width:360px) { .catalog-filter-icon { display:none; } }
@media(prefers-reduced-motion:reduce) { .catalog-filter-trigger,.catalog-filter-trigger>svg,.catalog-back-top { transition:none; } .catalog-filter-menu,.catalog-back-top { animation:none; } }

/* Entrance states do not change layout or replace the existing hover transform. */
.catalog-enter-pending { opacity:0; }
.product-card.catalog-enter-pending { opacity:1; border-color:transparent!important; }
.product-card.catalog-enter-pending>:is(.product-banner-wrap,.product-card-content),.product-card.catalog-enter-pending::before { opacity:0; }
.catalog-surface-pending { background-color:transparent!important; border-color:transparent!important; }
.is-catalog-entering { will-change:opacity,translate,rotate,scale; }
.product-card.is-catalog-entering { will-change:translate,rotate,scale; }
@media(prefers-reduced-motion:reduce) {
    .catalog-enter-pending { opacity:1!important; }
    .product-card.catalog-enter-pending>:is(.product-banner-wrap,.product-card-content),.product-card.catalog-enter-pending::before { opacity:1; }
    .catalog-surface-pending { background-color:var(--bg-surface)!important; border-color:var(--border-subtle)!important; }
    .is-catalog-entering { will-change:auto; }
}

/* Category names sit between two balanced rules, including wrapped names. */
.cards-experiment :is(#productsGrid,#relatedProductsGrid) .product-category-heading {
    display:grid; grid-template-columns:minmax(24px,1fr) fit-content(68%) minmax(24px,1fr);
    align-items:center; column-gap:clamp(12px,2vw,24px); padding:8px 0;
    border:0; text-align:center; font-size:clamp(.82rem,1vw,1rem);
    font-weight:700; line-height:1.45; letter-spacing:.015em;
}
.cards-experiment :is(#productsGrid,#relatedProductsGrid) .product-category-label {
    min-width:0; max-width:100%; overflow-wrap:anywhere;
}
.cards-experiment :is(#productsGrid,#relatedProductsGrid) .product-category-heading::before,
.cards-experiment :is(#productsGrid,#relatedProductsGrid) .product-category-heading::after {
    content:''; display:block; position:static; inset:auto;
    width:auto; min-width:0; height:1px; border-radius:0;
    background:linear-gradient(90deg,transparent,var(--border-medium));
}
.cards-experiment :is(#productsGrid,#relatedProductsGrid) .product-category-heading::after {
    background:linear-gradient(90deg,var(--border-medium),transparent);
}

.cards-experiment :is(#viewCatalog,#viewProductDetail) .product-category-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.cards-experiment :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card {
    --catalog-title-font-max:14; --catalog-title-font-min:12.5;
    /* Entrance already fades the border; a second transition delays its final color. */
    border-radius:12px; min-width:0; transition:transform .3s ease;
}
.cards-experiment :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .compact-catalog-card .product-banner-wrap { border-radius:11px 11px 0 0; aspect-ratio:1; }
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-card-content {
    position:relative; z-index:7; pointer-events:none;
    display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:34px 26px 46px;
    align-content:start; gap:3px; height:var(--catalog-info-height); min-height:var(--catalog-info-height); padding:8px;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-title {
    height:34px; min-height:34px; max-height:34px; margin:0; align-items:flex-start;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-title>span {
    font-size:14px; line-height:1.2; font-weight:600; letter-spacing:-.015em;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-card-meta { display:flex; align-items:center; height:26px; min-height:26px; gap:4px; margin:0; }
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-card-badge-adult { padding:1px 3px; font-size:9px; line-height:12px; }
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .reference-card-footer {
    display:grid; grid-template-rows:10px 35px; height:46px; gap:1px;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-sales-count:not(.is-empty) {
    height:10px; min-height:10px; font-size:9px; line-height:10px;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-sales-count.is-empty { display:block; visibility:hidden; height:10px; min-height:10px; line-height:10px; }
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .reference-card-footer>.product-price-block {
    grid-template-columns:minmax(0,1fr) 30px; gap:5px; height:35px; min-height:35px;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .reference-card-aux {
    height:12px; gap:3px; margin-bottom:1px;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .reference-card-aux :is(.product-old-price,small,.product-sale-badge) {
    font-size:9px; line-height:10px;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card.card-has-promotion .reference-card-aux {
    height:12px; line-height:12px;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .reference-card-aux .product-old-price {
    font-size:11px; line-height:12px; font-weight:500; color:var(--catalog-old-price-color);
    text-decoration-thickness:1px;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .reference-card-value .product-main-price {
    font-size:24px; line-height:26px; font-weight:650; letter-spacing:-.035em;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card.card-has-sales:is(.card-has-promotion,.card-has-starting-price) .reference-card-value .product-main-price {
    font-size:22px; line-height:22px;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-quick-cart {
    position:relative; inset:auto; pointer-events:auto; width:30px; min-width:30px; height:30px; border-radius:8px;
    backdrop-filter:none; -webkit-backdrop-filter:none;
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-quick-cart svg { width:16px; height:16px; }

/* Fixed delivery indicator in the information area; icons from icones-entrega.html. */
.compact-catalog-card .delivery-seal {
    display:inline-flex; align-items:center; gap:5px; width:max-content; max-width:100%; min-width:0;
    min-height:20px; padding:1px 5px 1px 1px; border:1px solid transparent; border-radius:999px;
    font:600 10px/11px var(--font-sans); letter-spacing:0; pointer-events:none;
}
.delivery-seal-icon { flex:none; width:18px; height:18px; border-radius:50%; display:grid; place-items:center; }
.delivery-seal-icon svg { width:11px; height:11px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.delivery-seal-text { min-width:0; white-space:normal; }
.delivery-seal-manual { color:#e3f2ff; background:linear-gradient(#0c1e33,#091624) padding-box,linear-gradient(135deg,#5bb8f0,#2a87d4 50%,#1c5c99) border-box; }
.delivery-seal-manual .delivery-seal-icon { background:radial-gradient(circle,#3aa3e4,#2a87d4); color:#fff; box-shadow:0 0 6px #3aa3e440; }
.delivery-seal-manual .delivery-seal-icon svg { width:90%; height:90%; }
.delivery-seal-adm { color:#e4dcff; background:linear-gradient(#1a1233,#120c25) padding-box,linear-gradient(135deg,#7c5cff,#3b2a8f) border-box; }
.delivery-seal-adm .delivery-seal-icon { background:radial-gradient(circle at 30% 25%,#7c5cff,#3b2a8f); color:#fff; box-shadow:0 0 6px #7c5cff40; }
.delivery-seal-auto { color:#ffe39a; background:linear-gradient(180deg,#241a06,#140e03) padding-box,linear-gradient(135deg,#fff3b0,#f5b301 30%,#8a5a00 55%,#ffe27a 80%,#f5b301) border-box; }
.delivery-seal-auto .delivery-seal-icon { background:radial-gradient(circle at 30% 25%,#fff3b0 0%,#ffd23f 35%,#d99a00 75%,#8a5a00 100%); color:#3a2600; box-shadow:0 0 6px #ffc42855,inset 0 -1px 2px #78460059; }
.delivery-seal-auto .delivery-seal-icon svg { fill:#3a2600; stroke:#3a2600; stroke-width:1.6; }

/* Glass information areas, with a darker GTA 6 gradient over its sunset sky. */
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card,
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card:hover { background:transparent; }
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-card-content {
    background:transparent; background-image:none;
    backdrop-filter:blur(16px) brightness(var(--catalog-glass-brightness)) saturate(1.06); -webkit-backdrop-filter:blur(16px) brightness(var(--catalog-glass-brightness)) saturate(1.06);
}
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-card-content::before,
body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-card-content::after { display:none; }
@supports not (backdrop-filter:blur(1px)) {
    body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-card-content { background:var(--bg-glass); }
}
/* A soft blue glass surface separates light-theme information from the pearl backdrop. */
body.cards-experiment[data-theme="light"] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-card-content {
    background:radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.55),rgba(255,255,255,0) 70%),
        linear-gradient(140deg,rgba(166,209,244,.58) 0%,rgba(198,226,247,.50) 55%,rgba(238,247,255,.60) 100%);
}
body.cards-experiment[data-theme="gta6"] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-card-content {
    background:transparent; backdrop-filter:none; -webkit-backdrop-filter:none;
}
/* Keep the filtered edge under opaque artwork, avoiding a subpixel seam on hover. */
body.cards-experiment[data-theme="gta6"] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card::before {
    content:''; display:block!important; position:absolute; inset:auto 0 0;
    height:calc(var(--catalog-info-height) + 2px); z-index:0; pointer-events:none;
    background:linear-gradient(155deg,rgba(58,33,65,.70) 0%,rgba(36,25,51,.70) 52%,rgba(19,15,34,.70) 100%);
    backdrop-filter:blur(16px) brightness(var(--catalog-glass-brightness)) saturate(1.06); -webkit-backdrop-filter:blur(16px) brightness(var(--catalog-glass-brightness)) saturate(1.06);
}
@media(max-width:1150px) { .cards-experiment :is(#viewCatalog,#viewProductDetail) .product-category-grid { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media(max-width:900px) { .cards-experiment :is(#viewCatalog,#viewProductDetail) .product-category-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:740px) { .cards-experiment :is(#viewCatalog,#viewProductDetail) .product-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) { .cards-experiment :is(#viewCatalog,#viewProductDetail) .product-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } }
@media(max-width:350px) { .cards-experiment :is(#viewCatalog,#viewProductDetail) .product-category-grid { grid-template-columns:minmax(0,192px); justify-content:center; } }
@media(pointer:coarse) {
    body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .reference-card-footer>.product-price-block { grid-template-columns:minmax(0,1fr) 44px; }
    body.cards-experiment[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card .product-quick-cart { position:absolute; right:0; bottom:0; width:44px; min-width:44px; height:44px; }
}
@media(prefers-reduced-motion:reduce) { .cards-experiment :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.compact-catalog-card { transition:none; } }
