/* Product listing (category / brand / shop filter) — every rule is scoped to .aeb-shop */
.aeb-shop {
    --s-red: #fd312e;
    --s-red-dark: #e3211e;
    --s-ink: #1c1c1c;
    --s-text: #525252;
    --s-muted: #7a7a7a;
    --s-line: #ececec;
    --s-light: #f7f8fa;
    font-family: 'Rubik', sans-serif;
    color: var(--s-text);
    background: var(--s-light);
}
.aeb-shop *, .aeb-shop *::before, .aeb-shop *::after { box-sizing: border-box; }
.aeb-shop a { text-decoration: none; }
.aeb-shop p { margin: 0; color: var(--s-text); font-size: 15px; line-height: 1.75; }
.aeb-shop ul { margin: 0; padding: 0; list-style: none; }
.aeb-shop button { font-family: inherit; }

/* ---------- Banner ---------- */
.aeb-shop .aeb-shop-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 56px;
    background-color: #151515;
    background-size: cover;
    background-position: center;
}
.aeb-shop .aeb-shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(14, 14, 14, .94) 0%, rgba(14, 14, 14, .82) 45%, rgba(120, 18, 16, .55) 100%);
}
.aeb-shop .aeb-shop-hero .container { position: relative; z-index: 1; }
.aeb-shop .aeb-shop-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13.5px;
}
.aeb-shop .aeb-shop-crumbs li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); }
.aeb-shop .aeb-shop-crumbs li + li::before { content: '/'; color: rgba(255, 255, 255, .35); }
.aeb-shop .aeb-shop-crumbs a { color: rgba(255, 255, 255, .6); transition: color .2s; }
.aeb-shop .aeb-shop-crumbs a:hover { color: #fff; }
.aeb-shop .aeb-shop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--s-red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.aeb-shop .aeb-shop-eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--s-red); }
.aeb-shop .aeb-shop-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: capitalize;
}
.aeb-shop .aeb-shop-hero p { max-width: 620px; color: rgba(255, 255, 255, .72); font-size: 16px; }

/* ---------- Layout ---------- */
.aeb-shop .aeb-shop-body { padding: 40px 0 64px; }
.aeb-shop .aeb-shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }

/* ---------- Filter sidebar ---------- */
.aeb-shop .aeb-shop-filters {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 110px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--s-line);
    border-radius: 16px;
}
.aeb-shop .aeb-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--s-line);
}
.aeb-shop .aeb-filters-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--s-ink);
    font-size: 17px;
    font-weight: 700;
}
.aeb-shop .aeb-filters-head h2 i { color: var(--s-red); font-size: 14px; }
.aeb-shop .aeb-filters-clear { margin-left: auto; color: var(--s-muted); font-size: 13px; font-weight: 500; transition: color .2s; }
.aeb-shop .aeb-filters-clear:hover { color: var(--s-red); }
.aeb-shop .aeb-filters-close {
    display: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--s-light);
    color: var(--s-ink);
    font-size: 15px;
    cursor: pointer;
}
.aeb-shop .aeb-filters-scroll { flex: 1 1 auto; overflow-y: auto; scrollbar-width: thin; }
.aeb-shop .aeb-filter-group { border-bottom: 1px solid var(--s-line); }
.aeb-shop .aeb-filter-group:last-child { border-bottom: 0; }
.aeb-shop .aeb-filter-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 20px;
    color: var(--s-ink);
    font-size: 14.5px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.aeb-shop .aeb-filter-group summary::-webkit-details-marker { display: none; }
.aeb-shop .aeb-filter-group summary:hover { color: var(--s-red); }
.aeb-shop .aeb-filter-count {
    min-width: 22px;
    height: 22px;
    margin-left: auto;
    padding: 0 7px;
    border-radius: 11px;
    background: var(--s-red);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
}
.aeb-shop .aeb-filter-group summary i { color: var(--s-muted); font-size: 12px; transition: transform .25s; }
.aeb-shop .aeb-filter-group[open] summary i { transform: rotate(180deg); }
.aeb-shop .aeb-filter-options { max-height: 260px; overflow-y: auto; padding: 0 12px 14px; scrollbar-width: thin; }
.aeb-shop .aeb-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--s-text);
    font-size: 14px;
    line-height: 1.35;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.aeb-shop .aeb-filter-option:hover { background: var(--s-light); color: var(--s-ink); }
.aeb-shop .aeb-filter-option input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--s-red);
    cursor: pointer;
}
.aeb-shop .aeb-filter-option input:checked + span { color: var(--s-ink); font-weight: 600; }

/* ---------- Toolbar ---------- */
.aeb-shop .aeb-shop-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.aeb-shop .aeb-shop-search {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    height: 50px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--s-line);
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}
.aeb-shop .aeb-shop-search:focus-within { border-color: var(--s-red); box-shadow: 0 0 0 3px rgba(253, 49, 46, .12); }
.aeb-shop .aeb-shop-search > i { padding: 0 4px 0 18px; color: var(--s-muted); font-size: 15px; }
.aeb-shop .aeb-shop-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--s-ink);
    font-size: 15px;
}
.aeb-shop .aeb-shop-search input::placeholder { color: #a3a3a3; }
.aeb-shop .aeb-shop-search button {
    height: 38px;
    margin-right: 6px;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    background: var(--s-red);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.aeb-shop .aeb-shop-search button:hover { background: var(--s-red-dark); }
.aeb-shop .aeb-filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    height: 50px;
    padding: 0 18px;
    border: 1px solid var(--s-line);
    border-radius: 12px;
    background: #fff;
    color: var(--s-ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.aeb-shop .aeb-filters-toggle i { color: var(--s-red); }
.aeb-shop .aeb-filters-toggle .aeb-filter-count { margin-left: 2px; }

.aeb-shop .aeb-shop-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 20px;
}
.aeb-shop .aeb-shop-count { color: var(--s-muted); font-size: 14px; }
.aeb-shop .aeb-shop-count strong { color: var(--s-ink); font-weight: 600; }
.aeb-shop .aeb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aeb-shop .aeb-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 8px 0 14px;
    border: 1px solid rgba(253, 49, 46, .25);
    border-radius: 16px;
    background: rgba(253, 49, 46, .07);
    color: var(--s-ink);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.aeb-shop .aeb-chip i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(253, 49, 46, .15);
    color: var(--s-red);
    font-size: 10px;
}
.aeb-shop .aeb-chip:hover { background: rgba(253, 49, 46, .14); border-color: var(--s-red); }

/* ---------- Product cards ---------- */
.aeb-shop .aeb-shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.aeb-shop .aeb-scard {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--s-line);
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.aeb-shop .aeb-scard:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 49, 46, .35);
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .28);
}
.aeb-shop .aeb-scard-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
}
.aeb-shop .aeb-scard-media img {
    position: absolute;
    top: 18px;
    left: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    object-fit: contain;
    transition: transform .35s ease;
}
.aeb-shop .aeb-scard:hover .aeb-scard-media img { transform: scale(1.05); }
.aeb-shop .aeb-scard-noimg {
    position: absolute;
    inset: 12px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    background: var(--s-light);
    color: #b5b5b5;
    font-size: 12.5px;
    font-weight: 500;
}
.aeb-shop .aeb-scard-noimg i { font-size: 30px; color: #d0d0d0; }
.aeb-shop .aeb-scard-media.is-missing img { display: none; }
.aeb-shop .aeb-scard-media.is-missing .aeb-scard-noimg { display: flex; }
.aeb-shop .aeb-scard-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 14px 16px;
}
.aeb-shop .aeb-scard-brand {
    color: var(--s-red);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.3;
    text-transform: uppercase;
}
.aeb-shop .aeb-scard-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    margin-bottom: 8px;
    color: var(--s-ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    transition: color .2s;
}
.aeb-shop .aeb-scard-title:hover { color: var(--s-red); }
.aeb-shop .aeb-scard-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    margin-top: auto;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--s-ink);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    transition: background .2s, color .2s;
}
.aeb-shop .aeb-scard-call i { font-size: 12px; }
.aeb-shop .aeb-scard-call:hover,
.aeb-shop .aeb-scard-call:focus-visible { background: var(--s-red); color: #fff; outline: 0; }

/* ---------- Empty state ---------- */
.aeb-shop .aeb-shop-empty {
    padding: 56px 24px;
    background: #fff;
    border: 1px dashed #dcdcdc;
    border-radius: 16px;
    text-align: center;
}
.aeb-shop .aeb-shop-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(253, 49, 46, .08);
    color: var(--s-red);
    font-size: 26px;
}
.aeb-shop .aeb-shop-empty h3 { margin: 0 0 8px; color: var(--s-ink); font-size: 20px; font-weight: 700; }
.aeb-shop .aeb-shop-empty p { max-width: 420px; margin: 0 auto 22px; color: var(--s-muted); }
.aeb-shop .aeb-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    background: var(--s-red);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
}
.aeb-shop .aeb-shop-btn:hover { background: var(--s-red-dark); color: #fff; }
.aeb-shop .aeb-shop-btn--ghost { background: #fff; border: 1px solid var(--s-line); color: var(--s-ink); }
.aeb-shop .aeb-shop-btn--ghost:hover { background: var(--s-light); color: var(--s-red); }
.aeb-shop .aeb-shop-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Pagination ---------- */
.aeb-shop .aeb-shop-pages { display: flex; justify-content: center; margin-top: 36px; }
.aeb-shop .aeb-shop-pages nav { display: block; }
.aeb-shop .aeb-shop-pages .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.aeb-shop .aeb-shop-pages .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--s-line);
    border-radius: 10px !important;
    background: #fff;
    color: var(--s-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    box-shadow: none;
    transition: background .2s, border-color .2s, color .2s;
}
.aeb-shop .aeb-shop-pages .page-item a.page-link:hover { border-color: var(--s-red); color: var(--s-red); }
.aeb-shop .aeb-shop-pages .page-item.active .page-link { border-color: var(--s-red); background: var(--s-red); color: #fff; }
.aeb-shop .aeb-shop-pages .page-item.disabled .page-link { background: transparent; color: #c2c2c2; }

/* ---------- Category description ---------- */
.aeb-shop .aeb-shop-about {
    margin-top: 40px;
    padding: 28px 30px;
    background: #fff;
    border: 1px solid var(--s-line);
    border-left: 4px solid var(--s-red);
    border-radius: 16px;
}
.aeb-shop .aeb-shop-about h2 { margin: 0 0 10px; color: var(--s-ink); font-size: 20px; font-weight: 700; text-transform: capitalize; }

.aeb-shop .aeb-shop-backdrop { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .aeb-shop .aeb-shop-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
    .aeb-shop .aeb-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .aeb-shop .aeb-shop-layout { grid-template-columns: minmax(0, 1fr); }
    .aeb-shop .aeb-filters-toggle { display: inline-flex; }
    .aeb-shop .aeb-shop-filters {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 10500;
        width: min(340px, 86vw);
        max-height: none;
        border: 0;
        border-radius: 0 16px 16px 0;
        box-shadow: 20px 0 40px -20px rgba(0, 0, 0, .35);
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform .3s ease, visibility 0s linear .3s;
    }
    .aeb-shop.is-filters-open .aeb-shop-filters {
        transform: none;
        visibility: visible;
        transition: transform .3s ease;
    }
    .aeb-shop .aeb-filters-close { display: inline-flex; align-items: center; justify-content: center; }
    .aeb-shop .aeb-filter-options { max-height: none; }
    .aeb-shop .aeb-shop-backdrop {
        position: fixed;
        inset: 0;
        z-index: 10499;
        display: block;
        background: rgba(0, 0, 0, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility 0s linear .3s;
    }
    .aeb-shop.is-filters-open .aeb-shop-backdrop { opacity: 1; visibility: visible; transition: opacity .3s ease; }
    .aeb-shop .aeb-shop-hero h1 { font-size: 36px; }
}

@media (max-width: 574.98px) {
    .aeb-shop { padding-top: var(--aeb-fixed-nav-h, 95px); }
}

@media (max-width: 575.98px) {
    .aeb-shop .aeb-shop-hero { padding: 36px 0 32px; }
    .aeb-shop .aeb-shop-hero h1 { font-size: 28px; }
    .aeb-shop .aeb-shop-hero p { font-size: 14.5px; }
    .aeb-shop .aeb-shop-crumbs { margin-bottom: 12px; font-size: 12.5px; }
    .aeb-shop .aeb-shop-body { padding: 24px 0 44px; }
    .aeb-shop .aeb-shop-toolbar { flex-wrap: wrap; gap: 10px; }
    .aeb-shop .aeb-shop-search { flex-basis: 100%; height: 46px; }
    .aeb-shop .aeb-shop-search button { padding: 0 16px; }
    .aeb-shop .aeb-filters-toggle { flex: 1 1 auto; justify-content: center; height: 44px; }
    .aeb-shop .aeb-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .aeb-shop .aeb-scard-media img { top: 12px; left: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
    .aeb-shop .aeb-scard-body { padding: 12px 10px; }
    .aeb-shop .aeb-scard-title { font-size: 13.5px; }
    .aeb-shop .aeb-scard-call { min-height: 36px; font-size: 12.5px; }
    .aeb-shop .aeb-shop-about { padding: 22px 20px; }
}
