.fontend-page-shop {
    background: #f4f4f4;
}

.fontend-page-shop .bw-main-wrap {
    min-height: auto;
}

.bw-shop-page {
    padding: 16px 0 44px;
}

.bw-shop-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.bw-shop-header-copy {
    display: grid;
    gap: 6px;
}

.bw-shop-eyebrow {
    margin: 0;
    color: #303742;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
    display: none;
}

.bw-shop-header h1 {
    margin: 0;
    color: #111827;
    font-size: var(--cv-page-title-size);
    line-height: 1.14;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.bw-shop-header h1 span {
    color: var(--bw-primary);
}

.bw-shop-header h1 strong {
    color: inherit;
    font-weight: 700;
}

.bw-shop-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f5f5f5;
    color: #374151;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 700;
}

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

.bw-shop-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 139;
    background: rgba(15, 23, 42, 0.44);
}

.bw-shop-filter-panel {
    background: transparent;
    border-right: 0;
    align-self: start;
    position: sticky;
    top: 94px;
}

.bw-shop-filter-mobile-head {
    display: none;
}

.bw-shop-filter-form {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.bw-shop-filter-group {
    padding: 0 0 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #ececec;
}

.bw-shop-filter-group:last-child {
    margin-bottom: 0;
}

.bw-shop-filter-group h3 {
    margin: 0 0 12px;
    color: #545b68;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
}

.bw-shop-filter-note {
    margin: 0;
    color: #4b5563;
    font-size: 0.88rem;
    line-height: 1.5;
}

.bw-shop-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #374151;
    font-size: 1.02rem;
    cursor: pointer;
}

.bw-shop-radio:last-child {
    margin-bottom: 0;
}

.bw-shop-radio input {
    margin: 0;
    accent-color: var(--bw-primary);
}

.bw-shop-range-wrap {
    position: relative;
    height: 30px;
    margin-bottom: 10px;
}

.bw-shop-range-wrap input[type="range"] {
    position: absolute;
    inset: 50% 0 auto;
    width: 100%;
    transform: translateY(-50%);
    margin: 0;
    accent-color: #c7cbd3;
}

.bw-shop-range-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #6b7280;
    font-size: 0.92rem;
    font-weight: 500;
}

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

.bw-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}

.bw-shop-card {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    min-width: 0;
}

.bw-shop-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bw-shop-card-image {
    position: relative;
    aspect-ratio: 20 / 21;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
}

.bw-shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.bw-shop-card:hover .bw-shop-card-image img {
    transform: none;
}

.bw-shop-discount-badge {
    position: absolute;
    top: 6px;
    left: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 4px 8px;
    border-radius: 0 6px 6px 0;
    background: #19b446;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
}

.bw-shop-wish-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    color: var(--bw-primary);
    font-size: 1.08rem;
    line-height: 1;
}

.bw-shop-card-body {
    display: grid;
    grid-template-rows: auto auto auto;
    row-gap: 2px;
    padding: 6px 0 0;
    min-height: 0;
}

.bw-shop-card-body h3 {
    margin: 0;
    color: #1f2937;
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 0;
}

.bw-shop-price {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    color: var(--bw-primary);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.15;
}

.bw-shop-price del {
    margin-left: 4px;
    color: #9ca3af;
    font-size: 0.68rem;
    font-weight: 500;
    text-decoration-thickness: 1px;
}

.bw-shop-meta {
    margin: 0;
    color: #6b7280;
    font-size: 0.74rem;
}

.bw-shop-star {
    color: #f5ba14;
}

.bw-shop-empty {
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    padding: 26px 22px;
}

.bw-shop-empty h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 1.3rem;
}

.bw-shop-empty p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

.bw-floating-action {
    position: fixed;
    right: 18px;
    bottom: 20px;
    display: grid;
    gap: 11px;
    z-index: 90;
}

.bw-floating-action a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--bw-border);
    display: grid;
    place-items: center;
    box-shadow: var(--bw-shadow);
    font-size: 1.2rem;
}

.fontend-page-shop .bw-mobile-bottom-nav {
    display: none;
}

@media (max-width: 1280px) {
    .bw-shop-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

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

@media (max-width: 980px) {
    .bw-shop-page {
        padding-top: 0;
    }

    .bw-shop-header {
        align-items: center;
        margin-bottom: 12px;
    }

    .bw-shop-header-copy {
        gap: 4px;
    }

    .bw-shop-eyebrow {
        font-size: 1.06rem;
        display: block;
    }

    .bw-shop-header h1 {
        font-size: 1.28rem;
    }

    .bw-shop-filter-toggle {
        display: inline-flex;
    }

    .bw-shop-layout {
        grid-template-columns: 1fr;
    }

    .bw-shop-filter-panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 140;
        width: min(320px, 86vw);
        background: #fff;
        border-right: 0;
        border-left: 1px solid #ececec;
        transform: translateX(105%);
        transition: transform 0.28s ease;
        overflow: auto;
        padding: 0;
    }

    .bw-shop-filter-panel.is-open {
        transform: translateX(0);
    }

    .bw-shop-filter-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid #ececec;
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .bw-shop-filter-mobile-head strong {
        color: #111827;
        font-size: 1.05rem;
    }

    .bw-shop-filter-mobile-head .bw-link-button {
        color: var(--bw-primary);
        font-weight: 700;
    }

    .bw-shop-filter-form {
        border: 0;
        border-radius: 0;
        background: #fff;
    }

    .bw-shop-filter-group {
        padding: 16px 18px;
        margin-bottom: 0;
    }

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

@media (max-width: 760px) {
    .bw-shop-page .bw-container {
        width: min(var(--cv-shell-width), calc(100% - var(--cv-shell-gutter-mobile)));
    }

    .bw-shop-header {
        margin-bottom: 10px;
    }

    .bw-shop-eyebrow {
        font-size: 1.02rem;
        display: block;
    }

    .bw-shop-header h1 {
        font-size: var(--cv-page-title-size-mobile);
        line-height: 1.25;
    }

    .bw-shop-filter-toggle {
        height: 34px;
        padding: 0 10px;
        font-size: 0.84rem;
    }

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

    .bw-shop-card-image {
        border-radius: 8px;
    }

    .bw-shop-discount-badge {
        min-height: 0;
        padding: 4px 8px;
        border-radius: 0 6px 6px 0;
        font-size: 0.7rem;
    }

    .bw-shop-wish-icon {
        top: 12px;
        right: 12px;
        font-size: 1.08rem;
    }

    .bw-shop-card-body {
        grid-template-rows: auto auto auto;
        row-gap: 2px;
        padding: 5px 1px 7px;
        min-height: 64px;
    }

    .bw-shop-card-body h3 {
        margin: 0;
        font-size: 0.78rem;
        line-height: 1.2;
        min-height: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bw-shop-price {
        font-size: 1.12rem;
    }

    .bw-shop-price del {
        font-size: 0.62rem;
    }

    .bw-shop-meta {
        margin-top: 2px;
        font-size: 0.7rem;
    }

    .bw-shop-empty {
        padding: 18px 16px;
    }

    .fontend-page-shop .bw-footer {
        margin-top: 26px;
        padding-bottom: 88px;
    }

    .fontend-page-shop .bw-footer-bottom {
        display: none;
    }

    .fontend-page-shop .bw-mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 140;
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        background: var(--bw-primary);
        box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.16);
    }

    .fontend-page-shop .bw-mobile-bottom-nav a,
    .fontend-page-shop .bw-mobile-bottom-nav button {
        position: relative;
        min-height: 58px;
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 4px;
        border: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.88);
        font: inherit;
        cursor: pointer;
    }

    .fontend-page-shop .bw-mobile-bottom-nav a.is-active,
    .fontend-page-shop .bw-mobile-bottom-nav button.is-active {
        color: #fff;
    }

    .fontend-page-shop .bw-mobile-bottom-nav i {
        font-size: 1rem;
    }

    .fontend-page-shop .bw-mobile-bottom-nav span {
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1;
    }

    .fontend-page-shop .bw-mobile-bottom-count {
        position: absolute;
        top: 7px;
        right: 12px;
        min-width: 16px;
        height: 16px;
        border-radius: 999px;
        background: #14b83d;
        color: #fff;
        font-size: 0.6rem;
        font-weight: 800;
        display: grid;
        place-items: center;
        padding: 0 3px;
    }

    .fontend-page-shop .bw-floating-action {
        display: none;
    }
}
