/* Title */
.woocommerce div.product .product_title {
    color: var(--bs-black);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.96px;
}

/* Arxiki timi */
.woocommerce .summary .price del {
    color: #424242;
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.6px;
    text-decoration-line: line-through;
    text-decoration-thickness: 0.1rem;
    margin-left: 1.2rem;
}

/* Teliki timi */
.woocommerce .summary .price ins {
    color: var(--bs-black);
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.84px;
    text-decoration: none;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: var(--bs-black);
}

.woocommerce div.product p.price ins {
    font-weight: 500;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    opacity: 1;
}

.woocommerce .summary .price small {
    font-size: 1.4rem;
    color: #424242;
}

/* Sale Badge */
.woocommerce span.onsale {
    display: none;
}

/* Excerpt */
.woocommerce-product-details__short-description {
    color: #424242;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.48px;
    margin-bottom: 2.4rem;
}

.summary .redcase-b2b-configure-wrapper {
    display: none;
}

/* Variations select field */
.woocommerce div.product form.cart .variations select {
    background: var(--bs-white);
    padding: 12px 12px;
    border: 1px solid #F8F8F8;
    transition: 0.3s ease-in-out;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
}

.woocommerce div.product form.cart .variations select:hover {
    background: #F0F0F0;
    color: var(--bs-black);
    border: 1px solid #BFBFBF;
}

.woocommerce div.product form.cart .variations select:focus,
.woocommerce div.product form.cart .variations select:focus-visible {
    outline: none;
}

.woocommerce-variation-price {
    margin-bottom: 1.4rem;
}

/* Add to cart */
.woocommerce .product form.cart {
    margin-top: 4.8rem;
}

.single_add_to_cart_button.animated-cta {
    background: transparent;
    border: 0;
    color: var(--bs-white);
    width: 100%;
}

.animated-btn:has(.single_add_to_cart_button.loading)::after,
.btn.btn-primary.loading::after,
.ajax_add_to_cart.btn.btn-outline-primary.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading-spinner 1s linear infinite;
}

.single_add_to_cart_button.loading,
.single_add_to_cart_button.loading::before,
.btn.btn-primary.loading,
.btn.btn-primary.loading::before,
.ajax_add_to_cart.btn.btn-outline-primary.loading,
.ajax_add_to_cart.btn.btn-outline-primary.loading::before {
    color: transparent !important;
}

@media (min-width: 1250px) and (hover: hover) {
    .animated-btn:hover .single_add_to_cart_button.animated-cta::before {
        color: var(--bs-white);
    }

    .woocommerce form.cart .btn.btn-primary:hover {
        background: #03182A;
        border-color: #03182A;
        color: var(--bs-white);
    }
}

@media (max-width: 355px) {
    .woocommerce form.cart .btn.btn-primary {
        padding: 5px;
        font-size: 1.2rem;
    }
}

/* Quantity */
.quantity-wrapper .quantity-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.woocommerce a.added_to_cart {
    display: none;
}

/*Product Meta*/
.product-meta-wrapper span {
    color: #424242;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
}

/* Product Meta Buttons */
.product-meta-wrapper .btn-link {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    color: #424242;
    border: none;
    background: transparent;
    padding: 0;
    text-align: left;
    transition: color 0.3s ease;
}

.product-meta-wrapper .btn-link:hover,
.product-meta-wrapper .btn-link:focus {
    color: var(--bs-black);
    text-decoration: underline;
}

.product-meta-wrapper .btn-link span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: inherit;
}

/* Offcanvas Styling */
.offcanvas-end {
    width: 400px;
    border-left: 1px solid #e9ecef;
}

@media (max-width: 576px) {
    .offcanvas-end {
        width: 100%;
    }
}

.offcanvas-header {
    padding: 2.4rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.offcanvas-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--bs-black);
    margin: 0;
}

.offcanvas-body {
    padding: 2.4rem;
    font-size: 1.6rem;
    line-height: 150%;
}

.offcanvas .btn-close {
    padding: 0.5rem;
    margin: 0;
    background-size: 1.2rem;
    opacity: 0.7;
}

.offcanvas .btn-close:hover {
    opacity: 1;
}

/* Offcanvas Content Styling */
.short-description,
.full-description {
    font-size: 1.6rem;
    line-height: 150%;
}

.short-description h6,
.full-description h6 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--bs-black);
    margin-bottom: 1.2rem;
}

.characteristics-list .characteristic-item {
    padding-bottom: 1.6rem;
    border-bottom: 1px solid #f0f0f0;
}

.characteristics-list .characteristic-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.characteristic-label {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--bs-black);
    margin-bottom: 0.8rem;
}

.characteristic-value {
    font-size: 1.5rem;
    color: #424242;
    line-height: 140%;
}

.content-text {
    font-size: 1.6rem;
    line-height: 150%;
    color: #424242;
}

.content-text p {
    margin-bottom: 1.6rem;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-text ul,
.content-text ol {
    padding-left: 2.0rem;
    margin-bottom: 1.6rem;
}

.content-text li {
    margin-bottom: 0.8rem;
}

.content-text strong {
    color: var(--bs-black);
    font-weight: 500;
}

body:not(.redcase-car-page) .compare.link {
    display: none;
}

/* Related Products */
.woocommerce ul.products li.product a {
    position: relative;
}

.woocommerce div.product div.images {
    margin-bottom: 0;
}

.woocommerce-page ul.products li.product .product-wrapper {
    margin: 0;
    background: #F8F8F8;
    padding: 1.2rem;
    border: 1px solid transparent;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 1250px) {
    .woocommerce-page ul.products li.product .product-wrapper {
        padding: 2.4rem;
    }
}

.woocommerce ul.products li.product a img {
    margin-bottom: 2.4rem;
    aspect-ratio: 1;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 100%;
    letter-spacing: -0.48px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* How many lines you want */
    overflow: hidden;
    height: 2lh;
    /* How many lines you want */
    padding: 0;
}

.woocommerce-loop-product__title a {
    color: #000;
}


.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: var(--bs-black);
}

.woocommerce ul.products li.product .price {
    color: var(--bs-black);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.54px;
}

/* Arxiki timi */
.woocommerce ul.products li.product .price del {
    color: #424242;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.42px;
    text-decoration-line: line-through;
    opacity: 1;
}

.woocommerce ul.products li.product .price ins {
    color: var(--bs-black);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.54px;
    text-decoration: none;
}

.woocommerce ul.products li.product:hover .product-wrapper,
.woocommerce-page ul.products li.product:hover .product-wrapper {
    border: 1px solid rgba(191, 191, 191, 0.50);
}

.add-to-cart-container {
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.add-to-cart-container .add_to_cart_button,
.add-to-cart-container .product_type_variable,
.add-to-cart-container .product_type_grouped,
.add-to-cart-container .product_type_simple {
    background: var(--bs-primary);
    color: var(--bs-white);
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
    width: 100%;
    padding-block: 1.1rem;
    border-color: var(--bs-primary);
    margin-top: 1.6rem;
    transition: all 0.3s ease-in-out;
}

@media (hover:hover) and (min-width: 1250px) {

    .woocommerce ul.products li.product .add_to_cart_button:hover,
    .woocommerce ul.products li.product .product_type_variable:hover,
    .woocommerce ul.products li.product .product_type_grouped:hover,
    .woocommerce ul.products li.product .product_type_simple:hover {
        background: #03182A;
    }
}

@media (max-width: 335px) {

    .add-to-cart-container .add_to_cart_button,
    .add-to-cart-container .product_type_variable,
    .add-to-cart-container .product_type_grouped,
    .add-to-cart-container .product_type_simple {
        padding: 5px !important;

    }
}

.related-products-swiper .swiper-slide {
    height: auto !important;
}

.related-swiper-button-prev,
.related-swiper-button-next {
    background: var(--bs-white);
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.related-swiper-button-prev svg path,
.related-swiper-button-next svg path {
    transition: 0.3s ease-in-out;
}

@media (hover: hover) {

    .related-swiper-button-prev:hover svg path,
    .related-swiper-button-next:hover svg path {
        fill: var(--bs-gray-light);
    }
}

.related-swiper-button-prev.swiper-button-lock,
.related-swiper-button-next.swiper-button-lock {
    display: none;
}

.woocommerce div.product div.images img {
    max-height: 833px;
}

.woocommerce div.product div.images .svi-thumb-image {
    max-height: 192px;
}