/* ------------------ breadcrumbs ------------------ */
.ds-breadcrumb-item:first-child,
.ds-breadcrumb-item:first-child > * {
    width: auto;
    height: auto;
}
/* --------------------- header --------------------- */
.ds-megamenu-children-item {
    padding: 1rem;
}
@media (min-width: 1200px) {
    .ds-menu-maincategories-item > .ds-menu-maincategories-dropdown {
        box-shadow: 0 1002px 0 1000px #00000033;
    }
    .dark-theme .ds-menu-maincategories-item > .ds-menu-maincategories-dropdown {
        box-shadow: 0 1002px 0 1000px #00000055;
    }
}
@media (max-width: 1199px) {
    .ds-megamenu-children:not(.ds-megamenu-children-manufacturers) {
        padding: 0 !important;
        gap: 0 !important;
    }
    .ds-megamenu-children:not(.ds-megamenu-children-manufacturers) .ds-megamenu-children-item {
        position: relative;
        flex: 0 0 100%;
        max-width: 100%;
        padding: .75rem 0;
    }
    .ds-megamenu-children:not(.ds-megamenu-children-manufacturers) .ds-megamenu-children-item:first-child {
        padding-top: 0;
    }
    .ds-megamenu-children:not(.ds-megamenu-children-manufacturers) .ds-megamenu-children-item::after {
        content: '';
        position: absolute;
        left: -.75rem;
        right: -.75rem;
        bottom: 0;
        width: auto;
        border-bottom: var(--ds-main-border);
    }
    .ds-megamenu-children:not(.ds-megamenu-children-manufacturers) .ds-megamenu-children-item:last-child::after {
        content: none;
    }
    .ds-megamenu-children:not(.ds-megamenu-children-manufacturers) .ds-megamenu-children-item .ds-megamenu-children-title {
        margin-bottom: 0 !important;
        font-weight: 500 !important;
    }
    .ds-megamenu-children:not(.ds-megamenu-children-manufacturers) .ds-megamenu-children-item > ul {
        margin-top: 1rem;
        padding-left: 1rem;
    }
    .ds-megamenu-children:not(.ds-megamenu-children-manufacturers) .ds-megamenu-children-item .ds-megamenu-children-title img {
        width: 30px;
        height: 30px;
    }
    .ds-megamenu-children-item {
        padding: .75rem 1rem;
    }
    .ds-megamenu-children-manufacturers a {
        padding: 0 !important;
    }
    .ds-megamenu-children-manufacturers span {
        font-weight: 500;
    }
}
/* -------------------- category -------------------- */
#ss_showmore {
    margin-top: 30px;
}
@media (min-width: 768px) {
    .product-grid .content-block::before {
        border-radius: 2px;
    }
}
/* --------------------- hpmrr ---------------------- */
.hpm-block-prd {
    padding-top: 30px;
}
.hpm-block-cat .hpm-button-wrapper {
    padding-left: 10px;
    padding-right: 10px;
}
.hpm-block-cat .slick-arrow.slick-disabled {
    visibility: hidden;
}
.hpm-block-cat .hpm-button-wrapper:not(.slick-initialized) {
    max-height: 40px;
    overflow: hidden;
}
.hpmcircle {
    overflow: hidden;
    line-height: normal;
}
.hpm-block-cat .slick-arrow.slick-next {
    right: -10px;
}
.hpm-block-cat .slick-arrow.slick-prev {
    left: -10px;
}
.hpm-block-cat .slick-arrow {
    position: absolute;
    top: calc(50% - 15px);
    padding: 5px 3px;
    z-index: 4;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.hpm-block-cat .slick-track {
    display: flex !important;
}
.hpm-block-cat .slick-slide {
    height: inherit !important;
}
@media (min-width: 1200px) {
    .ds-module-item .hpm-block-cat .slick-arrow {
        opacity: 0;
    }
    .ds-module-item:hover .hpm-block-cat .slick-arrow {
        opacity: 1;
    }
}
@media (max-width: 767px) {
    .hpm-block-cat {
        margin: 0 auto;
    }
}
@media (max-width: 576px) {
    .hpm-block-cat .hpm-button-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hpm-block-cat .slick-arrow.slick-next {
        right: -5px;
    }
    .hpm-block-cat .slick-arrow.slick-prev {
        left: -5px;
    }
}
/* ------------------- promotions ------------------- */
.promo-finished {
    opacity: .5;
}
.ribbon-finished {
    display: none;
}
.promotion-category .product-grid .product-thumb {
    margin-bottom: 30px;
}
.promotion-category .product-grid .image img {
    width: 100%;
    max-width: unset;
    max-height: unset;
}
.promotion-page .promotion-description {
    color: var(--ds-dark-text-color);
}
.promotion-page .promotion-description p {
    margin-bottom: 8px;
}
.promotion-page .promotion-description h2,
.promotion-page .promotion-description h3,
.promotion-page .promotion-description h4,
.promotion-page .promotion-description h5,
.promotion-page .promotion-description h6 {
    margin: 16px 0 8px;
}
.promotion-page .promotion-description ul,
.promotion-page .promotion-description ol {
    padding-left: 30px;
    margin-bottom: 8px;
}

.promotion-page .promo-image {
    width: 100%;
}
.promotion-page #column-left {
    padding-top: 72px;
}
.timeTo.timeTo-white div {
    min-height: 21px;
}
.product-promotion {
    width: 100%;
    min-width: unset;
    margin: 0 0 24px;
    padding: 25px 15px;
    background: var(--ds-primary-color);
    border: 0;
    box-shadow: none;
    border-radius: .4375rem;
}
.product-promotion::before,
.product-promotion::after {
    content: none;
}
.product-promotion .promotion-image {
    display: none;
}
.product-promotion .promotion-name {
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 1.2em;
    line-height: 1.2em;
    text-align: center;
    color: #fff;
}
.promotion-timer, .promotion-details {
    width: auto !important;
}
.promotion-timer .timer-title {
    padding-bottom: 12px;
    font-weight: 400;
    font-size: .9em;
    color: #0a0a0a;
}
.product-promotion .promotion-timer .timer-title {
    color: #fff;
}
.promotion-timer .timer-counter {
    height: 30px;
    max-width: 160px;
    margin: 0 auto;
    padding: 3px 0 1px;
    background: #fff;
    /* border: 1px solid #0a0a0a; */
    border: 1px solid #0a0a0a;
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 25px !important;
}
.product-thumb .promotion-timer .timer-counter {
    height: 32px;
    padding: 3px 0 2px;
}
.promotion-page .promotion-timer .timer-counter {
    height: 32px;
    padding: 3px 0 2px;
    margin-left: 0;
}
.promotion-timer .timer-counter > * {
    text-align: center;
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 25px !important;
}
.timeTo {
    height: 26px;
}
.timeTo ul {
    top: -26px !important;
}
.timeTo span {
    display: inline-block;
    margin-top: -2px;
}
.timeTo.timeTo-white div {
    width: 13px !important;
    border: 0;
    background: transparent;
}
.timeTo figcaption {
    width: auto;
    text-align: center;
    margin-top: -12px;
    padding-right: 0 !important;
    color: #474849;
    font-size: 6px !important;
    line-height: 7px;
    opacity: 0;
}
.timeTo figure {
    max-width: 40px;
    padding-right: 2px;
}
.timeTo figure:first-child {
    transform: translateY(-1px);
}
.timeTo figure:first-child figcaption {
    opacity: 1;
    font-size: 8px !important;
    line-height: 5px;
    padding-right: 8px !important;
}
.timeTo figure .first + figcaption {
    padding-right: 0 !important;
}
.product-promotion .promotion-details {
    margin-top: 15px;
    margin-bottom: 0;
    padding-right: 0;
}
.product-promotion .timeTo figcaption {
    margin-top: -15px;
}
.product-promotion .details-title > a {
    color: #fff !important;
    font-size: 1em !important;
    text-decoration: underline !important;
    border-bottom: 0 !important;
}
.product-promotion .details-title > a:hover {
    text-decoration: none !important;
}
.promotion-page .timeTo figcaption {
    margin-top: -20px;
}
.gifts-title {
    font-weight: 400;
}
.promotion-gifts {
    color: #fff;
    padding: 0px 0 12px;
}
.promotion-gifts.form-group {
    padding: 12px 12px 4px;
    background: var(--ds-product-actions-bg);
    border: var(--ds-main-border);
    border-radius: .4375rem!important;
}
.promotion-gift {
    flex: 100%;
}
.promotion-gift input {
    opacity: 0;
    visibility: hidden;
    max-width: 0;
}
.promotion-gift label {
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: unset !important;
    max-height: unset !important;
    padding: 6px 12px 6px 12px !important;
    color: var(--ds-primary-color) !important;
    line-height: 24px !important;
    background: transparent !important;
    border: 1px solid #fff;
    cursor: pointer;
}
.promotion-gift label:has(input:checked) {
    background-color: var(--ds-primary-color) !important;
    border-color: var(--ds-primary-color) !important;
    color: var(--ds-white-color) !important;
}
.promotion-gift .gift-image img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
}
.promotion-gift .gift-name {
    padding-left: 12px;
    text-align: left;
    white-space: normal;
}
.gifts-order-total {
    color: #fff;
    font-weight: 400;
    padding-bottom: 6px;
    opacity: .8;
}
.gifts-order-total span {
    font-weight: 500;
}
/* promotion popup */
.modal-dialog {
    max-width: 600px;
}
.modal-header {
    padding: 0 0 16px;
}
.modal-header .modal-title {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 20px;
}
.modal-dialog .close {
    font-size: 25px;
    line-height: 25px;
    font-weight: 300;
    color: #0a0a0a;
    background: transparent;
}
.modal-dialog .promotion-wrapper {
    padding: 0;
}
.modal-dialog .promotion-wrapper .popup-image {
    display: none;
}
.modal-dialog .products-wrapper {
    padding: 0;
}
.modal-dialog .promotion-product {
    width: calc(33.3333% - 7px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: none;
    border-radius: 0;
    border: var(--ds-main-border);
    border-radius: .25rem;
}
.modal-dialog .promotion-product .product-image {
    width: 100%;
}
.modal-dialog .promotion-product .product-image img {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    height: auto;
}
.modal-dialog .product-description .product-name {
    height: 90px;
}
.modal-dialog .product-description .product-name a,
.modal-dialog .product-description .product-name span {
    font-size: 13px;
    line-height: 18px;
    height: 55px;
    overflow: hidden;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: var(--ds-dark-text-color);
    text-align: left;
}
.modal-dialog .popup-description {
    text-align: left;
    color: var(--ds-dark-text-color);
}
.modal-dialog .popup-description > * {
    color: var(--ds-dark-text-color) !important;
}
.modal-dialog .product-description .product-name a:hover {
    z-index: 1;
    text-decoration: underline;
    color: var(--ds-links-color);
    -webkit-line-clamp: 5;
    height: 72px;
}
.modal-dialog .promotion-product .product-price {
    font-weight: 700;
    font-size: 16px;
    color: #444;
    white-space: nowrap;
}
.modal-dialog .promotion-product .product-price-new {
    font-weight: 700;
    font-size: 16px;
    color: #444;
    white-space: nowrap;
}
.modal-dialog .promotion-product .product-price-old {
    font-weight: 400;
    text-decoration: line-through;
    color: #b3b3b3;
    font-size: 12px;
}
.modal-dialog .products-wrapper .products-title {
    color: var(--ds-secondary-text-color);;
}
.ds-category-item-info .promotion .category-promotion {
    margin: 0;
}
.ds-category-item-info .promotion .category-promotion .promotion-image {
    display: none;
}
.promotion-page .ds-module-img a {
    display: block;
    text-align: center;
}
/* price-list */
.digitcart-container .dropdown-menu {
    width: 270px;
}
.digitcart-container .dropdown-menu li {
    padding: 4px 0;
}
.digitcart-container .dropdown-menu a:hover {
    text-decoration: underline;
}
.digitcart-container input.form-control,
.digitcart-container select.form-control {
    padding: 8px 0;
    height: 37px;
}
.digitcart-container #input-limit {
    max-width: 100px;
}
.digitcart-container .checkbox-inline {
    font-size: 14px;
}
.digitcart-container .table .table-thumb,
.price-list-print .table .table-thumb {
    max-width: 130px;
    text-align: center;
}
.digitcart-container .table .table-thumb a,
.price-list-print .table .table-thumb a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.digitcart-container .text-start .pagination {
    justify-content: flex-start;
}
.digitcart-container .table td:last-child {
    max-width: 147px;
}
.digitcart-container .table td:last-child .button {
    /* width: 100%; */
}
.digitcart-container .button {
    padding: 9px 20px 10px;
    gap: 0 6px;
    line-height: 1.15;
}
.digitcart-container .form-control {
    border-color: #E1E5EA;
}

@media (max-width: 1199px) {
    .digitcart-container .table-responsive {
        position: relative;
        display: flex;
    }
    .digitcart-container .table-responsive::after {
        content: '';
        position: sticky;
        right: 0;
        top: 0;
        bottom: 0;
        opacity: .7;
        min-width: 40px;
        max-width: 40px;
        min-height: 100%;
        display: flex;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(150,150,150,.1) 40%, rgba(150,150,150,.6) 100%);
    }
}
/* price-list end */
/* @media (min-width: 1200px) {
    .promotion-category .rm-module-col.product-grid {
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
        padding: 0 20px 20px !important;
    }
} */
@media (min-width: 991px) {
    .promotion-page .promo-image {
        position: sticky;
        top: 160px;
    }
 }
@media (min-width: 1600px) {
    .promotion-category .product-grid .product-thumb {
        height: 460px;
    }
}
@media (max-width: 1199px) {
    .product-promotion {
        width: 100%;
        margin: 0;
    }
}
@media (max-width: 860px) {
    .ds-blog-post .ds-blog-post-text .img-fluid {
        display: block;
        margin: 0 auto;
        width: 100% !important;
        max-width: 500px;
        height: auto !important;
        object-fit: contain;
        object-position: center;
    }
    .digitcart-container .table-name {
        min-width: 230px;
    }
}
@media (max-width: 767px) {
    .promotion-page .product-grid .ds-module-item {
        padding: 15px;
    }
    .promotion-category .product-thumb {
        min-height: unset;
        margin-bottom: 0;
    }
    .promo-finished .promo-empty {
        display: none !important;
        padding: 0 !important;
        max-height: 0;
    }
    .product-promotion {
        width: 100%;
        margin: 0 0 15px;
    }
    .promotion-page .ds-module-item:not(.product-layout) {
        width: 50% !important;
    }
}
@media (max-width: 540px) {
    .modal-dialog .promotion-product {
        width: calc(50% - 5px);
    }
}