/* CONFIGURAÇÕES GERAIS E CORES */
:root {
    --hey-delivery-box: #F1DBAE;
    --hey-creme: #F4EDDC;
    --hey-heykitchen: #F35200;
    --hey-golden-fries: #F4AB12;
    --hey-avocado: #002922;
    --hey-salmon: #F69F7D;
    --hey-white: #FFFFFF;
}
body{
    background-color: var(--hey-creme)!important;
}


/* Cabeçalho do Título da Cozinha */
.cozinha-page-header {
width: 100%;
  padding: 60px 0 20px 5%;
}

.cozinha-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--hey-heykitchen);
    margin: 0;
    text-transform: uppercase;
     font-family: 'obviously-condensed', sans-serif;
}

/* Container Geral */
.cozinha-template-wrapper {
    width: min(1800px, 100%);
    margin: 40px auto;
    padding: 0 20px;
}

.cozinha-container {
   display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 coluna */
    gap: 30px;
}

.cozinha-main-content{
    background: var(--hey-white);
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}




/* Responsividade: Transição para 2 colunas em ecrãs maiores */
@media (min-width: 992px) {
    .cozinha-template-wrapper {
    width: min(1800px, 92%);
}
    .cozinha-container {
        grid-template-columns: 68% 30%; 
        gap: 2%;
    }
}

/* Coluna Direita (Sidebar) */
.cozinha-sidebar-content {
    position: relative;
}

@media (min-width: 992px) {
    .cozinha-sidebar-sticky {
        position: -webkit-sticky;
        /*position: sticky;*/
        top: 40px; /* Distância do topo do ecrã ao fazer scroll */
    }
    
}

/* Estilização Cards da Sidebar */
.sidebar-card {
    background-color: var(--hey-delivery-box);
    margin-bottom: 20px;
    border-radius: 30px;
    padding: 35px;

}
.card-whatsapp{
    color: var(--hey-avocado);
    text-align: center;
}

.sidebar-card h3{
     font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
 font-family: 'obviously-condensed', sans-serif;
}
.sidebar-card p{ font-family: 'neue-haas-grotesk-text', sans-serif; }

.sidebar-card.card-faq { background-color:var(--hey-golden-fries); color: var(--hey-white); }

/* Acordéon Nativo com HTML5 <details> */
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 15px 0;
    cursor: pointer;
}
.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding-top: 10px; font-size: 0.9em; }

/* Estado Padrão (Fechado)*/
.faq-item .icon::before {
    content: "+";
    font-weight: bold;
    font-size: 1.2rem;
}

/* Estado Aberto */
.faq-item[open] .icon::before {
    content: "−"; 
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    cursor: pointer;
    list-style: none; 
}

.faq-item summary::-webkit-details-marker {
    display: none; 
}

.faq-item .icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-whatsapp {
    display: flex;
    /*display:block;*/
    background-color: #25d366;
    /* color: #111b21; */
    color: var(--hey-avocado);
    padding: 15px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    font-family: 'neue-haas-grotesk-text', sans-serif;
    flex-direction: row;
    justify-content: center;
    gap: 4px;
    align-items: center;
}
.btn-whatsapp:hover { color: #25d366; background-color: var(--hey-creme);  }
.btn-whatsapp:hover>.icon-whatsapp{fill: #25d366;}
.icon-whatsapp {
    width: 1.9em;
    height: auto;
    fill: var(--hey-avocado);
}


/* ==========================================================================
   DESIGN COMPLETO: OUTRAS COZINHAS (ESTILO HORIZONTAL)
   ========================================================================== */

.outras-cozinhas-section {
    background-color: var(--hey-creme);
    width: 100%;
    padding: 20px 20px 60px 20px;
}

.outras-cozinhas-title {
    font-family: inherit;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--hey-avocado);
    margin-bottom: 30px;
    padding-left: 20px;
    max-width: 1200px;
   /* margin-left: auto;
    margin-right: auto;*/
    margin-left: 0;
    margin-right: 0;
}

/* Contentor da Grelha Horizontal */
.cozinhas-grid-horizontal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
   /* margin: 0 auto;*/
   margin: 0;
    padding: 0 20px;
}

/* Transição para 2 colunas em desktops */
@media (min-width: 992px) {
    .cozinhas-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
     /* .cozinhas-grid-horizontal {
    grid-template-columns: 60% 60%;
  }*/
  .outras-cozinhas-section {
    padding: 60px;
}
  
}

/* O Cartão Horizontal */
.cozinha-card-horizontal {
    background: var(--hey-white);
    border-radius: 30px; 
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Mobile por padrão */
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

@media (min-width: 576px) {
    .cozinha-card-horizontal {
        flex-direction: row; /* Transforma em horizontal */
        /*height: 300px; */
    }
}

/* Coluna Esquerda do Cartão (Imagem) */
.card-left-img {
    width: 100%;
    position: relative;
}

@media (min-width: 576px) {
    .card-left-img {
        width: 45%; /* Proporção da imagem */
        flex-shrink: 0;
    }
    
}

.card-left-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (min-width: 576px) {
    .card-left-img img {
        height: 100%;
    }

}

/* Coluna Direita do Cartão (Informações) */
.card-right-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.card-right-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hey-avocado);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

/* Linha de Badges */
.card-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.badge-item {
    background-color: var(--hey-golden-fries);
    color: var(--hey-avocado);
    padding: 5px 5px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    /* gap: 6px; */
}

.badge-icon {
    display: inline-flex;
    gap: -1px;
    align-items: center;
}
/* Estilização dos Icons SVG dentro das Badges */
.badge-icon svg {
    width: 14px;
    height: auto;
    display: block;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
}

/* Texto de Descrição */
.card-description {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.4;
    margin: 0 0 20px 0;
}

/* Botão Laranja "Ver Mais" */
.btn-ver-mais {
    display: block;
    text-align: center;
    background-color: var(--hey-heykitchen);
    color: var(--hey-white);
    text-decoration: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 25px;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
}

.btn-ver-mais:hover {
    color: var(--hey-avocado);
}
/* Seleciona APENAS os botões "Ver Mais" que tenham exatamente href="#" */
.cozinha-card-horizontal .btn-ver-mais[href="https://heykitchen.pt/cozinha-multimedia"] {
    pointer-events: none; /* Bloqueia o clique */
    cursor: default;      /* Remove o cursor de link  */
    opacity: 0.9;
}
/* ==========================================================================
   SIDEBAR: INVERSÃO DE ORDEM EM MOBILE
   ========================================================================== */

/* 1. CONFIGURAÇÃO PADRÃO (Mobile) */
.cozinha-sidebar-sticky {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Mantém o espaçamento entre os cartões */
}

/* Define explicitamente a ordem dos cartões em Mobile */
.cozinha-sidebar-sticky .card-faq {
    order: 1; /* O FAQ passa para primeiro */
}

.cozinha-sidebar-sticky .card-whatsapp {
    order: 2; /* O WhatsApp passa para segundo */
}

/* 2. CONFIGURAÇÃO PARA DESKTOP (Ecrãs a partir de 992px) */
@media (min-width: 992px) {
    /* Reseta as ordens para o fluxo natural do HTML original em Desktop */
    .cozinha-sidebar-sticky .card-whatsapp {
        order: 1; /* WhatsApp volta ao topo */
    }
    
    .cozinha-sidebar-sticky .card-faq {
        order: 2; /* FAQ volta para baixo */
    }
}