/**
 * ====================================================================
 * DROIDSTORE.COM.BR - FOLHA DE ESTILOS PRINCIPAL (style.css)
 * Identidade Visual Oficial: Inspirada na Google Play Store
 * Cores sólidas, tipografia nítida, layout mobile-first
 * ====================================================================
 */

/* 1. Variáveis e Paleta de Cores Oficial */
:root {
    --ds-blue-primary: #1A73E8;
    --ds-blue-dark: #174EA6;
    --ds-blue-light: #E8F0FE;
    --ds-bg-main: #F8FAFD;
    --ds-bg-card: #FFFFFF;
    --ds-text-primary: #202124;
    --ds-text-secondary: #5F6368;
    --ds-border: #DADCE0;
    --ds-border-light: #ECEFF1;
    --ds-success: #188038;
    --ds-success-bg: #E6F4EA;
    --ds-danger: #D93025;
    --ds-danger-bg: #FCE8E6;
    --ds-whatsapp: #25D366;
    --ds-whatsapp-dark: #1EBE5D;
    
    --ds-radius-sm: 6px;
    --ds-radius-md: 10px;
    --ds-radius-lg: 14px;
    --ds-radius-full: 9999px;
    
    --ds-shadow-sm: 0 1px 3px rgba(60, 64, 67, 0.08), 0 1px 2px rgba(60, 64, 67, 0.04);
    --ds-shadow-md: 0 4px 6px -1px rgba(60, 64, 67, 0.1), 0 2px 4px -1px rgba(60, 64, 67, 0.06);
    --ds-shadow-hover: 0 6px 12px rgba(60, 64, 67, 0.12);
    
    --ds-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ds-header-height: 64px;
    --ds-mobile-nav-height: 60px;
}

/* 2. Reset Básico e Estrutura */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ds-font-sans);
    background-color: var(--ds-bg-main);
    color: var(--ds-text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ds-blue-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--ds-blue-dark);
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

/* 3. Containers e Layout */
.ds-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.ds-main {
    flex: 1 0 auto;
    padding-bottom: 40px;
}

/* 4. Cabeçalho Global (Header) */
.ds-header {
    background-color: var(--ds-bg-card);
    border-bottom: 1px solid var(--ds-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ds-header-inner {
    height: var(--ds-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Marca / Logotipo */
.ds-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.ds-brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.ds-brand-badge {
    width: 38px;
    height: 38px;
    background-color: var(--ds-blue-primary);
    color: #FFFFFF;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.ds-badge-small {
    width: 30px;
    height: 30px;
    font-size: 16px;
    border-radius: 7px;
}

.ds-brand-text {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.ds-brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--ds-blue-dark);
    letter-spacing: -0.5px;
}

.ds-brand-sufixo {
    font-size: 13px;
    font-weight: 600;
    color: var(--ds-blue-primary);
}

/* Barra de Pesquisa */
.ds-search-form {
    flex: 1;
    max-width: 580px;
    margin: 0 auto;
}

.ds-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--ds-bg-main);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-full);
    padding: 2px 14px;
    transition: all 0.2s ease;
}

.ds-search-wrapper:focus-within {
    background-color: #FFFFFF;
    border-color: var(--ds-blue-primary);
    box-shadow: 0 1px 3px rgba(26, 115, 232, 0.25);
}

.ds-search-icon {
    width: 18px;
    height: 18px;
    color: var(--ds-text-secondary);
    margin-right: 8px;
    flex-shrink: 0;
}

.ds-search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    outline: none;
    color: var(--ds-text-primary);
}

.ds-search-input::placeholder {
    color: var(--ds-text-secondary);
    font-size: 14px;
}

.ds-search-clear {
    color: var(--ds-text-secondary);
    font-size: 18px;
    line-height: 1;
    padding: 0 4px;
}

/* Elementos do Modo Móvel (Ocultos por padrão no Desktop) */
.ds-mobile-search-btn {
    display: none;
}

.ds-search-back-mobile {
    display: none;
}

/* Ações do Topo */
.ds-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* 5. Barra de Categorias Horizontal */
.ds-categories-bar {
    background-color: var(--ds-bg-card);
    border-top: 1px solid var(--ds-border-light);
    overflow: hidden;
}

.ds-categories-list {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ds-categories-list::-webkit-scrollbar {
    display: none;
}

.ds-category-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-text-secondary);
    background-color: transparent;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-full);
    text-decoration: none;
    transition: all 0.15s ease;
}

.ds-category-chip:hover {
    color: var(--ds-text-primary);
    background-color: var(--ds-bg-main);
    border-color: #B0B4B9;
}

.ds-category-chip.is-active {
    color: var(--ds-blue-dark);
    background-color: var(--ds-blue-light);
    border-color: #BFD3F8;
    font-weight: 600;
}

/* 6. Botões Padronizados */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--ds-radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ds-btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ds-btn-primary {
    background-color: var(--ds-blue-primary);
    color: #FFFFFF;
}

.ds-btn-primary:hover {
    background-color: var(--ds-blue-dark);
    color: #FFFFFF;
}

.ds-btn-secondary {
    background-color: var(--ds-bg-card);
    color: var(--ds-blue-primary);
    border: 1px solid var(--ds-border);
}

.ds-btn-secondary:hover {
    background-color: var(--ds-bg-main);
    border-color: var(--ds-blue-primary);
}

.ds-btn-whatsapp {
    background-color: var(--ds-whatsapp);
    color: #FFFFFF;
}

.ds-btn-whatsapp:hover {
    background-color: var(--ds-whatsapp-dark);
    color: #FFFFFF;
}

.ds-btn-whatsapp-large {
    background-color: var(--ds-whatsapp);
    color: #FFFFFF;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: var(--ds-radius-md);
    box-shadow: var(--ds-shadow-sm);
}

.ds-btn-whatsapp-large:hover {
    background-color: var(--ds-whatsapp-dark);
    color: #FFFFFF;
    box-shadow: var(--ds-shadow-md);
}

.ds-btn-outline {
    background-color: transparent;
    color: var(--ds-text-primary);
    border: 1px solid var(--ds-border);
}

.ds-btn-pwa {
    display: none !important;
}

.ds-btn-outline:hover {
    background-color: var(--ds-bg-main);
}

.ds-btn-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #01875F;
    border-radius: var(--ds-radius-full);
    letter-spacing: 0.2px;
    box-shadow: 0 1px 3px rgba(1, 135, 95, 0.25);
    transition: all 0.2s ease;
}

.ds-btn-mini:hover {
    background-color: #016e4d;
    box-shadow: 0 2px 6px rgba(1, 135, 95, 0.35);
}

/* 7. Seção Hero (Banner Promocional Oficial) */
.ds-hero-section {
    padding-top: 20px;
    padding-bottom: 24px;
}

.ds-banner-wrapper {
    width: 100%;
}

.ds-banner-card {
    display: block;
    width: 100%;
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    box-shadow: var(--ds-shadow-sm);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    line-height: 0;
}

.ds-banner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.15);
    border-color: #C2D7FA;
}

.ds-banner-picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.ds-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--ds-radius-lg);
    object-fit: cover;
    aspect-ratio: 1280 / 380;
}

/* Hub Mobile de Ações e Navegação Rápida (Exibido apenas em telas menores) */
.ds-mobile-hero-hub {
    display: none;
}

/* 8. Seções Gerais */
.ds-section {
    padding-top: 24px;
    padding-bottom: 24px;
}

.ds-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ds-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ds-text-primary);
    letter-spacing: -0.3px;
}

.ds-section-subtitle {
    font-size: 13px;
    color: var(--ds-text-secondary);
    margin-top: 2px;
}

/* 9. Estado Vazio Elegante (Sem dados fictícios) */
.ds-empty-card {
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: 56px 24px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: var(--ds-shadow-sm);
}

.ds-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    color: var(--ds-blue-primary);
    background-color: var(--ds-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-empty-icon svg {
    width: 32px;
    height: 32px;
}

.ds-empty-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ds-text-primary);
    margin-bottom: 8px;
}

.ds-empty-text {
    font-size: 14px;
    color: var(--ds-text-secondary);
    max-width: 460px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

/* 10. Grade de Aplicativos (Apps Grid) */
.ds-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.ds-app-card {
    background-color: var(--ds-bg-card);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    position: relative;
}

.ds-app-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-hover);
    border-color: #BDC1C6;
}

.ds-app-card-link {
    display: flex;
    flex-direction: column;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.ds-app-card-body {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ds-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    background-color: var(--ds-bg-main);
    border: 1px solid var(--ds-border-light);
    flex-shrink: 0;
}

.ds-app-info {
    min-width: 0;
    flex: 1;
}

.ds-app-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-text-primary);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-app-category {
    display: block;
    font-size: 12px;
    color: var(--ds-text-secondary);
    margin-bottom: 4px;
}

.ds-app-desc {
    font-size: 12px;
    color: var(--ds-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.ds-app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--ds-border-light);
}

.ds-app-version {
    font-size: 11px;
    color: var(--ds-text-secondary);
    font-weight: 500;
}

.ds-app-size {
    font-size: 11px;
    color: var(--ds-text-secondary);
}

.ds-app-rank {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ds-blue-dark);
    background-color: var(--ds-blue-light);
    padding: 2px 6px;
    border-radius: var(--ds-radius-sm);
}

.ds-app-downloads-badge {
    font-size: 11px;
    color: var(--ds-success);
    font-weight: 600;
}

/* 11. Grade de Categorias */
.ds-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.ds-category-card {
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ds-category-card:hover {
    border-color: var(--ds-blue-primary);
    box-shadow: var(--ds-shadow-sm);
    transform: translateY(-1px);
}

.ds-category-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--ds-blue-light);
    color: var(--ds-blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ds-category-card-icon svg {
    width: 18px;
    height: 18px;
}

.ds-category-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-text-primary);
    margin-bottom: 2px;
}

.ds-category-card-desc {
    font-size: 11px;
    color: var(--ds-text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 12. Seção CTA Final (WhatsApp) */
.ds-cta-box {
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    md-flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .ds-cta-box {
        flex-direction: row;
        text-align: left;
    }
}

.ds-cta-text {
    max-width: 600px;
}

.ds-cta-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ds-text-primary);
    margin-bottom: 6px;
}

.ds-cta-desc {
    font-size: 14px;
    color: var(--ds-text-secondary);
    line-height: 1.5;
}

/* 13. Rodapé Global (Footer) */
.ds-footer {
    background-color: #FFFFFF;
    border-top: 1px solid var(--ds-border);
    padding-top: 48px;
    padding-bottom: 32px;
    margin-top: auto;
}

.ds-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.ds-brand-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ds-footer-brand-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ds-blue-dark);
}

.ds-footer-desc {
    font-size: 13px;
    color: var(--ds-text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.ds-footer-contact {
    font-size: 13px;
    color: var(--ds-text-primary);
}

.ds-footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--ds-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.ds-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ds-footer-links a {
    font-size: 13px;
    color: var(--ds-text-secondary);
}

.ds-footer-links a:hover {
    color: var(--ds-blue-primary);
}

.ds-footer-links .ds-link-highlight {
    color: var(--ds-whatsapp-dark);
    font-weight: 600;
}

.ds-footer-links .ds-link-admin {
    color: var(--ds-text-secondary);
    opacity: 0.8;
}

.ds-footer-legal {
    padding: 16px 0;
    border-top: 1px solid var(--ds-border-light);
    border-bottom: 1px solid var(--ds-border-light);
    margin-bottom: 20px;
}

.ds-footer-legal p {
    font-size: 12px;
    color: var(--ds-text-secondary);
    line-height: 1.6;
}

.ds-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    color: var(--ds-text-secondary);
    padding: 10px 0 0;
    width: 100%;
}

.ds-footer-bottom p {
    margin: 0 auto;
    text-align: center;
}

/* 14. Menu Inferior Fixo Mobile */
.ds-mobile-nav {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: var(--ds-mobile-nav-height);
    }

    /* Topo no Celular: Otimizado e Elegante */
    .ds-header {
        position: sticky;
        top: 0;
        z-index: 200;
    }

    .ds-header-inner {
        position: relative;
        padding: 0 14px;
        height: 56px;
        gap: 10px;
    }

    .ds-brand-logo {
        height: 32px;
    }

    .ds-brand-badge {
        width: 34px;
        height: 34px;
        font-size: 18px;
        border-radius: 8px;
    }

    .ds-brand-name {
        font-size: 18px;
    }

    .ds-brand-sufixo {
        font-size: 12px;
    }

    /* Oculta o campo de busca embutido no celular para deixar espaço limpo */
    .ds-search-form {
        display: none;
    }

    /* Exibe o Ícone da Lupa no topo do celular */
    .ds-mobile-search-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background-color: transparent;
        border: none;
        color: var(--ds-text-secondary);
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .ds-mobile-search-btn:active,
    .ds-mobile-search-btn:hover {
        background-color: var(--ds-blue-light);
        color: var(--ds-blue-primary);
    }

    .ds-mobile-search-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Botão Publicar App no celular */
    .ds-header-btn-publish {
        padding: 7px 14px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 20px;
        white-space: nowrap;
    }

    /* Barra de Pesquisa Expansível em Overlay no Celular (ao clicar na lupa) */
    .ds-search-form.is-mobile-open {
        display: flex !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
        max-width: 100%;
        background-color: #FFFFFF;
        z-index: 300;
        align-items: center;
        padding: 0 12px;
        box-shadow: 0 2px 10px rgba(60, 64, 67, 0.15);
    }

    .ds-search-form.is-mobile-open .ds-search-wrapper {
        width: 100%;
        height: 42px;
        background-color: #F1F3F4;
        border: 1px solid var(--ds-border);
        border-radius: 24px;
        padding: 0 10px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .ds-search-form.is-mobile-open .ds-search-back-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: transparent;
        border: none;
        color: var(--ds-text-secondary);
        cursor: pointer;
        flex-shrink: 0;
    }

    .ds-search-form.is-mobile-open .ds-search-back-mobile:active {
        background-color: rgba(0, 0, 0, 0.08);
    }

    .ds-search-form.is-mobile-open .ds-search-back-mobile svg {
        width: 20px;
        height: 20px;
    }

    .ds-search-form.is-mobile-open .ds-search-input {
        font-size: 15px;
        padding: 6px 0;
    }

    .ds-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Banner e Ações Rápidas no Celular */
    .ds-hero-section {
        padding-top: 14px;
        padding-bottom: 18px;
    }

    .ds-banner-card {
        border-radius: var(--ds-radius-md);
        box-shadow: 0 2px 8px rgba(60, 64, 67, 0.08);
    }

    .ds-banner-img {
        border-radius: var(--ds-radius-md);
        aspect-ratio: 16 / 9;
    }

    .ds-mobile-hero-hub {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
    }

    .ds-mobile-hero-btn-pub {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px 18px;
        background: linear-gradient(135deg, #1A73E8 0%, #174EA6 100%);
        color: #FFFFFF;
        font-size: 14px;
        font-weight: 700;
        border-radius: var(--ds-radius-full);
        text-decoration: none;
        box-shadow: 0 3px 8px rgba(26, 115, 232, 0.28);
        transition: all 0.2s ease;
    }

    .ds-mobile-hero-btn-pub:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(26, 115, 232, 0.2);
    }

    .ds-mobile-hero-btn-pub svg {
        width: 18px;
        height: 18px;
    }

    .ds-mobile-quick-chips {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 2px 2px 6px 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ds-mobile-quick-chips::-webkit-scrollbar {
        display: none;
    }

    .ds-quick-chip {
        display: inline-flex;
        align-items: center;
        padding: 7px 14px;
        background-color: #FFFFFF;
        border: 1px solid var(--ds-border);
        border-radius: var(--ds-radius-full);
        font-size: 12px;
        font-weight: 600;
        color: var(--ds-text-primary);
        text-decoration: none;
        box-shadow: 0 1px 2px rgba(60, 64, 67, 0.04);
        flex-shrink: 0;
        transition: all 0.15s ease;
    }

    .ds-quick-chip:active {
        background-color: var(--ds-blue-light);
        color: var(--ds-blue-primary);
        border-color: #BFD3F8;
    }

    .ds-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: var(--ds-mobile-nav-height);
        background-color: #FFFFFF;
        border-top: 1px solid var(--ds-border);
        z-index: 999;
        justify-content: space-around;
        align-items: center;
    }

    .ds-mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        flex: 1;
        height: 100%;
        color: var(--ds-text-secondary);
        font-size: 11px;
        font-weight: 500;
        text-decoration: none;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .ds-mobile-nav-item svg {
        width: 20px;
        height: 20px;
    }

    .ds-mobile-nav-item.is-active {
        color: var(--ds-blue-primary);
        font-weight: 600;
    }

    .ds-mobile-nav-publish {
        color: var(--ds-whatsapp-dark);
    }
}

/* 15. Página de Detalhes do Aplicativo (app.php) */
.ds-app-detail-page {
    padding-top: 16px;
    padding-bottom: 40px;
}

.ds-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ds-text-secondary);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ds-breadcrumb a {
    color: var(--ds-text-secondary);
    text-decoration: none;
}

.ds-breadcrumb a:hover {
    color: var(--ds-blue-primary);
}

.ds-breadcrumb-sep {
    color: #BDC1C6;
}

.ds-breadcrumb-current {
    color: var(--ds-text-primary);
    font-weight: 600;
}

.ds-app-header-card {
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--ds-shadow-sm);
}

.ds-app-header-main {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.ds-app-detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
    background-color: var(--ds-bg-main);
    border: 1px solid var(--ds-border-light);
    flex-shrink: 0;
    box-shadow: var(--ds-shadow-sm);
}

.ds-app-header-info {
    flex: 1;
    min-width: 0;
}

.ds-app-detail-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--ds-text-primary);
    line-height: 1.2;
    margin-bottom: 6px;
}

.ds-app-detail-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ds-text-secondary);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.ds-app-detail-dev {
    color: var(--ds-blue-primary);
    font-weight: 600;
}

.ds-meta-dot {
    color: #BDC1C6;
}

.ds-app-detail-badge-cat {
    color: var(--ds-blue-dark);
    background-color: var(--ds-blue-light);
    padding: 2px 8px;
    border-radius: var(--ds-radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.ds-app-package {
    font-family: monospace;
    font-size: 12px;
    color: #80868B;
}

.ds-app-metrics-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--ds-border-light);
    border-bottom: 1px solid var(--ds-border-light);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ds-app-metric {
    display: flex;
    flex-direction: column;
}

.ds-metric-label {
    font-size: 11px;
    color: var(--ds-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ds-metric-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ds-text-primary);
}

.ds-app-metric-sep {
    width: 1px;
    height: 28px;
    background-color: var(--ds-border-light);
}

.ds-app-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ds-btn-download-main {
    padding: 12px 28px;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
}

.ds-app-grid-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.ds-content-box {
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--ds-shadow-sm);
}

.ds-box-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ds-text-primary);
    margin-bottom: 14px;
}

.ds-app-short-desc {
    font-size: 15px;
    font-weight: 500;
    color: var(--ds-text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ds-border-light);
}

.ds-app-long-desc {
    font-size: 14px;
    color: #3C4043;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ds-app-keywords {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--ds-text-secondary);
    margin-top: 16px;
}

.ds-tag-chip {
    background-color: var(--ds-bg-main);
    border: 1px solid var(--ds-border);
    padding: 3px 8px;
    border-radius: var(--ds-radius-sm);
    color: var(--ds-text-secondary);
}

/* Sidebar do App */
.ds-sidebar-box {
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: var(--ds-shadow-sm);
}

.ds-security-box {
    border-color: #CEEAD6;
    background-color: #F6FCF7;
}

.ds-security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ds-success);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.ds-security-badge svg {
    width: 20px;
    height: 20px;
}

.ds-security-text {
    font-size: 13px;
    color: #1E4620;
    line-height: 1.5;
    margin-bottom: 12px;
}

.ds-security-tip {
    font-size: 12px;
    color: #3C4043;
    background: #FFFFFF;
    padding: 10px;
    border-radius: var(--ds-radius-sm);
    border: 1px solid #CEEAD6;
    line-height: 1.5;
}

.ds-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ds-text-primary);
    margin-bottom: 12px;
}

.ds-sidebar-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-info-label {
    display: block;
    font-size: 11px;
    color: var(--ds-text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.ds-info-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-text-primary);
}

.ds-info-link {
    font-size: 13px;
    color: var(--ds-blue-primary);
    word-break: break-all;
}

.ds-info-link:hover {
    text-decoration: underline;
}

@media (max-width: 860px) {
    .ds-app-grid-columns {
        grid-template-columns: 1fr;
    }

    .ds-app-header-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ds-app-detail-meta {
        justify-content: center;
    }

    .ds-app-metrics-row {
        justify-content: center;
    }

    .ds-app-actions-row {
        justify-content: center;
    }
}

/* ====================================================================
 * 16. LAYOUT OFICIAL VOXHD / INSTALAÇÃO DIRETA AUTOMÁTICA
 * Inspirado no padrão VoxHDStore com botões Instalar (Verde) e Abrir APP (Azul)
 * ==================================================================== */

.ds-vox-app-card {
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: 24px 20px;
    margin-bottom: 24px;
    box-shadow: var(--ds-shadow-sm);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.ds-vox-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ds-vox-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    background-color: #121212;
    border: 1px solid var(--ds-border-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.ds-vox-info {
    flex: 1;
    min-width: 0;
}

.ds-vox-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ds-vox-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ds-text-primary);
    line-height: 1.25;
}

.ds-vox-badge-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #00875F;
    color: #FFFFFF;
    flex-shrink: 0;
}

.ds-vox-badge-verified svg {
    width: 12px;
    height: 12px;
}

.ds-vox-creator {
    font-size: 13px;
    color: var(--ds-text-secondary);
    margin-bottom: 2px;
}

.ds-vox-creator a {
    color: #0066FF;
    font-weight: 600;
    text-decoration: none;
}

.ds-vox-creator a:hover {
    text-decoration: underline;
}

.ds-vox-category {
    font-size: 12px;
    color: var(--ds-text-secondary);
}

/* Linha de Métricas Estilo Google Play / VoxHD */
.ds-vox-metrics {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 14px 8px;
    border-top: 1px solid var(--ds-border-light);
    border-bottom: 1px solid var(--ds-border-light);
    margin-bottom: 20px;
}

.ds-vox-metric-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.ds-vox-metric-sep {
    width: 1px;
    height: 28px;
    background-color: var(--ds-border-light);
}

.ds-vox-metric-value {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ds-text-primary);
}

.ds-vox-star {
    color: #F4B400;
    font-size: 14px;
}

.ds-vox-metric-sub {
    font-size: 11px;
    color: var(--ds-text-secondary);
    margin-top: 2px;
}

.ds-badge-livre {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: #00A651;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 13px;
    border-radius: 4px;
    line-height: 1;
}

/* Pilha dos Botões Principais: Instalar (Verde) e Abrir APP (Azul) */
.ds-vox-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
}

.ds-btn-vox-install {
    width: 100%;
    background-color: #00875F;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 135, 95, 0.28);
    transition: all 0.2s ease;
    text-decoration: none;
}

.ds-btn-vox-install:hover {
    background-color: #00704E;
    box-shadow: 0 4px 10px rgba(0, 135, 95, 0.38);
    color: #FFFFFF;
}

.ds-btn-vox-install:active {
    transform: scale(0.99);
}

.ds-btn-vox-install.is-installed {
    background-color: #188038;
}

.ds-btn-vox-open {
    width: 100%;
    background-color: #0066FF;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 102, 255, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
}

.ds-btn-vox-open:hover {
    background-color: #0052CC;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.38);
    color: #FFFFFF;
}

.ds-btn-vox-open:active {
    transform: scale(0.99);
}

.ds-btn-vox-open.pulse-highlight {
    animation: dsPulseGlow 1.8s infinite;
}

@keyframes dsPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

.ds-vox-btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Botões Secundários: Compartilhar e Favoritar */
.ds-vox-quick-actions {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid var(--ds-border-light);
    border-bottom: 1px solid var(--ds-border-light);
    margin-bottom: 24px;
}

.ds-vox-action-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    color: #00875F;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.ds-vox-action-link:hover {
    background-color: #E6F4EA;
}

.ds-vox-action-link svg {
    width: 18px;
    height: 18px;
}

.ds-vox-action-link.is-favorited {
    color: #D93025;
}

.ds-vox-action-link.is-favorited svg {
    fill: #D93025;
}

/* Galeria de Screenshots em Mockups de Celular Android */
.ds-vox-screenshots-wrap {
    margin-bottom: 28px;
}

.ds-vox-phones-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 4px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
}

.ds-vox-phones-track::-webkit-scrollbar {
    display: none;
}

@media (min-width: 640px) {
    .ds-vox-phones-track {
        justify-content: center;
    }
}

.ds-vox-phone-frame {
    flex: 0 0 175px;
    width: 175px;
    height: 330px;
    background-color: #121212;
    border-radius: 24px;
    padding: 7px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #282828;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.ds-vox-phone-notch {
    width: 44px;
    height: 4px;
    background-color: #333333;
    border-radius: 3px;
    margin: 2px auto 6px;
}

.ds-vox-phone-screen {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #1A1A24 0%, #0F0F14 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
}

.ds-vox-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.ds-vox-phone-mockup-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    gap: 10px;
}

.ds-vox-phone-mockup-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.ds-vox-phone-mockup-title {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

.ds-vox-phone-mockup-bar {
    width: 60%;
    height: 4px;
    background: #00875F;
    border-radius: 2px;
}

/* Seção de Descrição com Título Grande */
.ds-vox-details-section {
    max-width: 680px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: 24px;
    box-shadow: var(--ds-shadow-sm);
    margin-bottom: 24px;
}

.ds-vox-app-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--ds-text-primary);
    margin-bottom: 10px;
}

.ds-vox-app-short-desc {
    font-size: 15px;
    font-weight: 500;
    color: var(--ds-text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ds-border-light);
}

.ds-vox-app-full-desc {
    font-size: 14px;
    color: #3C4043;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ds-vox-subtle-apk {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--ds-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ds-text-secondary);
    flex-wrap: wrap;
    gap: 8px;
}

.ds-vox-subtle-apk a {
    color: var(--ds-blue-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Toast de Notificação Flutuante */
.ds-vox-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background-color: #202124;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 1000;
    white-space: nowrap;
    max-width: 90%;
    text-align: center;
}

.ds-vox-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* ====================================================================
   MODAL / BOTTOM SHEET NATIVO DE INSTALAÇÃO DO DROIDSTORE (PWA)
   Aparece no celular pedindo para instalar direto como App Nativo
   ==================================================================== */
.ds-pwa-bottomsheet {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.3s ease;
}

.ds-pwa-bottomsheet.is-active {
    visibility: visible;
    pointer-events: auto;
}

.ds-pwa-bottomsheet-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ds-pwa-bottomsheet.is-active .ds-pwa-bottomsheet-backdrop {
    opacity: 1;
}

.ds-pwa-bottomsheet-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background-color: #FFFFFF;
    border-radius: 24px 24px 0 0;
    padding: 16px 20px 24px 20px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.ds-pwa-bottomsheet.is-active .ds-pwa-bottomsheet-content {
    transform: translateY(0);
}

.ds-pwa-drag-handle {
    width: 36px;
    height: 4px;
    background-color: #DADCE0;
    border-radius: 9999px;
    margin: 0 auto 16px auto;
}

.ds-pwa-app-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.ds-pwa-app-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.ds-pwa-app-details {
    flex: 1;
    min-width: 0;
}

.ds-pwa-app-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ds-text-primary);
    line-height: 1.25;
    margin: 0 0 4px 0;
}

.ds-pwa-app-dev {
    font-size: 13px;
    color: var(--ds-text-secondary);
    margin: 0 0 6px 0;
}

.ds-pwa-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #E6F4EA;
    color: #137333;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
}

.ds-pwa-desc {
    font-size: 13.5px;
    color: var(--ds-text-secondary);
    line-height: 1.45;
    margin-bottom: 20px;
    padding: 0 2px;
}

.ds-pwa-desc strong {
    color: var(--ds-text-primary);
}

.ds-pwa-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ds-btn-pwa-install {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background-color: #01875F;
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(1, 135, 95, 0.3);
    transition: all 0.2s ease;
}

.ds-btn-pwa-install:hover,
.ds-btn-pwa-install:active {
    background-color: #016e4d;
    box-shadow: 0 4px 12px rgba(1, 135, 95, 0.4);
    transform: translateY(-1px);
}

.ds-btn-pwa-dismiss {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    background-color: transparent;
    color: var(--ds-text-secondary);
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ds-btn-pwa-dismiss:hover {
    background-color: #F1F3F4;
    color: var(--ds-text-primary);
}

@media (min-width: 769px) {
    .ds-pwa-bottomsheet {
        align-items: center;
    }
    
    .ds-pwa-bottomsheet-content {
        border-radius: 24px;
        transform: scale(0.9) translateY(20px);
        opacity: 0;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }
    
    .ds-pwa-bottomsheet.is-active .ds-pwa-bottomsheet-content {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    .ds-pwa-drag-handle {
        display: none;
    }
}

/* Spinner animado no botão de download/instalação */
.ds-btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: ds-spin 0.75s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes ds-spin {
    to { transform: rotate(360deg); }
}

/* Modal Guia de Instalação do Aplicativo no Celular */
.ds-install-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ds-install-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.ds-install-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ds-install-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 2;
}

.ds-install-modal.is-active .ds-install-modal-dialog {
    transform: scale(1) translateY(0);
}

.ds-install-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 20px 14px 20px;
    border-bottom: 1px solid #ECEFF1;
}

.ds-install-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.ds-install-modal-title-box {
    flex: 1;
    min-width: 0;
}

.ds-install-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #202124;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-install-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #01875F;
    background: #E6F4EA;
    padding: 2px 8px;
    border-radius: 10px;
}

.ds-install-modal-close {
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #5F6368;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.ds-install-modal-close:hover {
    background: #F1F3F4;
    color: #202124;
}

.ds-install-modal-body {
    padding: 18px 20px 14px 20px;
}

.ds-install-modal-lead {
    font-size: 13.5px;
    color: #5F6368;
    margin: 0 0 16px 0;
    line-height: 1.45;
}

.ds-install-modal-lead strong {
    color: #202124;
}

.ds-install-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-install-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #F8FAFD;
    border: 1px solid #E8EAED;
    border-radius: 14px;
    padding: 10px 14px;
}

.ds-install-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #01875F;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.ds-install-step-txt {
    font-size: 12.5px;
    color: #3C4043;
    line-height: 1.4;
}

.ds-install-step-txt strong {
    color: #202124;
}

.ds-install-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px 18px 20px;
    background: #FAFAFA;
    border-top: 1px solid #ECEFF1;
}

.ds-btn-modal-rebaixar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1A73E8;
    background: #E8F0FE;
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.ds-btn-modal-rebaixar:hover {
    background: #D2E3FC;
}

.ds-btn-modal-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    background: #01875F;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(1, 135, 95, 0.25);
    transition: background 0.15s ease;
}

.ds-btn-modal-ok:hover {
    background: #016e4d;
}


