[page=link_criacao]{
    --primaryColor: #1fbb90;
    --secondaryColor: #f13636;
    --itemColor: #1fbb90;
    --highlightColor: #f13636;
    --highlightShadowColor: #f1363680;
}

[page=link_criacao].alternative-screen{
    --primaryColor: #809cab;
    --secondaryColor: #b8b8b8;
    --itemColor: #b8b8b8;
    --highlightColor: #809cab;
    --highlightShadowColor: #809cab95;
}

[page=link_criacao] .main-container{
    width: 100%;
    height: calc(100% - 47px);
}

.main-container .content-container *{
    outline: none;
}

.main-container .content-container{
    width: 100%;
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

.content-container .selected{
    border-color: var(--highlightColor) !important;
    box-shadow: 0 0 5px 1px var(--highlightShadowColor);
    transform: scale(1.03);
}

.content-container .empty{
    margin-top: 10px;
    text-align: center;
    font-size: 3em;
}

.main-container .pagination-options{
    display: none;
    width: 100%;
    height: 8%;
    justify-content: center;
    align-items: center;
}

[data-content=products] .pagination-options,
[data-content=clients] .pagination-options{
    display: flex !important;
}

.main-container .pagination-options button{
    height: 100%;
    border: none;
    background-color: transparent;
    font-size: 2.3em;
    padding: 0 10px;
}

.main-container .pagination-options div{
    min-width: 20%;
    text-align: center;
    font-size: 1.8em;
}

/*********************************************************************** FILTROS ********************************************************************************/

[data-content=collections] .content-container,
[data-content=groups] .content-container{
    height: 100%;
}

.content-container .filter-option{
    width: 100%;
    text-align: center;
    border: 3px solid var(--itemColor);
    border-radius: 3px;
    padding: 5px;
    font-size: 2em;
    margin: 8px 0;
    transition: .1s;
}

/*********************************************************************** MARCAS ********************************************************************************/

[data-content=brands] .content-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: flex-start;
    height: 100%;
}

.content-container .brand{
    width: 45vw;
    margin-bottom: 10px;
    border: 3px solid var(--itemColor);
    border-radius: 3px;
    transition: .1s;
}

.brand .image{
    width: 100%;
    height: 30vw;
    padding: 5px;
}

.brand .image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand .options{
    width: 100%;
    font-size: 1.2em;
    padding: 5px;
}

.options label{
    color: inherit;
    font-size: inherit;
}

.options [type=radio]{
    vertical-align: text-top;
}

.options button{
    padding: 0 10px;
    border: none;
    border-radius: 3px;
    background-color: var(--primaryColor);
    color: #fff;
    height: 85%;
    display: none;
}

.brand .options div{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
/*
.brand .options div:first-child{
    height: 40%;
    justify-content: space-evenly;
}

.brand .options div:last-child{
    height: 60%;
    justify-content: center;
}
*/
/******************************************************************** CATEGORIAS ******************************************************************************/

[data-content=categories] .content-container{
    height: 100%;
}

.content-container .category-holder{
    width: 100%;
    margin: 10px 0;
}

.category-holder .sub{
    display: none;
    width: 90%;
    border: 3px solid var(--itemColor);
    border-radius: 3px;
    margin: 10px auto 0;
    text-align: center;
    padding: 4px 0;
    font-size: 1.8em;
    transition: .1s;
}

.category-holder.active .sub{
    display: block;
}

.category-holder .category{
    width: 100%;
    text-align: center;
    border: 3px solid var(--itemColor);
    border-radius: 3px;
    padding: 5px 0;
    font-size: 2em;
    position: relative;
    transition: .1s;
}

.category div{
    width: 80%;
    margin: 0 auto;
}

.category button{
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 10%;
    padding: 0;
    background-color: transparent;
    border: none;
    transition: 0.3s;
}

.category button i,
.active .category button i{
    transition: 0.3s;
}

.active .category button i{
    transform: rotate(180deg);
}

/********************************************************************* PRODUTOS *******************************************************************************/

[data-content=products] .content-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: flex-start;
    height: 80%;
    padding: 3px 10px;
}

.main-container .products-header{
    display: none;
    height: 14%;
    padding: 0 10px;
    align-items: center;
}

[data-content=products] .products-header{
    display: block;
}

.products-header .mini-categories-list{
    width: 100%;
    height: 40%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    text-align: center;
}

.products-header .mini-category{
    padding: 0 8px;
    height: 100%;
    margin-right: 5px;
    border: 2px solid var(--itemColor);
    border-radius: 3px;
    background-color: transparent;
    font-size: 1.3em;
    transition: .1s;
}

.products-header .mini-category.selected{
    border-color: var(--highlightColor);
    border-width: 3px;
}

.products-header .mini-category:last-child{
    margin-right: 0;
}

.products-header .select-all-btn {
    height: 60%;
    display: flex;
    align-items: center;
    font-size: 1.6em;
}

.products-header .select-all-btn input {
    opacity: 1;
    position: static;
    width: 1.2em;
    height: 1.2em;
    margin-right: 6px;
}

.main-container .search-product-input{
    width: 100%;
    height: 50%;
    border: 1px solid #000;
    border-radius: 3px;
    padding: 5px;
    font-size: 1.4em;
}

.main-container .pagination-options{
    display: none;
    width: 100%;
    height: 6%;
    justify-content: center;
    align-items: center;
}

.main-container .pagination-options button{
    height: 100%;
    border: none;
    background-color: transparent;
    font-size: 2.3em;
    padding: 0 10px;
}

.main-container .pagination-options div{
    min-width: 20%;
    text-align: center;
    font-size: 1.8em;
}

.content-container .product{
    border: 3px solid var(--itemColor);
    border-radius: 3px;
    width: 45vw;
    height: 55vw;
    margin-bottom: 10px;
    transition: .1s;
}

.product .image{
    width: 100%;
    padding: 2px 5px;
    height: 85%;
}

.product.open-grid .image{
    height: 80%;
}

.product.closed-grid .image{
    height: 80%;
}

.product.json-grid .image{
    height: 76%;
}

.product .image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product .upper-info{
    height: 10%;
    padding: 0 4px;
}

.product .scroll-box{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.product .reference{
    font-size: 1.3em;
    margin: 0 auto;
}

.product .reference div{
    white-space: nowrap;
}

.product .colors{
    flex-grow: 1;
    margin-left: 4px;
    height: 100%;
}

.product .colors > div{
    white-space: nowrap;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.product .colors .color{
    width: 3.4vw;
    height: 3.4vw;
    margin-right: 2px;
    border-radius: 50%;
    border: 1px solid #000;
}

.product .colors .color:last-child{
    margin-right: 0;
}

.product .lower-info{
    line-height: 1;
}

.product.open-grid .lower-info{
    height: 10%;
}

.product.closed-grid .lower-info{
    height: 10%;
}

.product.json-grid .lower-info{
    height: 14%;
}

.product .info{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
}

.product.open-grid .info{
    height: 100%;
    font-size: 1.1em;
}

.product.closed-grid .info{
    height: 100%;
    font-size: 0.9em;
}

.product.json-grid .info{
    height: 50%;
    font-size: 0.9em;
}

.product .info div{
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.product .grid{
    padding: 0 4px;
    height: 50%;
    font-size: 1em;
}

.product .grid > div{
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: center;
}

.product .grid .grid-elm{
    margin-right: 3px;
    display: inline-block;
}

.product .grid .grid-elm:last-child{
    margin-right: 0;
}

/********************************************************************** CRIAÇÃO ********************************************************************************/

#alert-modal .link-name{
    text-align: center;
    font-size: 1.5em;
    line-height: 2;
}

#alert-modal .link-name input{
    width: 100%;
}