/*===================================================
    Shop Style CSS
====================================================*/
.shop-section .product-details-wrap {
    padding-right: 40px;
}

.product-shorting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 767px) {
    .product-shorting {
        flex-direction: column;
        align-items: start;
    }
}

.product-shorting div {
    color: var(--dl-body-color);
}

.product-thumb {
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.product-card:hover .product-thumb img {
    transform: scale(1.02);
    transition: var(--dl-transition);
}

.shop-action {
    position: absolute;
    right: 10px;
    top: 10px;
}

.shop-action li {
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    transition: var(--dl-transition);
}

.product-card:hover .shop-action li {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.product-card:hover .shop-action li:nth-child(2) {
    transition-delay: 0.1s;
}

.product-card:hover .shop-action li:nth-child(3) {
    transition-delay: 0.2s;
}

.shop-action li a {
    background-color: var(--dl-white-color);
    color: var(--dl-heading-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
    margin-bottom: 5px;
    border-radius: 5px;
}

.shop-action li a:hover {
    color: var(--dl-primary-color);
}

/* Cart Button */
.product-card {
    position: relative;
}

.product-card .default-btn {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70%;
    height: 45px;
    transform: translateX(-50%) translateY(100%);
    margin-bottom: 20px;
    visibility: hidden;
    opacity: 0;
    transition: var(--dl-transition);
}

.product-card:hover .default-btn {
    transform: translateX(-50%) translateY(0);
    visibility: visible;
    opacity: 1;
}

/* Sale Tag */
.product-thumb .badge {
    background-color: var(--dl-primary-color);
    color: var(--dl-white-color);
    font-family: var(--dl-body-font);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 0 15px;
    border-radius: 5px;
}

.product-thumb .badge.hot {
    background-color: #fe4819;
}

.product-thumb .badge.in-stock {
    background-color: #5dce53;
}

.product-thumb .badge.out-stock {
    background-color: #ff9529;
}

.product-thumb .badge.sale {
    background-color: #ef3c3c;
}

/* Product Info */
.product-info {
    margin-top: 15px;
}

.product-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-inner .ratting {
    text-align: right;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    cursor: pointer;
    text-transform: capitalize;
}

.product-info .category li a {
    font-family: var(--dl-heading-font);
    color: var(--dl-body-color);
    font-size: 14px;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
    cursor: pointer;
}

.product-info .price {
    font-family: var(--dl-heading-font);
    color: var(--dl-body-color);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    display: block;
    margin: 0;
}

.product-info .price span {
    color: var(--dl-body-color);
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 5px;
    opacity: 0.8;
}

/* Shop Sidebar Widget */
.shop-sidebar-widget:not(:last-of-type) {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

/* Shop Sidebar Category */
.shop-sidebar-widget .shop-widget-title h3 {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1;
}

.shop-sidebar-widget .shop-widget-title h3 span {
    color: var(--dl-primary-color);
    line-height: 1;
    font-weight: 600;
}

.shop-category .category-list {
    height: 190px;
    overflow-y: scroll;
    padding-right: 20px;
}

/* Category Scrollbar Style */
.shop-category .category-list::-webkit-scrollbar {
    background-color: var(--dl-bg-grey);
    width: 5px;
    height: 4px;
}

.shop-category .category-list::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: var(--dl-primary-color);
}

.shop-category .category-list::selection {
    background-color: var(--dl-heading-color);
    color: var(--dl-white-color);
}

.shop-category .category-list-webkit-::selection {
    background-color: var(--dl-heading-color);
    color: var(--dl-white-color);
}

.shop-category .category-list::-moz-selection {
    background-color: var(--dl-heading-color);
    color: var(--dl-white-color);
}

/* Range Slide */
.range-slider {
    width: 100%;
}

.range-slider input {
    background: var(--dl-bg-grey);
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    outline: none;
    -webkit-transition: 0.2s;
    transition: opacity 0.2s;
}

.range-slider input::-webkit-slider-thumb {
    background: var(--dl-primary-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.range-slider input::-moz-range-thumb {
    background: var(--dl-primary-color);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.range-slider-output {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.range-slider-output a {
    background-color: var(--dl-primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.range-slider-output #price-output {
    font-family: var(--dl-heading-font);
    color: var(--dl-heading-color);
    font-size: 16px;
    font-weight: 500;
}

/* Color List */
.color-list label {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    padding-left: 30px;
    user-select: none;
}

.color-list li:not(:last-of-type) {
    margin-bottom: 10px;
}

.color-list input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.color-list .checkmark {
    background-color: var(--dl-bg-grey);
    height: 20px;
    width: 20px;
    position: absolute;
    top: 50%;
    left: 0;
    border-radius: 50%;
    transform: translateY(-50%);
}

.color-list label:hover input ~ .checkmark {
    background-color: var(--dl-white-color);
}

.color-list .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.color-list label input:checked ~ .checkmark:after {
    display: block;
}

.color-list label .checkmark:after {
    background-color: var(--dl-white-color);
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.color-list label input ~ .checkmark.black {
    background-color: #333333;
}

.color-list label input ~ .checkmark.green {
    background-color: #0abf53;
}

.color-list label input ~ .checkmark.blue {
    background-color: #00aeff;
}

.color-list label input ~ .checkmark.red {
    background-color: #ff4c4c;
}

.color-list label input ~ .checkmark.yellow {
    background-color: #ffc845;
}

/* Size List */
.size-list {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.size-list li a {
    background-color: var(--dl-bg-grey);
    font-family: var(--dl-body-font);
    color: var(--dl-body-color);
    border-radius: 5px;
    text-transform: capitalize;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--dl-transition);
}

.size-list li:hover a {
    background-color: var(--dl-primary-color);
    color: var(--dl-heading-color);
    transform: translateY(-3px);
}

/* Product Image */
.product-image {
    height: 600px;
    border-radius: 5px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Product Details */
.product-details h3 {
    font-size: 28px;
    line-height: 1;
    margin: 10px 0;
}

.product-details .price {
    color: var(--dl-heading-color);
    font-size: 22px;
    display: flex;
    align-items: center;
}

.product-details .price span {
    font-size: 16px;
    font-weight: 600;
    color: #5dce53;
    text-decoration: none;
    margin-left: 10px;
}

.product-details p {
    font-size: 17px;
    line-height: 28px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.product-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.product-btn form input {
    border: 1px solid var(--dl-border-color);
    width: 100px;
    height: 50px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    box-shadow: none;
    text-align: center;
}

.product-details .product-meta {
    margin-bottom: 30px;
}

.product-details .product-meta li {
    color: var(--dl-heading-color);
    font-weight: 600;
    font-size: 15px;
}

.product-details .product-meta li:not(:last-of-type) {
    margin-bottom: 10px;
}

.product-details .product-meta li a {
    color: var(--dl-body-color);
    margin-left: 5px;
    font-weight: 400;
}

/* Product Description Tab */
.tab-navigation {
    gap: 15px;
    border-bottom: 1px solid var(--dl-border-color);
}

.tab-navigation button {
    font-family: var(--dl-heading-font);
    color: var(--dl-heading-color);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    padding: 0;
    margin-right: 30px;
    padding-bottom: 10px;
    position: relative;
}

.tab-navigation button:after {
    background-color: var(--dl-heading-color);
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    transition: 0.5s;
    opacity: 0;
}

.tab-navigation button.active:after {
    opacity: 1;
    width: 100%;
}

.tab-navigation button.active,
.tab-navigation button:hover {
    color: var(--dl-heading-color);
}

/* Product Description */
.tab-content .tab-pane {
    margin-top: 40px;
}

.tab-content .description {
    background-color: var(--dl-bg-grey);
    padding: 40px;
    border-radius: 5px;
}

.description-meta {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 10px;
    margin-top: 30px;
}

.description-meta li {
    font-size: 15px;
    line-height: 1;
}

.description-meta li:not(:last-of-type) {
    margin-bottom: 10px;
}

.description-meta li span {
    color: var(--dl-heading-color);
    font-weight: 500;
}

/* Product Table */
.product-table {
    background-color: var(--dl-bg-grey);
    border: 1px solid var(--dl-border-color);
    margin: 0;
    margin-top: 40px;
}

.product-table tbody tr td,
.product-table thead tr th {
    text-align: center;
}

.product-table tbody tr td:not(:last-of-type),
.product-table thead tr th:not(:last-of-type) {
    border-right: 1px solid var(--dl-border-color);
}

.product-table thead tr th {
    color: var(--dl-heading-color);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.product-table tbody tr td {
    color: var(--dl-body-color);
    font-size: 14px;
    padding: 15px 0;
}

/* Review Tab */
.review .comment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}

.review .comment-list > li {
    background-color: var(--dl-bg-grey);
    border-radius: 5px;
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-gap: 30px;
    align-items: center;
    padding: 40px;
    border: none;
}

.review .comment-list .comment-thumb img {
    border-radius: 50%;
}

.review .comment-list .comment-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review .comment-list .comment-text {}

.review .comment-list .comment-text h3 span {
    color: var(--dl-body-color);
    font-size: 14px;
    font-weight: 400;
    display: block;
}

.review .comment-list .comment-text h3 {
    font-size: 18px;
}

.review .comment-list .comment-text p {
    margin: 0;
}

/* max-width 1024px */
@media (max-width: 1024px) {}

@media (min-width: 993px) {
    .review .review-wrap {
        width: 50%;
    }
}

/* max-width 992px */
@media (max-width: 992px) {
    .padding {
        padding: 50px 0;
    }

    .sm-padding {
        padding: 15px;
    }

    p br {
        display: none;
    }

    span br {
        display: none;
    }

    .default-btn {
        padding: 0 30px;
    }

    .shop-sidebar {
        margin-top: 20px;
    }

    .review .comment-list {
        grid-template-columns: 1fr;
    }
}

/* max-width 768px */
@media all and (max-width: 768px) {
    .padding {
        padding: 50px 0;
    }

    .xs-padding {
        padding: 15px;
    }

    p br {
        display: none;
    }

    .description-meta {
        grid-template-columns: 1fr;
    }

    .review .comment-list > li {
        grid-template-columns: 1fr;
    }

    .review .comment-list .comment-thumb img {
        width: 100px;
    }
}

/* max-width 580px */
@media all and (max-width: 580px) {
    #scrollup {
        bottom: 20px;
        right: 20px;
    }
}

/* max-width 420px */
@media all and (max-width: 420px) {}

/* max-width 320px */
@media (max-width: 320px) {}
