/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ===========================
   ESCONDER MENU MOBILE NO DESKTOP
   =========================== */

.somp3-bottom-nav,
.somp3-mobile-search,
.somp3-header-mobile {
    display: none !important;
}

body.somp3top-body {
    background: #ffffff;
    color: #111;
    font-family: "Inter", sans-serif;
}

/* ================= HEADER DESKTOP ================= */
.somp3top-header {
    width: 100%;
    background: #000;
    border-bottom: 1px solid #111;
    padding: 10px 0;
}

.somp3top-header-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 95%;
    margin: auto;
}

/* LOGO */
.somp3top-logo img {
    height: 36px;
}

/* ================= SEARCH (HEADER) ================= */

.somp3top-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid #fff;
}

.somp3top-search input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    outline: none;
}

.somp3top-search button {
    width: 50px;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ícone da lupa via SVG para ficar sempre visível */
.somp3top-search button::before {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background-size: cover;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
}

.somp3top-search button:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23ff4a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
}

/* ================= MENU DESKTOP ================= */
.somp3top-menu {
    display: flex;
    gap: 18px;
}

.somp3top-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.somp3top-menu a:hover {
    color: #ff4a00;
}

/* USER DESKTOP */
.somp3top-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.studio-btn {
    color: #fff;
    background: #ff4a00;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

/* ================= FOOTER ================= */
.somp3top-footer {
    background: #f2f2f2;
    color: #333;
    padding: 40px 0;
}

/* ============= MOBILE BOTTOM NAV ============= */
@media (max-width: 900px) {

    .somp3-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #ddd;
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
        z-index: 9999;
    }

    .somp3-bottom-nav button {
        background: none;
        border: none;
        text-align: center;
        color: #444;
        font-size: 13px;
        font-weight: 500;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 33%;
        padding: 4px 0;
    }

    .somp3-bottom-nav button svg {
        width: 26px;
        height: 26px;
        stroke: #444;
        fill: none;
        stroke-width: 2;
        margin-bottom: 2px;
    }

    .somp3-bottom-nav button:active {
        transform: scale(0.92);
    }

    /* ======= SEARCH BOX ======= */
    .somp3-mobile-search {
        position: fixed;
        bottom: -70px;
        width: 100%;
        left: 0;
        background: #fff;
        border-top: 1px solid #ccc;
        padding: 10px;
        transition: 0.25s ease;
        z-index: 9998;
    }

    .somp3-mobile-search.active {
        bottom: 60px;
    }

    .somp3-mobile-search form {
        display: flex;
        width: 95%;
        margin: auto;
        background: #f5f5f5;
        border-radius: 15px;
        padding: 8px 12px;
        border: 1px solid #ddd;
    }

    .somp3-mobile-search input {
        flex: 1;
        border: none;
        background: none;
        outline: none;
        font-size: 15px;
    }

    .somp3-mobile-search button {
        border: none;
        background: #ff4a00;
        color: #fff;
        padding: 6px 12px;
        border-radius: 10px;
        font-size: 13px;
    }
}
/* ======== HEADER MOBILE CLEAN ======== */
@media (max-width: 900px) {

    .somp3top-header {
        display: none; /* Esconde o header desktop */
    }

    .somp3-header-mobile {
        background: #000;
        padding: 10px 15px;
        border-bottom: 1px solid #222;
        position: sticky;
        top: 0;
        z-index: 10000;
    }

    .somp3-header-mobile-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .somp3-mobile-logo img {
        height: 32px;
    }

    .somp3-mobile-menu-btn {
        background: none;
        border: none;
        font-size: 26px;
        color: #fff;
        cursor: pointer;
        padding: 0;
        line-height: 0;
    }

    /* MENU DROPDOWN */
    .somp3-mobile-menu-panel {
        display: none;
        flex-direction: column;
        background: #111;
        padding: 10px 0;
        border-bottom: 1px solid #222;
    }

    .somp3-mobile-menu-panel a {
        color: #fff;
        padding: 12px 18px;
        display: block;
        font-size: 16px;
        text-decoration: none;
        border-bottom: 1px solid #1a1a1a;
    }

    .somp3-mobile-menu-panel a:hover {
        background: #222;
    }

    /* Menu aberto */
    .somp3-mobile-menu-panel.active {
        display: flex;
    }
}
/* ===========================
   MOBILE MODE – MOSTRAR MENU MOBILE
   =========================== */
@media (max-width: 900px) {

    /* Esconde header desktop */
    .somp3top-header {
        display: none !important;
    }

    /* Mostra o header mobile */
    .somp3-header-mobile {
        display: block !important;
    }

    /* Mostra barra inferior mobile */
    .somp3-bottom-nav {
        display: flex !important;
    }

    /* Mostra barra de busca mobile */
    .somp3-mobile-search {
        display: block !important;
    }
}
/* ===========================
   FOOTER SOMP3TOP
   =========================== */

.somp3top-footer {
    background: #f7f7f7;
    padding: 50px 0 30px;
    color: #333;
    border-top: 1px solid #e5e5e5;
    margin-top: 40px;
}

.somp3top-footer-container {
    width: 95%;
    max-width: 1250px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Cada coluna */
.footer-block {
    min-width: 180px;
    flex: 1;
}

.footer-block h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

/* Links do footer */
.footer-block a {
    display: block;
    font-size: 15px;
    color: #555;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-block a:hover {
    color: #ff4a00;
}

/* Botão CADASTRE SUA BANDA */
.footer-btn {
    background: #ff4a00;
    padding: 10px 15px;
    border-radius: 6px;
    color: #fff !important;
    font-weight: 600;
    display: inline-block;
    margin-top: 6px;
    text-align: center;
}

.footer-btn:hover {
    background: #e54000;
}

/* Linha de copyright */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #666;
}

/* ===========================
    MOBILE (Responsivo)
   =========================== */
@media (max-width: 900px) {

    .somp3top-footer-container {
        flex-direction: column;
        gap: 25px;
    }

    .footer-block {
        width: 100%;
    }

    .footer-block h4 {
        font-size: 17px;
    }

    .footer-block a {
        font-size: 15px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}
