/*

- config
- header
- swiper config
- propaganda
- opcoes
- tags
- produtos
- social
- footer

*/




*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: DM Sans, sans-serif;
}
a{text-decoration: none;}
html{scroll-behavior: smooth;}
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #bebebe8e;
    touch-action: pan-y;
}
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}





/*----------------------header----------------------*/
header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0px;
    background-color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.911);
}
header .left-section {
    display: flex;
    align-items: center;
    margin-left: 20px;
    text-decoration: none;
    color: black;
}
header .left-section i {
    font-size: 20px;
    margin-right: 10px;
}
header span {
    font-weight: bold;
    font-size: 20px;
    white-space: nowrap;
}
header .icon-top {
    font-size: 20px;
    margin-right: 20px;
}
/*----------------------header----------------------*/











/*----------------------swiper config----------------------*/
.swiper {
    width: 98%;
}
.swiper-slide {
    flex-shrink: 0;
    background-color: #eee;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 5px;
    transition: all .7s;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    user-select: none;
}
.swiper-slide:hover{
    transform: scale(0.98);
}
.swiper-wrapper{
    text-decoration: none;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: row;
    max-width: none;
    gap: 10px;
}
.swiper-wrapper.break-mode {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
/*----------------------swiper config----------------------*/



/*----------------------main page config----------------------*/
.main{
    padding: 5px;
    max-width: 99%;
}
.painel{
    margin-bottom: 50px;
}
/*----------------------main page config----------------------*/





/*----------------------slides----------------------*/
.slide-more{
    border: 2px dashed #757575;
    color: #666;
    cursor: pointer;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: all .7s;
}
/*----------------------slides----------------------*/


/*----------------------top content----------------------*/
.slide-top{
    width: 250px;
    height: 120px;
}
.overlay-form {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    display: none; 
    justify-content: center;
    align-items: center;
    overflow: auto;
    z-index: 9999;
}
.form-container {
    background-color: #cdcece;
    border-radius: 10px;
    padding: 20px;
    max-width: 400px;
    margin: 50px 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}
.form-container input{
    border-color: #111;
}
.form-container textarea{
    border-color: #111;
}
.form-btn{
    gap: 10px;
}
.image-box {
    width: 100%;
    height: 150px;
    background-color: #eee;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    border: 2px dashed #757575;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    margin-bottom: 20px;
}
.btn-custom {
    background-color: #111;
    border: 1px solid #666;
    color: white;
    width: 100%;
}
.btn-custom:hover {
    background-color: #666;
}
.b-blue{
    background-color: #0d6efd;
}
label {
    margin-top: 10px;
    margin-bottom: 5px;
    color: #000000;
}
/*----------------------top content----------------------*/






/*----------------------categories----------------------*/
.slide-squere{
    font-size: 14px;
    color: #000000;
    width: 80px;
    height: 80px;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    background-color: #eee;
    gap: 4px;
}
.slide-squere i {
    font-size: 24px;
}
.slide-squere span {
    font-size: 12px;
    margin-top: 6px;
}
/*----------------------categories----------------------*/





/*----------------------popular----------------------*/
.popular-more{
    width: 100%;
    border-radius: 5px;
    background-color: #eee;
    height: 60px;
    margin-bottom: 15px;
}

/*----------------------popular----------------------*/








.slide-tags{
    width: 180px;
    height: 70px;
    font-size: larger;
    display: flex ;
    text-align: center;
    justify-content: center;
    align-items: center;
}



.filter-by{
    margin-bottom: 15px;
}




.products{
    display: flex;
    flex-direction: column-reverse;
}
.more-product{
    background-color: #eee;
    border-radius: 5px;
}

.filter-product{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.filter-product div {
    font-family: 'Segoe UI', sans-serif;
    margin-right: 5px;
    display: flex;
    flex-wrap: wrap;
}
.select-tags{
    padding: 3px 5px;
    background-color: #eee;
    border-radius: 3px;
    border-color: transparent;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.select-tags option{
    border-color: transparent;
}


.product-card {
    background-color: #eee;
    border-radius: 5px;
    display: flex;
    padding: 15px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
    transition: all 1s;
}
.product-img {
    width: 100px;
    height: 100px;
    background-color: #333;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 15px;
    border-radius: 10px;
    border: 1px solid #777;
    flex-shrink: 0;
}
.product-info {
    flex-grow: 1;
}
.product-title {
    font-weight: bold;
    margin-bottom: 5px;
    height: 20px;
    overflow: hidden;
}
.product-description {
    font-size: 0.9rem;
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    white-space: nowrap;
    font-weight: bold;
    margin-left: 15px;
}

@media (max-width: 576px) {
    .product-price {
        margin-left: 0;
        margin-top: 10px;
    }

    .product-img {
        width: 75px;
        height: 75px;
    }
}

















.tags-container{
    background-color: #cdcece;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.tag-selector {
    padding: 60px 15px;
    color: #333;
}

.tag-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.tag-box {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    width: 320px;
    height: 400px; /* altura fixa */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    box-sizing: content-box;
}

.tag-box h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #222;
}
.tag-item.selected {
    background-color: #d0e6ff;
    border: 2px solid #007bff;
    border-radius: 8px;
}
.wrapper-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
}

.wrapper-scroll::-webkit-scrollbar {
    width: 6px;
}
.wrapper-scroll::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}
.wrapper-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.tags-container {
    display: block;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.tag-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    gap: 15px;
    height: 100%;
}
.tag-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Botões personalizados */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

/* Responsivo */
@media (max-width: 768px) {
    .tag-grid {
        flex-direction: column;
        align-items: center;
    }
    .tags-container{
        top: 50px;
    }
    .tag-arrows{
        transform: rotate(90deg);
    }
}





















/*----------------------Footer----------------------*/
.custom-footer {
    margin-top: 2rem;
    width: 100%;
    background-color: #eee;
    color: black;
    padding: 20px 0;
    font-size: 14px;
}
.social{
    flex-direction: row;
}
.social .icon-footer{
    color:rgba(0, 0, 0, 0.9);
    padding: 10px;
}
.custom-footer a.footer-link {
    color: black;
    text-decoration: none;
    font-weight: bold;
}
.custom-footer a.footer-link:hover {
    text-decoration: underline;
}
.custom-footer p {
    margin: 5px 0;
}
/*----------------------Footer----------------------*/