@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;
    box-sizing: border-box;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-family: var(--poppins);
}

body {
    width:100%;
    display:flex;
    flex-direction:column;
    background-color: #f8f9fa;
    padding-top: 8vh;
}


/* -------this is the start for the hero section css editing---------- */
.hero{
    width: 90%;
    height: 81vh;
    margin-left: 5%;
    gap: 10px;
    margin-top: 10px;
    display: flex;
}
.sidebar{
    background-color: #00172d;
    background-color: #fff;
    height: 100%;
    width: 25%;
    padding: 20px;
    overflow: auto;

}
.sidebar .title{
    width: 100%;
    margin-bottom: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid #ddd;
}
.sidebar .title p{
    text-transform: capitalize;
    font-size: 25px;
    color: #666666;
    font-weight: bolder;
}
 
.sidebar ul a{
    display: flex;
    margin-top: 3px;
    background-color: #f5f5f5;
    padding: 6px;
    transition: letter-spacing .2s ease-in-out , font-weight .2s ease-in-out;
    align-items: center;
    /* justify-content: center; */
}
.sidebar ul a:hover{
    letter-spacing: 0.05rem;
    font-weight: 900;
    background-color: #ddd;
}
.sidebar ul a span{
    /* background-color: #ff9900; */
    border-right: 2px solid #ff9900;
    margin-right: 20px;
    padding: 1px 10px;
    filter: brightness(0) saturate(100%) invert(46%) sepia(97%) saturate(6693%) hue-rotate(29deg) brightness(114%) contrast(94%);
}
.sidebar ul a span img{
    width:20px;
    height:20px;
    filter: brightness(500%) saturate(100%) invert(100%) contrast(100%);
}
.sidebar ul a p{
    font-size: 10px;
    font-weight: 600;
    color: #00172d;
    text-transform: capitalize;
}
/* ------------------------- this is the css for the slider asnf other part -------------------------  */
.advert_div {
    background-color: #fff;
    height: 100%;
    width: 75%;
}
.advert_div .top{
    width: 100%;
    height: 61vh;
    display: flex;
}
.slider-container {
    width: 100%;
    height: 61vh;
    position: relative;
    overflow: hidden;
    /* border-radius: 10px; */
    /* border-bottom: 1px solid red; */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); */
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}
.advert_div .bottom{
    width: 100%;
    padding: 10px;
    height: 20vh;
    display: flex;
    gap: 10px;
}


.gifs_all{
    width: 50%;
    /* border: 1px solid red; */
    display: flex;gap: 10px;
}
.gif_tabs{
    width: 33%;
    height: 100%;
    background-color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    /* border: 1px solid red; */
}
.gif_tabs img{
    width:100%;
    height:100%;
    object-fit: cover;
}

.sell_on_sokoni {
    width: 50%;
    /* padding: 5px; */
    height: 100%;
}
.sell_on_sokoni .sell_on_sokoni_card_link{
    width: 100%;
    height: 100%;
    background-color: #ff9900;
}
.sell_on_sokoni_card_link .sell_card{
    width: 100%;
    height: 100%;
    display: flex;
    background-color: #ff9900;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 2px 2px 4px #ddd;
    transition: .2s ease-in-out;
}
.sell_on_sokoni .sell_on_sokoni_card_link .sell_card:hover{
    transform: scale(1.02);
    background-color: #00172d;
}
.sell_on_sokoni_card_link .sell_card .icon{
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #fff;
}
.sell_on_sokoni_card_link .sell_card .icon i{
    font-size: 40px;
    color: #fff;
}
.sell_on_sokoni_card_link .sell_card .details{
    width: 70%;
    padding: 10px;

}
.sell_on_sokoni_card_link .sell_card .details .maintext{
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}
.sell_on_sokoni_card_link .sell_card .details p{
    font-size: 12px;
    color: #fff;
}

/* ------------------------------------------cateegory sider ---------cs--------------- */
.categories {
    width: 90%;
    margin-left: 5%;
    margin-top: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 220px;
    margin-bottom: 10px;
}
 

.top_w_data {
    width: 98%;
    margin-left: 1%;
    background-color: #fff;
    display: flex;
    height: auto;
    padding: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    border-bottom: 3px solid #ddd;
}

.top_w_data::-webkit-scrollbar {
    height: 8px;
    background-color: #f1f1f1;
    border-radius: 10px;
    cursor: grab;
}

.top_w_data::-webkit-scrollbar-thumb {
    background-color: #00172d40;
    border-radius: 10px;
    cursor: grab;
}

.top_w_data .sub_tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    height: auto;
    margin-bottom: 25px;
    padding: 5px;
    padding-bottom: 10px;
    transition: transform .2s ease-in-out;
}
.top_w_data .sub_tab:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 6px rgba(0,0,0,0.1);
}
.top_w_data .sub_tab img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
}

.top_w_data .sub_tab p {
    color: #00172d;
    margin-top: 10px;
    font-size: 12px;
    font-family: var(--poppins);
    /* font-weight: bold; */
}

.categories .bottom {
    width: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height:  50px;
    padding: 5px;
}
.categories .bottom button{
    border: none;
    margin-right: 20px;
    padding: 10px 30px;
    background-color: #ff9900;
    color: #fff;
    font-size: 12px;
}
/* ------------------------------------------------end of categories css ----------------------------------- */



/* **********************************************CARD CSS**************************************************** */

.container {
    width: 90%;
    margin-left: 5%;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding:10px;
}

.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);
    }
}



/* **********************************four_column_ads css****************************** */
.four_column_ads{
    width: 90%;
    margin-left: 5%;
    height: auto;
    margin-top: 10px;
    display:grid;
    grid-template-columns: auto auto auto auto;
    padding: 15px;
    gap: 10px;
    background-color: #fff;
}
.four_column_ads a{
    width: 100%;
    height: 200px;
}
.four_column_ads a img{
    width: 100%;
    height: 100%;
    border-radius:5px ;
}

/* --------------------------------------------------COOKIE BANNER--------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 90%;
    left: 5%;
    /* right: 0; */
    background: #fff;
    padding: 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    border-radius: 10px;
}

.cookie-content {
    width: 100%;
    margin: 0 auto;
}

.cookie-banner h3 {
    margin: 0 0 15px;
    color: #333;
}

.cookie-banner p {
    margin: 10px 0;
    color: #666;
    line-height: 1.5;
    font-size: 12px;
}

.cookie-banner ul {
    margin: 10px 0;
    padding-left: 20px;
}

.cookie-banner li {
    color: #666;
    margin: 5px 0;
    font-size: 12px;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.cookie-button.primary {
    background: #007bff;
    color: white;
}

.cookie-button.secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-preferences {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cookie-option {
    margin: 10px 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}



@media (max-width: 640px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.2rem; /* Increased gap for better mobile spacing */
    }
    .categories {
        width: 98%;
        margin-left: 1%;
        margin-top: 10px;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        margin-bottom: 10px;
    }
    .top_w_data{
        display:grid;
        overflow:auto;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.2rem; 
    }
    .top_w_data .sub_tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60px;
        height: auto;
        margin-bottom: 5px;
        padding: 5px;
        padding-bottom: 5px;
        transition: transform .2s ease-in-out;
    }
    .top_w_data .sub_tab:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 6px rgba(0,0,0,0.1);
    }
    .top_w_data .sub_tab img {
        width: 60px;
        height: 60px;
        border-radius: 5px;
    }
    
    .top_w_data .sub_tab p {
        color: #00172d;
        margin-top: 10px;
        font-size: 10px;
        font-family: var(--poppins);
        /* font-weight: bold; */
    }
        /* **********************************four_column_ads css****************************** */
    .four_column_ads{
        width: 90%;
        margin-left: 5%;
        height: auto;
        margin-top: 10px;
        display:grid;
        grid-template-columns: auto auto;
        padding: 15px;
        gap: 10px;
        background-color: #fff;
    }
    .four_column_ads a{
        width: 100%;
        height: 150px;
    }
    .four_column_ads a img{
        width: 100%;
        height: 100%;
        border-radius:5px ;
    }
    
    /* Optionally adjust card styles for better mobile display */
    .card {
        width: 100%;
    }
    
    .card-image {
        height: 120px; /* Slightly reduced image height for mobile */
    }

    
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .container {
        width: 98%;
        margin-left: 1%;
        margin: 0 auto;
        padding: 2rem 1rem;
    }
    /* -------this is the start for the hero section css editing---------- */
    .hero{
        width: 98%;
        height: 51vh;
        margin-left: 1%;
        gap: 10px;
        margin-top: 10px;
        display: flex;
    }
    .sidebar{
        display:none;
    
    }
    /* ------------------------- this is the css for the slider asnf other part -------------------------  */
    .advert_div {
        background-color: #fff;
        height: 100%;
        width: 100%;
    }
    .advert_div .top{
        height: 25vh;
    }
    .slider-container {
        height: 25vh;
    }
    
    .slider {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .advert_div .bottom{
        width: 100%;
        padding: 10px;
        height: 25vh;
        display: flex;
        flex-direction:column;
        gap: 10px;
    }
    
    
    .gifs_all{
        width: 100%;
        height:50%;
        display: flex;gap: 10px;
    }
    .sell_on_sokoni {
        width: 100%;
        /* padding: 5px; */
        height: 50%;
    }


}