/* --- Responsive Design --- */

.hamburger-menu {
    display: none;
}

/* --- Header and Navigation --- */
@media (max-width: 992px) {
    header .container {
        justify-content: space-between;
    }

    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-dark);
        flex-direction: column;
        padding: 0;
    }

    header nav.active {
        display: flex;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
    }

    header nav ul li {
        margin: 0;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    header nav ul li a {
        padding: 1rem;
        display: block;
        width: 100%;
    }
    
    .hamburger-menu {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .language-switch {
        margin-left: auto;
        padding-right: 1rem;
    }
}

/* --- General Layout and Typography --- */
@media (max-width: 768px) {
    /* Ajustar padding do body para mobile */
    body {
        padding-top: 70px !important; /* Altura original da navbar mobile */
    }
    
    /* Ajustar altura do header para mobile */
    header {
        height: 70px !important; /* Altura original */
    }
    
    /* Ajustar hero section para mobile */
    .hero-section {
        margin-top: -70px; /* Compensar o padding do body mobile */
        padding-top: 70px; /* Adicionar padding para compensar */
        /* Garantir que o hero section seja sempre visível */
        min-height: calc(100vh - 70px);
        z-index: 1;
    }
    
    /* Garantir que o conteúdo do hero fique abaixo da navbar */
    .hero-content {
        margin-top: 20px !important;
        position: relative;
        z-index: 2;
    }
    
    /* Ajustar about page hero para mobile */
    .about-page-hero {
        margin-top: -70px; /* Compensar o padding do body mobile */
        padding-top: 70px; /* Adicionar padding para compensar */
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    #hero-main { min-height: 40vh; }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        margin-top: 1rem;
    }

    .hiking-section .hiking-trail {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
        padding-top: 65px; /* Altura original para telas pequenas */
    }
    
    header {
        height: 65px; /* Altura original */
    }
    
    /* Ajustar hero section para telas pequenas */
    .hero-section {
        margin-top: -65px; /* Compensar o padding do body */
        padding-top: 65px; /* Adicionar padding para compensar */
        /* Garantir que o hero section seja sempre visível */
        min-height: calc(100vh - 65px);
        z-index: 1;
    }
    
    /* Garantir que o conteúdo do hero fique abaixo da navbar em telas pequenas */
    .hero-content {
        margin-top: 20px !important;
        position: relative;
        z-index: 2;
    }
    
    /* Ajustar about page hero para telas pequenas */
    .about-page-hero {
        margin-top: -65px; /* Compensar o padding do body */
        padding-top: 65px; /* Adicionar padding para compensar */
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.2rem; }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        /* Garantir que os botões não sejam cortados */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }

    #hero-main h1 {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .swipe-container {
        padding: 1rem 0;
    }

    .swipe-card {
        min-width: 90%;
        box-shadow: none;
    }

    .membership-content {
        padding: 1.5rem;
    }
}

/* --- Mobile Card Optimizations --- */
@media (max-width: 768px) {
    /* Estilos específicos para a seção de destaques */
    .featured-section .featured-card {
        height: 320px !important;
        min-height: 320px !important;
        max-height: 320px !important;
    }
    
    .featured-section .featured-card .card-image {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
    }
    
    .featured-section .featured-card .card-content {
        min-height: 160px !important;
    }
    
    /* Card Container */
    .swipe-container {
        padding: 0.5rem 0;
        margin: 0 -0.5rem;
    }

    .swipe-track {
        gap: 0.8rem !important;
        padding: 0.5rem 1rem;
    }

    /* Individual Cards - Fixed Size for 3 visible */
    .swipe-card {
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
        height: 300px !important;
        margin: 0;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        overflow: visible; /* Mudança: permitir overflow para botões */
    }

    .swipe-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    }

    /* Card Images - Fixed Dimensions */
    .swipe-card .card-image {
        width: 100% !important;
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        border-radius: 10px 10px 0 0;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;
    }

    .swipe-card .card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 10px 10px 0 0;
        display: block;
    }

    /* Card Content - Flexible */
    .swipe-card .card-content {
        padding: 0.8rem;
        background: white;
        border-radius: 0 0 10px 10px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 150px;
        overflow: visible; /* Mudança: permitir overflow para botões */
    }

    .swipe-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
        color: var(--color-dark);
        flex-shrink: 0;
    }

    .swipe-card p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.6rem;
        color: #666;
        flex: 1;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    /* Card Buttons */
    .swipe-card .btn {
        width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
        text-align: center;
        display: block;
        flex-shrink: 0;
        /* Garantir que os botões sejam visíveis */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        position: relative;
        z-index: 1;
    }

    /* Featured Cards - Fixed Size for 3 visible */
    .featured-card {
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
        height: 320px !important;
        min-height: 320px !important;
        margin: 0;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        overflow: visible; /* Mudança: permitir overflow para botões */
        padding: 0 !important;
    }

    .featured-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    }

    /* Featured Card Images - Fixed Dimensions */
    .featured-card .card-image {
        width: 100% !important;
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
        border-radius: 10px 10px 0 0;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;
        margin-bottom: 0 !important;
        box-shadow: none !important;
    }

    .featured-card .card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 10px 10px 0 0;
        display: block;
    }

    /* Featured Card Content - Flexible */
    .featured-card .card-content {
        padding: 0.8rem;
        background: white;
        border-radius: 0 0 10px 10px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 160px;
        overflow: visible; /* Mudança: permitir overflow para botões */
    }

    .featured-card .card-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
        color: var(--color-dark);
        flex-shrink: 0;
    }

    .featured-card .card-content p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.6rem;
        color: #666;
        flex: 1;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    /* Featured Card Buttons */
    .featured-card .btn {
        width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
        text-align: center;
        display: block;
        flex-shrink: 0;
        /* Garantir que os botões sejam visíveis */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        position: relative;
        z-index: 1;
    }

    /* Swipe Arrows */
    .swipe-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid white;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .swipe-arrow:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }

    .swipe-arrow.left {
        left: 8px;
    }

    .swipe-arrow.right {
        right: 8px;
    }
}

@media (max-width: 576px) {
    /* Estilos específicos para a seção de destaques - telas pequenas */
    .featured-section .featured-card {
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
    }
    
    .featured-section .featured-card .card-image {
        height: 130px !important;
        min-height: 130px !important;
        max-height: 130px !important;
    }
    
    .featured-section .featured-card .card-content {
        min-height: 150px !important;
    }
    
    /* Extra Small Screens - 3 cards visible */
    .swipe-card {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        height: 260px !important;
    }

    .swipe-card .card-image {
        height: 120px;
    }

    .swipe-card .card-content {
        min-height: 140px;
    }

    .swipe-card h4 {
        font-size: 0.9rem;
    }

    .swipe-card p {
        font-size: 0.75rem;
    }

    .swipe-card .btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.75rem;
    }

    /* Featured Cards - Extra Small */
    .featured-card {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        height: 280px !important;
        min-height: 280px !important;
    }

    .featured-card .card-image {
        height: 130px;
        min-height: 130px;
        max-height: 130px;
    }

    .featured-card .card-content {
        min-height: 150px;
    }

    .featured-card .card-content h4 {
        font-size: 0.9rem;
    }

    .featured-card .card-content p {
        font-size: 0.75rem;
    }

    .featured-card .btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.75rem;
    }

    /* Smaller arrows for very small screens */
    .swipe-arrow {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Estilos específicos para a seção de destaques - telas muito pequenas */
    .featured-section .featured-card {
        height: 260px !important;
        min-height: 260px !important;
        max-height: 260px !important;
    }
    
    .featured-section .featured-card .card-image {
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
    }
    
    .featured-section .featured-card .card-content {
        min-height: 140px !important;
    }
    
    /* Very Small Screens - 3 cards visible */
    .swipe-card {
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        height: 240px !important;
    }

    .swipe-card .card-image {
        height: 110px;
    }

    .swipe-card .card-content {
        padding: 0.6rem;
        min-height: 130px;
    }

    .swipe-card h4 {
        font-size: 0.85rem;
    }

    .swipe-card p {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .swipe-card .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }

    /* Featured Cards - Very Small */
    .featured-card {
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        height: 260px !important;
        min-height: 260px !important;
    }

    .featured-card .card-image {
        height: 120px;
        min-height: 120px;
        max-height: 120px;
    }

    .featured-card .card-content {
        padding: 0.6rem;
        min-height: 140px;
    }

    .featured-card .card-content h4 {
        font-size: 0.85rem;
    }

    .featured-card .card-content p {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .featured-card .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Hide hamburger on desktop */
/* .hamburger-menu {
    display: none;
} */ 

/* --- Estilos específicos para cards de produtos da loja --- */
@media (max-width: 768px) {
    .product-card {
        overflow: visible !important;
        position: relative;
    }
    
    .product-card .btn {
        width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
        text-align: center;
        display: block;
        flex-shrink: 0;
        /* Garantir que os botões sejam visíveis */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        position: relative;
        z-index: 1;
        margin-top: 0.5rem;
    }
    
    .store-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    .product-card .btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .product-card .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
} 

/* --- Estilos específicos para cards de hiking --- */
@media (max-width: 768px) {
    .hiking-card {
        overflow: visible !important;
        position: relative;
    }
    
    .hiking-card .btn {
        width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
        text-align: center;
        display: block;
        flex-shrink: 0;
        /* Garantir que os botões sejam visíveis */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        position: relative;
        z-index: 1;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hiking-card .btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hiking-card .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
} 

/* --- Estilos específicos para cards de pesquisa/investigação --- */
@media (max-width: 768px) {
    .research-cards-section {
        padding: 2rem 1rem !important;
        background-color: black !important;
    }
    
    .research-cards-section .swipe-container {
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }
    
    .research-cards-section .swipe-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0.3rem !important;
        padding: 0.3rem !important;
        justify-content: center !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .research-cards-section .swipe-card {
        background: white !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 6px rgba(0,0,0,0.1) !important;
        padding: 0 !important;
        min-width: 180px !important;
        width: 180px !important;
        height: auto !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        overflow: hidden !important;
        text-align: center !important;
        flex: 1 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .research-cards-section .swipe-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
    }
    
    .research-cards-section .swipe-card .card-image {
        width: 100% !important;
        height: 120px !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .research-cards-section .swipe-card .card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }
    
    .research-cards-section .swipe-card:hover .card-image img {
        transform: scale(1.05) !important;
    }
    
    .research-cards-section .swipe-card .card-content {
        padding: 12px !important;
        text-align: center !important;
    }
    
    .research-cards-section .swipe-card h4 {
        color: var(--color-primary) !important;
        margin-bottom: 6px !important;
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    
    .research-cards-section .swipe-card p {
        color: var(--color-text) !important;
        margin-bottom: 8px !important;
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    .research-cards-section .swipe-card .btn-secondary {
        width: 100% !important;
        text-align: center !important;
        margin-top: 6px !important;
        display: inline-block !important;
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 576px) {
    .research-cards-section {
        padding: 0.6rem 0.2rem !important;
    }
    
    .research-cards-section .swipe-track {
        gap: 0.2rem !important;
        padding: 0.2rem !important;
    }
    
    .research-cards-section .swipe-card {
        min-width: 160px !important;
        width: 160px !important;
    }
    
    .research-cards-section .swipe-card .card-image {
        height: 100px !important;
    }
    
    .research-cards-section .swipe-card .card-content {
        padding: 10px !important;
    }
    
    .research-cards-section .swipe-card h4 {
        font-size: 0.8rem !important;
    }
    
    .research-cards-section .swipe-card p {
        font-size: 0.7rem !important;
    }
    
    .research-cards-section .swipe-card .btn-secondary {
        padding: 5px 8px !important;
        font-size: 0.7rem !important;
    }
}

@media (max-width: 480px) {
    .research-cards-section {
        padding: 0.4rem 0.1rem !important;
    }
    
    .research-cards-section .swipe-track {
        gap: 0.1rem !important;
        padding: 0.1rem !important;
    }
    
    .research-cards-section .swipe-card {
        min-width: 140px !important;
        width: 140px !important;
    }
    
    .research-cards-section .swipe-card .card-image {
        height: 80px !important;
    }
    
    .research-cards-section .swipe-card .card-content {
        padding: 8px !important;
    }
    
    .research-cards-section .swipe-card h4 {
        font-size: 0.75rem !important;
    }
    
    .research-cards-section .swipe-card p {
        font-size: 0.65rem !important;
    }
    
    .research-cards-section .swipe-card .btn-secondary {
        padding: 4px 6px !important;
        font-size: 0.65rem !important;
    }
} 

/* --- Estilos específicos para cards de bioespeleologia --- */
@media (max-width: 768px) {
    .bioespeleologia-section .swipe-card,
    .bioespeleologia-section .featured-card {
        overflow: visible !important;
        position: relative;
    }
    
    .bioespeleologia-section .swipe-card .btn,
    .bioespeleologia-section .featured-card .btn {
        width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
        text-align: center;
        display: block;
        flex-shrink: 0;
        /* Garantir que os botões sejam visíveis */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        position: relative;
        z-index: 1;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .bioespeleologia-section .swipe-card .btn,
    .bioespeleologia-section .featured-card .btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .bioespeleologia-section .swipe-card .btn,
    .bioespeleologia-section .featured-card .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
} 

/* --- Estilo geral para todos os botões em cards na versão mobile --- */
@media (max-width: 768px) {
    /* Garantir que todos os cards tenham overflow visible para os botões */
    .swipe-card,
    .featured-card,
    .product-card,
    .hiking-card,
    [class*="card"] {
        overflow: visible !important;
        position: relative;
    }
    
    /* Garantir que todos os botões em cards sejam visíveis */
    .swipe-card .btn,
    .featured-card .btn,
    .product-card .btn,
    .hiking-card .btn,
    [class*="card"] .btn {
        width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
        text-align: center;
        display: block;
        flex-shrink: 0;
        /* Garantir que os botões sejam visíveis */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        position: relative;
        z-index: 1;
        margin-top: 0.5rem;
        /* Garantir que o texto não seja cortado */
        line-height: 1.2;
        min-height: auto;
    }
    
    /* Garantir que o conteúdo dos cards também permita overflow */
    .swipe-card .card-content,
    .featured-card .card-content,
    .product-card .card-content,
    .hiking-card .card-content,
    [class*="card"] .card-content {
        overflow: visible !important;
        position: relative;
    }
}

@media (max-width: 576px) {
    .swipe-card .btn,
    .featured-card .btn,
    .product-card .btn,
    .hiking-card .btn,
    [class*="card"] .btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .swipe-card .btn,
    .featured-card .btn,
    .product-card .btn,
    .hiking-card .btn,
    [class*="card"] .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
} 

/* --- Estilos específicos para botões de cookies na versão mobile --- */
@media (max-width: 768px) {
    .cookie-banner .btn,
    .cookie-modal .btn {
        width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 6px;
        text-align: center;
        display: block;
        flex-shrink: 0;
        /* Garantir que os botões sejam visíveis */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        position: relative;
        z-index: 1;
        margin-top: 0.5rem;
        /* Garantir que o texto não seja cortado */
        line-height: 1.2;
        min-height: auto;
    }
    
    .cookie-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .cookie-modal-footer {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cookie-banner .btn,
    .cookie-modal .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner .btn,
    .cookie-modal .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* --- Estilos específicos para botões de testimonials na versão mobile --- */
@media (max-width: 768px) {
    .testimonials-actions .btn {
        width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 6px;
        text-align: center;
        display: block;
        flex-shrink: 0;
        /* Garantir que os botões sejam visíveis */
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        position: relative;
        z-index: 1;
        margin-top: 0.5rem;
        /* Garantir que o texto não seja cortado */
        line-height: 1.2;
        min-height: auto;
    }
    
    .testimonials-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .testimonials-actions .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonials-actions .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
} 

@media (max-width: 480px) {
    .featured-section .featured-card .btn {
        padding: 0.45rem 0.7rem !important;
        font-size: 0.75rem !important;
        min-height: 36px !important;
        margin-top: 0.5rem !important;
    }
    
    .featured-section .featured-card h4 {
        font-size: 0.9rem !important;
    }
    
    .featured-section .featured-card p {
        font-size: 0.75rem !important;
    }
}

/* --- Estilos específicos para a seção "Torna-te Sócio" --- */
@media (max-width: 768px) {
    .membership-section {
        padding: 2rem 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .membership-header {
        text-align: center;
        margin-bottom: 2rem !important;
    }
    
    .membership-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
        color: var(--color-primary) !important;
        /* Garantir que o título não seja cortado */
        line-height: 1.3 !important;
        padding-top: 0.5rem !important;
    }
    
    .membership-header p {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .membership-benefits {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    .benefit-card {
        text-align: center !important;
        padding: 1.5rem 1rem !important;
        background: white !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        /* Garantir que os cards não sejam cortados */
        overflow: visible !important;
        position: relative !important;
    }
    
    .benefit-icon {
        font-size: 2rem !important;
        color: var(--color-primary) !important;
        margin-bottom: 1rem !important;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem !important;
        color: var(--color-primary) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
    
    .membership-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        /* Garantir que os botões não sejam cortados */
        padding-bottom: 1rem !important;
    }
    
    .membership-actions .btn {
        width: 100% !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        /* Garantir que os botões sejam visíveis */
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        position: relative !important;
        z-index: 10 !important;
        /* Garantir que o texto não seja cortado */
        line-height: 1.3 !important;
        min-height: 48px !important;
        /* Garantir contraste e visibilidade */
        font-weight: 600 !important;
        text-decoration: none !important;
        /* Efeitos visuais */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    .membership-actions .btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    .membership-actions .btn i {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .membership-section {
        padding: 1.5rem 0.8rem !important;
    }
    
    .membership-header h2 {
        font-size: 1.6rem !important;
    }
    
    .membership-header p {
        font-size: 0.9rem !important;
    }
    
    .membership-benefits {
        gap: 1rem !important;
    }
    
    .benefit-card {
        padding: 1.2rem 0.8rem !important;
    }
    
    .benefit-icon {
        font-size: 1.8rem !important;
    }
    
    .benefit-card h3 {
        font-size: 1rem !important;
    }
    
    .membership-actions .btn {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
    }
}

@media (max-width: 480px) {
    .membership-section {
        padding: 1rem 0.5rem !important;
    }
    
    .membership-header h2 {
        font-size: 1.4rem !important;
    }
    
    .membership-header p {
        font-size: 0.85rem !important;
    }
    
    .benefit-card {
        padding: 1rem 0.6rem !important;
    }
    
    .benefit-icon {
        font-size: 1.6rem !important;
    }
    
    .benefit-card h3 {
        font-size: 0.95rem !important;
    }
    
    .membership-actions .btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
        min-height: 40px !important;
    }
} 

/* --- Estilos gerais para evitar cortes de conteúdo na versão mobile --- */
@media (max-width: 768px) {
    /* Garantir que o body tenha padding adequado */
    body {
        padding-bottom: 2rem !important;
    }
    
    /* Garantir que as seções tenham espaçamento adequado */
    .landing-block {
        padding: 2rem 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Garantir que o main tenha espaçamento adequado */
    main {
        padding-bottom: 2rem !important;
    }
    
    /* Garantir que o footer não sobreponha conteúdo */
    footer {
        margin-top: 2rem !important;
        position: relative !important;
    }
    
    /* Garantir que os containers tenham padding adequado */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Garantir que as seções tenham altura mínima */
    section {
        min-height: auto !important;
        overflow: visible !important;
    }
    
    /* Garantir que os elementos não sejam cortados */
    .featured-section,
    .membership-section,
    .arrabida-section,
    .testimonials-section {
        overflow: visible !important;
        position: relative !important;
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .landing-block {
        padding: 1.5rem 0.8rem !important;
    }
    
    .container {
        padding-left: 0.8rem !important;
        padding-right: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .landing-block {
        padding: 1rem 0.5rem !important;
    }
    
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
} 

/* --- Estilos específicos para o campo de upload de ficheiros --- */
@media (max-width: 768px) {
    /* Campo de upload */
    input[type="file"] {
        font-size: 0.9rem !important;
        padding: 10px !important;
        border: 2px dashed #ddd !important;
        border-radius: 8px !important;
        background-color: #f9f9f9 !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
    }
    
    input[type="file"]:hover {
        border-color: var(--color-primary) !important;
        background-color: #f0f8ff !important;
    }
    
    input[type="file"]:focus {
        outline: none !important;
        border-color: var(--color-primary) !important;
        box-shadow: 0 0 0 2px rgba(10, 61, 98, 0.2) !important;
    }
    
    /* Informações do ficheiro */
    #file-info {
        margin-top: 10px !important;
        padding: 10px !important;
        border-radius: 6px !important;
        font-size: 0.85rem !important;
        border-left: 4px solid #28a745 !important;
    }
    
    /* Texto de ajuda */
    .file-help-text {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-top: 8px !important;
    }
    
    .file-help-text strong {
        color: var(--color-primary) !important;
    }
    
    /* Label do campo de upload */
    label[for="attachment"] {
        font-size: 0.95rem !important;
        margin-bottom: 10px !important;
    }
    
    label[for="attachment"] i {
        margin-right: 8px !important;
        color: var(--color-primary) !important;
    }
}

@media (max-width: 576px) {
    input[type="file"] {
        font-size: 0.85rem !important;
        padding: 8px !important;
    }
    
    #file-info {
        font-size: 0.8rem !important;
        padding: 8px !important;
    }
    
    .file-help-text {
        font-size: 0.75rem !important;
    }
    
    label[for="attachment"] {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    input[type="file"] {
        font-size: 0.8rem !important;
        padding: 6px !important;
    }
    
    #file-info {
        font-size: 0.75rem !important;
        padding: 6px !important;
    }
    
    .file-help-text {
        font-size: 0.7rem !important;
    }
    
    label[for="attachment"] {
        font-size: 0.85rem !important;
    }
} 

/* --- Estilos específicos para Safari - Correção de imagens e cards --- */
/* Safari-specific fixes for image loading and card rendering */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
    /* Correções para cards featured */
    .featured-card {
        /* Forçar hardware acceleration no Safari */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        /* Garantir que o card seja renderizado corretamente */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        /* Corrigir problemas de flexbox no Safari */
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        /* Garantir altura mínima consistente */
        min-height: 400px;
        /* Corrigir problemas de overflow */
        overflow: visible;
        /* Dimensões fixas para Safari */
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        height: 400px !important;
        min-height: 400px !important;
        max-height: 400px !important;
    }
    
    .featured-card .card-image {
        /* Garantir que o container da imagem funcione no Safari */
        -webkit-flex-shrink: 0;
        flex-shrink: 0;
        /* Corrigir problemas de altura */
        height: 200px;
        min-height: 200px;
        max-height: 200px;
        /* Forçar reflow */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .featured-card .card-image img {
        /* Forçar carregamento imediato no Safari */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        /* Garantir que a imagem seja exibida */
        opacity: 1 !important;
        visibility: visible !important;
        /* Forçar reflow */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        /* Garantir que o Safari carregue a imagem */
        -webkit-perspective: 1000;
        perspective: 1000;
        /* Corrigir problemas de object-fit no Safari */
        -webkit-object-fit: cover;
        object-fit: cover;
        /* Garantir dimensões corretas */
        width: 100% !important;
        height: 100% !important;
        min-height: 200px;
        max-height: 200px;
    }
    
    .featured-card .card-content {
        /* Corrigir flexbox no Safari */
        -webkit-flex: 1;
        flex: 1;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        /* Garantir que o conteúdo seja visível */
        overflow: visible;
        /* Corrigir problemas de altura - espaço para botão */
        min-height: 150px;
        padding-bottom: 70px;
        /* Garantir que o botão fique sempre no final */
        position: relative;
    }
    
    /* Correções específicas para botões no Safari Mobile */
    .featured-card .btn {
        /* Dimensões otimizadas para mobile */
        width: calc(100% - 20px) !important;
        min-width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        /* Padding elegante para mobile */
        padding: 10px 20px !important;
        /* Corrigir flexbox no Safari */
        display: -webkit-inline-flex !important;
        display: inline-flex !important;
        -webkit-align-items: center !important;
        align-items: center !important;
        -webkit-justify-content: center !important;
        justify-content: center !important;
        /* Forçar renderização */
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        /* Garantir que o botão seja visível */
        opacity: 1 !important;
        visibility: visible !important;
        /* Corrigir problemas de texto */
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        /* Estilos de fonte elegantes para mobile */
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        letter-spacing: 0.3px !important;
        /* Bordas e background elegantes */
        border-radius: 20px !important;
        border: none !important;
        background: linear-gradient(135deg, #0A3D62 0%, #2A5F8F 50%, #3DC1D3 100%) !important;
        color: #ffffff !important;
        /* Sombra elegante */
        box-shadow: 0 3px 12px rgba(10, 61, 98, 0.3) !important;
        /* Transições suaves */
        -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        /* Posicionamento elegante - sempre no final */
        position: absolute !important;
        bottom: 18px !important;
        left: 10px !important;
        right: 10px !important;
        z-index: 10 !important;
        margin: 0 !important;
        /* Efeito de brilho sutil */
        background-size: 200% 200% !important;
        -webkit-animation: gradientShift 3s ease infinite !important;
        animation: gradientShift 3s ease infinite !important;
    }
    
    .featured-card .btn:hover {
        -webkit-transform: translate3d(0, -2px, 0) scale(1.01) !important;
        transform: translate3d(0, -2px, 0) scale(1.01) !important;
        box-shadow: 0 6px 18px rgba(10, 61, 98, 0.4) !important;
        background: linear-gradient(135deg, #0A3D62 0%, #2A5F8F 30%, #3DC1D3 70%, #5DD3E8 100%) !important;
        -webkit-animation: none !important;
        animation: none !important;
    }
    
    .featured-card .btn:active {
        -webkit-transform: translate3d(0, 0, 0) scale(0.99) !important;
        transform: translate3d(0, 0, 0) scale(0.99) !important;
        box-shadow: 0 2px 8px rgba(10, 61, 98, 0.3) !important;
    }
    
    .featured-card .btn i {
        /* Ícones elegantes para mobile */
        font-size: 15px !important;
        margin-right: 8px !important;
        display: inline-block !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transition: all 0.3s ease !important;
        transition: all 0.3s ease !important;
        opacity: 0.9 !important;
    }
    
    .featured-card .btn:hover i {
        -webkit-transform: translate3d(1px, 0, 0) !important;
        transform: translate3d(1px, 0, 0) !important;
        opacity: 1 !important;
    }
    
    /* Garantir que botões com classe hidden sejam ocultos no Safari Mobile */
    .featured-card .btn.hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        -webkit-transform: scale(0) !important;
        transform: scale(0) !important;
    }
    
    /* Correções para swipe container */
    .featured-content .swipe-container {
        /* Corrigir overflow no Safari */
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        /* Garantir que o container funcione */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .featured-content .swipe-track {
        /* Corrigir flexbox no Safari */
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: stretch;
        align-items: stretch;
        /* Garantir que os cards tenham altura consistente */
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }
    
    /* Fallback para imagens que não carregam */
    .featured-card .card-image img:not([src]), 
    .featured-card .card-image img[src=""],
    .featured-card .card-image img[src*="data:image/svg+xml"] {
        background-color: #f0f0f0 !important;
        background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%), 
                          linear-gradient(-45deg, #e0e0e0 25%, transparent 25%), 
                          linear-gradient(45deg, transparent 75%, #e0e0e0 75%), 
                          linear-gradient(-45deg, transparent 75%, #e0e0e0 75%) !important;
        background-size: 20px 20px !important;
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px !important;
    }
}

/* --- Estilos gerais para melhorar carregamento de imagens --- */
.featured-card .card-image {
    /* Garantir que o container tenha dimensões definidas */
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #f5f5f5 !important;
}

.featured-card .card-image img {
    /* Estilos base para todas as imagens */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    /* Garantir que a imagem seja carregada */
    max-width: none !important;
    max-height: none !important;
    /* Melhorar performance */
    will-change: transform !important;
    /* Garantir que não haja problemas de layout */
    /* vertical-align: top !important; - Removido pois não é compatível com display: block */
}

/* --- Fallback para imagens que falham no carregamento --- */
.featured-card .card-image img[src*="error"],
.featured-card .card-image img:not([src]),
.featured-card .card-image img[src=""] {
    background-color: #e8f4fd !important;
    background-image: 
        radial-gradient(circle at 50% 50%, #3DC1D3 0%, transparent 50%),
        linear-gradient(45deg, #f0f8ff 25%, transparent 25%), 
        linear-gradient(-45deg, #f0f8ff 25%, transparent 25%) !important;
    background-size: 60px 60px, 20px 20px, 20px 20px !important;
    background-position: center, 0 0, 0 10px !important;
    position: relative !important;
}

.featured-card .card-image img[src*="error"]::after,
.featured-card .card-image img:not([src])::after,
.featured-card .card-image img[src=""]::after {
    content: "📷" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 2rem !important;
    color: #666 !important;
    z-index: 1 !important;
}

/* --- Estilos específicos para a seção de roupa NECA --- */
@media (max-width: 768px) {
    /* Container de swipe para roupa */
    .clothing-swipe-container {
        position: relative !important;
        margin: 1.5rem 0 !important;
        padding: 0 0.5rem !important;
        overflow: hidden !important;
    }
    
    /* Track de swipe para roupa */
    .clothing-swipe-track {
        display: flex !important;
        gap: 0.8rem !important;
        overflow-x: auto !important;
        scroll-behavior: smooth !important;
        padding: 0.5rem 0 !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        /* Garantir que o scroll funcione bem no mobile */
        -webkit-overflow-scrolling: touch !important;
    }
    
    .clothing-swipe-track::-webkit-scrollbar {
        display: none !important;
    }
    
    /* Cards de roupa - Mobile - Altura igual ao desktop, largura compacta */
    .clothing-card {
        background: white !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        min-width: 180px !important;
        max-width: 180px !important;
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
        position: relative !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        flex-shrink: 0 !important;
    }
    
    .clothing-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18) !important;
    }
    
    /* Imagem do card de roupa - Altura proporcional ao desktop */
    .clothing-card .card-image {
        width: 100% !important;
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        overflow: hidden !important;
        border-radius: 10px 10px 0 0 !important;
        position: relative !important;
        flex-shrink: 0 !important;
        background-color: #f8f9fa !important;
    }
    
    .clothing-card .card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    /* Conteúdo do card de roupa - Altura igual ao desktop */
    .clothing-card .card-content {
        padding: 0.5rem !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        overflow: visible !important;
        background: white !important;
        border-radius: 0 0 10px 10px !important;
        height: 140px !important;
        min-height: 140px !important;
        max-height: 140px !important;
    }
    
    .clothing-card h4 {
        font-size: 0.9rem !important;
        color: var(--color-primary) !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.2 !important;
        flex-shrink: 0 !important;
    }
    
    .clothing-card p {
        font-size: 0.75rem !important;
        color: #666 !important;
        line-height: 1.3 !important;
        margin-bottom: 0.4rem !important;
        flex: 1 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .clothing-card .price {
        font-size: 0.9rem !important;
        font-weight: bold !important;
        color: var(--color-primary) !important;
        margin-bottom: 0.4rem !important;
        flex-shrink: 0 !important;
    }
    
    /* Botão do card de roupa - Proporcional à altura do desktop */
    .clothing-card .btn {
        width: 100% !important;
        padding: 0.4rem 0.5rem !important;
        font-size: 0.7rem !important;
        border-radius: 4px !important;
        text-align: center !important;
        display: block !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        position: relative !important;
        z-index: 1 !important;
        margin-top: auto !important;
        height: 28px !important;
        max-height: 28px !important;
    }
    
    /* Setas de navegação para roupa */
    .clothing-swipe-container .swipe-arrow {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        background: rgba(0, 0, 0, 0.7) !important;
        border: 2px solid white !important;
        color: white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        z-index: 10 !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .clothing-swipe-container .swipe-arrow:hover {
        background: rgba(0, 0, 0, 0.9) !important;
        transform: translateY(-50%) scale(1.1) !important;
    }
    
    .clothing-swipe-container .swipe-arrow.left {
        left: 8px !important;
    }
    
    .clothing-swipe-container .swipe-arrow.right {
        right: 8px !important;
    }
}

@media (max-width: 576px) {
    .clothing-card {
        min-width: 160px !important;
        max-width: 160px !important;
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }
    
    .clothing-card .card-image {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
    }
    
    .clothing-card .card-content {
        padding: 0.4rem !important;
        height: 140px !important;
        min-height: 140px !important;
        max-height: 140px !important;
    }
    
    .clothing-card h4 {
        font-size: 0.8rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .clothing-card p {
        font-size: 0.7rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .clothing-card .price {
        font-size: 0.8rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .clothing-card .btn {
        padding: 0.3rem 0.4rem !important;
        font-size: 0.65rem !important;
        height: 26px !important;
        max-height: 26px !important;
    }
    
    .clothing-swipe-container .swipe-arrow {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .clothing-card {
        min-width: 140px !important;
        max-width: 140px !important;
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }
    
    .clothing-card .card-image {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
    }
    
    .clothing-card .card-content {
        padding: 0.3rem !important;
        height: 140px !important;
        min-height: 140px !important;
        max-height: 140px !important;
    }
    
    .clothing-card h4 {
        font-size: 0.75rem !important;
        margin-bottom: 0.15rem !important;
    }
    
    .clothing-card p {
        font-size: 0.65rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .clothing-card .price {
        font-size: 0.75rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .clothing-card .btn {
        padding: 0.25rem 0.35rem !important;
        font-size: 0.6rem !important;
        height: 24px !important;
        max-height: 24px !important;
    }
    
    .clothing-swipe-container .swipe-arrow {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.7rem !important;
    }
    
    /* Color arrows for mobile */
    .clothing-card .color-arrows {
        position: absolute !important;
        top: 50% !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        justify-content: space-between !important;
        padding: 0 0.3rem !important;
        opacity: 1 !important;
        transition: opacity 0.3s ease !important;
        pointer-events: all !important;
        z-index: 10 !important;
    }
    
    .clothing-card:hover .color-arrows {
        opacity: 1 !important;
        pointer-events: all !important;
    }
    
    .clothing-card .color-arrow {
        width: 24px !important;
        height: 24px !important;
        background: rgba(0, 0, 0, 0.7) !important;
        border: 1px solid white !important;
        color: white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        font-size: 0.6rem !important;
        z-index: 11 !important;
    }
    
    .clothing-card .color-arrow:hover {
        background: rgba(0, 0, 0, 0.9) !important;
        transform: scale(1.1) !important;
    }
    
    .clothing-card .color-indicator {
        font-size: 0.6rem !important;
        color: #666 !important;
        margin-bottom: 0.2rem !important;
    }
    
    .clothing-card .member-discount {
        font-size: 0.55rem !important;
        color: var(--color-primary) !important;
        font-weight: 600 !important;
        margin-bottom: 0.2rem !important;
        text-align: center !important;
    }
}

/* Animação do gradiente para botões no mobile */
@-webkit-keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
} 