/* product section css start */
.section.product-section {
    padding-top: 20px;
}

.product-page-content-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.product-slider-area {
    width: 48%;
    position: sticky;
    top: 140px;
    height: fit-content;
}

.product-slider-inner {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
}

.swiper.product-slider-thumb {
    height: 600px;
    width: 10%;
}

.swiper.product-slider {
    width: 90%;
    border-radius: 5px;
    overflow: hidden;
}

.swiper.product-slider .swiper-wrapper {
    cursor: zoom-in;
}

.swiper.product-slider .swiper-slide {
    user-select: none;
}

.swiper.product-slider .swiper-button-prev,
.swiper.product-slider .swiper-button-next {
    right: 25px;
    opacity: 1;
    visibility: visible;
    bottom: 25px;
    top: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
}

.swiper.product-slider .swiper-button-next {
    right: 25px;
}

.swiper.product-slider .swiper-button-prev {
    right: 70px;
    left: auto;
}

.swiper.product-slider:hover .swiper-button-prev {
    right: 70px;
    left: auto;
}

.swiper.product-slider:hover .swiper-button-next {
    right: 25px;
}

.swiper.product-slider .swiper-button-prev:hover,
.swiper.product-slider .swiper-button-next:hover {
    background-color: var(--brand-color);
    border: none;
    color: var(--white);
}

.swiper.product-slider .swiper-button-prev::after,
.swiper.product-slider .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}

.swiper.product-slider .swiper-button-prev:hover::after,
.swiper.product-slider .swiper-button-next:hover::after {
    color: var(--white);
}

.swiper.product-slider .product-slider-pagination {
    display: none;
}

.swiper.product-slider .swiper-pagination .swiper-pagination-bullet {
    background-color: var(--text-muted);
    border-radius: 50%;
}

.swiper.product-slider .swiper-pagination .swiper-pagination-bullet-active.swiper-pagination-bullet {
    width: 8px;
}

.swiper.product-slider .swiper-pagination .swiper-pagination-bullet::after {
    background-color: var(--brand-color);
}

.product-slider-img {
    position: relative;
}

.product-slider-thumb .swiper-slide {
    cursor: pointer;
    position: relative;
    opacity: 1;
    transition: all ease .3s;
    overflow: hidden;
    user-select: none;
    height: fit-content !important;
}

.product-slider-thumb .swiper-slide::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: 2px solid var(--brand-color);
    opacity: 0;
    visibility: hidden;
    transition: all ease .3s;
    z-index: 1;
    border-radius: 5px;
}

.product-slider-thumb .swiper-slide.swiper-slide-thumb-active::before {
    opacity: 1;
    visibility: visible;
}

.product-slider-thumb .swiper-slide:hover::before {
    opacity: 1;
    visibility: visible;
}

.product-slider-thumb .swiper-slide.swiper-slide-thumb-active {
    opacity: 0.7;
}

.product-slider-img {
    height: 100%;
    background-color: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
}

.product-content-area .product-description-area {
    display: none;
}

.product-description-area {
    margin: 24px 0 0 0;
    padding: 16px;
    border: 1px solid var(--brand-color);
    border-radius: 10px;
}

.product-description-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: var(--brand-color);
    text-transform: capitalize;
}

.product-description-area .content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-description-area .content p {
    text-align: justify;
}

.product-description-area .content .list {
    padding: 0 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-description-area .content .list li {
    list-style-type: disc;
    color: var(--paragraph-text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    text-align: justify;
}

.product-content-area {
    width: fit-content;
}

.product-content-inner {
    width: fit-content;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.product-title {
    font-weight: 500;
    text-transform: capitalize;
    font-size: 24px;
    line-height: 30px;
    max-width: 410px;
}

.product-rattings {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0 0;
}

.product-rattings .content-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-rattings .content-left .icon {
    display: flex;
}

.product-rattings .content-left .icon svg path {
    fill: var(--brand-color);
}

.product-rattings .content-left .review-count {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-transform: capitalize;
    color: var(--black);
}

.product-rattings .devider {
    font-weight: 500;
    font-size: 16px;
    color: var(--paragraph-text-color);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
}

.rattings-info p {
    font-weight: 500;
    font-weight: 500;
    line-height: 150%;
    text-transform: capitalize;
}

.product-price-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0 0 0;
}

.latest-price,
.previous-price {
    display: flex;
    align-items: flex-start;
    font-size: 20px;
    line-height: 26px;
    text-transform: capitalize;
}

.previous-price {
    color: var(--text-muted);
    font-weight: 400;
    position: relative;
}

.product-content-area .previous-price::before {
    position: absolute;
    content: "";
    z-index: 1;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-color);
    transform: rotate(45deg) translateY(-50%);
    -webkit-transform: rotate(345deg) translateY(-50%);
    -moz-transform: rotate(45deg) translateY(-50%);
    -ms-transform: rotate(45deg) translateY(-50%);
    -o-transform: rotate(45deg) translateY(-50%);
}

.latest-price span,
.previous-price span {
    font-size: 16px;
}

.product-varient {
    margin: 20px 0 0 0;
    width: fit-content;
}

.product-varient-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px 0;
}

.product-varient-title {
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 18px;
    font-weight: 500;
}

.product-varient-field-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product-varient-field-wrap.product-size {
    display: flex;
    flex-wrap: wrap;
}

.product-varient-input-field {
    position: relative;
    cursor: pointer;
}

.product-varient-input {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    user-select: none;
}

.product-varient-label {
    cursor: pointer;
    background-color: var(--white);
    display: block;
    padding: 8px 6px;
    border: 1px solid var(--black);
    text-align: center;
    user-select: none;
    min-width: 50px;
    border-radius: 3px;
    overflow: hidden;
}

.product-varient-input-field .product-varient-label .varient-value {
    width: 100%;
    height: 100%;
    color: var(--black);
    font-size: 14px;
    font-weight: 400;
    font-family: var(--paragraph-font);
    line-height: 1;
    display: block;
    text-wrap: nowrap;
    text-transform: uppercase;
}

.product-varient-label:hover {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
}

.product-varient-label:hover .varient-value {
    color: var(--white);
    ;
}

.product-varient-input-field input[type="radio"]:checked~.product-varient-label {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
}

.product-varient-input-field input[type="radio"]:checked~.product-varient-label .varient-value {
    color: var(--white);
}

.product-varient-input-field.disabled {
    opacity: 0.4;
    cursor: no-drop;
}

.product-varient-input-field.disabled .product-varient-label {
    cursor: no-drop;
    text-decoration: line-through;
}

.product-btn-wrap {
    margin: 20px 0 0 0;
    max-width: 410px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-btn-area {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

.product-btn-wrap .btn {
    width: 100%;
}

.product-quantity {
    margin: 0;
    max-width: 124px;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    color: var(--black);
    width: 100%;
    height: 50px;
    border: 1px solid var(--border-color);
    padding: 8px;
    align-items: center;
    justify-content: space-between;
}

.product-quantity .quantity-increase,
.product-quantity .quantity-decrease {
    border: none;
    border-radius: 0;
    background: var(--border-color2);
    width: 34px;
    height: 34px;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease .3s;
}

.product-quantity .quantity-increase:hover,
.product-quantity .quantity-decrease:hover {
    background: var(--brand-color);
}

.product-quantity .quantity-increase svg path,
.product-quantity .quantity-decrease svg path {
    transition: all ease .3s;
    stroke: var(--black);
}

.product-quantity .quantity-increase:hover svg path,
.product-quantity .quantity-decrease:hover svg path {
    stroke: var(--white);
}

[data-theme="dark"] .product-quantity .quantity-increase svg path,
[data-theme="dark"] .product-quantity .quantity-decrease svg path {
    stroke: var(--black);
}

.product-quantity .quantity-count {
    max-width: 40px;
    font-weight: 400;
    font-size: 16px;
    color: var(--black);
    width: 80px;
    text-align: center;
    height: 100%;
    border: none;
    line-height: 1;
    padding: 2px;
}

.add-to-card-btn .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-card-btn .btn svg path {
    transition: all ease .3s;
}

.add-to-card-btn .btn:hover svg path {
    fill: var(--brand-color);
}

/* product section css end */

/* size-chart-sidebar start */
.size-sidebar-btn {
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 600;
    color: var(--paragraph-text-color);
    display: flex;
    align-items: center;
    gap: 5px;
    text-wrap-mode: nowrap;
    border-bottom: 1px solid var(--black);
}

.size-sidebar-btn svg {
    width: 20px;
}

.size-sidebar-btn svg path{
   fill: var(--black);
}

.size-chart-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.3);
    height: 100vh;
    z-index: 9999;
    transition: 300ms;
    opacity: 0;
    visibility: hidden;
}

.size-chart-sidebar.active {
    opacity: 1;
    visibility: visible;
}

.size-chart-sidebar-close-window-btn {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    user-select: none;
    cursor: pointer;
}

.size-chart-sidebar-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 340px;
    z-index: 2;
    transition: 300ms;
    transform: translateX(100%);
    opacity: 1;
    visibility: visible;
    height: 100%;
    max-height: 100%;
    background: var(--white);
}

.size-chart-sidebar-inner.active {
    transform: translateX(0);
}

.size-chart-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.size-chart-title {
    text-transform: capitalize;
    font-size: 18px;
    font-weight: 600;
}

.size-chart-close-btn {
    display: flex;
}

.size-chart-close-btn svg path{
    stroke: var(--black);
}

.size-chart-sidebar-content {
    width: 100%;
    height: calc(100dvh - 75px);
    gap: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    padding: 20px;
}

.size-chart-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.size-chart-item-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-transform: capitalize;
}

.size-chart-item-content {
    width: 100%;
}

.size-chart-item-content,
.size-chart-item-content th,
.size-chart-item-content td {
    border: 1px solid var(--border-color);
    border-collapse: collapse;
    padding: 8px;
    text-align: center;
    font-size: 14px;
    color: var(--brand-color);
}

.size-chart-item-content th {
    background: var(--black);
    color: var(--white);
    text-transform: uppercase;
}


.size-chart-item-content tbody tr:nth-child(even) {
    background-color: var(--section-bg);
}

/* size-chart-sidebar end */

/* product-slider-modal css start */
.product-slider-modal {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    background: var(--white);
    width: 100dvw;
    height: 100dvh;
    opacity: 0;
    visibility: hidden;
    transition: all ease .2s;
    cursor: zoom-out;
}

.product-slider-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-slider-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all ease .3s;
}

.product-slider-modal-close svg {
    width: 16px;
    height: 16px;
}

.product-slider-modal-content {
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
}

/* product-slider-modal css end */
/* product-icon-item css start */
.product-icon-item-area {
    margin: 20px 0 0 0;
    max-width: 410px;
}

.product-icon-item-area .icon-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.product-icon-item-area .icon-items .icon-item {
    gap: 5px;
    padding: 8px;
    flex-direction: column;
}

.product-icon-item-area .icon-items .icon-item .icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
}

.product-icon-item-area .icon-items .icon-item .icon svg {
    width: 16px;
    height: 16px;
}

.product-icon-item-area .icon-items .icon-item-content {
    text-align: center;
}

.product-icon-item-area .icon-items .icon-item .icon-item-title {
    letter-spacing: 0;
    font-size: 10px;
    line-height: 12px;
}

.product-icon-item-area .icon-items .icon-item .icon-item-text {
    margin: 3px 0 0 0;
    font-size: 10px;
    line-height: 12px;
}

/* product-icon-item css end */
/* product-section css end */

@media only screen and (max-width: 1360px) {

    /* product section css start */
    .product-slider-area {
        width: 58%;
    }

    /* product section css end */

}

@media only screen and (max-width: 1080px) {

    /* product section css start */
    .product-page-content-wrap {
        gap: 20px;
    }

    .swiper.product-slider-thumb {
        display: none;
    }

    .product-slider-area {
        width: 54%;
    }

    .swiper.product-slider {
        width: 100%;
    }

    .swiper.product-slider .product-slider-pagination {
        display: block;
    }

    /* product section css end */
}

@media only screen and (max-width: 992px) {

    /* product section css start */
    .section.product-section {
        padding-top: 0;
    }

    .product-section .container {
        padding: 0;
    }

    .product-page-content-wrap {
        flex-direction: column;
    }

    .product-slider-area {
        width: 100%;
        position: unset;
    }

    .product-slider-area .product-description-area {
        display: none;
    }

    .product-slider-inner {
        flex-direction: column;
    }

    .swiper.product-slider {
        border-radius: 0;
    }

    .product-slider-img {
        border-radius: 0;
    }

    .swiper.product-slider .swiper-button-prev,
    .swiper.product-slider .swiper-button-next {
        display: none;
    }

    .product-content-area {
        width: 100%;
        padding: 0 16px;
    }

    .product-content-area .product-description-area {
        display: block;
    }

    .product-content-area-inner {
        min-width: 100%;
    }

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

    .product-btn-wrap {
        max-width: 100%;
    }

    .product-icon-item-area {
        max-width: 100%;
    }

    /* product section css end */

}

@media only screen and (max-width: 767px) {

    /* product section css start */


    /* product section css end */
}

@media only screen and (max-width: 575px) {

    /* product section css start */
    .product-slider-inner {
        gap: 10px;
    }

    .product-content-area-inner {
        min-width: 100%;
    }

    .product-page-content-wrap {
        gap: 16px;
    }

    .product-title {
        font-size: 20px;
        line-height: 26px;
    }

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

    .latest-price,
    .previous-price {
        font-size: 18px;
        line-height: 24px;
    }

    .product-varient-field-wrap.product-size {
        justify-content: center;
    }

    .product-varient-input-field .product-varient-label .varient-value {
        font-size: 14px;
    }

    .product-varient-title {
        font-size: 16px;
    }

    .product-varient-field-wrap {
        gap: 5px;
    }

    .product-btn-wrap {
        margin: 10px 0 0 0;
    }

    .product-btn-area {
        gap: 10px;
    }

    .add-to-card-btn .btn svg {
        width: 18px;
        height: 18px;
    }

    .product-quantity {
        height: 38px;
        padding: 4px;
    }

    .product-quantity .quantity-increase,
    .product-quantity .quantity-decrease {
        width: 30px;
        height: 30px;
    }

    .product-icon-item-area {
        margin: 12px 0 0 0;
    }

    .product-description-area {
        margin: 12px 0 0 0;
        padding: 12px;
    }

    .product-description-title {
        margin: 0 0 8px 0;
    }

    .product-description-area .content .list li {
        font-size: 14px;
        line-height: 21px;
    }

    /* product section css end */

}