#main-slider {
    float: left;
    width: 80%;
    height: auto;
    overflow: hidden;
    margin: 0;
}

.thumb-item img {
    height: 50px;
    width: 50px;
    object-fit: cover;
}

.slider-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.slider-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: -webkit-fill-available;
    height: auto;
    display: none;
}

#slider-thumb {
    width: 60px;
    height: 370px;
    float: left;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.thumb-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    height: auto;
    margin-bottom: 10px;
}

#slider-thumb::-webkit-scrollbar {
    display: none;
}

.product-details h2 {
    font-size: 30px;
    font-weight: 400;
    line-height: normal;
    padding-top: 10px;
    margin: 0;
}

.product-details h5 {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    border-bottom: 1px solid #fcd7dd;
    padding-bottom: 10px;
}

.product-details p {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    padding-top: 5px;
    margin: 0;
}

.show {
    display: flex !important;
}

.size-btn,.fragrance-btn {
    width: 90px;
    height: 100%;
    border-radius: 5px;
    margin-right: 2px;
    color: #5E1F0D;
    outline: none;
    border: 1px solid #5E1F0D;
    background: transparent;
    padding: 10px;
}

.size-buttons {
    display: flex;
    gap: 10px;
}
.color-btn {
    height: 100%;
    width: 90px;
    border-radius: 5px;
    margin-right: 2px;
    color: #5E1F0D;
    outline: none;
    border: 1px solid #5E1F0D;
    background: transparent;
    padding: 10px;
}

.variants-selector {
    margin: 0px 0;
}

.variants-selector h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: "EB Garamond", serif;
    font-weight: 400;
}

.color-buttons {
    display: flex;
    gap: 10px;
}



.btnproductfunctionality .add-to-cart {
    background-color: #000;
    border: none;
    outline: none;
    border-radius: 5px;
    text-align: center;
    font-family: 'Cinzel';
    font-size: 17px;
    font-weight: 600;
    text-transform: capitalize;
    color: white;
    padding: 10px 20px;
}

.btnproductfunctionality .buy-now {
    background-color: transparent;
    border: 1px solid #000;
    outline: none;
    border-radius: 5px;
    text-align: center;
    font-family: 'Cinzel';
    font-size: 17px;
    font-weight: 600;
    text-transform: capitalize;
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
}

.btnproductfunctionality {
    padding-top: 30px;
}

#cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#cart-icon a {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #333;
}

#cart-icon i {
    margin-right: 8px;
    font-size: 24px;
}

#cart-count {
    position: absolute;
    top: 15px;
    right: 3px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

.cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background-color: #f1f1f1;
    color: #333;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.cart-overlay.show {
    display: block;
}

.cart-overlay.show .cart-panel {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 5px;
    position: relative;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.signin-btn {
    cursor: pointer;
    background: #000000;
    border: 1px solid #000000;
    outline: none;
    border-radius: 5px;
    color: #fff;
    padding: 10px 20px;
    margin-left: 30px;
}

.close-cart {
    position: absolute;
    top: 20px;
    right: 10px;
    cursor: pointer;
    background-color: #000000;
    border: none;
    outline: none;
    border-radius: 200px;
    color: #fff;
    font-size: 17px;
    padding: 2px 7px;
}

.cart-message {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 6px;
}

.cart-empty {
    display: none;
    text-align: center;
    margin-top: 30px;
}

.cart-empty-icon {
    margin-bottom: 10px;
}

.cart-empty h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.start-shopping-btn {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.cart-items {
    display: none;
    width: -webkit-fill-available;
    height: 400px;
    overflow-y: scroll;
    background-color: #fff;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 100px;
}

.cart-item-img {
    width: 100px;
    height: 140px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 1rem;
    margin: 0 0 5px;
}

.cart-item-variant {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.cart-item-quantity button {
    background-color: #f1f1f1;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    border-radius: 4px;
}

.cart-item-remove {
    position: relative;
    bottom: 120px;
    left: 235px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 200px;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 5px;
}

.cart-footer {
    position: absolute;
    bottom: 0;
    display: none;
    width: -webkit-fill-available;
    background-color: #fff;
    border-top: 1px solid #ddd;
    padding: 10px;
    margin: 0 auto;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
}

.cart-footer-actions {
    text-align: center;
}

.checkout-btn {
    cursor: pointer;
    width: 100%;
    height: auto;
    background-color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    color: #fff;
    padding: 10px 0;
}

.carthrow {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 20px;
}

.carthcol8 {
    flex: 0 0 auto;
    width: 66.7%;
}

.carthcol4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 33.3%;
}

.carthcol8 h2 {
    font-size: 17px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

.carthcol8 p {
    font-size: 12px;
    font-weight: 400;
    line-height: 1rem;
    padding-top: 5px;
    margin: 0;
}

@media (max-width: 480px) {
    .cart-panel {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    #slider-thumb {
        width: max-content;
    }

    #main-slider {
        width: 82%;
        padding-left: 10px;
    }

    .product-details h2 {
        font-size: 26px;
        font-weight: 600;
        line-height: 1.8rem;
    }

    .btnproductfunctionality .add-to-cart {
        font-size: 14px;
    }

    .btnproductfunctionality .buy-now {
        font-size: 14px;
    }
}