/* ==========================================================================
   Definição das Fontes Personalizadas
   - Importação e configuração das fontes especiais utilizadas no projeto
   - Cada fonte tem seu próprio formato e uso específico
========================================================================== */

* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Gleeful-Bubble-Regular';
    src: url('../fontes/Gleeful-Bubble-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Mickey-Mouse';
    src: url('../fontes/MickeyMouse_PERSONAL_USE_ONLY.otf') format('opentype');
}

@font-face {
    font-family: 'Pokemon-Solid';
    src: url('../fontes/Pokemon Solid.ttf') format('truetype');
}

@font-face {
    font-family: 'Cheri';
    src: url('../fontes/CHERI___.TTF') format('truetype');
}

@font-face {
    font-family: 'Heyam';
    src: url('../fontes/Heyam.ttf') format('truetype');
}

@font-face {
    font-family: 'Fenwick';
    src: url('../fontes/fenwick outline.ttf') format('truetype');
}

@font-face {
    font-family: 'Neon-Glow';
    src: url('../fontes/Neon-glow.otf') format('opentype');
}

@font-face {
    font-family: 'Buba';
    src: url('../fontes/Buba.otf') format('opentype');
}

@font-face {
    font-family: 'Milestone';
    src: url('../fontes/Milestone.otf') format('opentype');
}

/* Estilo para preview das fontes no select */
#fonte-texto option {
    padding: 5px;
    font-size: 16px;
}


/* Estilo do botão voltar */
.back-button-container {
    display: flex;
    justify-content: flex-start;
    /* padding: 15px 0; */
    margin-top: 10px;
    flex-direction: column;
    text-align: center;
    /* border-bottom: 1px solid rgba(108, 117, 125, 0.1); */
}

.btn-back {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    /* background: rgba(13, 110, 253, 0.1); */
    background: linear-gradient(135deg, #ff6b6b80, #ff8f537e);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-back i {
    margin-right: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-back span {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: #fff;
    /* background: #0d6efd; */
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ff6b6b, #ff8f53);
}

.btn-back:hover i {
    transform: translateX(-3px);
}

.btn-back:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.1);
}

/* FIM  Estilo do botão voltar */



/* Botão de seleção do personalizar */

.texto-draggable {
    position: absolute;
    cursor: move;
    user-select: none;
    white-space: pre-wrap;
    text-align: center;
    padding: 1px;
    min-width: 20px;
    border: 1px dashed transparent;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.texto-draggable:hover {
    border-color: var(--cor-rosa-chicle);
}


/* Botão de seleção de imagem */

.imagem-personalizada {
    position: absolute;
    cursor: move;
    user-select: none;
    white-space: pre-wrap;
    text-align: center;
    padding: 1px;
    min-width: 20px;
    border: 1px dashed transparent;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagem-personalizada:hover {
    border-color: var(--cor-rosa-chicle);
}



/* ==========================================================================
   Variáveis Globais (Design System)
   - Definição das cores principais do tema
   - Configuração de espaçamentos padrão
   - Definição de tipografia base
   - Configuração de sombras e bordas
========================================================================== */
:root {
    /* Cores Principais */
    --primary-color: #FF4B6E;
    --secondary-color: #FF8DA7;
    --text-color: #2C3E50;
    
    /* Paleta de Cores Específicas */
    --cor-cereja-doce: #E63946;
    --cor-rosa-chicle: #F28482;
    --cor-rosa-claro: #FBB1BD;
    --cor-rosa-neve: #FDDDE6;
    --cor-neve-suave: #FAF3F3;

    /* Sistema de Espaçamento */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Sistema de Tipografia */
    --font-primary: 'Nunito', sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;

    /* Sistema de Bordas e Sombras */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Componentes Base
   - Estilização de elementos fundamentais
   - Configurações de reset e normalização
========================================================================== */

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--cor-neve-suave);
  color: #333;
  line-height: 1.6;
}

/* Navbar */

/* Estilos responsivos para a navbar */
.navbar .container {
    padding: 0 var(--spacing-md);
}

.navbar {
  background-color: var(--cor-rosa-claro);
  padding: var(--spacing-md) var(--spacing-lg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}


.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.logo-container {
  max-height: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.logo-container img.logo {
  max-height: 50px;
  height: auto;
  width: auto;
  display: block;
}

.navbar-left,
.navbar-right {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

.navbar-right {
  justify-content: flex-end;
}

.search-container {
  display: flex;
  gap: var(--spacing-sm);
}

.search-button {
  background-color: var(--cor-cereja-doce);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #d62836;
}

/* Grid Container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

/* Cards */
.card {
  background-color: var(--cor-rosa-neve);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card img {
  /* width: 100%;
  height: 200px; */
  object-fit: cover;
  border-radius: var(--border-radius-md);
}

.card-title {
  color: var(--cor-cereja-doce);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
}

.card-body {
  background-color: var(--cor-rosa-neve);
  padding: var(--spacing-sm);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

/* Categoria Cards */
.categoria-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  animation: fadeInUp 0.5s ease-out;
}

.categoria-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.popular-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: var(--cor-cereja-doce);
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: var(--font-size-sm);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.categoria-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  font-size: 3rem;
  color: #dee2e6;
}

.card-text {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Botões */
.btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--cor-cereja-doce);
  color: white;
  border: none;
  transition: filter 0.3s;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-secondary {
  background-color: var(--cor-rosa-chicle);
  color: white;
}

/* Estilos do Footer */
.footer {
    background: linear-gradient(135deg, var(--cor-rosa-claro), var(--cor-rosa-neve));
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.footer h5 {
    color: var(--text-color);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--cor-cereja-doce), var(--cor-rosa-chicle));
    border-radius: var(--border-radius-sm);
}

.footer p {
    color: var(--text-color);
    font-size: var(--font-size-md);
    line-height: 1.6;
}

.footer .list-unstyled li {
    margin-bottom: var(--spacing-sm);
}

.footer .list-unstyled a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: var(--font-size-md);
    display: inline-block;
    position: relative;
}

.footer .list-unstyled a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, var(--cor-cereja-doce), var(--cor-rosa-chicle));
    transition: width 0.3s ease;
}

.footer .list-unstyled a:hover::after {
    width: 100%;
}

.footer .social-icons {
    display: flex;
    gap: var(--spacing-md);
}

.footer .social-icons a {
    color: var(--text-color);
    font-size: var(--font-size-xl);
    transition: all 0.3s ease;
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.footer .social-icons a:hover {
    transform: translateY(-3px);
    color: var(--cor-cereja-doce);
    box-shadow: var(--shadow-md);
}

.footer .copyright {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-color);
}

/* Responsividade do Footer */
@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-lg) 0;
    }

    .footer .col-md-4 {
        margin-bottom: var(--spacing-lg);
        text-align: center;
    }

    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .social-icons {
        justify-content: center;
    }

    .footer .list-unstyled {
        text-align: center;
    }

    .footer .copyright {
        margin-top: var(--spacing-lg);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--cor-rosa-chicle), var(--cor-cereja-doce));
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    border-radius: 0 0 2rem 2rem;
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('../imagens/F.png') repeat; */
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.stats-card {
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.categoria-stats .btn {
    transition: all 0.3s ease;
}

.categoria-stats .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    animation: pulseTitle 2s infinite;
    transition: transform 0.3s ease;
}


/* Estilo para a seção de desenhos mais baixados */
.infinite-scroll-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  /* background: #f8f9fa; */
  background: var(--secondary-color);
  border-radius: 10px;
  margin: 20px 0;
}

.infinite-scroll-container::before,
.infinite-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.infinite-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, #FAF3F3 0%, rgba(248, 249, 250, 0) 100%);
}

.infinite-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, #FAF3F3 0%, rgba(248, 249, 250, 0) 100%);
}

.scroll-content {
  display: flex;
  position: absolute;
  animation: scroll 40s linear infinite;
  gap: 20px;
  padding: 20px 120px;
}

.scroll-item {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  position: relative;
  transition: transform 0.3s ease;
}

.scroll-item:hover {
  transform: scale(1.05);
}

.scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.download-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #6c757d;
  /* background: rgba(0,0,0,0.7); */
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.infinite-scroll-container:hover .scroll-content {
  animation-play-state: paused;
}

  /* FIM  - Estilo para a seção de desenhos mais baixados */

@keyframes pulseTitle {
    0% {
        transform: scale(1);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.02);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    }
    100% {
        transform: scale(1);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }
}

/* highlight-text V1 */


.highlight-text {
    color: #FFE66D;
    display: inline-block;
    animation: highlightPulse 2s infinite;
}

.bg-highlight {
    background: linear-gradient(135deg, var(--cor-rosa-chicle), var(--cor-cereja-doce));
    padding: 0 15px 0 15px ;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    border-radius: 2rem 2rem;
    /* overflow: hidden; */
    /* position: relative; */
}

@keyframes highlightPulse {
    0% {
        color: #FFE66D;
    }
    50% {
        color: #FFF;
    }
    100% {
        color: #FFE66D;
    }
}


.hero-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .input-group {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.hero-content .search-input {
    height: 46px;
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 0 1.2rem;
    font-size: 0.95rem;
    background: transparent;
    flex: 1;
}

.hero-content .search-button {
    width: 46px;
    height: 46px;
    border-radius: 0 50px 50px 0;
    border: none;
    background: transparent;
    color: var(--cor-cereja-doce);
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.hero-content .search-button i {
    line-height: 1;
    position: relative;
    top: 0;
    left: 0;
}

.hero-content .search-button:hover {
    color: var(--cor-rosa-chicle);
    transform: scale(1.1);
}

/* ==========================================================================
   Responsividade - Hero Section
   - Ajustes para a seção principal em dispositivos móveis
   - Adapta margens, padding e tamanhos de fonte
   - Otimiza o grupo de input para telas menores
========================================================================== */
@media (max-width: 768px) {
    .hero-section {
        margin: 0.5rem 1rem 2rem;
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-content .input-group {
        max-width: 100%;
    }

    .hero-content .search-input,
    .hero-content .search-button {
        height: 40px;
    }

    .hero-content .search-input {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

/* ==========================================================================
   Responsividade - Grid e Coleções
   - Ajusta o layout do grid para telas menores
   - Reduz o espaçamento entre itens da coleção
   - Otimiza a visualização em dispositivos móveis
========================================================================== */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .colecao-grid {
        gap: 2px;
        padding: 2px;
    }
}

/* ==========================================================================
   Responsividade - Navbar
   - Adapta a navegação para dispositivos móveis
   - Ajusta tamanho do logo e botões
   - Otimiza espaçamentos para telas menores
========================================================================== */
@media (max-width: 1200px) {
    /* .navbar-content {
        padding: 0 1rem;
    } */
    
    .logo {
        height: 40px;
    }
    
    .categories-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}


@media (max-width: 770px) {
    .navbar-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        width: 100%;
        max-width: 100%;
    }
    .logo-wrapper {
        align-items: center;
    }

    .categories-btn {
        text-align: center;
    }
}



/* ==========================================================================
   Responsividade - Cards de Desenhos
   - Ajusta o grid de cards para telas menores
   - Reduz tamanhos de fonte e meta informações
   - Otimiza visualização em dispositivos móveis
========================================================================== */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-meta {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Responsividade - Botão Personalizar Desenho Mobile
   - Oculta botão de compartilhamento em dispositivos móveis
   - Ajusta espaçamento dos botões de ação
   - Centraliza botões restantes
========================================================================== */
/* @media screen and (max-width: 380px) {
    #btn-compartilhar {
        display: none !important;
    }
    
    .botoes-acao {
        gap: 10px;
        justify-content: center;
    }
} */

/* - Oculta botão de Personalizar Desenho em dispositivos móveis */

@media screen and (max-width: 768px) {
    .btn-success {
        display: none!important;
    }
}



.search-box .form-control {
  border-radius: 2rem 0 0 2rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  border: none;
}

.search-box .btn {
  border-radius: 0 2rem 2rem 0;
  padding: 0.75rem 1.5rem;
}

/* Seções */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #333;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--cor-cereja-doce);
  border-radius: 3px;
}

/* Badges */
.badge {
  padding: 0.5em 1em;
  font-weight: 500;
  font-size: 0.8rem;
}

/* Ícones */
.fa-eye, .fa-heart {
  color: #6c757d;
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para o grid de coleções */
.colecao-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.colecao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.colecao-grid {
    display: grid;
    margin-top: 30px;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 4px;
    background: var(--light-pink);
}

.colecao-grid a {
  border: solid 1px #ccc;
  border-radius: 5px;
}

.colecao-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.colecao-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.colecao-thumb:hover img {
    transform: scale(1.1);
}

.colecao-card .card-body {
    padding: 1rem;
    text-align: center;
}

.colecao-card .card-title {
    /* font-size: 1.1rem; */
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Coleções do Momento */
.colecoes-momento {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.colecoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.colecao-momento-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.colecao-momento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.colecao-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 12px 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.colecao-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.colecao-header {
    margin-bottom: 1rem;
}

.colecao-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    text-transform: capitalize;
}

.colecao-count {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.colecao-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.preview-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.preview-item:hover {
    transform: scale(1.05);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.preview-item:hover img {
    transform: scale(1.1);
}

.colecao-footer {
    text-align: center;
}

.colecao-footer .btn {
    width: 100%;
    padding: 0.7rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.colecao-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .colecoes-momento {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .colecoes-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .colecao-momento-card {
        padding: 1rem;
    }
    
    .colecao-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .colecoes-grid {
        grid-template-columns: 1fr;
    }
    
    .colecao-preview {
        grid-template-columns: repeat(4, 1fr);
    }
}

.desenho-card.current-drawing {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #4ECDC4;
}

/* Badge cards desenho */

/* Teste */

.popular-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.popular-badge.current {
    background-color: #4ECDC4;
    color: white;
}

.popular-badge.views {
    background: linear-gradient(45deg, #45B7D1, #93e7fad3);
    color: white;
}

.popular-badge.likes {
    background: linear-gradient(45deg, #FF4B6E, #FF8DA7);
    /* background-color: #45B7D1; */
    color: white;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Ajuste do hover para não conflitar com o badge */
.desenho-card:hover .popular-badge {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Responsividade */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .colecao-grid {
        gap: 2px;
        padding: 2px;
    }
}

/* Navbar Styles */
.navbar {
    background-color: #FFE5E5;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    /* margin: 0 auto; */
}

.categories-btn {
    background-color: #FF6B6B;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.categories-btn:hover {
    background-color: #FF8E53;
    transform: translateY(-2px);
}

/* .logo-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
} */

.logo-link {
    display: block;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: #FF6B6B;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #FF8E53;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    /* .navbar-content {
        padding: 0 1rem;
    } */
    
    .logo {
        height: 40px;
    }
    
    .categories-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
/* Cards de Desenhos Recentes */
.desenho-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.desenho-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--light-pink);
    padding: 8px;
    transition: transform 0.3s ease;
}

.desenho-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.stats-overlay span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-color);
}

.stats-overlay i {
    color: var(--primary-color);
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.card-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.card-meta > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-meta i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-meta {
        font-size: 0.8rem;
    }
}

/* Estilos para cards de categoria em formato de livro */
.categoria-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.categoria-book-card {
    perspective: 1000px;
    transition: all 0.3s ease;
}

.categoria-book-card.hidden-categoria {
    display: none;
}

.book-card {
    display: block;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    height: 300px;
    text-decoration: none;
}

.book-card:hover {
    transform: rotateY(-30deg);
}

.book-spine {
    position: absolute;
    width: 40px;
    height: 100%;
    left: 0;
    background: linear-gradient(90deg, #FF6B6B, #FF8E53);
    transform: rotateY(90deg) translateX(-20px);
    transform-origin: left;
}

.book-cover {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 2px 8px 8px 2px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.book-image {
    height: 70%;
    overflow: hidden;
    background: var(--light-pink);
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-image img {
    transform: scale(1.1);
}

.book-content {
    padding: 1rem;
    background: white;
    text-align: center;
}

.book-title {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.btn-brand {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
    color: white;
}

/* Desenho Slug, ao clicar na categoria */

.acoes-desenho {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-acao {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0.5rem;
    white-space: nowrap;
}

/* Estilo para o botão Visualizar pagina personalizar */
#btn-visualizar {
    background: linear-gradient(45deg, #e6370b, #f30f0f);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

#btn-visualizar:hover {
    background: linear-gradient(45deg, #138496, #1e7e34);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

#btn-visualizar:active {
    transform: translateY(0);
}

#btn-visualizar i {
    color: white;
}


.acoes-desenho .btn-imprimir {
    background: var(--cor-cereja-doce);
    color: white;
}

.acoes-desenho .btn-colorir {
    background: var(--cor-rosa-chicle);
    color: white;
}

.acoes-desenho .btn-compartilhar {
    background: var(--cor-rosa-claro);
    color: white;
}

.desenhos-relacionados-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

.desenho-relacionado {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.desenho-relacionado:hover {
    transform: translateY(-5px);
}

.desenho-relacionado.current {
    border: 2px solid var(--cor-rosa-chicle);
    pointer-events: none;
    opacity: 0.7;
}

.desenho-relacionado-inner {
    position: relative;
}

.desenho-relacionado img {
    width: 50%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.desenho-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem;
    color: white;
    font-size: 0.875rem;
}

.desenho-titulo {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
    text-align: center;
    font-size: 30px !important;
}

.desenho-colecao {
    font-size: 0.75rem;
    opacity: 0.8;
}

.desenho-colecao i {
    margin-right: 0.25rem;
}
.info-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.info-header {
    background: var(--cor-rosa-claro);
    padding: var(--spacing-md) var(--spacing-lg);
    color: white;
}

.info-content {
    padding: var(--spacing-md);
}

.info-item {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--cor-rosa-neve);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: var(--cor-neve-suave);
}

.interaction-group {
    margin-top: var(--spacing-lg);
    background: var(--cor-neve-suave);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
}

.interaction-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.interaction-icon {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--cor-cereja-doce);
    font-size: var(--font-size-lg);
}

.interaction-count {
    font-weight: bold;
    color: var(--text-color);
    min-width: 24px;
    text-align: center;
}

.btn-interaction {
    background: white;
    border: 2px solid var(--cor-rosa-claro);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--cor-rosa-claro);
}

.btn-interaction:hover {
    background: var(--cor-rosa-claro);
    color: white;
    transform: scale(1.05);
}

.btn-interaction.active {
    background: var(--cor-cereja-doce);
    border-color: var(--cor-cereja-doce);
    color: white;
}

.btn-interaction i {
    transition: transform 0.3s ease;
}

.btn-interaction:hover i {
    transform: scale(1.2);
}

.likes-item .interaction-icon i,
.likes-item .btn-interaction {
    color: var(--cor-cereja-doce);
    border-color: var(--cor-cereja-doce);
}

.favorite-item .interaction-icon i,
.favorite-item .btn-interaction {
    color: var(--cor-rosa-chicle);
    border-color: var(--cor-rosa-chicle);
}

.likes-item .btn-interaction:hover,
.likes-item .btn-interaction.active {
    background: var(--cor-cereja-doce);
    color: white;
}

.favorite-item .btn-interaction:hover,
.favorite-item .btn-interaction.active {
    background: var(--cor-rosa-chicle);
    color: white;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.btn-interaction.active i {
    animation: pulse 0.5s ease;
}


.desenhos-relacionados {
    margin-top: var(--spacing-lg);
}

.desenhos-relacionados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.colecao-grupo {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}

.colecao-header {
    /* display: flex; */
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.colecao-titulo {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.colecao-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: auto;
    background: #e9ecef;
    color: #495057;
}

.sem-relacionados {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--cor-rosa-neve);
    border-radius: var(--border-radius-md);
    color: var(--cor-cereja-doce);
}

/* .desenho-relacionado {
    position: relative;
    overflow: hidden;
} */

.tags-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tag-badge {
    background: var(--cor-rosa-chicle);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.sem-relacionados i {
    color: var(--cor-rosa-chicle);
    opacity: 0.7;
}

.sem-relacionados h4 {
    margin: var(--spacing-sm) 0;
    color: var(--cor-cereja-doce);
}

.sem-relacionados p {
    color: var(--cor-cereja-escura);
    font-size: 0.9rem;
    margin: 0;
}


/* Aqui ajusta a quebra de linha na responsividade pagina desenho */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .desenho-container {
        margin-bottom: 2rem;
    }

    .row {
        flex-direction: column;
    }

    .col-md-8,
    .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .desenho-imagem-wrapper {
        max-width: 800px;
        margin: 0 auto;
    }

    .acoes-desenho {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .card {
        max-width: 800px;
        margin: 0 auto 2rem;
    }

    .desenhos-relacionados-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
        justify-content: center;
    }
}

.desenho-relacionado {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.desenho-relacionado:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.desenho-relacionado img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: white;
    transition: transform 0.3s ease;
}

.desenho-relacionado:hover img {
    transform: scale(1.1);
}

.desenho-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
}

.desenho-preview.active {
    display: flex;
}

.desenho-preview-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.desenho-preview-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: var(--cor-cereja-doce);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.desenho-preview-close:hover {
    transform: scale(1.1);
    background: var(--cor-rosa-chicle);
}

.desenho-preview img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* Pagina desenho com os resultados do index */
/* Estilos específicos para o botão de curtir */
/* Estilos do botão de curtir */
.btn-curtir {
    border: none;
    background: #FFE5E5;
    color: #FF4B6E;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-curtir:hover {
    background: #FF8DA7;
    color: white;
    transform: scale(1.05);
}

.btn-curtir.curtido {
    background: #FF4B6E;
    color: white;
    animation: pulsar 0.3s ease;
}

@keyframes pulsar {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Desenhos Relacionados, Sem desenhos relacionados */

.mensagem-vazia {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
    border: 2px dashed var(--cor-rosa-claro);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 1rem 0;
    text-align: center;
    background-color: var(--cor-rosa-neve);
    grid-column: 1 / -1;
}

.mensagem-vazia i {
    font-size: 2rem;
    color: var(--cor-rosa-chicle);
    margin-bottom: 1rem;
}

.mensagem-vazia p {
    color: var(--cor-cereja-doce);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    max-width: 300px;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.desenhos-relacionados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .desenhos-relacionados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .desenhos-relacionados-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.desenho-card.current-drawing {
    border: 3px solid var(--cor-cereja-doce);
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.desenho-card.current-drawing:hover {
    transform: scale(1.05);
}

.popular-badge.current {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.desenho-card.current-drawing {
    border: 3px solid var(--cor-cereja-doce);
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.desenho-card.current-drawing:hover {
    transform: scale(1.05);
}

.popular-badge.current {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Indicador de carregamento */
.loading-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin-top: 1rem;
}

.loading-indicator .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--cor-cereja-doce);
}

.desenho-preview img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* Estilos específicos para o botão de curtir */
.btn-curtir {
    border: none;
    background: #FFE5E5;
    color: #FF4B6E;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-curtir:hover {
    background: #FF8DA7;
    color: white;
    transform: scale(1.05);
}

.btn-curtir.curtido {
    background: #FF4B6E;
    color: white;
    animation: pulsar 0.3s ease;
}

@keyframes pulsar {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.mensagem-curtir {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF4B6E;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mensagem-curtir.right {
    left: auto;
    right: 20px;
    transform: translateX(0);
}

.mensagem-curtir.left {
    left: 20px;
    transform: translateX(0);
}

.mensagem-curtir.mostrar {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mensagem-curtir.right.mostrar,
.mensagem-curtir.left.mostrar {
    transform: translateX(0) translateY(0);
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%) translateX(-50%);
        opacity: 0;
    }
    to {
        transform: translateY(0) translateX(-50%);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/*  */

.desenhos-recentes {
    margin-top: 30px;
}

/* .desenhos-recentes .container {
    width: 100% !important;
    margin: 0%;
    padding: 0;
}  */

/* .desenhos-recentes .grid-container {
    width: 100% !important;
    margin: 0%;
    padding: 0;
}  */


/* Estilos para impressão desenho grande pagina desenho*/
@media print {
    @page {
        size: portrait;
        margin: 0;
    }
    
    html, body {
        height: 100vh;
        width: 100vw;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }
    
    body * {
        visibility: hidden;
    }
    
    .desenho-imagem-wrapper,
    .desenho-imagem-wrapper * {
        visibility: visible;
    }
    
    .desenho-imagem-wrapper {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .desenho-imagem-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        max-width: none;
        max-height: none;
        page-break-after: avoid;
        page-break-before: avoid;
        page-break-inside: avoid;
    }
}

/* Galeria Personalizada */
.desenho-personalizado-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.desenho-personalizado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 251, 0, 0.041), rgba(255, 251, 0, 0.295));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    border-radius: 5px;
}

.desenho-personalizado-card:hover .card-overlay {
    opacity: 1;
}

.stats .badge {
    font-size: 0.8rem;
    padding: 5px 8px;
}

/* Modal da Galeria */
#galeriaModal .modal-dialog {
    max-width: 50vw;
    border-radius: 50px !important;
}

#galeriaModal .modal-body {
    background: #f8f9fa;
}

#galeriaModal .position-absolute {
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
}

/* Animações */
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.btn-curtir-animacao {
    animation: heartBeat 0.6s ease-in-out;
}

/* Toast Container */
.toast-container {
    z-index: 9999;
}

/* Estilos para o sistema de favoritos */
.favorites-menu {
    position: relative;
}

.btn-favorite {
    background: none;
    border: none;
    /* linear-gradient(135deg, #FF6B6B, #FF8E53); */
    color: #FF8E53;
    padding: 8px;
    position: relative;
    cursor: pointer;
}

.favorite-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--cor-cereja-doce);
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.favorites-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.favorites-panel.active {
    display: block;
}

.favorites-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.favorites-header h5 {
    margin: 0;
    color: var(--text-color);
    font-size: 16px;
}

.favorites-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.favorite-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: background-color 0.2s;
}

.favorite-item:hover {
    background-color: #f8f9fa;
}

.favorite-item img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 10px;
}

.favorite-info {
    flex: 1;
}

.favorite-info h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.btn-view {
    font-size: 12px;
    color: var(--cor-cereja-doce);
    text-decoration: none;
}

.btn-remove {
    background: none;
    border: none;
    color: #999;
    padding: 5px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.favorite-item:hover .btn-remove {
    opacity: 1;
}

.no-favorites {
    text-align: center;
    color: #666;
    padding: 20px;
}

/* Toast de notificação */
.toast-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1100;
    animation: fadeInOut 3s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    10% { opacity: 1; transform: translate(-50%, 0); }
    90% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

.interaction-group {
    margin-top: var(--spacing-lg);
    background: var(--cor-neve-suave);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
}

.interaction-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.interaction-icon {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--cor-cereja-doce);
    font-size: var(--font-size-lg);
}

.interaction-count {
    font-weight: bold;
    color: var(--text-color);
    min-width: 24px;
    text-align: center;
}

.btn-interaction {
    background: white;
    border: 2px solid var(--cor-rosa-claro);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--cor-rosa-claro);
}

.btn-interaction:hover {
    background: var(--cor-rosa-claro);
    color: white;
    transform: scale(1.05);
}

.btn-interaction.active {
    background: var(--cor-cereja-doce);
    border-color: var(--cor-cereja-doce);
    color: white;
}

.btn-interaction i {
    transition: transform 0.3s ease;
}

.btn-interaction:hover i {
    transform: scale(1.2);
}

.likes-item .interaction-icon i,
.likes-item .btn-interaction {
    color: var(--cor-cereja-doce);
    border-color: var(--cor-cereja-doce);
}

.favorite-item .interaction-icon i,
.favorite-item .btn-interaction {
    color: var(--cor-rosa-chicle);
    border-color: var(--cor-rosa-chicle);
}

.likes-item .btn-interaction:hover,
.likes-item .btn-interaction.active {
    background: var(--cor-cereja-doce);
    color: white;
}

.favorite-item .btn-interaction:hover,
.favorite-item .btn-interaction.active {
    background: var(--cor-rosa-chicle);
    color: white;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.btn-interaction.active i {
    animation: pulse 0.5s ease;
}

.favorite-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    right: 45px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.btn-favorite-add:hover .favorite-tooltip {
    opacity: 1;
    visibility: visible;
}

.stats-overlay {
    display: flex;
    gap: 15px;
    align-items: center;
}


/* Seção FAQ */
/* .faq-section {
    padding: 2rem 0;
    background-color: var(--color-light-pink);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text);
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--color-primary);
    min-width: 24px;
}

.arrow-icon {
    margin-left: auto;
    font-size: 1rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
    color: var(--color-text-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
    background-color: #fff;
}

.faq-item.active .faq-question {
    background-color: #fff5f7;
    color: var(--color-primary);
}

/* Estilo para os headers clicáveis */
.cursor-pointer {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.cursor-pointer:hover {
    background-color: rgba(255, 182, 193, 0.8) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Animação do ícone de seta */
.collapse-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.collapse-icon.rotated {
    transform: rotate(180deg);
}

/* Animação suave do collapse */
.collapse {
    transition: all 0.35s ease;
    overflow: hidden;
}

.collapse.show {
    animation: slideDown 0.35s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* Estilo para o card ativo */
.card.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--cor-cereja-doce);
}

.card.active .card-header {
    background: linear-gradient(135deg, var(--cor-cereja-doce), #c92a34) !important;
    color: white;
    border-bottom-color: var(--cor-cereja-doce);
}

.card.active .collapse-icon {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Melhorar o visual dos cards */
.card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cor-cereja-doce);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card.active .card-header::after {
    transform: scaleX(1);
}

/* Indicador visual para elementos interativos na imagem */
.texto-draggable {
    transition: all 0.2s ease;
}

.texto-draggable:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.imagem-personalizada {
    transition: all 0.2s ease;
}

.imagem-personalizada:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

/* Scroll suave para toda a página */
html {
    scroll-behavior: smooth;
}

/* Estilo para o painel de edição */
.painel-edicao {
    position: relative;
}

/* Feedback visual durante o scroll */
.card.scrolling {
    background-color: rgba(255, 235, 238, 0.5);
}

/* Animações */
.faq-item {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para o texto personalizado */
.texto-draggable {
    position: absolute;
    cursor: move;
    user-select: none;
    white-space: pre-wrap;
    text-align: center;
    padding: 5px;
    border: 1px dashed transparent;
    transition: border-color 0.3s;
}


.texto-draggable.active {
    border: 2px solid #007bff;
    border-radius: var(--border-radius-sm);
    padding: 2px 6px;
    background-color: rgba(0, 123, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

/* Controles de Rotação */
.rotation-handle {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--cor-cereja-doce);
    border: 2px solid white;
    border-radius: 50%;
    cursor: grab;
    display: none;
    z-index: 1002;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.rotation-handle:hover {
    background: #c92a34;
    transform: translateX(-50%) scale(1.1);
}

.rotation-handle:active {
    cursor: grabbing;
}

.rotation-handle::before {
    content: '↻';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* Mostrar controle de rotação quando elemento está ativo */
.texto-draggable.active .rotation-handle,
.imagem-personalizada.active .rotation-handle {
    display: block;
}

/* Ajustar posição do botão remover para não conflitar com rotação */
.texto-draggable.active .btn-remover-texto {
    top: -8px;
    right: -8px;
}

.imagem-personalizada .btn-remover-imagem {
    top: -10px;
    right: -10px;
    z-index: 1099 !important;
}

/* Botão de seleção de imagem */

.imagem-personalizada {
    position: absolute;
    cursor: move;
    user-select: none;
    white-space: pre-wrap;
    text-align: center;
    padding: 5px;
    border: 1px dashed transparent;
    transition: border-color 0.3s;
}


.imagem-personalizada.active {
    border: 1px dashed var(--cor-cereja-doce);
    border-radius: var(--border-radius-sm);
    padding: 2px 6px; /* antes era 8px 12px */
    background-color: rgba(255, 235, 238, 0.35);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

/* Handles de redimensionamento para imagens */
.resize-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #007bff;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.imagem-personalizada:hover .resize-handle,
.imagem-personalizada.active .resize-handle {
    opacity: 1;
}

/* Posicionamento dos handles */
.resize-nw {
    top: -6px;
    left: -6px;
    cursor: nw-resize;
}

.resize-ne {
    top: -6px;
    right: -6px;
    cursor: ne-resize;
}

.resize-sw {
    bottom: -6px;
    left: -6px;
    cursor: sw-resize;
}

.resize-se {
    bottom: -6px;
    right: -6px;
    cursor: se-resize;
}

/* Handles de redimensionamento para textos */
.texto-draggable .resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FF4B6E;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.texto-draggable:hover .resize-handle,
.texto-draggable.active .resize-handle {
    opacity: 1;
}

/* Posicionamento dos handles para texto */
.texto-draggable .resize-nw {
    top: -5px;
    left: -5px;
    cursor: nw-resize;
}

.texto-draggable .resize-ne {
    top: -5px;
    right: -5px;
    cursor: ne-resize;
}

.texto-draggable .resize-sw {
    bottom: -5px;
    left: -5px;
    cursor: sw-resize;
}

.texto-draggable .resize-se {
    bottom: -5px;
    right: -5px;
    cursor: se-resize;
}

/* Ajustar z-index dos outros elementos */
.texto-draggable .rotation-handle {
    z-index: 1003;
}

.texto-draggable .btn-remover-texto {
    z-index: 1005;
}

/* Estilização dos controles */
.form-select {
    border-color: var(--cor-rosa-claro);
    color: var(--text-color);
}

.form-select:focus {
    border-color: var(--cor-cereja-doce);
    box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25);
}

.btn-remover-texto {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--cor-cereja-doce);
    border: none;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    display: none;
    box-shadow: var(--shadow-sm);
    z-index: 1005;
    transition: transform 0.2s ease;
}

.texto-draggable.active .btn-remover-texto {
    display: block;
}

.btn-remover-texto:hover {
    transform: scale(1.1);
    background-color: #c92a34;
}

.btn-remover-texto {
    top: -6px;
    right: -6px;
}

/* Política de Privacidade */
.privacy-policy {
    background-color: #f8f9fa;
}

.privacy-policy .card {
    transition: transform 0.3s ease;
}

.privacy-policy .card:hover {
    transform: translateY(-5px);
}

.privacy-policy .card-header {
    background: linear-gradient(45deg, var(--bs-primary) 0%, #2196f3 100%);
}

.privacy-policy h1 {
    font-family: 'Gleeful-Bubble-Regular', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.privacy-policy .icon {
    font-size: 1.5em;
    vertical-align: middle;
}

.privacy-policy .privacy-section {
    border-left: 3px solid var(--bs-primary);
    padding-left: 1rem;
    margin-left: 1rem;
}

.privacy-policy .list-unstyled li {
    position: relative;
    padding-left: 1.5rem;
}

.privacy-policy .list-unstyled li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--bs-primary);
    border-radius: 50%;
}

.privacy-policy .contact-info {
    border-left: 4px solid var(--bs-primary);
}

@media (max-width: 768px) {
    .privacy-policy .card-body {
        padding: 1.5rem !important;
    }
    
    .privacy-policy .privacy-section {
        margin-left: 0;
    }
}

/* DMCA Policy */
.dmca-policy {
    background-color: #f8f9fa;
}

.dmca-policy .card {
    transition: transform 0.3s ease;
}

.dmca-policy .card:hover {
    transform: translateY(-5px);
}

.dmca-policy .card-header {
    background: linear-gradient(45deg, var(--bs-primary) 0%, #2196f3 100%);
}

.dmca-policy h1, .dmca-policy h2.h4 {
    font-family: 'Gleeful-Bubble-Regular', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.dmca-policy .icon {
    font-size: 1.5em;
    vertical-align: middle;
}

.dmca-policy .dmca-section {
    border-left: 3px solid var(--bs-primary);
    padding-left: 1rem;
    margin-left: 1rem;
}

.dmca-policy .list-unstyled li {
    position: relative;
    padding-left: 1.5rem;
}

.dmca-policy .list-unstyled li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--bs-primary);
    border-radius: 50%;
}

.dmca-policy .notification-requirements,
.dmca-policy .contact-info {
    border-left: 4px solid var(--bs-primary);
}

.dmca-policy .notification-requirements ul li,
.dmca-policy .contact-info p {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.dmca-policy .notification-requirements ul li:last-child,
.dmca-policy .contact-info p:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .dmca-policy .card-body {
        padding: 1.5rem !important;
    }
    
    .dmca-policy .dmca-section {
        margin-left: 0;
    }
}


.image-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ajuste para o container principal em ambas as páginas */
.desenho-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Estilo para o grid de imagens do catálogo */
.imagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 2fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* .imagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
} */

/* .imagem-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
} */

.imagem-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #f8f9fa;
    padding: 8px;
}

.imagem-card img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.imagem-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.imagem-card:hover img {
    transform: scale(1.1);
}

.imagem-nome {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    font-size: 0.8rem;
    text-align: center;
}


/* Painel flutuante para edição de texto */
.floating-text-panel {
    position: fixed;
    right: 20px;
    background: white;
    border: 2px solid var(--cor-rosa-chicle);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 20px;
    width: 320px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1050;
    display: none;
    transition: all 0.3s ease;
}

.floating-text-panel.show {
    display: block;
    animation: slideInRight 0.3s ease;
}

.floating-text-panel .panel-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.floating-text-panel .panel-title {
    font-weight: bold;
    color: var(--cor-rosa-chicle);
    margin: 0;
    font-size: 16px;
}

.floating-text-panel .btn-close-panel {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-text-panel .btn-close-panel:hover {
    color: var(--cor-rosa-chicle);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .floating-text-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 50vh;
        border-radius: 12px 12px 0 0;
    }
    
    .floating-text-panel.show {
        animation: slideInUp 0.3s ease;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}


/* ADD 31/07/2025 - Melhorias molduras */

/* Estilos para o grid de molduras */
.molduras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.moldura-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #f8f9fa;
    padding: 8px;
}

.moldura-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--cor-rosa-chicle);
}

.moldura-card.active {
    border-color: var(--cor-cereja-doce);
    background: rgba(255, 75, 110, 0.1);
    transform: scale(1.02);
}

.moldura-card img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.moldura-card:hover img {
    transform: scale(1.1);
}

.moldura-nome {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px;
    font-size: 0.75rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.moldura-card:hover .moldura-nome {
    opacity: 1;
}

/* Estilo para o overlay da moldura */
#moldura-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

#moldura-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}




/* Inicio dos CSS MODAL - Personalizar */



/* Modal de Pré-visualização */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    backdrop-filter: blur(5px);
    overflow: auto;
}

.preview-modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: fadeIn 0.3s ease;
}

.preview-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px !important;
    max-height: 95vh;
    overflow: hidden;
    overflow-y: auto;
    animation: slideInScale 0.3s ease;
    
    /* Centralização mais robusta */
    position: relative !important;
    margin: auto !important;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: var(--cor-rosa-claro);
    border-radius: 10px 10px 0 0 ;
}

.preview-logo {
    height: 40px;
}

.btn-close-preview {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-close-preview:hover {
    background: rgba(255,255,255,0.2);
    color: var(--cor-rosa-chicle);
}

.preview-image-container {
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-behavior: smooth;
}

.preview-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: 400px;
    overflow: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
}

#preview-canvas {
    display: block;
    transition: transform 0.2s ease;
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 10px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: auto;
    image-rendering: -webkit-optimize-quality;
    image-rendering: smooth;
}

.preview-zoom-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.btn-zoom {
    background: var(--cor-rosa-chicle);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-zoom:hover {
    background-color: #d62836;
    /* transform: scale(1.1); */
}

.zoom-display {
    font-weight: bold;
    color: var(--cor-rosa-chicle);
    min-width: 60px;
    text-align: center;
}

.preview-actions {
    display: flex;
    gap: 15px;
    padding: 25px;
    justify-content: center;
}

.preview-actions .btn {
    flex: 1;
    max-width: 150px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .preview-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .preview-actions {
        flex-direction: column;
    }
    
    .preview-actions .btn {
        max-width: none;
    }
    
    .preview-zoom-controls {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Modal de Temporizador */
.timer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: none;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.timer-modal.show {
    display: flex !important;
    animation: timerFadeIn 0.4s ease;
}

.timer-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: timerSlideIn 0.4s ease;
    position: relative;
    overflow: hidden;
}

.timer-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: timerShine 2s infinite;
}

.timer-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.timer-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: timerBounce 2s infinite;
}

.timer-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.timer-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.timer-body {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.timer-circle {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.timer-progress {
    transform: rotate(-90deg);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

#timer-progress-circle {
    transition: stroke-dashoffset 1s linear;
    stroke: #4CAF50;
}

.timer-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: timerPulse 1s infinite;
}

.timer-action-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.timer-action-icon {
    font-size: 24px;
    animation: timerRotate 2s infinite linear;
}

.timer-action-text {
    font-size: 16px;
    font-weight: 500;
}

.timer-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btn-timer-cancel {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-timer-cancel:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-timer-now {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-timer-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

/* Animações */
@keyframes timerFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes timerSlideIn {
    from { 
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes timerBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes timerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes timerRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes timerShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Responsivo */
@media (max-width: 480px) {
    .timer-modal-content {
        margin: 20px;
        padding: 25px;
    }
    
    .timer-title {
        font-size: 20px;
    }
    
    .timer-footer {
        flex-direction: column;
    }
}

/* Modal de Seleção de Formato de Impressão */
.print-format-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2999;
    display: none;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.print-format-modal.show {
    display: flex !important;
    animation: formatFadeIn 0.4s ease;
}

.print-format-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: formatSlideIn 0.4s ease;
}

.print-format-header {
    margin-bottom: 30px;
}

.print-format-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.print-format-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.print-format-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.print-format-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.format-option {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex: 1;
    max-width: 200px;
}

.format-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.format-preview {
    margin-bottom: 15px;
}

.preview-paper {
    width: 60px;
    height: 80px;
    background: white;
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-paper.landscape {
    width: 80px;
    height: 60px;
}

.preview-image {
    width: 70%;
    height: 70%;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
    border-radius: 2px;
}

.format-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.format-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.3;
}

.print-format-footer {
    display: flex;
    justify-content: center;
}

.btn-format-cancel {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-format-cancel:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes formatFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes formatSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .print-format-options {
        flex-direction: column;
        align-items: center;
    }
    
    .format-option {
        max-width: 300px;
        width: 100%;
    }
}

/* Estilos para containers de anúncios */
.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 100%;
    min-height: 90px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.ad-container::before {
    content: "Publicidade";
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 10px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Banner horizontal */
.ad-horizontal {
    min-height: 90px;
    max-height: 280px;
}

/* In-feed ads */
.ad-infeed {
    min-height: 250px;
    max-height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Banner de rodapé */
.ad-footer {
    min-height: 90px;
    max-height: 250px;
    margin-bottom: 30px;
}

/* Responsividade */
@media (max-width: 768px) {
    .ad-container {
        margin: 15px auto;
        min-height: 50px;
    }
    
    .ad-horizontal {
        min-height: 50px;
        max-height: 100px;
    }
    
    .ad-infeed {
        min-height: 200px;
        max-height: 300px;
    }
}

/* Lazy loading para anúncios */
.ad-container[data-aos] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ad-container[data-aos].aos-animate {
    opacity: 1;
}