.product.list {
    margin-top: 30px;
    padding: 8px;
    float: left;
    margin: 0 10px;
    margin-bottom: 40px;
    padding: 1rem;
    text-align: center;
    position: relative;
    list-style: none;
}

.product.list .product-image img {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    object-fit: contain;
    height: 250px;
}

.product.list:hover .product-image .button {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.product.list:hover .product-image img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.product.list .product-info {
    padding: 20px;
}

.product.list .product-info .title {
    min-height: 80px;
    max-height: 115px;
    display: block;
    /* or inline-block */
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
}

.product.list .product-info .category {
    width: 100%;
    font-size: 12px;
    margin-bottom: 2px;
    text-align: left;
    margin-top: 16px;
    height: 15px;
}

.product.list .product-info .title a {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: start;
}

.product.list .product-info .title a:hover {
    color: var(--color-pri-active);
}

/* Product Details Info */
.product-details-info .single-block {
    background-color: var(--color-white);
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-top: 30px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
    .product-details-info .info-body.custom-responsive-margin {
        margin-bottom: 30px;
    }
}

.product-details-info .info-body h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-details-info .info-body p {
    margin: 20px 0;
}

.product-details-info .info-body .features li {
    display: block;
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.product-details-info .info-body .features li::before {
    position: absolute;
    content: "";
    left: 0;
    top: 8px;
    height: 6px;
    width: 6px;
    background-color: var(--color-font-active);
    border-radius: 6px;
}

.product-details-info .info-body .features li:last-child {
    margin: 0;
}

.product-details-info .info-body .normal-list {
    margin-bottom: 30px;
}

.product-details-info .info-body .normal-list:last-child {
    margin-bottom: 0;
}

.product-details-info .info-body .normal-list li {
    display: block;
    margin-bottom: 12px;
    position: relative;
}

.product-details-info .info-body .normal-list li span {
    font-weight: 500;
    color: var(--color-font-active);
}

.product-details-info .info-body .normal-list li:last-child {
    margin: 0;
}

.product-details-info .give-review h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
}

.product-details-info .give-review ul li {
    display: block;
    margin-bottom: 12px;
}

.product-details-info .give-review ul li span {
    color: var(--color-font-active);
    display: inline-block;
    margin-right: 8px;
    min-width: 80px;
}

.product-details-info .give-review ul li i {
    display: inline-block;
    color: var(--color-sec);
    font-size: 14px;
}

.product-details-info .give-review .review-btn {
    margin-top: 30px;
    padding: 12px 30px;
    width: 100%;
    background-color: var(--color-sec);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.product-details-info .give-review .review-btn:hover {
    color: var(--color-white);
    background-color: var(--color-overlay);
}

.product-details-info .reviews .title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
}

.product-details-info .reviews .single-review {
    position: relative;
    padding-left: 80px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .product-details-info .reviews .single-review {
        padding-left: 60px;
    }
}

.product-details-info .reviews .single-review:last-child {
    margin-bottom: 0;
}

.product-details-info .reviews .single-review img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 767px) {
    .product-details-info .reviews .single-review img {
        height: 40px;
        width: 40px;
    }
}

.product-details-info .reviews .single-review .review-info {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 25px;
}

@media (max-width: 767px) {
    .product-details-info .reviews .single-review .review-info {
        padding: 20px;
    }
}

.product-details-info .reviews .single-review .review-info::before {
    position: absolute;
    top: 12px;
    right: 100%;
    width: 0;
    height: 0;
    border: solid transparent;
    content: '';
    pointer-events: none;
    margin-top: 9px;
    border-width: 10px;
    border-color: transparent;
    border-right-color: var(--color-bg-alt);
}

@media (max-width: 767px) {
    .product-details-info .reviews .single-review .review-info::before {
        top: 5px;
    }
}

.product-details-info .reviews .single-review .review-info::after {
    position: absolute;
    top: 12px;
    right: 100%;
    width: 0;
    height: 0;
    border: solid transparent;
    content: '';
    pointer-events: none;
    margin-top: 10px;
    border-width: 9px;
    border-color: transparent;
    border-right-color: var(--color-white);
}

@media (max-width: 767px) {
    .product-details-info .reviews .single-review .review-info::after {
        top: 5px;
    }
}

.product-details-info .reviews .single-review .review-info h4 {
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .product-details-info .reviews .single-review .review-info h4 {
        font-size: 14px;
    }
}

.product-details-info .reviews .single-review .review-info h4 span {
    font-size: 14px;
    display: block;
    color: var(--color-font);
    margin-top: 7px;
}

.product-details-info .reviews .single-review .review-info .stars {
    margin-top: 8px;
}

.product-details-info .reviews .single-review .review-info .stars li {
    display: inline-block;
    color: var(--color-sec);
    font-size: 14px;
}

.product-details-info .reviews .single-review .review-info p {
    margin-top: 15px;
}

.review-modal .modal-dialog {
    max-width: 600px;
}

.review-modal .modal-header {
    padding: 25px;
}

.review-modal .modal-header h5 {
    font-size: 20px;
    font-weight: 500;
}

.review-modal .modal-body {
    padding: 25px;
}

.review-modal .modal-body .form-group {
    margin-bottom: 15px;
}

.review-modal .modal-body .form-group label {
    color: var(--color-font);
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
}

.review-modal .modal-body .form-group input {
    height: 45px;
    width: 100%;
    border: 1px solid var(--color-white);
    border-radius: 4px;
    padding: 0px 18px;
    font-size: 14px;
}

.review-modal .modal-body .form-group select {
    padding-right: 38px;
    padding-left: 15px;
    background-position: center right 17px;
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVm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px 10px;
    font-size: 14px;
    font-weight: 500;
}

.review-modal .modal-body .form-group select:focus {
    text-decoration: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.review-modal .modal-body .form-group select {
    height: 45px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--color-border);
}

.review-modal .modal-body .form-group select:focus {
    text-decoration: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.review-modal .modal-body .form-group textarea {
    padding: 18px;
    font-size: 14px;
}

.review-modal .modal-footer {
    padding: 25px;
}

/* Product Grids */

.product-grids .product-grid-topbar {
    padding: 15px 20px;
    background-color: var(--color-white);
    border-radius: 4px;
    border: 1px solid var(--color-bg-alt);
    padding-right: 15px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
    .product-grids .product-grid-topbar {
        margin-top: 30px;
    }
}

.product-grids .product-grid-topbar .product-sorting label {
    display: inline-block;
    margin: 0;
    padding: 8px 5px 8px 0;
    color: var(--color-font);
    font-size: 14px;
    font-weight: normal;
}

.product-grids .product-grid-topbar .product-sorting .form-control {
    width: 100%;
    max-width: 186px;
    margin-right: 10px;
    display: inline-block;
}

.product-grids .product-grid-topbar .product-sorting select.form-control:not([size]):not([multiple]) {
    height: 42px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid var(--color-bg-alt);
    padding-right: 38px;
    background-position: center right 17px;
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDE4NS4zNDQgMTg1LjM0NCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTg1LjM0NCAxODUuMzQ0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTkyLjY3MiwxNDQuMzczYy0yLjc1MiwwLTUuNDkzLTEuMDQ0LTcuNTkzLTMuMTM4TDMuMTQ1LDU5LjMwMWMtNC4xOTQtNC4xOTktNC4xOTQtMTAuOTkyLDAtMTUuMTggICAgYzQuMTk0LTQuMTk5LDEwLjk4Ny00LjE5OSwxNS4xOCwwbDc0LjM0Nyw3NC4zNDFsNzQuMzQ3LTc0LjM0MWM0LjE5NC00LjE5OSwxMC45ODctNC4xOTksMTUuMTgsMCAgICBjNC4xOTQsNC4xOTQsNC4xOTQsMTAuOTgxLDAsMTUuMThsLTgxLjkzOSw4MS45MzRDOTguMTY2LDE0My4zMjksOTUuNDE5LDE0NC4zNzMsOTIuNjcyLDE0NC4zNzN6IiBmaWxsPSIjNTA1MDUwIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==);
    background-repeat: no-repeat;
    background-size: 10px 10px;
}

.product-grids .product-grid-topbar .product-sorting select.form-control:not([size]):not([multiple]):focus {
    text-decoration: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.product-grids .product-grid-topbar .product-sorting .total-show-product {
    display: inline-block;
    color: var(--colo-font);
    font-weight: 400;
    font-size: 14px;
}

@media (max-width: 767px) {
    .product-grids .product-grid-topbar .product-sorting .total-show-product {
        display: block;
        margin-top: 15px;
    }
}

.product-grids .product-grid-topbar .nav {
    border: none;
    float: right;
}

@media (max-width: 767px) {
    .product-grids .product-grid-topbar .nav {
        float: none;
        text-align: left;
        margin-top: 20px;
    }
}

.product-grids .product-grid-topbar .nav button {
    border: none;
    padding: 5px 10px 5px 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-right: 6px;
    font-size: 16px;
}

.product-grids .product-grid-topbar .nav button.active {
    background-color: var(--color-font-active);
    border-color: transparent;
    color: var(--color-white);
}

.product-grids .product-grid-topbar .nav button:last-child {
    margin: 0;
}

/* Product Sidebar */
.product-sidebar .single-widget {
    background-color: var(--color-white);
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-bottom: 30px;
}

.product-sidebar .single-widget:last-child {
    margin-bottom: 0;
}

.product-sidebar .single-widget h3 {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-pri);
    font-size: 15px;
    font-weight: 500;
}

.product-sidebar .single-widget.search form {
    position: relative;
}

.product-sidebar .single-widget.search form input {
    height: 50px;
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-pri);
    padding: 0px 15px;
    padding-right: 50px;
}

.product-sidebar .single-widget.search form button {
    height: 40px;
    width: 40px;
    text-align: center;
    display: block;
    border-radius: 6px;
    border: none;
    background-color: transparent;
    color: var(--color-pri);
    position: absolute;
    right: 5px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    font-size: 16px;
}

.product-sidebar .single-widget.search form button:hover {
    color: var(--color-font-active);
}

.product-sidebar .single-widget.range input {
    color: var(--color-pri);
    cursor: pointer;
}

.product-sidebar .single-widget.range ::-webkit-input-placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--color-pri);
    opacity: 1;
    /* Firefox */
}

.product-sidebar .single-widget.range :-ms-input-placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--color-pri);
    opacity: 1;
    /* Firefox */
}

.product-sidebar .single-widget.range ::-ms-input-placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--color-pri);
    opacity: 1;
    /* Firefox */
}

.product-sidebar .single-widget.range ::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--color-pri);
    opacity: 1;
    /* Firefox */
}

.product-sidebar .single-widget.range :-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: var(--color-pri);
}

.product-sidebar .single-widget.range ::-ms-input-placeholder {
    /* Microsoft Edge */
    color: var(--color-pri);
}

.product-sidebar .single-widget.range .range-inner {
    position: relative;
    padding-left: 15px;
}

.product-sidebar .single-widget.range label {
    color: var(--color-pri);
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 15px;
}

.product-sidebar .single-widget.range #rangePrimary {
    display: inline-block;
    border: none;
}

.product-sidebar .single-widget.range input[type="range"]::-webkit-slider-thumb {
    background: var(--color-font-active) !important;
}

.product-sidebar .single-widget.range input[type="range"]::-moz-range-thumb {
    background: var(--color-font-active) !important;
}

.product-sidebar .single-widget.range input[type="range"]::-ms-thumb {
    background: var(--color-font-active) !important;
}

.product-sidebar .single-widget.condition .form-check {
    display: block;
    margin-bottom: 10px;
}

.product-sidebar .single-widget.condition .form-check:last-child {
    margin: 0;
}

.product-sidebar .single-widget.condition .form-check-label {
    cursor: pointer;
}

.product-sidebar .single-widget.condition .form-check-input {
    cursor: pointer;
    margin-top: 4px;
}

.product-sidebar .single-widget.condition .form-check-input:checked {
    background-color: var(--color-font-active);
    border-color: var(--color-font-active);
}

.product-sidebar .single-widget .list li {
    margin-bottom: 12px;
}

.product-sidebar .single-widget .list li:last-child {
    margin: 0;
}

.product-sidebar .single-widget .list li a {
    color: var(--color-bg-alt);
    position: relative;
    font-weight: 400;
    font-size: 14px;
    display: inline-block;
    margin-right: 3px;
}

.product-sidebar .single-widget .list li a:hover {
    color: var(--color-font-active);
}

.product-sidebar .single-widget .list li span {
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
}

.product-sidebar .single-widget.banner a img {
    width: 100%;
}

.product .price {
    text-align: left;
    height: 25px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-pri);
    margin-bottom: 5px;
}

.product.list .product-info .price {
    height: 20px;
    padding-top: 5px;
    font-size: 16px;
    font-weight: normal;
}

.product.list .product-info .price-regular{
    padding-top: 10px;
}

.product .currency {
    padding-right: 5px;
    font-size: 12px !important;
    color: var(--color-font) !important;
}

.product .installment {
    font-size: 12px !important;
    color: var(--color-font) !important;
    position: relative;
}

.product .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-font-active) !important;
}

.product .price-regular {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--color-pri-active);
}

.product .percentage-discount {
    font-size: 12px !important;
    background-color: var(--color-pri-active);
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 9px;
    padding: 7px 8px;
    color: var(--color-white);
    width: 60px;
    height: 32px;
}

.product .product-detail.info .percentage-discount {
    position: relative;
    margin-bottom: 5px;
    margin-left: 0px;
    border-radius: 5px;
    height: 30px;
    padding: 6px 8px;
}

.product.detail .value {
    text-align: left;
    margin-bottom: 20px;
    font-size: 26px !important;
}

.product.detail .price-regular {
    font-size: 12px !important;
}


.product .product-action {
    margin-top: 10px;
}

.product .product-action .in-qty {
    display: none;

    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 32px;
    padding-right: 32px;
    height: 42px;
}

.product .product-action .btn-pay {
    width: calc(100% - 80px);
    float: left;
    padding: 10px;
    height: 42px;
    text-align: center;
}

.product .product-action .btn-cart {
    width: 70px;
    float: right;
    padding: 10px;
    height: 42px;
    text-align: center;
}


@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
    .product.list .product-info .title a {
        font-size: 24px;
    }

    .product .product-info .category,
    .product .currency,
    .product .installment {
        font-size: 16px !important;
    }

    .product .value {
        font-size: 24px !important;
    }

    .product .percentage-discount {
        right: 20px !important;
        font-size: 16px !important;
        width: 80px;
        height: 40px;
    }

    .product.list {
        width: 100%;
        max-width: 100%;
    }
    .product .product-detail.info .percentage-discount {
        margin-left: 16px;
    }
    
}

.product.detail h1 {
    color: var(--color-font-active) !important;
    margin-bottom: 0px !important;
}

.product.detail .title {
    text-align: left;
}


.product.list {
    max-width: 290px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
    .product.list {
        max-width: 100%;
        padding: 0px;
        margin: 0px;
        margin-bottom: 50px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    ul.product-carousel-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 !important;
    }

    .product.list {
        max-width: 100%;
    }

    .product.list .product-info {
        padding: 10px;
    }

    .product.list .product-image img {
        object-fit: contain;
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}

@media (min-width: 1024px) {
    ul.product-carousel-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 0 !important;
    }

    .product.list {
        max-width: 100%;
        padding: 0;
    }

    .product.list .product-info {
        padding: 10px;
    }

    .product.list .product-image img {
        object-fit: contain;
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}

.section ul.product-carousel-track {
    padding-left: 0 !important;
}