/* general */
.so-content {
    text-align: center;
    width: 100%;
}
.so-row {
    position: relative;
    max-width: 1340px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Minicart */
.cm-cart {
    position: relative;
    user-select: none;
}
.cm-cart-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #1C2330B3;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}
.cm-cart-icon svg {
    width: 24px;
    height: 24px;
}
.cm-cart-icon.cm-active,
.cm-cart-icon:hover {
    background-color: #C52233;
}
.cm-cart-main {
    display: none;
    width: 280px;
    position: absolute;
    background-color: #191F2B;
    border: 1px solid #283141;
    border-radius: 16px;
    overflow: hidden;
    right: 0;
    top: calc(100% + 16px);
}
.cm-cart-main.cm-active {
    display: inline-block;
}
.cm-cart-main-empty {
    padding: 50px 20px;
    text-align: center;
}
.cm-cart-main-empty svg {
    margin-bottom: 10px;
}
.cm-cart-main-empty p {
    max-width: 150px;
    width: 100%;
    margin: auto;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    opacity: 0.4;
    margin-bottom: 0;
}
.cm-cart-main-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 220px;
}
.cm-cart-main-wrap-top {
    width: 100%;
    max-height: 160px;
    overflow: auto;
    padding-left: 12px;
    padding-right: 12px;
    flex-grow: 1;
}
.cm-cart-main-wrap-top {
  --sb-track-color: #191F2B;
  --sb-thumb-color: #353A42;
  --sb-size: 4px;
}
.cm-cart-main-wrap-top::-webkit-scrollbar {
  width: var(--sb-size);
}
.cm-cart-main-wrap-top::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 16px;
}
.cm-cart-main-wrap-top::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 16px;
  
}
@supports not selector(::-webkit-scrollbar) {
    .cm-cart-main-wrap-top {
        scrollbar-color: var(--sb-thumb-color)
                        var(--sb-track-color);
    }
}
.cm-cart-main-wrap-bottom {
    border-top: 1px solid #283141;
    width: 100%;
    flex-shrink: 0;
    height: 64px;
    box-sizing: border-box;
    padding: 16px;
}
.cm-cart-main-wrap-bottom .cm-button {
    padding: 6px 12px;
    height: 32px;
    border-radius: 16px;
}
.cm-cart-main-wrap-bottom .cm-button:after {
    width: 14px;
    height: 14px;
}
.cm-cart-main-wrap-bottom .cm-button span {
    font-size: 12px;
}
.cm-cart-main-wrap-top-item {
    align-items: center;
    justify-content: space-between;
    display: flex;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #283141;
}
.cm-cart-main-wrap-top-item.cm-removing {
    opacity: 0.5;
    pointer-events: none;
}
.cm-cart-main-wrap-top-item:last-child {
    border-bottom-width: 0;
}
.cm-cart-main-wrap-top-item .cm-cart-remove {
    background-color: #C52233;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    border-radius: 4px;
    padding: 4px 6px;
    display: none;
    opacity: 1;
    transition: all 0.3s ease;;
}
.cm-cart-main-wrap-top-item .cm-cart-remove:hover {
    opacity: 0.7;
}
.cm-cart-main-wrap-top-item > div:nth-child(1) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.cm-cart-main-wrap-top-item  > div:nth-child(1) img {
    width: 38px;
    flex-shrink: 0;
    height: 20px;
    margin-right: 2px;
    object-fit: contain;
}
.cm-cart-main-wrap-top-item  > div:nth-child(1) h6 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    margin-top: 0;
    color: #fff;
}
.cm-cart-main-wrap-top-item  > div:nth-child(1) span {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-right: 2px;
}
.cm-cart-main-wrap-top-item > div:nth-child(2) {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}
.cm-cart-main-wrap-top-item > div:nth-child(2) span {
    font-size: 14px;
    font-weight: 700;
    color: #00B67A;
}
.cm-cart-main-wrap-top-item:hover > div:nth-child(2) span {
    opacity: 0;
}
.cm-cart-main-wrap-top-item:hover > div:nth-child(2) .cm-cart-remove {
    display: inline-block;
}

@media screen and (max-width: 600px) {
    .cm-cart-icon {
        border-radius: 8px;
    }
    .cm-cart-main {
        width: calc(100vw - 50px);
        right: -65px;
    }
    .cm-cart-main-wrap-top-item:hover > div:nth-child(2) span {
        opacity: 1;
    }
    .cm-cart-main-wrap-top-item .cm-cart-remove {
        font-size: 0;
        padding: 0;
        width: 18px;
        height: 18px;
        display: inline-block;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 14px;
        background-image: url('../img/close-icon.svg');
    }
}

/* Related slider */
.cm-related {
    margin-bottom: 100px;
}
.cm-related-wrap {
    position: relative;
}
.cm-related h2 {
    text-align: center;
    font-family: 'Britti Sans', system-ui, sans-serif;
    font-weight: 700;
    margin-bottom: 30px;
}
.cm-related .swiper-pagination {
    display: none;
}
.cm-cat-slider {
    padding-top: 20px !important;
}
.cm-product-card-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: absolute;
    background-color: var(--main-color);
    left: 50%;
    transform: translateX(-50%);
    top: -19px;
    padding: 4px 16px 4px 8px;
    border-radius: 50px;
    z-index: 99;
}
.cm-product-card-label svg {
    width: 14px;
    height: 14px;
}
.cm-product-card-label span {
    font-size: 12px;
    font-family: "Britti Sans", system-ui, sans-serif;
    color: #fff;
    font-weight: 700;
}
.cm-cat-slider .cm-product-card {
    border-radius: 13px;
    padding: 3px;
}
.cm-cat-slider .cm-product-card-wrap {
    background-color: #1C2330;
    position: relative;
    border-radius: 12px;
}
.cm-cat-slider .cm-product-card.has-border {
    background: linear-gradient(to bottom, var(--main-color) 0%, rgba(245, 65, 67, 0) 70%) !important;
}
.cm-product-card .cm-product-thumb {
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
    position: relative;
}
.cm-product-card .cm-product-thumb img {
    object-fit: cover;
    height: 180px;
}
.cm-product-card .cm-product-thumb:after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    z-index: 2;
    background: #1C2330;
    background: linear-gradient(0deg, rgba(28, 35, 48, 1) 13%, rgba(28, 35, 48, 0) 100%);
    content: '';
}
.cm-product-card .cm-product-info {
    padding: 16px;
}
.cm-product-card .cm-product-info h3 {
    margin-bottom: 15px;
    margin-top: 0;
}
.cm-product-card .cm-product-info h3 a {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    font-family: "Britti Sans", system-ui, sans-serif;
    color: #fff;
}
.cm-product-info li span {
    font-size: 16px;
    color: #B8B8B8;
}
.cm-product-info li:before {
    top: 5px !important;
    content: '';
    position: absolute;
    left: 0px;
    width: 16px;
    height: 16px;
    background-image: url(https://criminalmodz.com/wp-content/uploads/2025/09/checkmark.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.cm-product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #2b323f;
    line-height: 1;
    padding: 15px 15px 13px 16px;
}
.cm-product-price > div:nth-child(1) {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 5px;
}
.cm-product-price > div:nth-child(1) > span:nth-child(1) {
    font-size: 16px;
    line-height: 1.3;
    color: #B8B8B8;
    font-family: "Britti Sans", system-ui, sans-serif;
}
.cm-product-price > div:nth-child(1) > span:nth-child(2),
.cm-product-price > div:nth-child(1) > span:nth-child(2) * {
    color: #fff;
    font-weight: 700;
    font-size: 26px;
    font-family: "Britti Sans", system-ui, sans-serif;
}
.cm-product-price > div:nth-child(2) a {
    width: 54px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
}
.cm-product-price > div:nth-child(2) a i {
    font-size: 38px;
    color: #fff;
}
.cm-slider-nav .swiper-button-next,
.cm-slider-nav .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    background-color: #0d131f !important;
    border-radius: 100% !important;
    color: #fff !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
}
.cm-slider-nav .swiper-button-prev:after,
.cm-slider-nav .swiper-button-next:after {
    font-size: 18px !important;
}
.cm-slider-nav .swiper-button-next {
    right: -15px !important;
}
.cm-slider-nav .swiper-button-prev {
    left: -15px !important;
}

@media screen and (max-width: 600px) {
    .cm-related h2 {
        margin-bottom: 0;
    }
    .cm-related {
        margin-bottom: 50px;
    }
}