#collection-1602 {
    padding: 24px 0 40px;
}

#collection-1602 .cs-container {
    max-width: 1320px;
    margin: 0 auto;
}

#collection-1602 .cs-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px;
}

#collection-1602 .cs-title {
    margin: 0 auto 4px;
    text-align: center;
    width: 100%;
}

#collection-1602 .cs-filters {
    width: 100%;
    max-width: 1200px;
    margin: 12px auto 0;
}

#collection-1602 .cs-filters .filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(2, 6, 23, .06);
}

@media (min-width: 992px) {
    #collection-1602 .cs-filters .filter-bar {
        flex-wrap: nowrap;
    }
}

#collection-1602 .cs-filters .grow {
    flex: 1 1 360px;
}

#collection-1602 .cs-filters .min160 {
    flex: 0 0 160px;
}

#collection-1602 .cs-filters .min140 {
    flex: 0 0 140px;
}

#collection-1602 .cs-filters .apply-wrap {
    margin-left: auto;
}

#collection-1602 .cs-listing-wrapper {
    margin-top: 24px;
}

#collection-1602 .cs-filters .filter-bar .input,
#collection-1602 .cs-filters .filter-bar .form-group,
#collection-1602 .cs-filters .filter-bar .mb-3 {
    margin: 0 !important;
}

#collection-1602 .cs-filters .filter-bar .form-control,
#collection-1602 .cs-filters .filter-bar .form-select {
    height: 44px;
    padding: 8px 12px;
}

#collection-1602 .cs-filters .apply-wrap {
    display: flex;
    align-items: center;
}

#collection-1602 .cs-filters .apply-wrap .btn {
    height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
}


#collection-1602 .cs-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(2, 6, 23, .06);
    transition: transform .15s ease, box-shadow .2s ease;
}

#collection-1602 .cs-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(2, 6, 23, .12);
}

#collection-1602 .cs-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

#collection-1602 .cs-picture-group {
    margin: 0;
}

#collection-1602 .cs-picture {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    background: #f5f7fb;
}

#collection-1602 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .3s ease;
}

#collection-1602 .cs-item:hover .cs-picture img {
    transform: scale(1.06);
}

#collection-1602 .cs-details {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#collection-1602 .cs-category {
    font-size: .875rem;
    color: #6c757d;
}

#collection-1602 .cs-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0b1324;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.6em;
}

#collection-1602 .cs-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#collection-1602 .cs-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111827;
}

#collection-1602 .cs-buy {
    height: 36px;
    padding: 0 14px;
    border-radius: 9999px;
    border: 1px solid var(--primary, #0d6efd);
    background: transparent;
    color: var(--primary, #0d6efd);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

#collection-1602 .cs-buy:hover {
    background: var(--primary, #0d6efd);
    color: #fff;
}

.cart-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1045;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .18);
}

.cart-fab svg {
    width: 22px;
    height: 22px;
}

.cart-fab .badge {
    position: absolute;
    top: -4px;
    right: -4px;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .3);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 1044;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    max-width: min(480px, 33.333vw);
    background: #fff;
    box-shadow: -20px 0 60px rgba(2, 6, 23, .15);
    transform: translateX(100%);
    transition: transform .25s;
    z-index: 1046;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
}

.cart-items {
    flex: 1;
    overflow: auto;
    padding: 12px;
}

.cart-row {
    display: grid;
    grid-template-columns:64px 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-row .thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-row .meta .name {
    font-weight: 600;
}

.cart-row .qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-row .qty button {
    width: 28px;
    height: 28px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 6px;
}

.cart-row .remove {
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #64748b;
}

.cart-footer {
    padding: 14px 18px;
    border-top: 1px solid #e5e7eb;
}

.cart-footer .subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}


#collection-1602 .cs-listing-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 24px auto 0;
}

#collection-1602 .cs-listing {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 260px));
    gap: 24px;
    justify-content: center;
}

#collection-1602 .cs-listing.cs-hidden {
    display: none;
}

.cart-row .qty span {
    min-width: 2ch;
    text-align: center;
    display: inline-block;
}

.cart-row .qty button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}


.cart-row .qty button,
.cart-row .remove {
    font-size: 16px;
    line-height: 1;
    color: #111;
    text-indent: 0;
    overflow: visible;
}

.pm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1050
}

.pm-overlay.open {
    opacity: 1;
    pointer-events: auto
}

.pm-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.96);
    background: #fff;
    width: min(92vw, 860px);
    max-width: 860px;
    min-width: 560px;
    max-height: 86vh;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
    transition: transform .25s ease
}

.pm-overlay.open .pm-dialog {
    transform: translate(-50%, -50%) scale(1)
}

.pm-body {
    display: grid;
    grid-template-columns:48% 52%;
    align-items: stretch
}

@media (max-width: 820px) {
    .pm-dialog {
        min-width: auto;
        width: 94vw
    }

    .pm-body {
        grid-template-columns:1fr
    }
}

.pm-image {
    background: #f5f7fb;
    min-height: 320px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

@media (max-width: 820px) {
    .pm-image {
        min-height: 260px
    }
}

.pm-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.pm-info {
    padding: 28px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 320px;
    max-height: calc(86vh - 40px)
}

.pm-sku {
    font-size: .9rem;
    color: #6b7280
}

.pm-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .2px
}

.pm-desc {
    font-size: .95rem;
    line-height: 1.65;
    color: #374151;
    white-space: pre-wrap;
    overflow: auto
}

.pm-price {
    margin-top: 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827
}

#pm-add-to-cart {
    margin-top: auto;
    height: 48px;
    border-radius: 12px
}

.pm-dialog > .pm-close {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 9999px;
    background: #fff;
    color: #111;
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
    cursor: pointer;
    z-index: 1;
    transition: transform .15s ease, box-shadow .15s ease
}

.pm-dialog > .pm-close:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .32)
}

.pm-dialog > .pm-close:active {
    transform: translateX(-50%)
}

.pm-image{border-radius:24px 0 0 24px;overflow:hidden}
@media(max-width:820px){.pm-image{border-radius:24px 24px 0 0}}

.pm-dialog>.pm-close{bottom:-80px}

