/*
Theme Name: Woodmart Child
Theme URI: https://officinasublime.com
Description: Tema filho do Woodmart para customizações.
Author: Matheus
Template: woodmart
Version: 1.0


*/
/* Espaçamento do topo apenas nas páginas de coleção */
body.tax-colecao .site-content {
    padding-top: 120px;
}

@media (max-width: 768px) {
    body.tax-colecao .site-content {
        padding-top: 75px;
    }
}

#wd-back-top {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    z-index: 99999;

    background: #680077;
    color: #fff;

    padding: 12px 22px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 500;

    display: none;
}

#mobile-filters-drawer {
    transition: transform 0.3s ease;
}

#mobile-filters-drawer.open {
    transform: translateX(0);
}

/* Botão do drawer mobile */
#mobile-filters-toggle {
    position: fixed;
    top: 80px;
    right: 15px;
    z-index: 9999;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

/* Ícone SVG do botão */
#mobile-filters-toggle svg {
    fill: #680077;
    width: 20px;
    height: 20px;
}

/* Drawer mobile */
#mobile-filters-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    z-index: 9998;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.3);
}

/* Botão fechar no drawer mobile */
#mobile-filters-close {
    float: right;                 /* mantém no canto superior */
    font-size: 24px;              /* maior que antes */
    font-weight: normal;           /* remove negrito */
    background: #fff;              /* fundo branco */
    border: 2px solid #680077;    /* contorno roxo */
    color: #680077;                /* cor do X */
    border-radius: 50%;            /* deixa circular */
    width: 40px;                   /* largura do círculo */
    height: 40px;                  /* altura do círculo */
    display: flex;                 /* centraliza X */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;             /* mantém alinhado à direita */
    margin-bottom: 15px;
}


/* Botão Limpar filtros */
#mobile-filters-clear {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    background: #680077;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}
