/* Product listing: search results, catalogue and category pages (frontend/listing). */
.afl-page {
    --afl-bg: #f7f9fc;
    --afl-surface: #fff;
    --afl-ink: #10233f;
    --afl-text: #3b4b63;
    --afl-muted: #6b7a90;
    --afl-line: #e3e9f2;
    --afl-navy: #003f87;
    --afl-navy-dark: #0b2a55;
    --afl-gold: #ffa000;
    --afl-gold-hover: #ffb21a;
    --afl-star: #f5a623;
    --afl-radius: 12px;
    --afl-shadow: 0 1px 3px rgba(16, 35, 63, .06), 0 4px 16px rgba(16, 35, 63, .04);
    /* The header's .container-fluid-lg gutter, so the page lines up with it at every width. */
    --afl-gutter: calc(12px + (160 - 12) * ((100vw - 320px) / (1920 - 320)));
    background: var(--afl-bg);
    color: var(--afl-text);
    padding: 24px 0 56px;
    font-size: 15px;
    line-height: 1.5;
}
.afl-page *, .afl-page *::before, .afl-page *::after { box-sizing: border-box; }
/* The header shows the page body through it: give listing pages one background. */
body.afl-body { background-color: #f7f9fc; }
.afl-container { padding: 0 var(--afl-gutter); }
.afl-layout { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 24px; align-items: start; }
.afl-main { min-width: 0; }
.afl-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.afl-page a { text-decoration: none; }
.afl-page :focus-visible { outline: 3px solid var(--afl-gold); outline-offset: 2px; }

/* Buttons */
.afl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 8px; border: 1px solid transparent; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.afl-btn-gold { background: var(--afl-gold); color: #0e1b2e; }
.afl-btn-gold:hover { background: var(--afl-gold-hover); color: #0e1b2e; }
.afl-btn-navy { background: var(--afl-navy); color: #fff; }
.afl-btn-navy:hover { background: var(--afl-navy-dark); color: #fff; }
.afl-btn-outline { background: #fff; border-color: #c9d3e1; color: var(--afl-ink); }
.afl-btn-outline:hover { border-color: var(--afl-navy); color: var(--afl-navy); }
.afl-btn[disabled] { opacity: .65; cursor: wait; }
.afl-icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #eef3fa; color: var(--afl-ink); cursor: pointer; }

/* Sidebar */
.afl-sidebar { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; background: var(--afl-surface); border: 1px solid var(--afl-line); border-radius: var(--afl-radius); box-shadow: var(--afl-shadow); scrollbar-width: thin; }
.afl-drawer-head { display: none; }
/* Counts refreshing after a filter click; the products are already updated. */
#afl-filters-slot[aria-busy="true"] .afl-check-count, #afl-filters-slot[aria-busy="true"] .afl-range-ticks { opacity: .35; transition: opacity .2s; }
.afl-filters { padding: 18px 20px 20px; }
.afl-filters-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--afl-line); }
.afl-filters-head h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--afl-ink); }
.afl-link { font-size: 14px; font-weight: 600; color: var(--afl-navy); }
.afl-link:hover { text-decoration: underline; }
.afl-group { border-bottom: 1px solid var(--afl-line); padding: 14px 0; }
.afl-group:last-of-type { border-bottom: 0; }
.afl-group-title { display: flex; align-items: center; justify-content: space-between; margin: 0; font-size: 15px; font-weight: 700; color: var(--afl-ink); cursor: pointer; list-style: none; }
.afl-group-title::-webkit-details-marker { display: none; }
summary.afl-group-title::after { content: ''; width: 9px; height: 9px; border: solid var(--afl-ink); border-width: 0 2px 2px 0; transform: rotate(-135deg); margin: 4px 4px 0 8px; transition: transform .15s; }
details:not([open]) > summary.afl-group-title::after { transform: rotate(45deg); margin-top: -4px; }
.afl-options, .afl-suboptions { list-style: none; margin: 0; padding: 0; }
.afl-options { margin-top: 10px; }
.afl-options > li, .afl-suboptions > li { display: block; width: 100%; float: none; margin: 0; padding: 0; }
.afl-option-row { display: flex; align-items: center; gap: 4px; }
.afl-option-row .afl-check { flex: 1; }
.afl-suboptions { padding-left: 26px; }
.afl-expand { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: var(--afl-muted); cursor: pointer; }
.afl-expand:hover { background: #eef3fa; }
.afl-expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.afl-check { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14px; line-height: 1.4; color: var(--afl-text); margin: 0; }
.afl-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.afl-check-box { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; border: 1.5px solid #b8c3d3; border-radius: 4px; background: #fff; transition: background-color .15s, border-color .15s; }
.afl-check:hover .afl-check-box { border-color: var(--afl-navy); }
.afl-check input:checked + .afl-check-box { background: var(--afl-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--afl-navy); }
.afl-check input:focus-visible + .afl-check-box { outline: 3px solid var(--afl-gold); outline-offset: 2px; }
.afl-check-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.afl-check input:checked ~ .afl-check-label { color: var(--afl-ink); font-weight: 600; }
.afl-check-count { color: var(--afl-muted); font-size: 13px; white-space: nowrap; }
.afl-more-link { margin-top: 6px; padding: 4px 0; border: 0; background: none; color: var(--afl-navy); font-size: 13px; font-weight: 700; cursor: pointer; }
.afl-more-link:hover { text-decoration: underline; }
.afl-spec-heading { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--afl-line); }
.afl-spec-heading p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--afl-muted); }
.afl-hint { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: #f2f6fc; font-size: 13px; color: var(--afl-text); }
.afl-group-loading span { display: block; height: 10px; margin-top: 12px; border-radius: 5px; background: linear-gradient(90deg, #edf1f7 25%, #f6f8fb 50%, #edf1f7 75%) 0 0 / 200% 100%; animation: afl-shimmer 1.4s infinite linear; }
.afl-group-loading span:nth-of-type(2) { width: 80%; }
.afl-group-loading span:nth-of-type(3) { width: 60%; }
.afl-group-loading .afl-group-title::after { display: none; }
@keyframes afl-shimmer { to { background-position: -200% 0; } }

/* Price */
.afl-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.afl-price-inputs label { margin: 0; }
.afl-price-inputs input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #ccd5e2; border-radius: 8px; background: #fff; color: var(--afl-ink); font-size: 14px; }
.afl-price-inputs input:focus { border-color: var(--afl-navy); outline: none; box-shadow: 0 0 0 3px rgba(0, 63, 135, .15); }
.afl-range { position: relative; height: 28px; margin: 16px 4px 0; }
.afl-range-track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: #dbe3ee; }
.afl-range-fill { position: absolute; top: 0; bottom: 0; left: var(--afl-from, 0%); right: calc(100% - var(--afl-to, 100%)); border-radius: 2px; background: var(--afl-navy); }
.afl-range input[type=range] { position: absolute; left: -2px; right: -2px; top: 0; width: calc(100% + 4px); height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.afl-range input[type=range]::-webkit-slider-runnable-track { height: 28px; background: none; }
.afl-range input[type=range]::-moz-range-track { background: none; }
.afl-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 4px; border: 3px solid #fff; border-radius: 50%; background: var(--afl-navy); box-shadow: 0 1px 4px rgba(16, 35, 63, .35); cursor: grab; }
.afl-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--afl-navy); box-shadow: 0 1px 4px rgba(16, 35, 63, .35); cursor: grab; }
.afl-range-ticks { position: relative; height: 18px; margin: 4px 4px 0; font-size: 12px; color: var(--afl-muted); }
.afl-range-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.afl-range-ticks span:first-child { transform: none; }
.afl-range-ticks span:last-child { transform: translateX(-100%); }
.afl-price-apply { width: 100%; margin-top: 12px; min-height: 36px; }
.afl-page.is-enhanced .afl-price-apply { display: none; }

/* Breadcrumb & heading */
.afl-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--afl-muted); }
.afl-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.afl-breadcrumb li + li::before { content: ''; width: 6px; height: 6px; border: solid #93a0b4; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); margin-right: 4px; }
.afl-breadcrumb a { color: var(--afl-text); }
.afl-breadcrumb a:hover { color: var(--afl-navy); text-decoration: underline; }
.afl-breadcrumb [aria-current] { color: var(--afl-ink); font-weight: 600; }
.afl-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: center; margin-bottom: 20px; }
.afl-eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--afl-navy); }
.afl-head h1 { margin: 0; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.15; font-weight: 800; color: var(--afl-ink); overflow-wrap: anywhere; }
.afl-quote { color: var(--afl-ink); }
.afl-lead { margin: 10px 0 0; max-width: 60ch; font-size: 15px; color: var(--afl-muted); }
.afl-hero { position: relative; min-height: 158px; display: flex; align-items: center; border-radius: var(--afl-radius); overflow: hidden; color: #fff;
    background: linear-gradient(90deg, rgba(7, 26, 52, .94) 0%, rgba(7, 26, 52, .78) 45%, rgba(7, 26, 52, .15) 100%), var(--afl-hero-image) center / cover no-repeat, linear-gradient(120deg, #0b2a55, #003f87 60%, #1d5fae); }
.afl-hero-copy { position: relative; padding: 22px 28px; max-width: 520px; }
.afl-hero h2 { margin: 0; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.2; font-weight: 800; color: #fff; }
.afl-hero p { margin: 6px 0 14px; font-size: 15px; color: #dce6f5; }
.afl-hero-cta { min-height: 38px; padding: 8px 16px; }

/* Category pills */
.afl-pills { display: flex; gap: 10px; margin: 0 0 18px; padding: 2px 2px 6px; overflow-x: auto; scrollbar-width: thin; }
.afl-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border: 1px solid var(--afl-line); border-radius: 999px; background: #fff; color: var(--afl-ink); font-size: 14px; font-weight: 600; box-shadow: 0 1px 2px rgba(16, 35, 63, .04); transition: border-color .15s, background-color .15s, color .15s; }
.afl-pill:hover { border-color: var(--afl-navy); color: var(--afl-navy); }
.afl-pill img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.afl-pill.is-active { background: var(--afl-navy-dark); border-color: var(--afl-navy-dark); color: #fff; }

/* Toolbar */
.afl-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 14px; scroll-margin-top: 16px; }
.afl-count { margin: 0; font-size: 16px; color: var(--afl-ink); font-weight: 600; }
.afl-count strong { font-weight: 800; }
.afl-toolbar-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.afl-sort { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--afl-text); white-space: nowrap; }
.afl-sort select { height: 42px; min-width: 190px; padding: 0 38px 0 14px; border: 1px solid #ccd5e2; border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310233f' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 14px no-repeat; color: var(--afl-ink); font-size: 14px; font-weight: 600; -webkit-appearance: none; appearance: none; cursor: pointer; }
.afl-view-toggle { display: inline-flex; border: 1px solid #ccd5e2; border-radius: 8px; overflow: hidden; background: #fff; }
.afl-view-toggle button { display: grid; place-items: center; width: 42px; height: 40px; border: 0; background: #fff; color: var(--afl-ink); cursor: pointer; }
.afl-view-toggle button[aria-pressed="true"] { background: var(--afl-navy-dark); color: #fff; }
.afl-filter-toggle { display: none; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid #ccd5e2; border-radius: 8px; background: #fff; color: var(--afl-ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.afl-filter-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--afl-gold); color: #0e1b2e; font-size: 12px; }

/* Chips */
.afl-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.afl-chips[hidden] { display: none; }
.afl-chips-label { font-size: 13px; font-weight: 600; color: var(--afl-muted); }
.afl-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 10px 4px 12px; border-radius: 999px; background: #e7eef8; color: var(--afl-navy-dark); font-size: 13px; font-weight: 600; }
.afl-chip:hover { background: #d7e3f4; color: var(--afl-navy-dark); }
.afl-chips-clear { margin-left: 4px; font-size: 13px; font-weight: 700; color: var(--afl-navy); }
.afl-chips-clear:hover { text-decoration: underline; }

/* Product grid */
/* Cards keep a readable size; wide screens get more columns (5 at 1920px), not wider cards. */
.afl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; transition: opacity .15s; }
.afl-grid[aria-busy="true"] { opacity: .55; }
.afl-card { display: flex; flex-direction: column; min-width: 0; background: var(--afl-surface); border: 1px solid var(--afl-line); border-radius: var(--afl-radius); box-shadow: var(--afl-shadow); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.afl-card:hover { box-shadow: 0 6px 22px rgba(16, 35, 63, .12); transform: translateY(-2px); }
.afl-card-media { position: relative; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid #eef2f7; }
.afl-card-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 14px; }
.afl-card-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.afl-wish { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e1e7f0; border-radius: 50%; background: #fff; color: var(--afl-ink); cursor: pointer; box-shadow: 0 1px 4px rgba(16, 35, 63, .1); transition: color .15s, border-color .15s; }
.afl-wish:hover, .afl-wish.is-saved { color: #e0384f; border-color: #f3b4bf; }
.afl-wish.is-saved svg { fill: currentColor; }
.afl-card-media .am-find-similar { right: 10px; bottom: 10px; }
.afl-card-media .am-find-similar button { width: 34px; height: 34px; }
.afl-card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.afl-card-title { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--afl-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 2); }
.afl-card-title a { color: inherit; }
.afl-card-title a:hover { color: var(--afl-navy); }
.afl-rating { display: flex; align-items: center; gap: 6px; min-height: 18px; font-size: 13px; color: var(--afl-muted); }
.afl-stars { --afl-star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E");
    display: inline-block; width: 85px; height: 16px; background: linear-gradient(90deg, var(--afl-star) calc(var(--afl-rating) / 5 * 100%), #d5dce6 0);
    -webkit-mask: var(--afl-star-mask) left / 17px 16px repeat-x; mask: var(--afl-star-mask) left / 17px 16px repeat-x; }
.afl-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 2px 0 0; font-size: 19px; font-weight: 800; color: var(--afl-ink); }
.afl-price del { font-size: 13px; font-weight: 500; color: var(--afl-muted); }
.afl-price-request { font-size: 15px; font-weight: 700; color: var(--afl-navy); }
.afl-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 8px; }
.afl-card-actions form { margin: 0; display: flex; }
.afl-card-actions .afl-btn { width: 100%; min-height: 38px; padding: 8px 6px; font-size: 13px; }
.afl-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 16px; border: 1px dashed #cdd6e3; border-radius: var(--afl-radius); background: #fff; color: var(--afl-muted); text-align: center; }
.afl-empty p { margin: 0; font-size: 15px; }
.afl-more { display: flex; justify-content: center; margin-top: 24px; }
.afl-more [hidden] { display: none; }
.afl-grid .am-search-skeleton-card { height: 100%; min-height: 320px; }

/* List view */
.afl-grid[data-view="list"] { grid-template-columns: minmax(0, 1fr); }
.afl-grid[data-view="list"] .afl-card { flex-direction: row; }
.afl-grid[data-view="list"] .afl-card-media { flex: 0 0 240px; aspect-ratio: auto; min-height: 200px; border-bottom: 0; border-right: 1px solid #eef2f7; }
.afl-grid[data-view="list"] .afl-card-body { padding: 18px 20px; }
.afl-grid[data-view="list"] .afl-card-title { font-size: 17px; min-height: 0; }
.afl-grid[data-view="list"] .afl-card-actions { display: flex; justify-content: flex-start; }
.afl-grid[data-view="list"] .afl-card-actions .afl-btn { width: auto; min-width: 150px; }

/* Responsive */
@media (max-width: 1299px) {
    .afl-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 20px; }
    .afl-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .afl-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 991px) {
    .afl-layout { grid-template-columns: minmax(0, 1fr); }
    .afl-filter-toggle { display: inline-flex; }
    .afl-sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 10060; width: min(360px, 88vw); max-height: none; border-radius: 0 var(--afl-radius) var(--afl-radius) 0; transform: translateX(-104%); transition: transform .25s ease; visibility: hidden; }
    .afl-page.is-drawer-open .afl-sidebar { transform: none; visibility: visible; }
    .afl-drawer-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--afl-line); }
    .afl-drawer-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--afl-ink); }
    .afl-filters-head h2 { display: none; }
    .afl-filters-head { justify-content: flex-end; border-bottom: 0; padding-bottom: 0; }
    .afl-drawer-foot { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin: 16px -20px -20px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--afl-line); }
    .afl-backdrop { position: fixed; inset: 0; z-index: 10055; background: rgba(9, 21, 38, .5); }
    .afl-toolbar { position: sticky; top: 0; z-index: 20; margin: 0 calc(-1 * var(--afl-gutter)) 14px; padding: 10px var(--afl-gutter); background: rgba(247, 249, 252, .96); backdrop-filter: blur(6px); }
    .afl-count { order: 3; flex-basis: 100%; font-size: 14px; }
    .afl-toolbar-end { margin-left: auto; }
    .afl-sort span { display: none; }
    .afl-sort select { min-width: 0; width: 170px; }
}
@media (min-width: 992px) { .afl-drawer-foot, .afl-backdrop { display: none !important; } }
@media (max-width: 767px) {
    .afl-page { padding-top: 14px; font-size: 14px; }
    .afl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .afl-hero { min-height: 0; }
    .afl-hero-copy { padding: 16px 18px; }
    .afl-hero p { margin-bottom: 10px; font-size: 14px; }
    .afl-lead { font-size: 14px; }
    .afl-view-toggle { display: none; }
    .afl-card-body { padding: 10px 10px 12px; }
    .afl-card-title { font-size: 14px; }
    .afl-price { font-size: 16px; }
    .afl-card-actions { grid-template-columns: 1fr; gap: 6px; }
    .afl-card-actions .afl-btn { min-height: 36px; }
    .afl-wish { width: 32px; height: 32px; top: 8px; right: 8px; }
    .afl-grid[data-view="list"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .afl-grid[data-view="list"] .afl-card { flex-direction: column; }
    .afl-grid[data-view="list"] .afl-card-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; border-right: 0; border-bottom: 1px solid #eef2f7; }
    .afl-pill { min-height: 38px; padding: 6px 14px; font-size: 13px; }
}
@media (max-width: 380px) {
    .afl-sort select { width: 140px; }
    .afl-card-actions .afl-btn { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .afl-card, .afl-sidebar, .afl-grid { transition: none; }
    .afl-card:hover { transform: none; }
    .afl-group-loading span { animation: none; }
}
