/* ========================================
   CUSTOM HOMEPAGE STYLES - bestoGo
   ======================================== */

/* Garantir cores consistentes do footer */
.rts-footer-area-one.yacht {
    background: linear-gradient(257deg, #DEFFE6 1.73%, rgba(201, 192, 255, 0.08) 98.79%) !important;
    background-image: linear-gradient(257deg, #DEFFE6 1.73%, rgba(201, 192, 255, 0.08) 98.79%) !important;
}

/* Garantir que as setas SVG e ícones do footer sejam laranja */
.rts-footer-area-one.yacht .single-footer-widget-one ul li svg path {
    fill: #BA6827 !important;
}

.rts-footer-area-one.yacht .single-footer-widget-one.logo-area .call-us .icon {
    background: #BA6827 !important;
}

.rts-footer-area-one.yacht .single-footer-widget-one.logo-area .call-us .icon img {
    filter: brightness(0) invert(1);
}

/* Garantir que todos os cartões de destinos tenham o mesmo tamanho */
.destination-card .package-wrapper,
.rts-popular-package-area.body-bg-three .package-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.destination-card .package-wrapper .image-area,
.rts-popular-package-area.body-bg-three .package-wrapper .image-area {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.destination-card .package-wrapper .image-area img,
.rts-popular-package-area.body-bg-three .package-wrapper .image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Reduzir altura do banner e centralizar conteúdo */
/* Faixa fina ≈ 20% da altura anterior (era 550px) */
.rts-banner-area-three .rts-hero-banner,
.rts-banner-area-three .swiper-slide .rts-hero-banner,
.rts-banner-area-three .rts-hero-banner.bg {
    height: 120px !important;
    min-height: 120px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

.rts-banner-area-three .rts-hero-banner .custom-container,
.rts-banner-area-three .rts-hero-banner .section-inner {
    width: 100% !important;
}

.rts-banner-area-three .rts-hero-banner .custom-container {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.rts-banner-area-three .rts-hero-banner .section-inner {
    width: 100% !important;
}

.rts-banner-area-three .rts-hero-banner .section-inner .row {
    width: 100% !important;
    margin: 0 !important;
}

.rts-banner-area-three .rts-hero-banner .section-inner .row > div {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
}

.rts-banner-area-three .rts-hero-banner .section-title {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 991px) {
    .rts-banner-area-three .rts-hero-banner,
    .rts-banner-area-three .swiper-slide .rts-hero-banner,
    .rts-banner-area-three .rts-hero-banner.bg {
        height: 100px !important;
        min-height: 100px !important;
    }
}

@media (max-width: 768px) {
    .rts-banner-area-three .rts-hero-banner,
    .rts-banner-area-three .swiper-slide .rts-hero-banner,
    .rts-banner-area-three .rts-hero-banner.bg {
        height: 90px !important;
        min-height: 90px !important;
    }
}

/* Newsletter Section */
.rts-newsletter-area {
    padding: 80px 0;
}

.newsletter-inner {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.newsletter-inner .image {
    flex: 0 0 520px;
    max-width: 520px;
}

.newsletter-inner .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-inner .content-area {
    flex: 1;
    padding: 60px;
    position: relative;
}

.newsletter-inner .content-inner {
    position: relative;
    z-index: 2;
}

.newsletter-inner .title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #003A59;
}

.newsletter-inner .desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #003A59;
}

.newsletter-form button {
    padding: 15px 30px;
    white-space: nowrap;
}

.newsletter-inner .map {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.newsletter-inner .map img {
    width: 300px;
    height: auto;
}

@media (max-width: 991px) {
    .newsletter-inner {
        flex-direction: column;
        min-height: auto;
    }
    
    .newsletter-inner .image {
        flex: 0 0 auto;
        max-width: 100%;
        height: 300px;
    }
    
    .newsletter-inner .content-area {
        padding: 40px 30px;
    }
    
    .newsletter-inner .title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .newsletter-inner .content-area {
        padding: 30px 20px;
    }
    
    .newsletter-inner .title {
        font-size: 22px;
    }
}

/* Instagram Gallery Section */
.rts-gallery-area {
    padding: 80px 0;
}

.gallery-title-area {
    margin-bottom: 40px;
}

.gallery-title-area .sub-title {
    font-size: 18px;
    color: #BA6827;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-title-area .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #003A59;
}

.gallery-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
}

.gallery-wrapper.with-icon .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-wrapper.with-icon:hover .icon {
    opacity: 1;
}

.gallery-wrapper .gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-wrapper .gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
}

.gallery-wrapper:hover .gallery-image::before {
    background: rgba(0, 0, 0, 0.4);
}

.gallery-wrapper img.hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-wrapper:hover img.hover-image {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .gallery-title-area .section-title {
        font-size: 28px;
    }
    
    .rts-gallery-area {
        padding: 60px 0;
    }
}

/* Espaçamento entre seção Instagram e footer */
.rts-gallery-area {
    padding-bottom: 80px !important;
    margin-bottom: 40px !important;
}

/* Estilos customizados para abas de filtro */
.country-filter-tabs {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.country-filter-tabs .nav-item {
    margin-bottom: 0;
}

.country-filter-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--color-body, #666);
    padding: 12px 24px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
}

.country-filter-tabs .nav-link:hover {
    color: var(--color-primary, #003A59);
    border-bottom-color: rgba(0, 58, 89, 0.3);
}

.country-filter-tabs .nav-link.active {
    color: var(--color-primary, #003A59);
    border-bottom-color: var(--color-primary, #003A59);
    background: transparent;
}

.filter-tabs-area {
    margin-bottom: 20px;
}

/* Dropdown de filtro de zona turística — só visível em mobile/tablet */
.country-filter-dropdown {
    display: none;
    width: 100%;
    padding: 0 12px; /* pequeno respiro para não encostar às beiras */
}

/* Botão / estado atual */
.country-filter-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 10px 44px 10px 12px; /* espaço à direita para a seta */
    position: relative;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary, #003A59);
    text-align: left;
    background-color: #fff;
    border: 1px solid rgba(0, 58, 89, 0.2);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 58, 89, 0.06);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.country-filter-toggle:hover,
.country-filter-toggle:focus,
.country-filter-toggle[aria-expanded="true"] {
    border-color: var(--color-primary, #003A59);
    box-shadow: 0 0 0 3px rgba(0, 58, 89, 0.12);
    outline: none;
}

/* Seta do toggle (substitui a do Bootstrap para alinhar à direita) */
.country-filter-toggle.dropdown-toggle::after {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border-top-color: var(--color-primary, #003A59);
}

/* Painel do dropdown */
.country-filter-menu {
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 6px;
    padding: 6px;
    border: 1px solid rgba(0, 58, 89, 0.12);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 58, 89, 0.14);
}

/* Itens da lista */
.country-filter-menu .cf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2d3d;
    border-radius: 8px;
    white-space: normal;
}

.country-filter-menu .cf-item:hover,
.country-filter-menu .cf-item:focus {
    background-color: rgba(0, 58, 89, 0.06);
    color: var(--color-primary, #003A59);
}

.country-filter-menu .cf-item.active {
    background-color: rgba(0, 58, 89, 0.1);
    color: var(--color-primary, #003A59);
    font-weight: 600;
}

/* Miniatura circular */
.cf-thumb {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #eef3f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--color-primary, #003A59);
}

.cf-name {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile/Tablet: trocar abas por dropdown */
@media (max-width: 991.98px) {
    .country-filter-tabs {
        display: none;
    }

    .country-filter-dropdown {
        display: block;
    }
}

/* Esconder seções específicas */
.rts-destination-area {
    display: none !important;
}

.rts-popular-package-area.rts-section-gap:not(.body-bg-three) {
    display: none !important;
}

/* Esconder apenas a seção "Explore as Nossas Ofertas Exclusivas de Iates" que vem depois do rts-offer-area */
.rts-offer-area + section.rts-popular-package-area.body-bg-three {
    display: none !important;
}

/* Esconder a seção "Popular Activities on a Yacht Trip" */
.rts-activity-area {
    display: none !important;
}

/* Esconder a seção "Reserve Hoje" (rts-offer-area) */
.rts-offer-area {
    display: none !important;
}

/* Esconder a seção "Why Choose Us" (Unmatched luxury & unforgettable voyages Pure Serenity) */
.rts-why-choose-us-area {
    display: none !important;
}

/* Esconder a seção de contadores (Happy Travelers, Tour Packages, etc.) */
.rts-counter-area {
    display: none !important;
}

/* Esconder a seção de marcas (brands) */
.rts-brand-area {
    display: none !important;
}

/* Esconder o botão RTL/LTR switcher */
.rtl-ltr-switcher-btn {
    display: none !important;
}

/* Espaçamento entre última seção e footer */
.rts-footer-area-one {
    margin-top: 80px !important;
}

/* Menu mobile - botões/textos em branco */
#side-bar .mobile-menu-main .mainmenu a.main,
#side-bar .mobile-menu-main .mainmenu li a {
    color: #ffffff !important;
}

#side-bar .mobile-menu-main .mainmenu a.main:hover,
#side-bar .mobile-menu-main .mainmenu li a:hover {
    color: #ffffff !important;
}

/* Footer responsivo para mobile */
@media (max-width: 991px) {
    .rts-footer-area-one .footer-inner {
        flex-direction: column !important;
    }
    
    .rts-footer-area-one .footer-inner .mid {
        padding-left: 0 !important;
        margin-top: 40px !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .rts-footer-area-one .footer-inner .left {
        width: 100% !important;
    }
    
    .rts-footer-area-one .footer-inner .mid .single-footer-widget-one {
        min-width: 100% !important;
    }
    
    .rts-footer-area-one .copyright-area-start {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    .rts-footer-area-one .copyright-area-start p {
        margin-bottom: 15px !important;
    }
}

@media (max-width: 768px) {
    .rts-footer-area-one {
        padding-top: 60px !important;
        padding-bottom: 30px !important;
    }
    
    .rts-footer-area-one .footer-inner .mid {
        gap: 25px !important;
    }
    
    /* Logo do footer menor em mobile com margem */
    .rts-footer-area-one .single-footer-widget-one.logo-area .logo {
        display: block !important;
        margin: 15px 0 !important;
        text-align: left !important;
    }
    
    .rts-footer-area-one .single-footer-widget-one.logo-area .logo img {
        max-width: 180px !important;
        width: 180px !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
    }
}

/* ============================================================
   MELHORIAS DE DESIGN — Homepage (banner fino + cards + timing)
   ============================================================ */

/* --- BANNER: tipografia compacta para a faixa fina (≈20%) ---
   O título do tema é 100px/96px (desenhado para 800px de altura);
   numa faixa de ~120px isso transbordava e sobrepunha-se ao resto. */

/* Overlay uniforme da esquerda → leitura garantida sobre qualquer imagem */
.rts-banner-area-three .rts-hero-banner::after {
    background: linear-gradient(90deg,
        rgba(0, 58, 89, 0.80) 0%,
        rgba(0, 58, 89, 0.45) 55%,
        rgba(0, 58, 89, 0.10) 100%) !important;
}

.rts-banner-area-three .content-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.rts-banner-area-three .content-inner .sub-title {
    margin-bottom: 2px !important;
    font-size: 12px !important;
    letter-spacing: 0.5px;
}

.rts-banner-area-three .content-inner .sub-title img {
    height: 14px;
    width: auto;
}

.rts-banner-area-three .content-inner .section-title {
    font-size: 26px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    margin-bottom: 0 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
    /* limitar a 1 linha para nunca rebentar a faixa */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rts-banner-area-three .content-inner .rts-btn.btn-primary {
    margin-top: 6px;
    padding: 7px 16px !important;
    font-size: 13px !important;
    align-self: flex-start;
}

/* Entrada do conteúdo do banner mais rápida (era 1.2s–1.8s) */
.rts-banner-area-three .swiper-slide-active .sub-title {
    animation-delay: 0.15s !important;
}
.rts-banner-area-three .swiper-slide-active .section-title {
    animation-delay: 0.25s !important;
}
.rts-banner-area-three .swiper-slide-active .button-area,
.rts-banner-area-three .swiper-slide-active .content-inner .rts-btn {
    animation-delay: 0.35s !important;
}

/* Paginação compacta — a fraction "01 / 02" não cabe numa faixa fina */
.rts-banner-area-three .swiper-pagination-fraction {
    display: none;
}
.rts-banner-area-three .swiper-pagination-vertical {
    right: 24px;
    transform: translateY(-50%) scale(0.8);
}

@media (max-width: 991px) {
    .rts-banner-area-three .content-inner .section-title {
        font-size: 22px !important;
    }
}

@media (max-width: 768px) {
    .rts-banner-area-three {
        margin: 0 16px;
    }
    .rts-banner-area-three .content-inner .section-title {
        font-size: 19px !important;
    }
    /* poupar espaço vertical na faixa de 90px */
    .rts-banner-area-three .content-inner .sub-title {
        display: none !important;
    }
}

/* Reduzir o espaço de topo da secção "Escolha o seu destino"
   (rts-section-gap = padding 120px/80px/60px topo+fundo) */
body > section.rts-popular-package-area.rts-section-gap.body-bg-three {
    padding-top: 40px !important;
}
@media (max-width: 991px) {
    body > section.rts-popular-package-area.rts-section-gap.body-bg-three {
        padding-top: 30px !important;
    }
}
@media (max-width: 767px) {
    body > section.rts-popular-package-area.rts-section-gap.body-bg-three {
        padding-top: 24px !important;
    }
}

/* --- CARDS: legibilidade do texto + fim das sobreposições --- */

/* Gradiente suave a escurecer o fundo da imagem (ambiente) */
.rts-popular-package-area .package-wrapper::after {
    background: linear-gradient(180deg,
        rgba(0, 58, 89, 0) 40%,
        rgba(0, 58, 89, 0.35) 70%,
        rgba(0, 58, 89, 0.65) 100%) !important;
}

/* "Scrim" dedicado por trás do texto: painel escuro translúcido que
   garante o contraste do h5 (e restante texto) sobre QUALQUER imagem,
   mesmo céu/neve claros. É o que torna o título sempre legível. */
.rts-popular-package-area .package-wrapper .content {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: linear-gradient(180deg,
        rgba(0, 35, 54, 0.55) 0%,
        rgba(0, 35, 54, 0.85) 100%);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.rts-popular-package-area .package-wrapper .content .meta-content {
    gap: 16px;
    margin-bottom: 6px;
    font-size: 13px;
    flex-wrap: wrap;
}

.rts-popular-package-area .package-wrapper .content .meta-content li {
    opacity: 0.9;
}

/* h5: branco puro, peso reforçado e sombra; line-height:1 do tema
   fazia títulos de 2 linhas sobreporem-se */
.rts-popular-package-area .package-wrapper .content .title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3 !important;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rts-popular-package-area .package-wrapper .content .price {
    font-weight: 600;
}

/* Badge "N destinos" legível (o bg-light branco perdia-se na imagem) */
.rts-popular-package-area .package-wrapper .content .badge {
    display: inline-block;
    margin-top: 6px !important;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #003A59 !important;
}

/* Zoom suave da imagem no hover — feedback de interação */
.rts-popular-package-area .package-wrapper .image-area img {
    transition: transform 0.5s ease;
}
.rts-popular-package-area .package-wrapper:hover .image-area img {
    transform: scale(1.06);
}

/* --- TIMING: entrada dos cards mais rápida --- */
/* WOW.js esconde os elementos até animar; encurtar a duração
   evita a sensação de "cards a aparecer devagar". O stagger por
   card é reduzido no próprio blade (data-wow-delay). */
.rts-popular-package-area .wow,
.rts-banner-area-three .wow {
    animation-duration: 0.5s !important;
}

/* ============================================================
   LEGIBILIDADE GLOBAL — boas práticas de tipografia
   (camada de override; carregada depois do style.css em todo o site)
   ============================================================ */

/* O tema usava corpo de texto #797979 (contraste ~3.5:1 em branco,
   abaixo do mínimo WCAG AA 4.5:1) e base 16px/26px. Redefinir as
   variáveis do tema melhora a leitura em todo o lado sem !important. */
:root {
    --color-body-1: #4a4a4a;     /* era #797979 — contraste insuficiente */
    --font-size-b1: 17px;        /* era 16px */
    --font-size-b2: 17px;        /* era 16px */
    --line-height-b1: 28px;      /* era 26px */
    --line-height-b2: 28px;      /* era 26px */
}

/* Corpo de texto: garantir cor/altura de linha legíveis */
body { color: #4a4a4a; }
p {
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 24px;         /* era 40px — espaçamento mais equilibrado */
}

/* Listas e texto corrente herdam melhor contraste */
li, span, td, label { line-height: 1.6; }

/* Botões: peso e tamanho consistentes para boa leitura */
.rts-btn {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .2px;
}

/* Links dentro de conteúdo (não no header/menu): distinguíveis */
.rts-footer-area-one a:not(.rts-btn),
section a:not(.rts-btn):not(.nav-link):not(.package-wrapper):not(.dest-mosaic-tile) {
    transition: color .2s;
}

/* Títulos: altura de linha confortável e cor com bom contraste */
h1, h2, h3, h4, h5, h6,
.title, .section-title {
    line-height: 1.25;
}

/* Texto pequeno (meta/legendas) — subir o mínimo para ~13px */
small, .small { font-size: 0.85rem; }

@media (max-width: 575px) {
    :root { --font-size-b1: 16px; --font-size-b2: 16px; }
}
/* ============================================================
   COOKIE CONSENT BANNER — RGPD Compliant
   ============================================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border-top: 2px solid #003A59;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    padding: 0;
    animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 280px;
}

.cookie-consent-icon {
    font-size: 28px;
    color: #BA6827;
    flex: 0 0 auto;
    margin-top: 2px;
}

.cookie-consent-text h6 {
    color: #003A59;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.cookie-consent-text p {
    color: #6b7785;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-text a {
    color: #BA6827;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.cookie-btn-accept {
    background: #003A59;
    color: #fff;
}
.cookie-btn-accept:hover {
    background: #002a42;
}

.cookie-btn-reject {
    background: transparent;
    color: #6b7785;
    border: 1px solid #d0d5dd;
}
.cookie-btn-reject:hover {
    background: #f5f5f5;
    color: #4a4a4a;
}

.cookie-btn-customise {
    background: transparent;
    color: #003A59;
    border: 1px solid #003A59;
}
.cookie-btn-customise:hover {
    background: rgba(0, 58, 89, 0.05);
}

.cookie-btn-save {
    background: #BA6827;
    color: #fff;
}
.cookie-btn-save:hover {
    background: #9e5720;
}

/* Preferences panel */
.cookie-preferences-panel {
    border-top: 1px solid #e8ecf0;
    background: #f8f9fa;
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
    animation: cookieFadeIn 0.3s ease;
}

@keyframes cookieFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-pref-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cookie-pref-inner h6 {
    color: #003A59;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px;
}

.cookie-pref-group {
    margin-bottom: 16px;
}

.cookie-pref-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 16px 20px;
}

.cookie-pref-row > div:first-child {
    flex: 1;
}

.cookie-pref-row strong {
    color: #003A59;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.cookie-pref-row p {
    color: #6b7785;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex: 0 0 auto;
    margin-top: 4px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #d0d5dd;
    border-radius: 26px;
    transition: 0.3s;
}

.cookie-toggle-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: #003A59;
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(22px);
}

.cookie-toggle.disabled .cookie-toggle-slider {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-pref-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

/* Body padding when banner visible */
body.cookie-banner-visible {
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    .cookie-consent-actions {
        width: 100%;
        justify-content: stretch;
    }
    .cookie-consent-actions .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 13px;
    }
    .cookie-pref-row {
        flex-direction: column;
        gap: 12px;
    }
    .cookie-toggle {
        align-self: flex-end;
    }
}

/* ============================================================
   COOKIE SETTINGS LINK (footer)
   ============================================================ */
.cookie-settings-link {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
    white-space: nowrap;
}
.cookie-settings-link:hover {
    color: #BA6827;
}

/* ============================================================
   FOOTER LEGAL LINKS
   ============================================================ */
.footer-legal-links {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
}
.footer-legal-links a,
.footer-legal-links span:not(.separator) {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.footer-legal-links a:hover {
    color: #BA6827;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-legal-links .separator {
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    margin: 0 8px;
    cursor: default;
    user-select: none;
}
.footer-legal-links .separator:hover {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
}
