.product_preview {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
}

#productSlider img {
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

#productSlider .carousel-indicators li {
    width: 10px;
    height: 10px;
    background-image: var(--primary-color);
    background-color: #006953;
    border-radius: 50%;
}

#productSlider .carousel-indicators {
    bottom: -3em;
    z-index: 1;
}

.product-header {
    text-align: center;
}

.Stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
    min-height: 40px;
    width: fit-content;
    width: -moz-fit-content;
}

.Stars::before {
    content: "★★★★★";
    letter-spacing: 3px;
    background: linear-gradient(
        90deg,
        var(--star-background) var(--percent),
        var(--star-color) var(--percent)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rate {
    color: #5d6064;
    font-size: 1em;
    font-weight: bold;
}

.sales {
    font-size: 1.2em;
    color: #5d6064;
}

.product_price {
    font-weight: bold;
    text-align: right;
}

.total_price,
.popup-product-price {
    align-items: center;
    display: flex;
}

.popup-product-price {
    font-weight: bold;
    background: #eaeef4;
    padding: 0 8px;
    width: 180px;
    max-width: 100%;
    justify-content: flex-start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.26);
}

.total_price {
    justify-content: space-between;
}

.total_price span.total-price {
    color: var(--light-primary-color);
    font-weight: bold;
}

.popup-product-price span {
    margin: 0 5px;
}

.product_new_price {
    font-size: 1.5em;
    color: var(--primary-color);
}

.product_old_price {
    font-size: 1.3em;
    margin: 0 10px;
    font-weight: 500;
    color: var(--light-secondary-color);
}

.discount {
    font-size: 1.75em;
    color: var(--warning-color);
}

.btn-order {
    padding: 0.7rem 0.75rem;
    margin-right: 0.25rem;
    width: 100%;
    font-weight: bold;
    border-radius: 2rem;
    font-size: 1.5rem;
    margin: 0 auto;
    outline: none;
    font-weight: bold;
    padding-bottom: 0.2rem;
}

.btn-plus {
    transform: scale(1);
    animation: pulse 3s infinite forwards;
    -webkit-appearance: none;
    width: calc(100% - 80px);
    margin: 1em auto 0.5em;
    min-height: 40px;
    display: block;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgb(255, 165, 0);
        box-shadow: 0 0 0 0 rgb(255, 165, 0);
    }

    50% {
        transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgb(255, 165, 0);
        box-shadow: 0 0 0 0 rgb(255, 165, 0);
    }
    75% {
        transform: scale(1);
        -webkit-box-shadow: 0 0 5px 6px rgb(255, 165, 0);
        box-shadow: 0 0 5px 6px rgb(255, 165, 0);
    }

    100% {
        transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgb(255, 165, 0);
        box-shadow: 0 0 0 0 rgb(255, 165, 0);
    }
}

.info {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.info span {
    position: relative;
    z-index: 2;
    font-weight: 800;
    color: #231807;
}

.info:after {
    position: absolute;
    width: 100%;
    height: 40%;
    content: "";
    bottom: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(255, 193, 7, 0.42);
    border-radius: 0 0 3px 3px;
}

.info {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.info span {
    position: relative;
    z-index: 2;
    font-weight: 800;
    color: #231807;
}

.info:after {
    position: absolute;
    width: 100%;
    height: 40%;
    content: "";
    bottom: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(255, 193, 7, 0.42);
    border-radius: 0 0 3px 3px;
}

.customer-views {
    font-size: 14px;
    font-weight: 700;
    line-height: 23px;
}

.customer-views span {
    background-color: var(--error-color);
    border-radius: 5px;
    padding: 3px 5px;
    margin: 0 5px;
    color: var(--white-color);
}

.text-bold {
    font-size: 1.1em;
    font-weight: bold;
    text-align: right;
}

.progress {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
}

.progress-bar {
    background-color: #e83f28;
}

.countdown {
    flex-wrap: wrap;
    overflow-x: hidden;
    display: flex;
    align-items: flex-start;
    margin-top: 1em;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1em;
}

.countdown .duration {
    flex: 1 0 auto;
    font-size: 34px;
    line-height: 1.2;
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
    text-align: center;
}

.duration span {
    background: var(--light-primary-color);
    width: 80px;
    max-width: 70%;
    margin: 0 auto 0.3rem;
    border-radius: 0.4rem;
    padding: 1.65rem 0.5rem;
    color: white;
    display: block;
}

.duration:not(:last-child):after {
    content: ":";
    position: absolute;
    top: 0;
}

.duration:not(:last-child):after {
    left: 0;
}

.duration span:last-child {
    font-weight: 400;
    font-size: 12px;
    text-transform: capitalize;
    line-height: 1.2;
    padding: 0.4rem 0.5rem;
    background: var(--primary-color);
}

.product-description {
    margin-top: 1em;
}

.product-description .product-name {
    color: #00b0f0;
    font-weight: bold;
}

.product-info {
    display: flex;
}

.product-info img {
    width: 150px;
    object-fit: contain;
}

.description {
    font-size: 18px;
    line-height: 1.6;
    text-align: right;
    padding: 10px 5px;
}

.sub-heading {
    font-weight: bold;
    font-size: 1.3em;
}

.featureTable {
    text-align: right;
    border: solid #ccc 1px;
    width: 100%;
}

.featureTable tr,
.featureTable td:first-of-type {
    text-align: center;
}

.featureTable td {
    border-left: 1px solid #ccc;
    padding: 0.5rem;
}

.featureTable td:last-of-type {
    text-align: right;
}

.customers_reviews {
    margin-top: 3em;
}

.reviews_header {
    display: flex;
    justify-content: space-between;
}

.btn-add-review {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: bold;
}

.review_wrapper {
    column-count: 1;
    column-gap: 1em;
}

.checkout-wrapper {
    width: 600px;
    padding: 1em 0.5em;
    margin: 0 auto;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.16);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-align: right;
}
/* Masonry on large screens */
@media only screen and (min-width: 1024px) {
    .review_wrapper {
        column-count: 4;
    }

    .info span {
        font-size: 1.2em;
    }
}

/* Masonry on medium-sized screens */
@media only screen and (max-width: 1023px) and (min-width: 768px) {
    .review_wrapper {
        column-count: 3;
    }

    .info span {
        font-size: 1.2em;
    }
}

/* Masonry on small screens */
@media only screen and (max-width: 767px) and (min-width: 480px) {
    .review_wrapper {
        column-count: 2;
    }
}

.review_col {
    margin-top: 1em;
    border: 1px solid #f0f0f0;
    text-align: center;
    border-radius: 0.25rem;
    box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.16);
    display: inline-block;
    width: 100%;
}

.review_content {
    padding: 15px;
}

.btn-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    font-size: 1.2em;
    display: none;
    z-index: 55;
}

.btn-fixed:focus {
    box-shadow: unset;
}

.btn-submit {
    padding: 0.7rem 0.75rem 0.35rem;
    margin-right: 0.25rem;
    width: 100%;
    font-weight: bold;
    border-radius: 2rem;
}

.btn-location {
    border-radius: 2rem;
    font-weight: bold;
}

.btn-fixed:hover,
.btn-submit:hover {
    background-color: #ffbc35;
    color: var(--error-color);
}

.with-errors {
    color: #bf130e;
}
.modal-timer {
    display: flex;
    flex-direction: column;
}

.remaining-products {
    text-align: right;
    margin-top: 10px;
    direction: ltr;
    min-height: 20px;
    width: 100%;
}

.tick * {
    display: inline-block;
}

.success_message h2 span {
    color: #229e6a;
}

/*Thank you page*/
.message_header,
.success_message {
    text-align: center;
}
.message_header img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.success_message h2 {
    max-width: 800px;
    margin: 10px auto 20px;
}

.order_wrapper {
    border: 1px solid #f0f0f0;
    background-color: #fafafa;
    border-radius: 3px;
    padding: 15px;
    width: 70%;
    margin: 1em auto;
}

.order_details {
    display: flex;
    justify-content: space-between;
}

.order-item {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    text-align: center;
    border-radius: 3px;
    padding: 12px;
    width: 32%;
}

.order-item h4 {
    font-size: 1.25em;
    font-weight: 500;
    color: #a7a7a7;
}

.order-item .table-label {
    margin-bottom: 5px;
}

.order-item .paid {
    color: #00c853;
}
.submit-wrapper {
    text-align: center;
    margin: 10px 0;
}
.submit-wrapper .btn-submit {
    width: 450px;
}

@media (max-width: 992px) {
    .mobile-info {
        margin-top: 2em;
        display: flex;
        flex-direction: column-reverse;
    }

    .product-header {
        margin-top: 0.5em;
    }

    .product_price {
        text-align: center;
    }

    .product-info {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .order_wrapper {
        width: 90%;
    }

    .order_details {
        flex-direction: column;
    }

    .order-item,
    .checkout-wrapper {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .product-description h2,
    .success_message h2 {
        font-size: 1.5em;
    }

    .info {
        width: 100%;
    }

    #productSlider img {
        height: 345px !important;
    }

    .product-info {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .product-info img {
        margin-left: auto;
        margin-right: auto;
    }

    .reviews_header h3 {
        font-size: 1.5rem;
    }

    .btn-add-review {
        font-size: 0.875em;
    }

    .btn-plus {
        width: 90%;
        font-size: 1.25em;
    }

    .checkout-wrapper,
    .checkout-wrapper .modal-header {
        padding: 0.5em;
    }

    .submit-wrapper .btn-submit {
        width: 100%;
    }

    .checkout-wrapper .modal-title {
        font-size: 1em;
        font-weight: bold;
    }
}

@media (max-width: 350px) {
    .duration span {
        font-size: 0.875em;
        width: 70px;
    }

    .submit-wrapper .btn-submit {
        margin: 0;
        font-size: 0.97em;
    }
}
