.category-product-div {
    padding: 5px !important;
}

.category-product {
    /*width:44dvw;*/
    padding: 6px;
}

.btn-wholesaler {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 5%;
    padding: 5% 0 5%;
    background-color: #fff;
}
.wholesaler {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 5%;
    padding: 2% 0 5%;
    background-color: #fff;
    border-radius: 1%;
    box-shadow: 0px 2px 4px rgba(126, 142, 177, 0.12);
}
.wholesaler > .image-wholesaler {
   width: 44%;
   height: 500px;
   position: relative;
    background-color: #e0e0e05c;
    /*opacity: 0.75;*/
}

.wholesaler > .image-wholesaler > img {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    top: 27px;
    left: -36px;
    border-radius: 1%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.wholesaler > .even-image > img{
    left: 36px;
}

.wholesaler > .text-product {
    width: 39%;
    line-height: 38px;
    text-align: justify;
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 5em;
}
.wholesaler > .text-product .request-wholesaler {
    width: 250px;
    margin-right: 35%;
    border-radius: 1em;
    border: 0;
    outline: none;
    padding:0.3em;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    background-color: #399b84;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    margin-top: 2em;
}

.slider-section-wholesaler, .services-wholesaler {
    margin-bottom: 5% !important;
}

.slider-section-wholesaler > .title {
    text-align: center;
    padding: 1em 0;
    margin-bottom: 2em;
    font-size: 1.5em;
    font-weight: 600;
}
.brand-slider {
    margin-bottom: 1em;
}
/* -------------- biography---------------*/
   .biography {
    display: flex;
    justify-content: space-between;
}
.text-biography {
    line-height: 30px;
    color: #666;
    text-align: justify;
    padding: 26px 0 0 32px;
    font-size: 14px !important;
}
.video-biography {
    width: 80%;
    height: 395px;
    position: relative;
    cursor: pointer;
}

.video-biography > video {
    width: 100%;
    height: 100%;
}

.video-biography > .play, .video-biography > .pause {
    width: 58px;
    position: absolute;
    top: 37%;
    z-index: 10;
    right: 45%;
}
.video-biography > .pause {
    display: none;
}

/*.category-section-slider .category-slider .item img {*/
/*    border-radius: 1.5em;*/
/*    background: #fff;*/
/*    padding: 7px;*/
/*}*/

/*---------------menu fixed bottom mobile-----------*/

.fixed-menu {
    position: fixed;
    margin: 0 3% 0 0;
    z-index: 11;
    right: 0;
    bottom: 7px;
    width: 95%;
    height: 63px;
    background-color: #fff;
    display: none;
    justify-content: space-around;
    align-items: end;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    padding-bottom: 0.4em;
    border-radius: 2em;
    background-color: rgba(248, 249, 251, 0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(7.5px);
}

.fixed-menu > li {
    list-style: none;
}
.fixed-menu > li:nth-child(1) > .icon > img {
    width: 60%;
    margin-right: 10px;
}
.fixed-menu > li:nth-child(4) > .icon > img {
    margin-right: 7px;
}
.fixed-menu > li > .icon {
    width: 44px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    position: absolute;
    top: -9px;
}
.fixed-menu > li > .icon > img {
    width: 60%;
}
.fixed-menu > li > span {
    font-size: 11px;
    font-weight: bold;
}
.fixed-menu > li:nth-child(1) > .icon > img {
    width: 42%;
}
.fixed-menu > li:nth-child(3) > .icon > img, .fixed-menu > li:nth-child(2) > .icon > img{
   margin-right:12px;
    width: 53%;
}

.fixed-menu > li  .filter img {
    width: 50%;
    height: 46%;
    margin-top: 18px;
    margin-right: -1px !important;
}

.fixed-menu > .item-menu > .active {
    color: #0c23b3;
}
.fixed-menu > li:nth-child(4) > .icon > span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color:#fff;
    position: absolute;
    text-align: center;
    color: #8b0000;
    top: 14px;
    right: 4px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.fixed-menu > li:nth-child(3) > .icon > span {
    position: absolute;
    top: 13px;
    right: -3px;
    background: #ef3743;
    color: #fff;
    border-radius: 100%;
    height: 22px;
    width: 22px;
    line-height: 24px;
    font-size: 12px;
    animation: cart-box 2s infinite;
    text-align: center;
}

.side-menu > .categories {
    margin-right: 1.3em;
    margin-top: 1em;
    font-size: 16px;
    color: #000;
    display: inline-block;
    width: 90%;
}
.side-menu > .navbar-nav > li > a > i {
    font-size: 20px;
}

.mobile-footer > ul{
    margin-top: 2em;
    display: flex;
    justify-content: space-around;
}
.mobile-footer > ul> li {
    width: 31%;
    height: 100px;
    border: 1px solid #0b2e13;
    border-radius: 0.5em;
    list-style: none;
    display: none;
    justify-content: center;
}

.mobile-footer > ul> li > a > img, .mobile-footer > ul> li > img {
    width: 100%;
}
.search-box-side-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.search-box-side-menu > a > img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.search-box-side-menu > span {
    font-size: 15px;
    font-weight: 600;
    color: #0B0B0B;
}

.shop_install {
    position: fixed;
    z-index: 999;
    bottom: 68px;
    right: 0;
    width: 100%;
    height: 50px;
    background: #fff;
    display: none;
    justify-content: space-around;
    align-items: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.shop_install > span {
    color: #0B5661;
    font-size: 15px;
    font-weight: bold;
}

.shop_install > .install {
    background: #0B5661;
    border-radius: 0.5em;
    border: 0;
    width: 26%;
    padding: 0.5em 1em;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*.copyright {*/
/*    position: fixed;*/
/*    bottom: 0;*/
/*    padding-bottom: 0.8em;*/
/*    width: 66%;*/
/*    text-align: center;*/
/*    color: #000;*/
/*    z-index: 9999;*/
/*    background: #fff;*/
/*}*/
.promotion-badge {
    top: 0;
}
@media (max-width: 575px)
{
    .wholesaler {
        flex-direction: column;
        margin-top: 2em;
    }

    .wholesaler > .image-wholesaler {
        width: 91%;
        height: 400px;
        margin-bottom: 2em;
    }

    .wholesaler > .image-wholesaler > img {
        left: -19px;
    }
    .wholesaler > .text-product {
        width: 100%;
        margin-top: 3em;
        padding: 0 0.6em;
        margin-bottom: 2em;
    }
    .wholesaler > .text-product .request-wholesaler {
        margin-right: 17%;
    }
    .biography {
        flex-direction: column;
    }
    .text-biography {
        padding: 26px 0 0 5px;
    }
    .video-biography {
        width: 100%;
    }

}


@media (min-width: 576px) and (max-width: 767px)
{

    .wholesaler {
        flex-direction: column;
        margin-top: 2em;
    }
    .wholesaler > .image-wholesaler {
        width: 91%;
        height: 400px;
        margin-bottom: 2em;
    }

    .wholesaler > .image-wholesaler > img {
        left: -19px;
    }
    .wholesaler > .text-product {
        width: 100%;
        margin-top: 3em;
        padding: 0 0.6em;
        margin-bottom: 2em;
    }
    .wholesaler > .text-product .request-wholesaler {
        margin-right: 17%;
    }
    .biography {
        flex-direction: column;
    }
    .text-biography {
        padding: 26px 0 0 5px;
    }
    .video-biography {
        width: 100%;
    }
}

@media (max-width: 768px) and (max-width: 991px) {
    header.main-header .search-area {
        margin: 5px;
        width: 83%;
        float: left;
    }

    .fixed-menu-top {
        position: fixed !important;
        z-index:999;
    }
    .margin-content-mobile {
        margin-top: 4em;
    }

    .wholesaler {
        flex-direction: column;
        margin-top: 2em;
    }

    .wholesaler > .image-wholesaler {
        width: 91%;
        height: 400px;
        margin-bottom: 2em;
    }

    .wholesaler > .image-wholesaler > img {
        left: -19px;
    }
    .wholesaler > .text-product {
        width: 100%;
        margin-top: 3em;
        padding: 0 0.6em;
        margin-bottom: 2em;
    }
    .wholesaler > .text-product .request-wholesaler {
        margin-right: 17%;
    }
    .biography {
        flex-direction: column;
    }
    .text-biography {
        padding: 26px 0 0 5px;
    }
    .video-biography {
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .mobile-footer {
        display: none;
    }
    .shop_install {
        display: none !important;
    }
    .copyright {
        display: none !important;
    }
}
@media (min-width: 1200px) {
    .mobile-footer {
        display: none;
    }
    .shop_install {
        display: none !important;
    }
}
.hot_offers {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hot_offers > img {
    width: 100%;
}
.sticky {
    position: fixed !important;
    top: 0;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.slider_big {
    margin-bottom:1%;
    width: 100%;
}
.slider_big > img {
    height: 100%;
    width: 100%;
}

.custom-control-label::before,.custom-control-label::after {
    width: 1.6rem !important;
    height: 1.6rem !important;
    margin-left: 5px;
}

.index-main-slider {
    margin-bottom: 38px !important;
}

.infoSection {
    padding: 15px;
    background: aliceblue;
    border-radius: 20px;
    color: #000;
    margin-bottom: 20px;
}

.cart-header {
    background: #fff;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 12px;
    border-radius: 6px !important;
}

.cart-header h3 {
    color: #2d3748;
    font-size:20px;
    margin-bottom: 10px;
}

.cart-header p {
    color: #718096;
    font-size: 1rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: fit-content !important;
    overflow-y: unset !important;
}

.cart-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.12);
    background-color: #fdfdfd !important;
}

.item-content {
    display: grid !important;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.item-details h3 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.item-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.spec-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.item-pricing {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.original-price {
    color: #a0aec0;
    font-size: 0.9rem;
    text-decoration: line-through;
}

.discount-badge {
    background: #fc8181;
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: inline-block;
    width: fit-content;
}

.item-price {
    color: #38a169;
    font-weight: bold;
    font-size: 1.1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: #4299e1;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn.dec {
    background: #fc8181;
}

.qty-btn.dec:hover {
    background: red;
}

.qty-btn:hover {
    background: #3182ce;
    transform: scale(1.1);
}

.qty-display {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: bold;
    color: #2d3748;
    min-width: 60px;
    text-align: center;
}

.remove-btn {
    background: #fc8181;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
    margin-right: 10px;
}

.remove-btn:hover {
    background: #f56565;
}

.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 25px !important;
    height: fit-content;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
}

.summary-title {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 0;
}

.summary-row.total {
    border-top: 2px solid #e2e8f0;
    font-weight: bold;
    font-size: 1.1rem;
    color: #2d3748;
}

.discount-code {
    margin: 20px 0;
}

.discount-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.apply-btn {
    width: 100%;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.apply-btn:hover {
    transform: translateY(-1px);
}

a.checkout-btn {
    width: 100%;
    background: linear-gradient(45deg, #38a169 0%, #48bb78 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s;
    display: inline-block;
    text-align: center;
}

a.checkout-btn:hover {
    transform: translateY(-2px);
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        border-radius: 15px;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .item-content {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .item-image {
        width: 80px;
        height: 80px;
    }

    .quantity-controls {
        margin-top: 15px;
        justify-content: space-between;
        grid-column: 1 / -1;
    }

    .cart-header h1 {
        font-size: 1.5rem;
    }

    .item-details h3 {
        font-size: 1rem;
    }

    .spec-tag {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .cart-item {
        padding: 15px;
    }

    .item-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .item-image {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .quantity-controls {
        justify-content: center;
        margin-top: 10px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item {
    animation: fadeIn 0.5s ease-out;
}

.notification-box {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border: 2px solid #e17055;
    border-radius: 15px;
    padding: 8px 10px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(253, 203, 110, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.notification-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(253, 203, 110, 0.4);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.notification-text {
    flex: 1;
    color: #2d3436;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
}

/* آیکون سوال */
.help-icon {
    display: inline-block;
    background: #e17055;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.3s ease;
    position: relative;
    vertical-align: middle;
}

.help-icon:hover {
    background: #d63031;
    transform: scale(1.1);
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 50%;
    transform: translateX(50%);
    background:#fff ;
    color: #2d3436;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    width: 320px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-weight: normal;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    border: 8px solid transparent;
    border-top-color: #fff;
}

.help-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* show product */

.product-carousel .item
{
    margin-bottom: 0;
}
.container-details {
    float: right;
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
}

.product-images {
    background: linear-gradient(45deg, #f8f9ff, #e8f2ff);
    padding: 0px;
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    height: fit-content;
}

.main-image {
    width: 100%;
    border-radius: 35px;
    overflow: clip;
}

.product-carousel .owl-nav button.owl-next {
    left: 19px !important;
}

.product-carousel .owl-nav button.owl-prev {
    right: 19px !important;
}

.main-image img {
    width: 100%;
}

.main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.main-image.zoomed {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.thumbnail-container {
    position: relative;
    margin-top: 20px;
}

.thumbnail-slider {
    display: flex;
    gap: 10px;
    overflow-x: hidden;
    padding: 23px;
    background-color: #fff;
    border-radius: 12px;
}

.thumbnail-slider .owl-stage-outer {
    overflow: unset;
}

.thumbnail {
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

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

.thumbnail.active,
.thumbnail:hover {
    /*border-color: #667eea;*/
    transform: scale(1.1);
    /*box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);*/
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: -15px; }
.slider-next { right: -15px; }

.recommended-product {
    margin-top: 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.recommended-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.product-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 7px;
    height: fit-content;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-subtitle {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.rating-details {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.star.empty {
    color: #e2e8f0;
}

.rating-text {
    color: #718096;
    font-size: 0.9rem;
}

.price-section {
    margin-bottom: 30px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-left: 15px;
}

.original-price {
    font-size:19px;
    color: red;
    text-decoration: line-through;
    margin-left: 10px;
}

.discount-badge {
    background:#f9441f;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.selector-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.color-selector {
    margin-bottom: 30px;
}

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

.color-option {
    width: 50px;
    height: 50px;
    border-radius: 21%;
    border: 3px solid #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.color-option input, .size-option input  {
    visibility: hidden;
    position: absolute;
    top:50%;
    right: 50%;
}

.color-option:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.color-option.active {
    border-color: #667eea;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    border-radius: 50%;
}

.color-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    font-weight: bold;
    font-size: 1.2rem;
}

.color-blue { background: #667eea; }
.color-purple { background: #764ba2; }
.color-pink { background: #f093fb; }
.color-red { background: #f5576c; }
.color-black { background: #2d3748; }

.size-selector {
    margin-bottom: 30px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
}

.size-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.size-option.active,
.size-option.active:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}

.quantity-selector {
    margin-bottom: 30px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #667eea;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


.quantity-btn.dec {
    background: #fc8181;
}

.quantity-btn.dec:hover  {
    background: red;
}

.quantity-btn:hover {
    background: #5a67d8;
    transform: scale(1.1);
}

.quantity-input {
    width: 80px;
    height: 40px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.features {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.tabs {
    margin-top: 40px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tab-headers {
    display: flex;
    gap: 0;
    background: linear-gradient(135deg, #f8f9ff, #e8f2ff);
    margin-bottom: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-headers::-webkit-scrollbar {
    display: none;
}

.tab-header {
    padding: 20px 25px;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    font-weight: 700;
    color: #718096;
    transition: all 0.4s ease;
    white-space: nowrap;
    position: relative;
    background: transparent;
    text-align: center;
    min-width: 140px;
}

.tab-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: width 0.4s ease;
}

.tab-header.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.tab-header.active::before {
    width: 100%;
}

.tab-header:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.03);
}

.tab-content {
    display: none;
    animation: fadeIn 0.6s ease;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.specifications {
    display: grid;
    gap: 15px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;

    font-weight: 900;
    align-items: center;
}

.spec-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.08);
    background: #f0f4ff;
}

.spec-label {
    font-weight: bold;
    color: #2d3748;
    font-size: 20px;
}

.spec-value {
    color: #718096;
    font-size: 16px;
}

.reviews {
    display: grid;
    gap: 20px;
}

.review-item {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.1);
    background: #f0f4ff;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.reviewer-name {
    font-weight: 600;
    color: #2d3748;
}

.review-date {
    color: #718096;
    font-size: 0.9rem;
}

.related-products {
    margin-top: 40px;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(243px, 1fr));
    gap: 25px;
}

.related-product-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,249,255,0.95));
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    padding: 15px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mobile-sticky-bar.show {
    display: flex;
}

.mobile-sticky-bar.hide {
    transform: translateY(100%);
}

.mobile-price-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
}

.mobile-price-original {
    font-size: 0.9rem;
    color: #a0aec0;
    text-decoration: line-through;
}

.mobile-discount {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    align-self: flex-start;
}

.mobile-add-to-cart {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

.mobile-add-to-cart:hover,
.mobile-add-to-cart:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-images {
        padding: 20px;
    }

    .main-image {
        width: 350px;
    }

    .product-info {
        padding: 20px;
    }

    .current-price {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        min-width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tab-headers {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .tab-header {
        min-width: 120px;
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 20px;
    }

    .mobile-sticky-bar.show {
        display: flex !important;
    }

    body {
        padding-bottom: 90px;
    }
}

@media (max-width: 480px) {
    /*.container {*/
    /*    border-radius: 15px;*/
    /*}*/

    .current-price {
        font-size: 23px;
    }

    .color-options,
    .size-options {
        justify-content: center;
    }

    .slider-nav {
        display: none;
    }

    .thumbnail-slider {
        padding: 0 10px;
    }

    .recommended-product {
        margin-top: 20px !important;
        padding: 15px !important;
    }
}

#videoModal.active {
    display: flex !important
}