@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --poppins: 'Poppins', sans-serif;
    --lato: 'Lato', sans-serif;
    --complete: green;
    --logout: red;
    --light: #F9F9F9;
    --blue: #ff9900;
    --light-status: #ff990070;
    --light-blue: #CFE8FF;
    --grey: #eee;
    --dark-grey: #AAAAAA;
    --dark: #342E37;
    --red: #DB504A;
    --yellow: #FFCE26;
    --light-yellow: #FFF2C6;
    --orange: #FD7238;
    --light-orange: #FFE0D3;
    --details: #ff9900;
    --edit: royalblue;
    --delete: red;
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: var(--lato);
    box-sizing: border-box;
    text-decoration: none;
}

body {
    background-color: #f5f5f5;
}

.main {
    height: 100vh;
    width: 100%;

}
 
.hero{
    width: 90%;
    margin-left: 5%;
    /* padding: 10px; */
    margin-top: 10px;
    display: flex;
}
.product_details{
    width: 70%;
    display: flex;
    flex-direction: column;
    height: auto;
    background-color: #ffff;
    overflow: hidden;
    padding: 10px;
}
.top_of_productdetails{
    display: flex;
    width: 100%;
    height: auto;
    padding-bottom: 20px;
}
.images_share{
    width: 50%;
}
.main_image_div{
    width: 100%;
    height: 300px;
}
.main_image_div img{
    width: 100%;
    height: 100%;
}

.sub_images{
    margin-top: 5px;
    gap: 5px;
    width: 100%;
    display: flex;
    height: 100px;
    overflow: auto;
    padding: 5px;
}
.sub_images::-webkit-scrollbar{
    height: 8px;
    background-color: #f1f1f1;
    margin-top: 10px;
    border-radius: 10px;
}
.sub_images::-webkit-scrollbar-thumb{
    background-color: #ff990080;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s ease-in-out;
}
.sub_images::-webkit-scrollbar-thumb:hover{
    background-color: #ff9900;
    border-radius: 10px;
}
.sub_images img{
    width: 22%;
    height: 100%;
}
.share{
    display: flex;
    flex-direction: column;
    align-items: center;

}
.share_title{
    width: 100%;
    height: 20px;
    font-weight: 600;
    margin-top: 10px;
    font-size: 12px ;
    /* border-bottom: 1px solid #00172d; */
    color: #00172d;

}
.share .social_links{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    width: 100%;

}
.share .social_links a{
    width: 32%;
    border: 1px solid #ddd;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: .2s ease-in-out;
    color: #666;
}
.share .social_links a:hover{
    background-color: #ff9900;
    color: #fff;
    letter-spacing: 0.05rem;
}
.rating form button{
    background-color: #f1f1f1;
    padding: 10px;
    border: none;
    /* border: 1px solid #ddd; */
    color: #666;
    /* font-size: 10px; */
    border-radius: 5px;
    cursor: pointer;
}
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: #333;
    color: #fff;
    font-size: 13px;
    text-transform: capitalize;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the button */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
/* ----------------------details----------------------- */
.details{
    width: 50%;
    height: auto;
    padding-left: 20px;
}
.product_name{
    border-bottom: 3px solid #eee;
    padding-bottom: 10px;
}
.product_name p{
    font-size: 16px;
    color: #666;
    font-weight: 600;
}
.sponsored{
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: space-between;
}
.sponsored span{
    font-size: 10px;
    color: #666;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.sponsored p{
    font-size: 10px;
    color: #666;
    padding: 10px 20px;
    /* border-radius: 5px; */
    border-bottom: 1px solid #ddd;
}
.views_and_time{
    display: flex;
    /* height: 50px; */
    align-items: center;
    justify-content: flex-end;
}
.views_and_time p{
    font-size: 10px;
    color: #666;
    padding: 10px 20px;
    /* border-radius: 5px; */
    border-bottom: 1px solid #ddd;
}
.rating{
    width: 100%;
    height: 40px;
    /* border: 1px solid red; */
    display: flex;
    margin-top: 10px;
    align-items: center;
    justify-content: space-between;
}
.rating.other{
    margin-top: 20px;
}
.rating i{
    color:#ff9900;
}
.rating .bridge{
    /* border: 1px solid red; */
    margin-left: 10px;
    margin-right: 10px;
    width: 5px;
    height: 100%;
    background-color: #eee;
}
.rating a {
    font-size: 12px;
    color: #1877F2;
    color: #666;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid #ddd;
}
.product_price{
    font-weight: 800;
    font-size: 18px;
    color: #ff9900;

}
.product_price sup{
    color: #ff9900;
    font-size: 16px;
}
.details table{
    width: 70%;
    margin-top: 20px;
    border-collapse: collapse;
}
.details table tr td{
    font-size: 14px;
    padding: 10px;
    font-weight: 700;
    color: #00172d;
    text-transform: uppercase;
    border-bottom: 1px solid #dddd;
}
.details table tr td:nth-child(1){
    color: #666;
    font-weight: 500;
    font-size: 10px;
}

.order_btn{
    /* border: 1px solid red; */
    width: 100%;
    height:50px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.order_btn a{
    width: 49%;
    height: 50px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid #25D366;
    color: #25D366;
    background-color: #25D36610;
    font-size: 12px;
    font-weight: 700;
    transition: .2s ease-in-out;
}
.order_btn a:hover{
    background-color: #018431;
    color: #fff;
    border: none;

}
.order_btn a i{
    font-size: 14px;
    margin-right: 10px;
}
.order_btn a.call_button{
    color: #34B7F1;
    background-color: #34B7F110;
    border: 1px solid #34B7F1;
}
.order_btn a.call_button:hover{
    background-color: #34B7F1;
    color: #fff;
    border: none;

}

.description {
    width: 100%;
    height: auto;
    padding: 1px;
    /* margin-left: 1%; */
    background-color: #fff;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
}
.title_for_description{
    color: #ff9900;
    font-weight: 700;
}
.description hr{
    background-color: #ddd;
    height: 3px;
    width: 22%;
    border: none;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}



.shop_safety{
    margin-left: 1%;
    width: 29%;
    height: auto;
    /* padding: 10px; */
    display: flex;
    flex-direction: column;
}
 
/* From Uiverse.io by JaydipPrajapati1910 */ 
.card {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    /* box-shadow: 0 0 100px rgba(0,0,0, .3); */
    border-radius: 5px;
    padding: 1px;
}
 
 

.card-body {
    width: 100%;
    height: auto;
    border-radius: 10px;
    /* text-align: center; */
    padding-left: 10px;
    background-color: #fff;
    position: relative;
}
.shop_details{
    background-color: #fff;
    border-radius: 10px;
    /* border: 1px solid #ddd; */
    padding: 10px;
    text-align: start;
}
.name {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 auto;
    text-decoration: underline;
    text-underline-offset: 5px;
}
sup{
    border: 1px solid #ddd;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 5px;
    margin-right: 10px;
}
.job-title {
    font-size: 12px;
    font-weight: 300;
    margin-top: 10px;
    color: #919191;
}

.bio {
    font-size: 12px;
    color: #666;
    font-weight: 300;
    margin: 10px auto;
    line-height: 20px;
}

.social-accounts img {
    width: 15px;
    margin-top: 20px;
}

.social-accounts a {
    margin-left: 10px;
}

.social-accounts a:first-child {
    margin-left: 0;
}

.card-footer {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 20px;
}

.stat {
    box-sizing: border-box;
    width: calc(100% / 3);
    float: left;
    text-align: center;
}

.stat:nth-child(2) {
    border-left: 1px solid grey;
}

.stat:nth-child(3) {
    border-left: 1px solid grey;
}

.stat .label {
    display: block;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 1px;
    color: #95989A;
}

.stat .value {
    display: block;
    font-weight: 700;
    font-size: 20px;
    /* color: #ff9900; */
    margin-top: 5px;
}


.feedback_div{
    margin-top: 10px;
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #fff;
}
.feedback_div a{
    border: 2px solid #ff9900;
    display: flex;
    width: 90%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 12px;
    color: #ff9900;
    background-color: #ff990010;
}

.shop_safety .safety_tips{
    /* border: 1px solid red; */
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    padding: 10px;
}
.safety_tips p{
    font-weight: 700;
    color: #000;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.safety_tips ul {
    width: 100%;
}
.safety_tips ul li{
    font-size: 12px;
    display: flex;
    align-items: center;
    color: #666;
    padding: 10px ;
    /* margin-top: 10px; */
    /* border-bottom: 1px solid #ddd; */
    /* height: 30px; */
}
.safety_tips ul li span{
    margin-right: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9900;
    font-weight: 900;
}

/* **********************************************CARD CSS**************************************************** */

.container {
    width: 90%;
    margin-left: 5%;
    margin: 0 auto;
    background-color: #fff;
    margin-top: 20px;
    padding: 2rem 1rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category {
    color: #fbbf24;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
}

.view-more {
    background-color: #000;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.view-more:hover {
    background-color: #333;
}

.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    height: 150px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sale-price {
    position: absolute;
    bottom: .3rem;
    right: .3rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.2rem .8rem;
    border-radius: 4px;
}

.sale-price-label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.sale-price-amount {
    font-weight: bold;
}

.card-content {
    padding: .5rem;
}

.card-category {
    color: #ff9900;
    font-size: 10px;
    margin-bottom: 0.5rem;
}

.card-title {
    font-weight: 600 ;
    margin-bottom: 0.5rem;
    color: #111827;
    font-size: 14px;
}

.card-location {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 10px;
    margin-bottom: 1rem;
}

.location-icon {
    width: 12px;
    height: 12px;
    margin-right: 0.25rem;
}

.view-details {
    color: #111827;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    display: none;
}

.view-details:hover {
    color: #fbbf24;
}

.view-details::after {
    content: "→";
    margin-left: 0.25rem;
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

 
 

@media only screen and (max-width: 600px){
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.2rem; /* Increased gap for better mobile spacing */
    }
    
    /* Optionally adjust card styles for better mobile display */
    .card {
        width: 100%;
        height:auto;
    }
    
    .card-image {
        height: 120px; /* Slightly reduced image height for mobile */
    }
    .hero {
        width: 100%;
        margin-left: 0%;
        /* padding: 10px; */
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        /* background-color: #fff; */
    }

    .product_details {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: auto;
        background-color: #eee;
        overflow: hidden;
        padding: 10px;
    }
    .top_of_productdetails{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        padding-bottom: 20px;
    }
    .images_share {
        width: 100%;
        padding: 10px;
        background-color: #fff;
    }

    .main_image_div {
        width: 100%;
        height: 300px;
    }

    .main_image_div img {
        width: 100%;
        height: 100%;
    }

    .sub_images {
        margin-top: 5px;
        gap: 5px;
        width: 100%;
        display: flex;
        height: 80px;
    }

    .sub_images img {
        width: 25%;
        height: 100%;
    }

    .share {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* border: 1px solid red; */
    }

    .share_title {
        width: 100%;
        height: 20px;
        font-weight: 600;
        margin-top: 10px;
        /* border: 1px solid red; */
        font-size: 12px;
        /* border-bottom: 1px solid #00172d; */
        color: #00172d;

    }

    .share .social_links {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 40px;
        width: 100%;

    }

    .share .social_links a {
        width: 32%;
        border: 1px solid #ddd;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        transition: .2s ease-in-out;
        color: #666;
    }

    .share .social_links a:hover {
        background-color: #ff9900;
        color: #fff;
        letter-spacing: 0.05rem;
    }

    /* ----------------------details----------------------- */
    .details {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border-radius: 5px;
        background-color: #fff;
    }

    .product_name {
        border-bottom: 3px solid #eee;
        padding-bottom: 10px;
    }

    .product_name p {
        font-size: 16px;
        color: #666;
        font-weight: 600;
    }

    .rating {
        width: 100%;
        height: 40px;
        /* border: 1px solid red; */
        display: flex;
        margin-top: 10px;
        align-items: center;
        justify-content: space-between;
    }

    .rating i {
        color: #ff9900;
    }

    .rating .bridge {
        /* border: 1px solid red; */
        margin-left: 10px;
        margin-right: 10px;
        width: 5px;
        height: 100%;
        background-color: #eee;
    }

    .rating a {
        font-size: 12px;
        color: #1877F2;
        border-bottom: 1px solid #1877F2;
    }

    .product_price {
        font-weight: 900;
        font-size: 25px;
        color: #ff9900;

    }

    .product_price sup {
        color: #ff9900;
        font-size: 16px;
    }

    .details table{
        width: 70%;
        margin-top: 20px;
        border-collapse: collapse;
    }
    .details table tr td{
        font-size: 14px;
        padding: 10px;
        font-weight: 700;
        color: #00172d;
        text-transform: uppercase;
        border-bottom: 1px solid #dddd;
    }
    .details table tr td:nth-child(1){
        color: #666;
        font-weight: 500;
        font-size: 10px;
    }
    
    .order_btn{
        /* border: 1px solid red; */
        width: 100%;
        height:50px;
        margin-top: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .order_btn a{
        width: 49%;
        height: 50px;
        border-radius: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffff;
        font-size: 12px;
        border-radius: 3px;
        border: 1px solid #25D366;
        color: #25D366;
        background-color: #25D36610;
        font-size: 12px;
        font-weight: 700;
        transition: .2s ease-in-out;
    }
    .order_btn a:hover{
        background-color: #018431;
        color: #fff;
        border: none;
    
    }
    .order_btn a i{
        font-size: 14px;
        margin-right: 10px;
    }
    .order_btn a.call_button{
        color: #34B7F1;
        background-color: #34B7F110;
        border: 1px solid #34B7F1;
    }
    .order_btn a.call_button:hover{
        background-color: #34B7F1;
        color: #fff;
        border: none;
    
    }




    .shop_safety {
        margin-left: 1%;
        width: 98%;
        height: auto;
        /* padding: 10px; */
        display: flex;
        flex-direction: column;
    }

 

    .description {
        width: 100%;
        height: auto;
        padding: 1px;
        /* margin-left: 1%; */
        background-color: #fff;
        margin-top: 5px;
        padding: 10px;
        border-radius: 5px;
    }
    .description hr{
        width: 50%;
    }
    .para{
        font-size: 12px;
        width: 100%;
    }






    .shop_safety .safety_tips {
        /* border: 1px solid red; */
        width: 100%;
        border-radius: 10px;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #fff;
        padding: 10px;
    }

    .safety_tips p {
        font-weight: 700;
        color: #1877F2;
    }

    .safety_tips ul {
        width: 100%;
    }

    .safety_tips ul li {
        font-size: 12px;
        display: flex;
        align-items: center;
        color: #666;
        margin-top: 10px;
        border-bottom: 1px solid #ddd;
        height: 30px;
    }

    .safety_tips ul li span {
        width: 25px;
        height: 25px;
        margin-right: 10px;
        border-radius: 50%;
        border: 1px solid #666;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ff9900;
        font-weight: 900;
    }
 
 
}
















