/* NEGOZIO PAGE - layout ammorbidito e coerente con home */
.shop-page {
    background: #ffffff;
}

.shop-hero {
    padding: 26px 0 20px;
    background: #ffffff;
}

.shop-hero-inner {
    min-height: 0;
    display: block;
}

.shop-hero-copy {
    min-width: 0;
    padding: 30px 34px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.shop-kicker,
.shop-results-kicker,
.shop-filter-kicker {
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-red);
}

.shop-hero-copy h1 {
    margin: 0;
    max-width: 780px;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--brand-black);
}

.shop-hero-copy p:not(.shop-kicker) {
    margin: 12px 0 0;
    max-width: 860px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
}

.shop-catalog {
    padding: 0 0 38px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.shop-sidebar {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 92px;
}

.shop-filter-panel,
.shop-category-panel,
.shop-results-toolbar,
.shop-empty-state {
    border: 1px solid var(--line);
    background: #ffffff;
}

.shop-filter-panel {
    padding: 16px;
}

.shop-filter-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.shop-filter-heading h2,
.shop-category-panel h2,
.shop-results-toolbar h2,
.shop-empty-state h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    color: var(--brand-black);
    letter-spacing: -0.02em;
}

.shop-reset-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid var(--line);
    color: #111;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.shop-reset-link:hover {
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.shop-field {
    display: grid;
    gap: 6px;
    margin-bottom: 11px;
}

.shop-field span {
    font-size: 10px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.shop-field input,
.shop-field select {
    width: 100%;
    height: 38px;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    padding: 0 11px;
    color: var(--text);
    font-size: 12px;
    outline: none;
    border-radius: 0;
}

.shop-field select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #555 50%),
        linear-gradient(135deg, #555 50%, transparent 50%);
    background-position:
        calc(100% - 16px) 16px,
        calc(100% - 11px) 16px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 30px;
}

.shop-field input:focus,
.shop-field select:focus {
    border-color: var(--brand-red);
    background-color: #ffffff;
}

.shop-price-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.shop-filter-submit,
.shop-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    background: var(--brand-red);
    border: 1px solid var(--brand-red);
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.shop-filter-submit {
    width: 100%;
    margin-top: 2px;
}

.shop-filter-submit:hover,
.shop-empty-button:hover {
    background: #cc0000;
    border-color: #cc0000;
}

.shop-category-panel {
    padding: 16px;
}

.shop-category-list {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.shop-category-link {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 9px;
    color: #111;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #f0f0f0;
}

.shop-category-link:hover,
.shop-category-link.is-active {
    color: var(--brand-red);
    border-color: var(--brand-red);
    background: #fffafa;
}

.shop-category-link span {
    min-width: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.shop-category-link strong {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.shop-results {
    min-width: 0;
}

.shop-results-toolbar {
    min-height: 0;
    padding: 14px 0 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    border-width: 0 0 1px;
}

.shop-results-toolbar p:not(.shop-results-kicker) {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.shop-active-filters {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 50%;
}

.shop-active-filters span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border: 1px solid #ededed;
    background: #ffffff;
    color: #333;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Griglia prodotti: 6 prodotti per riga su desktop ampio */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px 18px;
    align-items: stretch;
}

/* Card prodotto coerente con la home */
.shop-product-card {
    min-width: 0;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    color: #111;
    text-decoration: none;
    background: #ffffff;
}

.shop-product-top {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.shop-product-badge-row {
    min-height: 28px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.shop-product-tag {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid #ebebeb;
    background: #ffffff;
    color: var(--brand-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.shop-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: none;
    overflow: hidden;
    margin-bottom: 14px;
}

.shop-product-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.25s ease;
}

.shop-product-card:hover .shop-product-media img {
    transform: scale(1.03);
}

.shop-product-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9d9d9d;
    background: #f5f5f5;
}

.shop-product-fallback .material-symbols-outlined {
    font-size: 54px;
}

.shop-product-name {
    margin: 0;
    min-height: 58px;
    font-size: 15px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111;
}

.shop-product-link:hover .shop-product-name {
    color: var(--brand-red);
}

.shop-product-meta {
    margin-top: 10px;
}

.shop-product-brand {
    font-size: 11px;
    line-height: 1.25;
    text-transform: uppercase;
    color: #555;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.shop-product-code {
    margin-top: 4px;
    min-height: 14px;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #7a7a7a;
    letter-spacing: 0.05em;
}

.shop-product-tech {
    margin-top: 8px;
    min-height: 14px;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #8a8a8a;
    letter-spacing: 0.03em;
}

.shop-product-bottom {
    margin-top: auto;
    padding-top: 14px;
}

.shop-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
}

.shop-product-price {
    font-size: 21px;
    line-height: 1.05;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}

.shop-product-vat {
    font-size: 12px;
    color: #6c6c6c;
    font-weight: 600;
}

.shop-product-stock {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 1.3;
    color: #1f7a31;
    font-weight: 600;
}

.shop-product-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    display: inline-block;
    flex: 0 0 auto;
}

.shop-product-stock.is-low {
    color: #c77700;
}

.shop-product-stock.is-zero {
    color: #b3261e;
}

.shop-product-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-product-qty {
    width: 92px;
    min-width: 92px;
    height: 40px;
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
    border: 1px solid #d9d9d9;
    background: #ffffff;
}

.shop-product-qty button {
    border: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 18px;
    color: #111;
    cursor: pointer;
}

.shop-product-qty span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #111;
}

.shop-product-cart {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    border: 1px solid var(--brand-red);
    background: var(--brand-red);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 12px;
}

.shop-product-cart:hover:not(:disabled) {
    background: #cc0000;
    border-color: #cc0000;
}

.shop-product-cart:disabled {
    opacity: 0.45;
    cursor: default;
}

.shop-product-cart svg {
    width: 18px;
    height: 18px;
    display: block;
}

.shop-product-hint {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    display: block;
    font-size: 10px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    text-decoration: none;
}

.shop-product-hint:hover {
    color: var(--brand-red);
}

.shop-empty-state {
    min-height: 320px;
    padding: 42px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.shop-empty-state .material-symbols-outlined {
    font-size: 58px;
    color: var(--brand-red);
    margin-bottom: 12px;
}

.shop-empty-state p {
    margin: 12px 0 0;
    max-width: 520px;
    color: var(--muted);
    line-height: 1.65;
}

.shop-empty-button {
    margin-top: 18px;
}

.shop-pagination {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.shop-page-link,
.shop-page-numbers a,
.shop-page-numbers span {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.shop-page-link {
    min-width: 118px;
}

.shop-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-page-numbers a:hover,
.shop-page-link:hover:not(.is-disabled),
.shop-page-numbers a.is-current {
    color: #ffffff;
    border-color: var(--brand-red);
    background: var(--brand-red);
}

.shop-page-link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 1680px) {
    .shop-products-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1420px) {
    .shop-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 22px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .shop-filter-panel {
        padding: 16px;
    }

    .shop-category-panel {
        display: none;
    }
}

@media (max-width: 980px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .shop-hero {
        padding: 18px 0 16px;
    }

    .shop-hero-copy {
        padding: 24px 20px;
    }

    .shop-hero-copy h1 {
        font-size: 28px;
        line-height: 1.15;
    }

    .shop-hero-copy p:not(.shop-kicker) {
        font-size: 14px;
        line-height: 1.6;
    }

    .shop-catalog {
        padding-bottom: 28px;
    }

    .shop-layout {
        gap: 18px;
    }

    .shop-results-toolbar {
        padding: 12px 0 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .shop-active-filters {
        max-width: none;
        justify-content: flex-start;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
    }

    .shop-product-card {
        min-height: 372px;
    }

    .shop-product-media {
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 10px;
        margin-bottom: 10px;
    }

    .shop-product-name {
        min-height: 44px;
        font-size: 14px;
        line-height: 1.24;
    }

    .shop-product-meta {
        margin-top: 8px;
    }

    .shop-product-tech {
        display: none;
    }

    .shop-product-bottom {
        padding-top: 10px;
    }

    .shop-product-price {
        font-size: 19px;
    }

    .shop-product-stock {
        margin-top: 8px;
        font-size: 11px;
    }

    .shop-product-actions {
        margin-top: 10px;
        gap: 8px;
    }

    .shop-product-qty {
        width: 84px;
        min-width: 84px;
        height: 38px;
        grid-template-columns: 28px 1fr 28px;
    }

    .shop-product-cart {
        height: 38px;
        font-size: 10px;
        padding: 0 10px;
    }

    .shop-product-hint {
        margin-top: 8px;
        padding-top: 8px;
        font-size: 9px;
    }

    .shop-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-page-link {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .shop-price-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .shop-product-card {
        display: flex;
        flex-direction: column;
        min-height: 360px;
    }

    .shop-product-top {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    .shop-product-badge-row {
        min-height: 24px;
        margin-bottom: 6px;
    }

    .shop-product-tag {
        min-height: 20px;
        padding: 0 7px;
        font-size: 9px;
    }

    .shop-product-link {
        display: block;
    }

    .shop-product-media {
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 9px;
        margin-bottom: 10px;
    }

    .shop-product-name {
        min-height: 48px;
        font-size: 13px;
        line-height: 1.25;
    }

    .shop-product-meta {
        margin-top: 7px;
    }

    .shop-product-brand,
    .shop-product-code {
        font-size: 10px;
    }

    .shop-product-bottom {
        margin-top: auto;
        padding-top: 10px;
    }

    .shop-product-price {
        font-size: 18px;
    }

    .shop-product-vat {
        font-size: 10px;
    }

    .shop-product-stock {
        margin-top: 7px;
        gap: 6px;
        font-size: 10px;
    }

    .shop-product-actions {
        margin-top: 9px;
        gap: 6px;
    }

    .shop-product-qty {
        width: 70px;
        min-width: 70px;
        height: 36px;
        grid-template-columns: 23px 1fr 23px;
    }

    .shop-product-qty button {
        font-size: 15px;
    }

    .shop-product-qty span {
        font-size: 13px;
    }

    .shop-product-cart {
        height: 36px;
        gap: 5px;
        padding: 0 7px;
        font-size: 9px;
        letter-spacing: 0.03em;
    }

    .shop-product-cart svg {
        width: 15px;
        height: 15px;
    }

    .shop-product-hint {
        margin-top: 8px;
        padding-top: 8px;
        font-size: 9px;
    }
}

@media (max-width: 390px) {
    .shop-products-grid {
        gap: 18px 12px;
    }

    .shop-product-card {
        min-height: 340px;
    }

    .shop-product-media {
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 8px;
    }

    .shop-product-name {
        min-height: 46px;
        font-size: 12.5px;
    }

    .shop-product-actions {
        gap: 5px;
    }

    .shop-product-qty {
        width: 64px;
        min-width: 64px;
        grid-template-columns: 21px 1fr 21px;
    }

    .shop-product-cart {
        padding: 0 6px;
        font-size: 8.5px;
    }
}


/* =========================================================
   GRIGLIA DIVISORIA PRODOTTI + IMMAGINI UNIFORMI
   Linee divisorie coerenti e box immagine quadrato per tutti i prodotti
   ========================================================= */
.shop-products-grid {
    --tw-border-opacity: 1;
    --shop-grid-divider: rgb(222 225 232 / var(--tw-border-opacity));
    gap: 0 !important;
    border-top: 1px solid var(--shop-grid-divider);
    border-left: 1px solid var(--shop-grid-divider);
    background: #ffffff;
}

.shop-product-card {
    padding: 18px 14px 20px;
    border-right: 1px solid var(--shop-grid-divider);
    border-bottom: 1px solid var(--shop-grid-divider);
    background: #ffffff;
}

.shop-product-card:hover {
    background: #ffffff;
}

.shop-product-badge-row {
    margin-bottom: 10px;
}

.shop-product-media {
    margin-bottom: 13px;
}

.shop-product-bottom {
    padding-top: 13px;
}

@media (max-width: 1180px) {
    .shop-product-card {
        padding: 16px 12px 18px;
    }
}

@media (max-width: 820px) {
    .shop-products-grid {
        gap: 0 !important;
    }

    .shop-product-card {
        padding: 14px 10px 16px;
    }
}

@media (max-width: 540px) {
    .shop-products-grid {
        gap: 0 !important;
    }

    .shop-product-card {
        padding: 12px 8px 14px;
    }

    .shop-product-media {
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 8px;
    }
}

@media (max-width: 390px) {
    .shop-products-grid {
        gap: 0 !important;
    }

    .shop-product-card {
        padding: 11px 7px 13px;
    }

    .shop-product-media {
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 7px;
    }
}

/* =========================================================
   FIX FILTRI MOBILE A SCOMPARSA + CATEGORIE ESPANDIBILI
   ========================================================= */
.shop-sidebar {
    position: static !important;
    top: auto !important;
}

.shop-mobile-filter-toggle,
.shop-mobile-filter-header,
.shop-filter-overlay {
    display: none;
}

.shop-sort-form {
    margin-left: auto;
    min-width: 190px;
}

.shop-sort-form label {
    display: grid;
    gap: 6px;
}

.shop-sort-form span {
    font-size: 10px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.shop-sort-form select {
    width: 100%;
    height: 38px;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    padding: 0 30px 0 11px;
    color: var(--text);
    font-size: 12px;
    outline: none;
    border-radius: 0;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #555 50%),
        linear-gradient(135deg, #555 50%, transparent 50%);
    background-position:
        calc(100% - 16px) 16px,
        calc(100% - 11px) 16px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.shop-active-filters {
    max-width: none;
    justify-content: flex-start;
    margin: -8px 0 16px;
}

.shop-category-list-expandable {
    gap: 7px;
}

.shop-category-group {
    border: 1px solid #f0f0f0;
    background: #ffffff;
}

.shop-category-summary {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 9px;
    color: #111;
    cursor: pointer;
    list-style: none;
}

.shop-category-summary::-webkit-details-marker {
    display: none;
}

.shop-category-summary::after {
    content: '+';
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 16px;
    line-height: 1;
    order: 3;
}

.shop-category-group[open] .shop-category-summary::after {
    content: 'âˆ’';
}

.shop-category-summary:hover,
.shop-category-summary.is-active,
.shop-category-group[open] > .shop-category-summary {
    color: var(--brand-red);
    background: #fffafa;
}

.shop-category-summary span {
    min-width: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.shop-category-summary strong {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    order: 2;
}

.shop-subcategory-list {
    display: grid;
    gap: 2px;
    padding: 0 8px 8px;
}

.shop-subcategory-link {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 8px 7px 14px;
    color: #333;
    text-decoration: none;
    border-left: 2px solid #eeeeee;
    background: #ffffff;
}

.shop-subcategory-link:hover,
.shop-subcategory-link.is-active {
    color: var(--brand-red);
    border-left-color: var(--brand-red);
    background: #fffafa;
}

.shop-subcategory-link span {
    min-width: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.shop-subcategory-link strong {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

@media (max-width: 820px) {
    .shop-mobile-filter-toggle {
        width: 100%;
        min-height: 44px;
        margin: 0 0 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid var(--line);
        background: #ffffff;
        color: #111;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        cursor: pointer;
    }

    .shop-mobile-filter-toggle .material-symbols-outlined {
        font-size: 20px;
        color: var(--brand-red);
    }

    .shop-mobile-filter-toggle strong {
        min-width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: var(--brand-red);
        color: #ffffff;
        font-size: 10px;
    }

    .shop-filter-overlay {
        position: fixed;
        inset: 0;
        z-index: 99980;
        display: block;
        background: rgba(0, 0, 0, 0.38);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .shop-filter-overlay[hidden] {
        display: block !important;
    }

    .shop-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        z-index: 99990;
        width: min(90vw, 370px);
        height: 100dvh;
        max-height: 100dvh;
        overflow-y: auto;
        padding: 0 14px 18px;
        display: block;
        background: #ffffff;
        box-shadow: 12px 0 34px rgba(0, 0, 0, 0.18);
        transform: translate3d(-100%, 0, 0);
        transition: transform 0.24s ease;
        overscroll-behavior: contain;
    }

    .shop-mobile-filter-header {
        position: sticky;
        top: 0;
        z-index: 2;
        min-height: 56px;
        margin: 0 -14px 14px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #eeeeee;
        background: #ffffff;
    }

    .shop-mobile-filter-header strong {
        font-size: 16px;
        color: #111;
    }

    .shop-mobile-filter-header button {
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        color: #111;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }

    body.shop-filters-open {
        overflow: hidden;
    }

    body.shop-filters-open .shop-filter-overlay {
        opacity: 1;
        visibility: visible;
    }

    body.shop-filters-open .shop-sidebar {
        transform: translate3d(0, 0, 0);
    }

    .shop-layout {
        display: block;
    }

    .shop-results-toolbar {
        flex-direction: row;
        align-items: flex-end;
    }

    .shop-sort-form {
        min-width: 150px;
        max-width: 170px;
    }

    .shop-sort-form select {
        height: 36px;
        font-size: 11px;
    }
}

@media (max-width: 540px) {
    .shop-results-toolbar {
        align-items: flex-start;
        gap: 12px;
    }

    .shop-sort-form {
        min-width: 140px;
        max-width: 150px;
    }
}
