.bookshop-shop-hero {
    position: relative;
    min-height: 230px;
    margin-bottom: 22px;
    padding: 38px 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    border: 1px solid rgba(76, 76, 26, .08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 15%, rgba(255,255,255,.95), transparent 32%),
        linear-gradient(120deg, #fffaf1, var(--bookshop-primary));
    box-shadow: var(--bookshop-shadow-sm);
}

.bookshop-shop-hero::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    left: -120px;
    bottom: -255px;
    border: 46px solid rgba(76,76,26,.05);
    border-radius: 50%;
}

.bookshop-shop-hero__content { position: relative; z-index: 2; }
.bookshop-shop-hero h1 { margin: 12px 0 7px; color: var(--bookshop-ink); font-size: clamp(29px, 3.5vw, 46px); line-height: 1.55; font-weight: 800; letter-spacing: 0; }
.bookshop-shop-hero p { max-width: 760px; margin: 0; color: #68685c; font-size: 15px; line-height: 2; }
.bookshop-shop-hero__art {
    position: relative;
    height: 160px;
    display: flex;
    direction: ltr;
    align-items: center;
    justify-content: center;
    gap: 17px;
    transform: translateY(3px);
}

.bookshop-hero-logo {
    position: relative;
    width: 126px;
    height: 126px;
    flex: 0 0 126px;
    padding: 5px;
    border: 1px solid rgba(76,76,26,.14);
    border-radius: 50%;
    background: rgba(255,255,255,.52);
    box-shadow: 0 18px 36px rgba(76,76,26,.15);
}
.bookshop-hero-logo::after {
    content: "";
    position: absolute;
    inset: 9px;
    z-index: -1;
    border-radius: 50%;
    background: rgba(76,76,26,.12);
    filter: blur(16px);
}
.bookshop-hero-logo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
}

.bookshop-hero-mini-books {
    height: 64px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    transform: rotate(-2deg);
}
.bookshop-hero-mini-book {
    position: relative;
    width: 18px;
    height: 49px;
    border-radius: 4px 7px 7px 4px;
    border-right: 3px solid rgba(255,255,255,.55);
    box-shadow: 0 9px 14px rgba(55,53,34,.14);
}
.bookshop-hero-mini-book::after {
    content: "";
    position: absolute;
    right: 4px;
    left: 3px;
    top: 11px;
    height: 2px;
    border-radius: 3px;
    background: rgba(255,255,255,.55);
    box-shadow: 0 7px 0 rgba(255,255,255,.34);
}
.bookshop-hero-mini-book:nth-child(1) { height: 43px; background: #d59d55; transform: rotate(-5deg); }
.bookshop-hero-mini-book:nth-child(2) { height: 57px; background: #a75e44; }
.bookshop-hero-mini-book:nth-child(3) { height: 48px; background: #67682b; transform: rotate(5deg); }

.bookshop-category-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 1fr);
    gap: 11px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 3px 2px 18px;
    margin-bottom: 6px;
}

.bookshop-category-pill {
    appearance: none;
    min-height: 70px;
    border: 1px solid var(--bookshop-line);
    border-radius: 16px;
    background: #fff;
    color: var(--bookshop-ink);
    padding: 12px 13px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(55,53,34,.035);
    transition: var(--bookshop-transition);
    text-align: right;
}
.bookshop-category-pill:hover,
.bookshop-category-pill.is-active { border-color: var(--bookshop-primary-deep); background: var(--bookshop-primary-soft); transform: translateY(-2px); box-shadow: var(--bookshop-shadow-sm); }
.bookshop-category-pill .bookshop-icon,
.bookshop-category-pill__mark { width: 36px; height: 36px; border-radius: 11px; background: var(--bookshop-primary); color: var(--bookshop-secondary); display: grid; place-items: center; font-size: 16px; font-weight: 800; padding: 8px; }
.bookshop-category-pill span:nth-child(2) { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookshop-category-pill small { color: #9b9a90; font-size: 10px; }

.bookshop-shop-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    direction: rtl;
}

.bookshop-filter-drawer { min-width: 0; position: relative; z-index: 20; }
.bookshop-filter-panel {
    position: sticky;
    top: 22px;
    max-height: calc(100vh - 44px);
    overflow: auto;
    scrollbar-width: thin;
    background: #fff;
    border: 1px solid var(--bookshop-line);
    border-radius: 21px;
    box-shadow: var(--bookshop-shadow-sm);
}

.bookshop-filter-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    min-height: 78px;
    padding: 16px 17px;
    border-bottom: 1px solid var(--bookshop-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bookshop-filter-header > div { display: flex; align-items: center; gap: 10px; }
.bookshop-filter-header__icon { width: 42px; height: 42px; border-radius: 13px; background: var(--bookshop-primary); color: var(--bookshop-secondary); display: grid; place-items: center; }
.bookshop-filter-header strong { display: block; color: var(--bookshop-ink); font-size: 15px; }
.bookshop-filter-header small { display: block; color: var(--bookshop-muted); font-size: 10px; margin-top: 1px; }
.bookshop-filter-close { display: none; width: 36px; height: 36px; border: 0; background: var(--bookshop-warm); border-radius: 11px; color: var(--bookshop-ink); cursor: pointer; place-items: center; }
.bookshop-filter-close .bookshop-icon { width: 18px; height: 18px; }

.bookshop-clear-all {
    appearance: none;
    width: calc(100% - 30px);
    margin: 14px 15px 9px;
    min-height: 40px;
    border: 1px dashed #dfd7c4;
    border-radius: 12px;
    background: #fffaf1;
    color: var(--bookshop-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: var(--bookshop-transition);
}
.bookshop-clear-all:hover { background: var(--bookshop-primary); border-style: solid; }
.bookshop-clear-all .bookshop-icon { width: 17px; height: 17px; }

.bookshop-filter-search { position: relative; margin: 0 15px 12px; }
.bookshop-filter-search > .bookshop-icon { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #939388; pointer-events: none; }
.bookshop-filter-search input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--bookshop-line);
    border-radius: 13px;
    background: #fbfaf7;
    padding: 9px 41px 9px 37px;
    outline: 0;
    color: var(--bookshop-ink);
    font-size: 12px;
    transition: var(--bookshop-transition);
}
.bookshop-filter-search input:focus { background: #fff; border-color: var(--bookshop-primary-deep); box-shadow: 0 0 0 4px rgba(250,236,209,.55); }
.bookshop-search-loader { display: none; position: absolute; left: 13px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border: 2px solid var(--bookshop-primary); border-top-color: var(--bookshop-secondary); border-radius: 50%; animation: bookshop-spin 700ms linear infinite; }
.bookshop-filter-search.is-loading .bookshop-search-loader { display: block; }

.bookshop-filter-group { border-top: 1px solid var(--bookshop-line); }
.bookshop-filter-title {
    appearance: none;
    width: 100%;
    min-height: 52px;
    padding: 11px 16px;
    border: 0;
    background: #fff;
    color: var(--bookshop-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}
.bookshop-filter-title .bookshop-icon { width: 17px; height: 17px; color: #99998c; transition: transform var(--bookshop-transition); }
.bookshop-filter-group.is-open .bookshop-filter-title .bookshop-icon { transform: rotate(180deg); }
.bookshop-filter-content { padding: 0 16px 16px; }

.bookshop-filter-options { max-height: 245px; overflow: auto; display: grid; gap: 3px; padding-left: 3px; scrollbar-width: thin; }
.bookshop-check-row {
    min-height: 38px;
    display: grid;
    grid-template-columns: 20px minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #55564d;
    font-size: 12px;
    border-radius: 9px;
    padding: 4px 4px;
    transition: background var(--bookshop-transition);
}
.bookshop-check-row:hover { background: var(--bookshop-warm); }
.bookshop-check-row input { position: absolute; opacity: 0; pointer-events: none; }
.bookshop-check-ui { width: 19px; height: 19px; border: 1.5px solid #d6d4c9; border-radius: 6px; display: grid; place-items: center; color: transparent; transition: var(--bookshop-transition); }
.bookshop-check-ui .bookshop-icon { width: 13px; height: 13px; }
.bookshop-check-row input:checked + .bookshop-check-ui { background: var(--bookshop-secondary); border-color: var(--bookshop-secondary); color: #fff; }
.bookshop-check-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bookshop-check-row small { color: #aaa99f; font-size: 9px; }

.bookshop-price-range { position: relative; height: 34px; margin-top: 5px; }
.bookshop-range-track { position: absolute; inset: 15px 0 auto; height: 4px; background: #e5e1d8; border-radius: 5px; }
.bookshop-range-track span { position: absolute; height: 100%; right: 0; left: 0; background: var(--bookshop-secondary); border-radius: inherit; }
.bookshop-price-range input[type="range"] { position: absolute; inset: 7px 0 auto; width: 100%; height: 20px; margin: 0; padding: 0; appearance: none; background: transparent; pointer-events: none; }
.bookshop-price-range input[type="range"]::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--bookshop-secondary); box-shadow: 0 0 0 1px var(--bookshop-secondary), 0 4px 9px rgba(76,76,26,.24); pointer-events: auto; cursor: grab; }
.bookshop-price-range input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--bookshop-secondary); box-shadow: 0 0 0 1px var(--bookshop-secondary); pointer-events: auto; cursor: grab; }
.bookshop-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bookshop-price-inputs label { position: relative; background: #faf9f5; border: 1px solid var(--bookshop-line); border-radius: 11px; padding: 6px 9px; }
.bookshop-price-inputs label > span { display: block; color: #9b9a8e; font-size: 9px; }
.bookshop-price-inputs input { width: calc(100% - 22px); border: 0; background: transparent; outline: 0; font-size: 11px; color: var(--bookshop-ink); font-weight: 600; padding: 0; -moz-appearance: textfield; }
.bookshop-price-inputs input::-webkit-outer-spin-button,
.bookshop-price-inputs input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.bookshop-price-inputs small { position: absolute; left: 8px; bottom: 7px; color: #aaa99e; font-size: 8px; }

.bookshop-rating-filter { display: grid; gap: 5px; }
.bookshop-rating-filter label { position: relative; min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 5px 8px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.bookshop-rating-filter label:hover { background: var(--bookshop-warm); }
.bookshop-rating-filter input { position: absolute; opacity: 0; }
.bookshop-rating-filter label:has(input:checked) { border-color: var(--bookshop-primary-deep); background: var(--bookshop-primary-soft); }
.bookshop-rating-stars { color: var(--bookshop-warning); letter-spacing: 1px; direction: ltr; }
.bookshop-rating-filter small { color: var(--bookshop-muted); font-size: 10px; }

.bookshop-quick-filters { padding: 8px 15px 15px; border-top: 1px solid var(--bookshop-line); display: grid; gap: 5px; }
.bookshop-switch-row { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 9px; cursor: pointer; }
.bookshop-switch-row strong { display: block; color: var(--bookshop-ink); font-size: 12px; }
.bookshop-switch-row small { display: block; color: var(--bookshop-muted); font-size: 9px; }
.bookshop-switch-row input { position: absolute; opacity: 0; }
.bookshop-switch-row i { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #dddcd4; transition: var(--bookshop-transition); }
.bookshop-switch-row i::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: var(--bookshop-transition); }
.bookshop-switch-row input:checked + i { background: var(--bookshop-secondary); }
.bookshop-switch-row input:checked + i::after { transform: translateX(-18px); }

.bookshop-mini-list { border-top: 1px solid var(--bookshop-line); padding: 14px 15px 13px; }
.bookshop-mini-list h4 { margin: 0 0 8px; color: var(--bookshop-ink); font-size: 12px; }
.bookshop-mini-product { min-height: 68px; display: grid; grid-template-columns: 49px minmax(0,1fr); gap: 9px; align-items: center; padding: 7px 0; text-decoration: none; border-bottom: 1px dashed #eeeae1; }
.bookshop-mini-product:last-child { border-bottom: 0; }
.bookshop-mini-product__image { width: 49px; height: 55px; background: var(--bookshop-warm); border-radius: 9px; display: grid; place-items: center; overflow: hidden; }
.bookshop-mini-product__image img { width: auto !important; height: 49px !important; max-width: 90% !important; object-fit: contain; margin: 0 !important; }
.bookshop-mini-product__content { min-width: 0; }
.bookshop-mini-product__content strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--bookshop-ink); font-size: 10px; line-height: 1.7; }
.bookshop-mini-product__content > span { color: var(--bookshop-secondary); font-size: 10px; font-weight: 700; }
.bookshop-mini-product del { display: none; }
.bookshop-mini-product ins { text-decoration: none; }
.bookshop-filter-mobile-footer { display: none; }

.bookshop-products-area { min-width: 0; }
.bookshop-toolbar {
    position: relative;
    background: #fff;
    border: 1px solid var(--bookshop-line);
    border-radius: 19px;
    padding: 14px 16px 10px;
    box-shadow: 0 4px 16px rgba(55,53,34,.035);
    margin-bottom: 14px;
}
.bookshop-toolbar__top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.bookshop-toolbar__title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bookshop-toolbar__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--bookshop-primary); color: var(--bookshop-secondary); display: grid; place-items: center; }
.bookshop-toolbar__title strong { display: block; color: var(--bookshop-ink); font-size: 14px; }
.bookshop-results-count { display: block; color: var(--bookshop-muted); font-size: 10px; margin-top: 1px; }
.bookshop-toolbar__actions { display: flex; align-items: center; gap: 9px; }
.bookshop-view-toggle { display: flex; gap: 5px; padding: 4px; background: var(--bookshop-warm); border-radius: 12px; }
.bookshop-view-btn { width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #909084; display: grid; place-items: center; cursor: pointer; }
.bookshop-view-btn .bookshop-icon { width: 17px; height: 17px; }
.bookshop-view-btn.is-active { background: #fff; color: var(--bookshop-secondary); box-shadow: 0 4px 10px rgba(55,53,34,.08); }
.bookshop-mobile-filter-toggle { display: none; min-height: 42px; border: 0; border-radius: 11px; background: var(--bookshop-primary); color: var(--bookshop-secondary); padding: 9px 13px; align-items: center; gap: 7px; cursor: pointer; font-weight: 700; }
.bookshop-active-filter-count { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 50%; background: var(--bookshop-secondary); color: #fff; font-size: 9px; }

.bookshop-sort-chips { display: flex; align-items: center; gap: 3px; overflow-x: auto; padding-top: 11px; margin-top: 10px; border-top: 1px dashed var(--bookshop-line); scrollbar-width: none; }
.bookshop-sort-chips::-webkit-scrollbar { display: none; }
.bookshop-sort-chip { flex: 0 0 auto; min-height: 34px; padding: 7px 11px; border: 0; border-radius: 10px; background: transparent; color: var(--bookshop-muted); cursor: pointer; font-size: 11px; transition: var(--bookshop-transition); }
.bookshop-sort-chip:hover { color: var(--bookshop-secondary); background: var(--bookshop-warm); }
.bookshop-sort-chip.is-active { background: var(--bookshop-secondary); color: #fff; box-shadow: 0 7px 15px rgba(76,76,26,.15); }
.bookshop-sort-select { display: none; width: 100%; height: 43px; border: 1px solid var(--bookshop-line); border-radius: 11px; background: #fff; color: var(--bookshop-ink); padding: 7px 12px; outline: 0; }

.bookshop-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 13px; }
.bookshop-filter-chip { min-height: 31px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e3dbc8; background: #fffaf0; color: var(--bookshop-secondary); border-radius: 999px; padding: 5px 9px 5px 6px; font-size: 10px; }
.bookshop-filter-chip button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(76,76,26,.09); color: var(--bookshop-secondary); display: grid; place-items: center; cursor: pointer; padding: 0; }
.bookshop-filter-chip button .bookshop-icon { width: 12px; height: 12px; }

.bookshop-products-stage { position: relative; min-height: 440px; }
.bookshop-products-loading { display: none; position: absolute; inset: 0; z-index: 9; grid-template-columns: repeat(var(--bookshop-columns,3), minmax(0,1fr)); gap: 18px; background: rgba(251,250,247,.78); backdrop-filter: blur(2px); }
.bookshop-products-stage.is-loading .bookshop-products-loading { display: grid; }
.bookshop-products-stage.is-loading #bookshop-products-container { opacity: .25; pointer-events: none; }
.bookshop-skeleton-card { background: #fff; border: 1px solid var(--bookshop-line); border-radius: var(--bookshop-radius); overflow: hidden; min-height: 393px; padding: 0 14px 14px; }
.bookshop-skeleton-card span { display: block; height: 210px; margin: 0 -14px 14px; background: linear-gradient(90deg,#f0eee7 25%,#faf9f5 45%,#f0eee7 65%); background-size: 220% 100%; animation: bookshop-shimmer 1.2s linear infinite; }
.bookshop-skeleton-card i { display: block; height: 13px; width: 88%; border-radius: 8px; margin: 10px 0; background: linear-gradient(90deg,#f0eee7 25%,#faf9f5 45%,#f0eee7 65%); background-size: 220% 100%; animation: bookshop-shimmer 1.2s linear infinite; }
.bookshop-skeleton-card i:nth-child(3) { width: 65%; }
.bookshop-skeleton-card i:nth-child(4) { width: 42%; margin-top: 35px; }
@keyframes bookshop-shimmer { to { background-position: -220% 0; } }

.bookshop-pagination-wrapper { margin-top: 25px; }
.bookshop-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; }
.bookshop-page-btn { min-width: 39px; height: 39px; border: 1px solid var(--bookshop-line); border-radius: 11px; background: #fff; color: var(--bookshop-ink); display: grid; place-items: center; cursor: pointer; font-size: 12px; transition: var(--bookshop-transition); }
.bookshop-page-btn:hover:not(:disabled),
.bookshop-page-btn.is-active { background: var(--bookshop-secondary); border-color: var(--bookshop-secondary); color: #fff; transform: translateY(-2px); }
.bookshop-page-btn:disabled { opacity: .4; cursor: not-allowed; }
.bookshop-page-dots { color: #aaa99e; padding: 0 3px; }

.bookshop-filter-overlay { display: none; position: fixed; inset: 0; z-index: 99980; background: rgba(29,29,20,.48); backdrop-filter: blur(3px); opacity: 0; transition: opacity 180ms ease; }
.bookshop-filter-overlay.is-open { opacity: 1; }

@media (max-width: 1250px) {
    .bookshop-shop-layout { grid-template-columns: 285px minmax(0,1fr); gap: 17px; }
    .bookshop-shop-hero { grid-template-columns: minmax(0,1fr) 270px; }
    .bookshop-hero-logo { width: 112px; height: 112px; flex-basis: 112px; }
    .bookshop-hero-mini-books { transform: scale(.9) rotate(-2deg); transform-origin: center left; }
    .bookshop-products-loading { --bookshop-columns: 3; }
}

@media (max-width: 980px) {
    .bookshop-shop-hero { grid-template-columns: 1fr 220px; padding: 30px; min-height: 205px; }
    .bookshop-shop-layout { grid-template-columns: 1fr; }
    .bookshop-filter-drawer {
        position: fixed;
        z-index: 99990;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(390px, 92vw);
        transform: translateX(105%);
        transition: transform 230ms cubic-bezier(.2,.7,.2,1);
    }
    .bookshop-filter-drawer.is-open { transform: none; }
    .bookshop-filter-panel { position: static; height: 100%; max-height: none; border-radius: 0; padding-bottom: 85px; }
    .bookshop-filter-close { display: grid; }
    .bookshop-filter-overlay { display: block; pointer-events: none; }
    .bookshop-filter-overlay.is-open { pointer-events: auto; }
    .bookshop-filter-mobile-footer { display: block; position: fixed; z-index: 8; right: 0; bottom: 0; width: min(390px,92vw); padding: 12px 15px; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--bookshop-line); }
    .bookshop-filter-mobile-footer .bookshop-btn { width: 100%; }
    .bookshop-mobile-filter-toggle { display: inline-flex; }
    body.bookshop-filter-open { overflow: hidden; }
}

@media (max-width: 740px) {
    .bookshop-shop-hero { display: block; min-height: 175px; padding: 26px 23px; border-radius: 20px; }
    .bookshop-shop-hero__art { position: absolute; left: 10px; bottom: 8px; width: 150px; height: 112px; gap: 9px; opacity: .46; }
    .bookshop-hero-logo { width: 82px; height: 82px; flex-basis: 82px; padding: 3px; }
    .bookshop-hero-mini-books { transform: scale(.62) rotate(-2deg); transform-origin: center left; margin-right: -12px; }
    .bookshop-shop-hero p { font-size: 12px; max-width: 82%; }
    .bookshop-category-strip { grid-auto-columns: minmax(138px, 1fr); }
    .bookshop-toolbar { padding: 11px; }
    .bookshop-toolbar__icon { display: none; }
    .bookshop-sort-chips { display: none; }
    .bookshop-sort-select { display: block; margin-top: 10px; }
    .bookshop-products-loading { --bookshop-columns: 2; gap: 10px; }
    .bookshop-skeleton-card { min-height: 345px; padding: 0 11px 11px; }
    .bookshop-skeleton-card span { height: 172px; margin: 0 -11px 12px; }
}

@media (max-width: 480px) {
    .bookshop-shop-hero h1 { font-size: 27px; }
    .bookshop-shop-hero__art { left: 4px; opacity: .38; }
    .bookshop-category-strip { grid-auto-columns: 130px; gap: 8px; }
    .bookshop-category-pill { min-height: 62px; grid-template-columns: 31px minmax(0,1fr); }
    .bookshop-category-pill small { display: none; }
    .bookshop-category-pill .bookshop-icon,
    .bookshop-category-pill__mark { width: 31px; height: 31px; font-size: 13px; }
    .bookshop-toolbar__title strong { font-size: 12px; }
    .bookshop-toolbar__actions { gap: 5px; }
    .bookshop-view-toggle { display: none; }
    .bookshop-mobile-filter-toggle { min-height: 38px; padding: 7px 10px; font-size: 11px; }
    .bookshop-page-btn { min-width: 34px; height: 34px; border-radius: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .bookshop-shop-hero *, .bookshop-category-pill, .bookshop-page-btn { animation: none !important; transition: none !important; }
}

/* Keep theme-level blue button states out of the bookshop interface. */
body.bookshop-pro-shop-page .bookshop-filter-title,
body.bookshop-pro-shop-page .bookshop-filter-title:active {
    border: 0 !important;
    background: #fff !important;
    color: var(--bookshop-ink) !important;
    box-shadow: none !important;
}
body.bookshop-pro-shop-page .bookshop-filter-title:hover,
body.bookshop-pro-shop-page .bookshop-filter-title:focus-visible,
body.bookshop-pro-shop-page .bookshop-filter-group.is-open .bookshop-filter-title {
    background: var(--bookshop-primary-soft) !important;
    color: var(--bookshop-secondary) !important;
}

body.bookshop-pro-shop-page .bookshop-category-pill:hover,
body.bookshop-pro-shop-page .bookshop-category-pill:focus-visible,
body.bookshop-pro-shop-page .bookshop-category-pill.is-active {
    border-color: var(--bookshop-primary-deep) !important;
    background: var(--bookshop-primary-soft) !important;
    color: var(--bookshop-ink) !important;
    box-shadow: var(--bookshop-shadow-sm) !important;
}

body.bookshop-pro-shop-page .bookshop-sort-chip:hover,
body.bookshop-pro-shop-page .bookshop-sort-chip:focus-visible {
    border: 0 !important;
    background: var(--bookshop-primary-soft) !important;
    color: var(--bookshop-secondary) !important;
    box-shadow: none !important;
}
body.bookshop-pro-shop-page .bookshop-sort-chip.is-active,
body.bookshop-pro-shop-page .bookshop-sort-chip.is-active:hover,
body.bookshop-pro-shop-page .bookshop-sort-chip.is-active:focus-visible {
    background: var(--bookshop-secondary) !important;
    color: #fff !important;
    box-shadow: 0 7px 15px rgba(76,76,26,.15) !important;
}

body.bookshop-pro-shop-page .bookshop-view-btn:hover,
body.bookshop-pro-shop-page .bookshop-view-btn:focus-visible,
body.bookshop-pro-shop-page .bookshop-clear-all:hover,
body.bookshop-pro-shop-page .bookshop-clear-all:focus-visible,
body.bookshop-pro-shop-page .bookshop-mobile-filter-toggle:hover,
body.bookshop-pro-shop-page .bookshop-mobile-filter-toggle:focus-visible {
    background: var(--bookshop-primary) !important;
    color: var(--bookshop-secondary) !important;
    box-shadow: none !important;
}
body.bookshop-pro-shop-page .bookshop-view-btn.is-active {
    background: #fff !important;
    color: var(--bookshop-secondary) !important;
    box-shadow: 0 4px 10px rgba(55,53,34,.08) !important;
}

body.bookshop-pro-shop-page .bookshop-page-btn:hover:not(:disabled),
body.bookshop-pro-shop-page .bookshop-page-btn:focus-visible,
body.bookshop-pro-shop-page .bookshop-page-btn.is-active {
    border-color: var(--bookshop-secondary) !important;
    background: var(--bookshop-secondary) !important;
    color: #fff !important;
    box-shadow: none !important;
}
