
.carousel {padding-bottom: 30px;}
.carousel .addToCartSideBar {height: fit-content; margin-top: 50px; position: sticky; top: 20px; order: 2;}
.carousel .addToCartSideBar .content { border: 1px solid var(--_c-product-border);}
.addToCartSideBar .topPart .priced, .moreInfo {display: none; margin-inline: 16px;}
.addToCartSideBar .topPart .priced{padding-top: 16px;}
.addToCartSideBar .priced > :first-child {font-size: var(--fs-xl); font-weight: 700; line-height: 1;}
.addToCartSideBar .discount { display: flex; align-items: center; gap: 6px; margin-top: 2px;}
.addToCartSideBar .discount > :first-child {text-decoration:line-through; color: var(--_c-font-color); font-size: calc(var(--fs-base) + 4px); line-height: 24px; font-weight: 400;}
.addToCartSideBar .discount > :nth-child(2) {color: var(--_c-dark-red); font-size: calc(var(--fs-base) + 4px); line-height: 24px; font-weight: 400;}
.addToCartSideBar .priced > :last-child {color: var(--_c-font-color); font-size: calc(var(--fs-xs) - 1px); font-weight: 400; line-height: 16px; padding-block: 5px 15px;}
.addToCartSideBar .moreInfo {font-size: var(--fs-sm); font-weight: 700; padding-block: 15px; border-block: 1px solid var(--_c-product-border);}
.addToCartSideBar .trader, .location {display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-xs); margin-inline: 16px;}
.addToCartSideBar :where(.trader, .location) > :first-child {color: var(--_c-dark); font-weight: 700;}
.addToCartSideBar .trader {padding-block: 15px; border-bottom: 1px solid var(--_c-product-border); position: relative;}

/* for stock images */
.carousel .stock .wrapper {display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 30px;}

.addToCartSideBar .trader:hover .storeInfo {display: block;}
.addToCartSideBar .storeInfo {position: absolute; top: 43px; right: 50%; transform: translateX(50%); background-color: #fff; padding: 15px; box-shadow: var(--_c-btn-shadow); width: 100%; display: none; z-index: 3;}
.addToCartSideBar .storeInfo img {height: 20px; width: 20px; position: absolute; top: -14px; right: 50%; transform: translateX(50%); filter: invert(1);}
.addToCartSideBar .storeInfo .title > :first-child {font-size: calc( var(--fs-md) + 2px); font-weight: 700; line-height: 24px; padding-bottom: 20px;}
.addToCartSideBar .storeInfo li {display: flex; align-items: center; justify-content: space-between; font-weight: 400; margin-bottom: 7px;}
.addToCartSideBar .storeInfo li span {text-align: left;}
.addToCartSideBar .storeInfo a {font-size: var(--fs-xs); color: var(--c-primary); position: relative;}
.addToCartSideBar .storeInfo a::before {content: ""; position: absolute; width: 100%; transform: scaleX(0); border-radius: 5px; height: 1px; bottom: 1px; left: 0; background: var(--c-primary); transform-origin: bottom right; transition: transform .25s ease-out;}
.addToCartSideBar .storeInfo a:hover::before {transform: scaleX(1); transform-origin: bottom left;}

.addToCartSideBar .location {padding-block: 15px;}
.addToCartSideBar :where(.trader, .location) img {height: 10px; width: 10px;}
.addToCartSideBar :where(.trader, .location) a {font-weight: 400;}
.addToCartSideBar .shipping {background: no-repeat top /100% url("../images/bottomBar-bg.webp"); padding-top: 10px;} 
.addToCartSideBar .shipping > :first-child {font-size: var(--fs-xs); font-weight: 700; margin-bottom: 20px; margin-inline: 16px; color: var(--_c-dark);}
.addToCartSideBar .shipping > :nth-child(2) {width: 100%; font-size: var(--fs-sm); font-weight: 700; display: flex; align-items: start; justify-content: space-between; padding-inline: 16px;}
.addToCartSideBar .shipping .truckImg {display: flex; align-items: start; gap: 5px;}
.addToCartSideBar .shipping .truckImg img {margin-top: 3px; filter: invert(1);}
.addToCartSideBar .shippingPrice {display: flex; flex-direction: column;}
.addToCartSideBar .shippingPrice > :first-child {font-size: var(--fs-xs);}
.addToCartSideBar .shippingPrice > :nth-child(2) {font-size: var(--fs-xs); font-weight: 400;}
.addToCartSideBar .shipping > :nth-child(2) > :last-child {height: 10px; width: 10px;}
.addToCartSideBar .shipping > :last-child {margin-top: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--_c-product-border); margin-inline: 16px;}
.addToCartSideBar .shipping > :last-child img {height: 12px; width: 12px; margin-right: 4px;}
.addToCartSideBar .shipping > :last-child p {font-size: calc(var(--fs-xs) - 2px); font-weight: 400; line-height: 16px; padding-left: 15px; padding-top: 4px;}
.addToCartSideBar .shippingQuantity {padding-top: 15px; margin-inline: 16px;}
.addToCartSideBar .shippingQuantity > :first-child {font-size: calc(var(--fs-base) - 1px); font-weight: 700;}
.addToCartSideBar .shippingQuantity > :last-child {font-size: var(--fs-xs); font-weight: 400;}
.addToCartSideBar .security > :first-child {font-size: var(--fs-base);}
.addToCartSideBar .quantityChange {display: flex; gap: 10px; padding-block: 5px;}
.addToCartSideBar .quantityChange input {width: 3ch; height: 24px; text-align:center;}
.addToCartSideBar .quantityChange input:focus {outline:none;}
.addToCartSideBar .quantityChange button {width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background-color: var(--c-light-bg); font-size: var(--fs-base); line-height: 24px; border: unset; border-radius: 100%; cursor: pointer; color: #000;}
.addToCartSideBar .buy-btn {display: flex; flex-direction: column; gap: 10px; background-color: #fff; padding: 16px; border-top: 1px solid var(--_c-product-border);}
.addToCartSideBar .buy-btn > :where(:first-child, :last-child){font-size: (var(--fs-base) - 1px); font-weight: 700; padding-block: 8px;}
.addToCartSideBar .buy-btn > :last-child {background-color: #011f2d;}
.addToCartSideBar .buy-btn > :last-child::before {background-color: var(--c-primary);}
.carousel .topPart {padding-bottom: 16px; max-height: 425px; overflow-y: auto; padding-right: unset;}
.carousel {color: var(--_c-dark-color);}
.carousel .wrapper {width: 100%; display: grid; grid-template-columns: minmax(465px, 950px) minmax(250px, 400px); gap: 20px;}
.carousel .topBox { margin-top: 50px; padding-bottom: 30px; order: 1;}
.carousel .topBox .sliderCard {display: flex; gap: 20px;}
.carousel .slider_box {display: flex; align-items: start; position: relative;} 
.carousel .imagesTab {max-width: 70px; height: 426px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto;} 
.carousel .imagesTab img {width: 100%; height: auto; object-fit: cover;}
.carousel .imagesTab::-webkit-scrollbar-track {visibility: hidden;}
.carousel .imagesTab::-webkit-scrollbar {visibility: hidden;}
.carousel .sliderImages {width: 426px; display: flex; flex-direction: column; position: relative;}
.carousel .tabsArrow {width: 100%; display: none; position: absolute; top: calc(50% - 32px);}
.carousel .sliderImages:hover .tabsArrow {display: block;}
.carousel .nextArrow, .prevArrow {background-color: #000; height: 60px; width: 60px; display: flex; align-items: center; justify-content: center; opacity: 0.5; cursor: pointer;}
.carousel .nextArrow {position: absolute; right: 0; }
.carousel .prevArrow {position: absolute; left: 0; transform: rotate(180deg);}
.carousel .slider_box .tabsArrow img {height: 30px; width: 30px; filter: invert(1);}
.carousel .content {width: unset;}
.carousel .slider_box img {width: 100%; height: auto; object-fit: cover; border: 2px solid transparent;} 
.carousel .slider_box .imgActive {border: 2px solid #000;}
.carousel .content .head {margin-block: 16px;}
.carousel .content .head > :first-child{font-size: var(--fs-xl); font-weight: 800; color: var(--_c-dark);}
.carousel .content .head > :first-child > :first-child {font-size: var(--fs-xl); font-weight: 800; color: var(--_c-dark);}
.carousel .content .head > :first-child > :nth-child(2) {font-size: calc(var(--fs-base) + 4px); font-weight: 400; line-height: 24px;text-decoration: line-through; color: var(--_c-font-color); padding-inline: 4px;}
.carousel .content .head > :first-child > :nth-child(3) {font-size: calc(var(--fs-base) + 4px); color: var(--_c-dark-red); font-weight: 500;}
.carousel .content .head p {font-size: calc(var(--fs-xs) - 1px); color: var(--_c-font-color); line-height: 16px;}
.carousel .content p {font-size: calc(var(--fs-base) - 1px); font-weight: 700; line-height: 19px; color: var(--_c-dark);}
.carousel .sold {display: block; font-size: var(--fs-base); margin-block: 16px; line-height: 20px; color: var(--_c-dark);}
.carousel .tabs {border-top: 1px solid var(--_c-product-border); padding-block:5px 10px; }
.carousel .tabs > :first-child {font-size: var(--fs-base); color: var(--_c-dark); }

.carousel .productColor {padding-block: 10px; border-top: 1px solid var(--_c-product-border);}
.carousel .productColor > :first-child {font-size: calc(var(--fs-base) - 1px); font-weight: 700;}
.carousel .colorImg {display: flex; align-items: center; gap: 8px; margin-top: 8px;}
.carousel .colorImg .productColorTab { border: 2px solid transparent;}
.carousel .colorImg img {height: 64px; width: 64px;}
.carousel .colorImg .productColors {display: none;}
.carousel .colorImg .productColorTab:hover {border: 2px solid #000;}
.carousel .colorImg .colorActive {border: 2px solid #000;}
.carousel .tabs > ul {display: flex; align-items: center; gap: 8px;}
.carousel .tabs > * {font-size: var(--fs-base); color: var(--_c-dark);}
.carousel .tabs > ul > li {padding: 3px 10px; border: 2px solid var(--_c-product-border); cursor: pointer;}
.carousel .tabs > ul > li:hover {border: 2px solid #000;}
.carousel .tabs > ul > .active {border: 2px solid #000;}

/* Zoomable css */
.zoomable { position: relative; overflow: hidden;}
.zoomable__img { transform-origin: var(--zoom-pos-x, 0%) var(--zoom-pos-y, 0%); transition: transform 0.15s linear;}
.zoomable--zoomed .zoomable__img { cursor: zoom-in; transform: scale(var(--zoom, 2));}

@media only screen and (max-width: 1200px) {
    .carousel .topBox .sliderCard {flex-direction: column;}
}
@media only screen and (max-width : 991px) {
    .carousel .wrapper {grid-template-columns: 100%;}
    .carousel .addToCartSideBar {order: 1; position: static;}
    .carousel .topBox {order: 2;}
    .addToCartSideBar .topPart .priced, .moreInfo {display: none !important ;}
    .carousel .stock .wrapper {grid-template-columns: repeat(3, 1fr);}
}
@media only screen and (max-width: 768px) {
    .carousel .stock .wrapper  {grid-template-columns: repeat(2, 1fr);}
}
@media only screen and (max-width: 576px) {
    .carousel .stock .wrapper  {grid-template-columns: 1fr; place-items: center;}
}
@media only screen and (max-width : 476px) {
    .carousel .imagesTab {flex-direction: row; height: 70px; max-width: 370px;}
    .carousel .slider_box {flex-direction: column;}
    .carousel .sliderImages {width: unset;}
}
@media only screen and (max-width : 360px) {
    .addToCartSideBar .trader {gap: 10px;}
    .addToCartSideBar :where(.trader, .location) a {word-break: break-all;}
    .addToCartSideBar :where(.trader, .location) > :first-child {text-wrap: nowrap;}
}

.carousel .links {height: 100px; background: #fff; position: sticky; top: 0; z-index: 1; display: flex; align-items: center;}
.carousel .links ul {display: flex; margin-block: 40px 50px; gap: 30px;}
.carousel .links a {font-size: var(--fs-base); line-height: 38px; font-weight: 400; position: relative; padding-left: 20px; color: var(--_c-dark);} 
.carousel .links a.active {font-weight: bold;}
.carousel .links a.active::after { position: absolute; top: 50%; left: 0; background: no-repeat center / cover url("../images/icons/location-fill.svg"); height: 15px; width: 15px; content: ""; transform: translateY(-50%);}

@media only screen and (max-width: 1200px) {
    .carousel .links ul {gap: 7px;}
}
@media only screen and (max-width: 768px) {
    .carousel .links ul {flex-wrap: wrap;}
    .carousel .links a {padding-left: 16px; line-height:  26px;}
}

.carousel .customerReview .title > :first-child {font-size: calc(var(--fs-md) + 6px); font-weight: 700; color: var(--_c-dark);}
.customerReview .reviewCard {width: 100%; display: flex; gap: 16px; margin-top: 10px; }
.customerReview .reviewBox {width: 100%; background-color: var(--c-light-bg); padding: 24px; border-radius: 8px;}
.customerReview .reviewCard > :first-child > :first-child {font-size: 60px; font-weight: 700; line-height: 52px; color: var(--_c-dark);}
.customerReview .reviewCard > :first-child img {height: 20px; width: 20px;}
.customerReview .reviewBox img {filter: brightness(0) saturate(100%) invert(70%) sepia(88%) saturate(504%) hue-rotate(352deg) brightness(103%) contrast(101%);}
.customerReview .reviewBox .starsImg {display: flex; align-items: center; gap: 5px; margin-block: 10px;}
.customerReview .reviewCard .verified {display: flex; flex-direction: column; align-items: start; gap: 5px;}
.customerReview .reviewCard .verified > :first-child {font-size: var(--fs-base); line-height: 20px; color: #03c97a;}
.customerReview .reviewCard .verified button {font-size: var(--fs-xs); color: var(--c-primary); text-decoration: underline;}
.customerReview .reviewBar {display: flex; align-items: center; gap: 10px; height: 25px;}
.customerReview .progress {width: 74%; background-color: var(--_c-bar-bg); height: 6px; position: relative;}
.customerReview .progress > :first-child { background-color: var(--_c-dark-color);}
.customerReview .reviewCard > :nth-child(2) img {height: 12px; width: 12px;}
.customerReview .reviewBar > :last-child {font-size: calc(var(--fs-xs) - 2px);line-height: 16px; color: var(--_c-dark);}
.customerReview .reviewProfile {width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 20px;}
.customerReview .reviewProfile .reviewProfileBox {width: 100%; display: flex; gap: 12px; padding: 16px 10px; border: 1px solid var(--_c-product-border); border-radius: 12px;}
.customerReview .reviewProfile .reviewProfileBox .customerReport {padding: 16px 10px;}
.customerReview .reviewSection {display: flex; flex-direction: column; justify-content: space-between; width: 100%;}
.customerReview .revewImage img {filter: brightness(0) saturate(100%) invert(70%) sepia(88%) saturate(504%) hue-rotate(352deg) brightness(103%) contrast(101%);}
.customerReview .revewImage > :nth-child(2)  {display: block; font-size: var(--fs-sm); line-height: 20px; color: var(--_c-font); margin-block: 8px;}
.customerReview .customerReport > :first-child {font-size: var(--fs-base); line-height: 20px;}
.customerReview .customerReport img {width: 93px; height: 93px; border-radius: 8px; margin-block: 15px 25px;}
.customerReview .customerName {display: flex; align-items: center; gap: 8px;}
.customerReview .customerName .reportSect {position: relative;}
.customerReview .customerName .reportSect:hover button {display: block;}
.customerReview .reportSect button {font-size: var(--fs-xs); line-height: 1.5; display: none; position: absolute; bottom: -41px; right: -28px; color: var(--_c-dark); background-color: #fff;padding: 10px 12px; border-radius: 4px; border: unset; box-shadow: var(--_c-btn-shadow); z-index: 8; cursor: pointer; transition: var(--transition);}
.customerReview .reportSect button:hover {background-color: var(--c-light-bg);}
.customerReview .review-sec {font-size: var(--fs-xs); font-weight: 700; display: flex; align-items: start; flex-direction: column; }
.customerReview .review-sec > :first-child {display: flex; gap: 3px; font-weight: 400; font-size: calc(var(--fs-xs) - 2px);}
.customerReview .review-time {font-weight: 700;}
.customerReview .btn__primary { font-size: calc(var(--fs-base) - 1px); font-weight: 700; padding-block: 8px; margin-top: 19px; margin-inline: auto;}
.customerReview .comments {display: none;}
.customerReview .comments.reviewNone {display: block;}
.customerReview .comments > :first-child {font-size: var(--fs-md); font-weight: 600; margin-bottom: 5px;}
.customerReview form {margin-block: 20px 40px; }
.customerReview form > :nth-child(2) {margin-left: 2rem;}
.customerReview form > :nth-child(3) {margin-left: 2rem;}
.customerReview form > :nth-child(-n+3) {width: calc(32.4% - 1rem); margin-bottom: 2rem;}
.customerReview form input, textarea, select {font-weight: 600; padding: 7px 15px 8px 15px; border: none; border-radius: 5px; box-shadow: var(--_c-shadow); outline: none; transition: var(--transition);}
.customerReview form input::placeholder, textarea::placeholder {color: #00000066;}
.customerReview form input:hover, textarea:hover {box-shadow: var(--_c-secondary-shadow);}
.customerReview form input:focus, textarea:focus, select:focus {box-shadow: 0 0 0 2px #000;}
.customerReview form textarea {height: 140px;}
.customerReview form button {width: fit-content; margin-top: 16px; }

@media only screen and (max-width: 1200px) {
    .customerReview .progress {width: 68%; margin-left: 5px;}
    .customerReview form > :nth-child(-n+3) { width: calc(32% - 1rem);}
}
@media only screen and (max-width: 991px) {
    .customerReview .reviewCard {flex-direction: column;}
    .customerReview .reviewProfile {grid-template-columns: 1fr;}
}
@media only screen and (max-width: 576px) {
    .customerReview form > :nth-child(-n+3) {width: 100%; margin-bottom: 1rem;} 
    .customerReview form > :where(:nth-child(2), :nth-child(3) ) {margin-left: unset;}
}

@media only screen and (max-width: 360px) {
    .customerReview .reviewSort {flex-wrap: wrap;}
}

.description .title > :first-child {font-size: calc(var(--fs-md) + 6px); font-weight: 700; color: var(--_c-dark); margin-bottom: 10px;}

