/*
Theme Name: Vila Galé Experiences
Theme URI: https://vilagale.com
Author: Vila Galé Hotels
Author URI: https://vilagale.com
Description: Tema elegante para apresentação de experiências de spa e wellness dos hotéis Vila Galé. Inclui páginas para Vila Galé Ópera (Lisboa) e Vila Galé Porto com suporte multilingue PT/EN.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vilagale-experiences
Tags: hotel, spa, wellness, luxury, multilingual, custom-logo, featured-images

Vila Galé Experiences WordPress Theme
Copyright 2024 Vila Galé Hotels
*/

/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
    --vg-background: #FAFAF9;
    --vg-surface: #FFFFFF;
    --vg-primary: #1C1917;
    --vg-secondary: #E7E5E4;
    --vg-accent: #E11D48;
    --vg-muted: #A8A29E;
    --vg-border: #E7E5E4;
    --vg-text-primary: #1C1917;
    --vg-text-secondary: #78716C;
    --vg-text-muted: #A8A29E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--vg-background);
    color: var(--vg-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.font-accent {
    font-family: 'Cormorant Garamond', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Layout
   ============================================ */

.vg-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .vg-container {
        padding: 0 3rem;
    }
}

/* ============================================
   Header
   ============================================ */

.vg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.5);
}

.vg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    position: relative;
}

@media (min-width: 768px) {
    .vg-header-inner {
        height: 5rem;
    }
}

.vg-back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vg-text-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.vg-back-link:hover {
    color: var(--vg-text-primary);
}

.vg-back-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.vg-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.vg-logo h1 {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .vg-logo h1 {
        font-size: 1.5rem;
    }
}

.vg-logo span {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--vg-text-muted);
    font-family: 'Lato', sans-serif;
}

.vg-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.05em;
}

.vg-lang-switcher a {
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.vg-lang-switcher a.active {
    color: var(--vg-accent);
    font-weight: 600;
}

.vg-lang-switcher a:not(.active) {
    color: var(--vg-text-muted);
}

.vg-lang-switcher a:not(.active):hover {
    color: var(--vg-text-secondary);
}

.vg-lang-switcher .separator {
    color: var(--vg-border);
}

/* ============================================
   Hero Section (Home)
   ============================================ */

.vg-hero {
    padding-top: 5rem;
}

@media (min-width: 768px) {
    .vg-hero {
        padding-top: 5rem;
    }
}

.vg-hero-content {
    text-align: center;
    padding: 4rem 0 4rem;
}

@media (min-width: 768px) {
    .vg-hero-content {
        padding: 6rem 0 6rem;
    }
}

.vg-hero-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--vg-text-muted);
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

.vg-hero-title {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .vg-hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .vg-hero-title {
        font-size: 3.75rem;
    }
}

.vg-hero-description {
    font-size: 1.125rem;
    color: var(--vg-text-secondary);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .vg-hero-description {
        font-size: 1.25rem;
    }
}

/* ============================================
   Hotel Selection Cards
   ============================================ */

.vg-hotels-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .vg-hotels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.vg-hotel-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2px;
}

.vg-hotel-card-image {
    aspect-ratio: 4/5;
    overflow: hidden;
}

@media (min-width: 768px) {
    .vg-hotel-card-image {
        aspect-ratio: 3/4;
    }
}

.vg-hotel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.vg-hotel-card:hover .vg-hotel-card-image img {
    transform: scale(1.05);
}

.vg-hotel-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 25, 23, 0.7), rgba(28, 25, 23, 0.4) 50%, transparent);
}

.vg-hotel-card-content {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .vg-hotel-card-content {
        padding: 3rem;
    }
}

.vg-hotel-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.vg-hotel-card-location svg {
    width: 1rem;
    height: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.vg-hotel-card-location span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Lato', sans-serif;
}

.vg-hotel-card-name {
    font-size: 1.875rem;
    color: white;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .vg-hotel-card-name {
        font-size: 2.25rem;
    }
}

.vg-hotel-card-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.vg-hotel-card-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    transition: gap 0.3s ease;
}

.vg-hotel-card:hover .vg-hotel-card-cta {
    gap: 1rem;
}

.vg-hotel-card-cta svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   Hotel Page Hero
   ============================================ */

.vg-page-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

@media (min-width: 768px) {
    .vg-page-hero {
        height: 70vh;
    }
}

.vg-page-hero-image {
    position: absolute;
    inset: 0;
}

.vg-page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vg-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 25, 23, 0.8), rgba(28, 25, 23, 0.3) 50%, transparent);
}

.vg-page-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.vg-page-hero-inner {
    padding-bottom: 3rem;
    width: 100%;
}

@media (min-width: 768px) {
    .vg-page-hero-inner {
        padding-bottom: 5rem;
    }
}

.vg-page-hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vg-page-hero-location svg {
    width: 1rem;
    height: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.vg-page-hero-location span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Lato', sans-serif;
}

.vg-page-hero-title {
    font-size: 2.25rem;
    color: white;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .vg-page-hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .vg-page-hero-title {
        font-size: 3.75rem;
    }
}

.vg-page-hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .vg-page-hero-tagline {
        font-size: 1.5rem;
    }
}

/* ============================================
   Category Navigation
   ============================================ */

.vg-category-nav {
    position: sticky;
    top: 4rem;
    z-index: 40;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.5);
}

@media (min-width: 768px) {
    .vg-category-nav {
        top: 5rem;
    }
}

.vg-category-nav-inner {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 0;
    overflow-x: auto;
    /* thin scrollbar visible on desktop for clarity */
    scrollbar-width: thin;
    scrollbar-color: var(--vg-primary) transparent;
    -webkit-overflow-scrolling: touch;
    /* ensure last button has right breathing room */
    padding-right: 1rem;
}

.vg-category-nav-inner::-webkit-scrollbar {
    height: 3px;
}

.vg-category-nav-inner::-webkit-scrollbar-track {
    background: transparent;
}

.vg-category-nav-inner::-webkit-scrollbar-thumb {
    background-color: var(--vg-primary);
    border-radius: 3px;
}

@media (min-width: 768px) {
    .vg-category-nav-inner {
        gap: 0.5rem;
        flex-wrap: wrap; /* on wide screens, wrap instead of scroll */
        overflow-x: visible;
        scrollbar-width: none;
    }
    .vg-category-nav-inner::-webkit-scrollbar {
        display: none;
    }
}

.vg-category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border: none;
    background: transparent;
    color: var(--vg-text-secondary);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .vg-category-btn {
        padding: 0.5rem 1.5rem;
    }
}

.vg-category-btn:hover {
    color: var(--vg-text-primary);
    background: var(--vg-secondary);
}

.vg-category-btn.active {
    background: var(--vg-primary);
    color: white;
}

/* ============================================
   Experiences Section
   ============================================ */

.vg-experiences-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .vg-experiences-section {
        padding: 6rem 0;
    }
}

.vg-section-header {
    margin-bottom: 3rem;
}

.vg-section-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--vg-text-muted);
    margin-bottom: 0.75rem;
    font-family: 'Lato', sans-serif;
}

.vg-section-title {
    font-size: 1.875rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .vg-section-title {
        font-size: 2.25rem;
    }
}

/* ============================================
   Experience Card - Zig-Zag Layout
   ============================================ */

.vg-experiences-featured {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 768px) {
    .vg-experiences-featured {
        gap: 6rem;
    }
}

.vg-experience-zigzag {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .vg-experience-zigzag {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

.vg-experience-zigzag.reversed .vg-experience-zigzag-image {
    order: 1;
}

@media (min-width: 768px) {
    .vg-experience-zigzag.reversed .vg-experience-zigzag-image {
        order: 2;
    }
    
    .vg-experience-zigzag.reversed .vg-experience-zigzag-content {
        order: 1;
        text-align: right;
    }
    
    .vg-experience-zigzag.reversed .vg-experience-meta {
        justify-content: flex-end;
    }
    
    .vg-experience-zigzag.reversed .vg-experience-includes-list {
        justify-content: flex-end;
    }
}

.vg-experience-zigzag-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 25px 50px -12px rgba(168, 162, 158, 0.25);
}

.vg-experience-zigzag-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.vg-experience-zigzag:hover .vg-experience-zigzag-image img {
    transform: scale(1.05);
}

.vg-experience-category {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--vg-text-muted);
    margin-bottom: 0.75rem;
    font-family: 'Lato', sans-serif;
}

.vg-experience-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .vg-experience-title {
        font-size: 1.875rem;
    }
}

.vg-experience-description {
    color: var(--vg-text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.vg-experience-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.vg-experience-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vg-text-secondary);
    font-size: 0.875rem;
}

.vg-experience-meta-item svg {
    width: 1rem;
    height: 1rem;
}

.vg-experience-meta-item.price span {
    font-weight: 600;
    color: var(--vg-text-primary);
}

.vg-experience-includes {
    margin-top: 1rem;
}

.vg-experience-includes-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--vg-text-muted);
    margin-bottom: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.vg-experience-includes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vg-experience-includes-list span {
    padding: 0.25rem 0.75rem;
    background: var(--vg-secondary);
    color: var(--vg-text-secondary);
    font-size: 0.875rem;
    border-radius: 2px;
}

/* ============================================
   Experience Card - Grid Layout
   ============================================ */

.vg-experiences-grid-section {
    padding: 4rem 0;
    background: rgba(245, 245, 244, 0.5);
}

@media (min-width: 768px) {
    .vg-experiences-grid-section {
        padding: 6rem 0;
    }
}

.vg-experiences-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .vg-experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vg-experiences-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.vg-experience-card {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(168, 162, 158, 0.1), 0 8px 10px -6px rgba(168, 162, 158, 0.1);
    transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vg-experience-card:hover {
    box-shadow: 0 25px 50px -12px rgba(168, 162, 158, 0.25);
}

.vg-experience-card-image {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.vg-experience-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.vg-experience-card:hover .vg-experience-card-image img {
    transform: scale(1.05);
}

.vg-experience-card-content {
    padding: 1.5rem;
}

.vg-experience-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--vg-text-muted);
    margin-bottom: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.vg-experience-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.vg-experience-card-description {
    font-size: 0.875rem;
    color: var(--vg-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vg-experience-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--vg-secondary);
}

.vg-experience-card-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--vg-text-secondary);
    font-size: 0.75rem;
}

.vg-experience-card-duration svg {
    width: 0.875rem;
    height: 0.875rem;
}

.vg-experience-card-price {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.vg-experience-card-price-label {
    font-size: 0.75rem;
    color: var(--vg-text-muted);
}

.vg-experience-card-price-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--vg-text-primary);
}

/* ============================================
   Contact Section
   ============================================ */

.vg-contact-section {
    padding: 4rem 0;
    border-top: 1px solid var(--vg-border);
}

@media (min-width: 768px) {
    .vg-contact-section {
        padding: 6rem 0;
    }
}

.vg-contact-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .vg-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vg-contact-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--vg-text-muted);
    margin-bottom: 0.75rem;
    font-family: 'Lato', sans-serif;
}

.vg-contact-title {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .vg-contact-title {
        font-size: 2.25rem;
    }
}

.vg-contact-description {
    color: var(--vg-text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.vg-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vg-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--vg-text-secondary);
    transition: color 0.3s ease;
}

.vg-contact-item:hover {
    color: var(--vg-text-primary);
}

.vg-contact-item-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vg-secondary);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.vg-contact-item:hover .vg-contact-item-icon {
    background: var(--vg-border);
}

.vg-contact-item-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.vg-contact-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 25px 50px -12px rgba(168, 162, 158, 0.25);
}

@media (min-width: 768px) {
    .vg-contact-image {
        aspect-ratio: 4/3;
    }
}

.vg-contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Footer
   ============================================ */

.vg-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--vg-border);
    background: rgba(245, 245, 244, 0.5);
}

.vg-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .vg-footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.vg-footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--vg-text-muted);
}

.vg-footer-copyright {
    font-size: 0.875rem;
    color: var(--vg-text-muted);
    letter-spacing: 0.05em;
}

/* ============================================
   Utility Classes
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .md-hidden {
        display: none !important;
    }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

/* ============================================================
   CATEGORY GRID SLIDER  (full-width, large cards)
   ============================================================ */

.vg-catgrid-section {
    padding: 2.5rem 0 0;
    background: var(--vg-background);
    overflow: hidden;
}

.vg-catgrid-track-wrap {
    position: relative;
    /* allow overflow visible so cards peek on edges */
    padding: 0 3rem;
}
@media (max-width: 640px) {
    .vg-catgrid-track-wrap { padding: 0 2.25rem; }
}

.vg-catgrid-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1.5rem;
    cursor: grab;
    user-select: none;
}
.vg-catgrid-track:active { cursor: grabbing; }
.vg-catgrid-track::-webkit-scrollbar { display: none; }

/* ── individual category card ── */
.vg-catgrid-card {
    flex: 0 0 260px;
    height: 340px;
    position: relative;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    outline: none;
}
@media (min-width: 640px) {
    .vg-catgrid-card { flex: 0 0 300px; height: 380px; }
}
@media (min-width: 1024px) {
    .vg-catgrid-card { flex: 0 0 340px; height: 420px; }
}

.vg-catgrid-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }
.vg-catgrid-card:focus-visible { outline: 2px solid var(--vg-accent); outline-offset: 3px; }

/* active state — selected */
.vg-catgrid-card.active { box-shadow: 0 0 0 2px var(--vg-primary), 0 16px 40px rgba(0,0,0,0.2); }
.vg-catgrid-card.active .vg-catgrid-card-overlay {
    background: linear-gradient(to top, rgba(28,25,23,0.88) 0%, rgba(28,25,23,0.35) 55%, transparent 100%);
}
.vg-catgrid-card.active .vg-catgrid-card-arrow {
    opacity: 1;
    transform: rotate(90deg);
}

.vg-catgrid-card-img {
    position: absolute; inset: 0;
}
.vg-catgrid-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
    pointer-events: none;
}
.vg-catgrid-card:hover .vg-catgrid-card-img img,
.vg-catgrid-card.active .vg-catgrid-card-img img {
    transform: scale(1.07);
}

.vg-catgrid-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
    transition: background 0.3s ease;
}

.vg-catgrid-card-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    z-index: 1;
}

.vg-catgrid-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    line-height: 1.2;
    text-align: left;
    display: block;
    letter-spacing: 0.01em;
}
@media (min-width: 768px) {
    .vg-catgrid-card-name { font-size: 1.25rem; }
}

.vg-catgrid-card-arrow {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.35s ease, background 0.3s ease;
}
.vg-catgrid-card:hover .vg-catgrid-card-arrow {
    opacity: 1;
    background: rgba(255,255,255,0.25);
}
.vg-catgrid-card-arrow svg { width: 16px; height: 16px; }

/* slider nav arrows */
.vg-catgrid-nav {
    position: absolute; top: 44%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--vg-border);
    background: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; color: var(--vg-text-primary);
    transition: all 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.vg-catgrid-nav:hover { background: var(--vg-primary); color: white; border-color: var(--vg-primary); }
.vg-catgrid-nav.hidden { opacity: 0; pointer-events: none; }
.vg-catgrid-nav.prev { left: 0.25rem; }
.vg-catgrid-nav.next { right: 0.25rem; }
.vg-catgrid-nav svg { width: 18px; height: 18px; }

/* ============================================================
   INLINE PANEL  (expands below slider)
   ============================================================ */

.vg-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
    background: var(--vg-surface);
    border-top: 1px solid var(--vg-border);
}
.vg-panel[hidden] { display: block !important; } /* keep in DOM, use max-height instead */
.vg-panel.open {
    max-height: 2400px; /* large enough for any content incl. map */
    opacity: 1;
}

.vg-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 3rem 0.5rem;
    gap: 1rem;
}
@media (max-width: 640px) {
    .vg-panel-header { padding: 1.5rem 1.25rem 0.25rem; }
}

.vg-panel-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--vg-text-primary);
}
@media (min-width: 768px) { .vg-panel-title { font-size: 1.75rem; } }

.vg-panel-close {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--vg-border);
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--vg-text-secondary);
    transition: all 0.2s ease;
}
.vg-panel-close:hover { background: var(--vg-primary); color: white; border-color: var(--vg-primary); }
.vg-panel-close svg { width: 18px; height: 18px; }

/* panel slider */
.vg-panel-slider-wrap {
    position: relative;
    padding: 1.25rem 3rem 2rem;
}
@media (max-width: 640px) {
    .vg-panel-slider-wrap { padding: 1rem 2.25rem 1.75rem; }
}

.vg-panel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}
.vg-panel-track::-webkit-scrollbar { display: none; }

/* panel nav arrows */
.vg-panel-nav {
    position: absolute; top: 42%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--vg-border);
    background: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5; color: var(--vg-text-primary);
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.vg-panel-nav:hover { background: var(--vg-primary); color: white; border-color: var(--vg-primary); }
.vg-panel-nav.prev { left: 0.25rem; }
.vg-panel-nav.next { right: 0.25rem; }
.vg-panel-nav svg { width: 16px; height: 16px; }

/* ============================================================
   PANEL CARDS  (.vg-pcard)
   ============================================================ */

.vg-pcard {
    flex: 0 0 260px;
    background: var(--vg-surface);
    border: 1px solid var(--vg-border);
    border-radius: 3px;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 640px) { .vg-pcard { flex: 0 0 280px; } }
@media (min-width: 1024px) { .vg-pcard { flex: 0 0 300px; } }

.vg-pcard:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.vg-pcard-img {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: var(--vg-secondary);
    flex-shrink: 0;
}
.vg-pcard-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.vg-pcard:hover .vg-pcard-img img { transform: scale(1.05); }

.vg-pcard-img--wine { height: 220px; background: #F5F0EB; display: flex; align-items: center; justify-content: center; }
.vg-pcard-wine-placeholder { color: var(--vg-muted); }
.vg-pcard-wine-placeholder svg { width: 44px; height: 88px; opacity: 0.3; }

.vg-pcard-tipo-badge {
    position: absolute; top: 0.75rem; left: 0.75rem;
    padding: 0.2rem 0.6rem; border-radius: 2rem;
    font-size: 0.7rem; font-family: 'Lato', sans-serif;
    font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: white; background: var(--vg-primary);
}

.vg-pcard-highlight-badge {
    position: absolute; top: 0.75rem; right: 0.75rem;
    padding: 0.2rem 0.6rem; border-radius: 2rem;
    font-size: 0.7rem; font-family: 'Lato', sans-serif;
    font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: white; background: var(--vg-accent);
}

.vg-pcard-noimg {
    width: 100%; height: 190px;
    background: var(--vg-secondary);
    display: flex; align-items: center; justify-content: center;
    color: var(--vg-muted);
}
.vg-pcard-noimg svg { width: 28px; height: 28px; opacity: 0.4; }

/* card body */
.vg-pcard-body { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.vg-pcard-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 500; margin-bottom: 0.4rem; line-height: 1.3; }
.vg-pcard-producer { font-size: 0.8rem; color: var(--vg-text-secondary); margin-bottom: 0.35rem; }
.vg-pcard-desc {
    font-size: 0.825rem; color: var(--vg-text-secondary); line-height: 1.5; margin-bottom: 0.65rem;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.vg-pcard-pairing { font-size: 0.8rem; color: var(--vg-text-secondary); margin-top: 0.4rem; }
.vg-pcard-schedule { font-size: 0.775rem; color: var(--vg-muted); margin-top: 0.4rem; display: flex; align-items: center; gap: 0.25rem; }
.vg-pcard-schedule svg { width: 12px; height: 12px; }
.vg-pcard-address { font-size: 0.775rem; color: var(--vg-text-muted); display: flex; align-items: flex-start; gap: 0.25rem; margin-top: 0.4rem; margin-bottom: 0.5rem; }
.vg-pcard-address svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 2px; }
.vg-pcard-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.8rem; font-weight: 600; color: var(--vg-primary); text-decoration: none; margin-top: auto; }
.vg-pcard-link:hover { text-decoration: underline; }
.vg-pcard-link svg { width: 13px; height: 13px; }
.vg-pcard-price { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; margin-top: auto; padding-top: 0.65rem; }
.vg-pcard-validity { font-size: 0.75rem; color: var(--vg-muted); margin-top: 0.2rem; }

.vg-pcard-meta {
    display: flex; flex-wrap: wrap; gap: 0.6rem;
    font-size: 0.775rem; color: var(--vg-muted); margin-bottom: 0.5rem;
}
.vg-pcard-meta span { display: flex; align-items: center; gap: 0.2rem; }
.vg-pcard-meta svg { width: 12px; height: 12px; }

.vg-pcard-includes {
    list-style: none; margin: 0.4rem 0 0.6rem;
    display: flex; flex-direction: column; gap: 0.2rem;
}
.vg-pcard-includes li { font-size: 0.8rem; color: var(--vg-text-secondary); }
.vg-pcard-includes li::before { content: '✓ '; color: var(--vg-accent); font-size: 0.75rem; font-weight: 700; }

/* voucher footer with QR */
.vg-pcard-voucher-footer {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 0.75rem; margin-top: auto; padding-top: 0.75rem;
    flex-wrap: wrap;
}
.vg-pcard-qr {
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
    text-decoration: none;
    background: var(--vg-background); border: 1px solid var(--vg-border);
    border-radius: 3px; padding: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vg-pcard-qr:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.vg-pcard-qr img { display: block; image-rendering: crisp-edges; }
.vg-pcard-qr span {
    font-size: 0.62rem; letter-spacing: 0.07em; text-transform: uppercase;
    font-weight: 700; color: var(--vg-text-muted); text-align: center;
    font-family: 'Lato', sans-serif;
}

/* activity card cursor pointer */
.vg-pcard--activity { cursor: pointer; }

/* ============================================================
   LEAFLET MAP (inside activity panels)
   ============================================================ */

.vg-panel-map-wrap {
    margin: 1.5rem 0 0.5rem;
    border-radius: 3px; overflow: hidden;
    border: 1px solid var(--vg-border);
}
.vg-panel-map { height: 380px; width: 100%; }
@media (min-width: 768px) { .vg-panel-map { height: 460px; } }

/* reuse existing map icon styles */
.vg-map-hotel-dot {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--vg-primary);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.vg-map-act-dot {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--vg-accent); border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.vg-map-hotel-icon, .vg-map-act-icon { background: none; border: none; }

.vg-map-popup { font-family: 'Lato', sans-serif; min-width: 160px; }
.vg-map-popup img { width: 100%; height: 100px; object-fit: cover; border-radius: 2px; margin-bottom: 0.4rem; }
.vg-map-popup strong { display: block; font-family: 'Playfair Display', serif; font-size: 0.875rem; margin-bottom: 0.25rem; }
.vg-map-popup small { display: block; font-size: 0.75rem; color: #888; margin-bottom: 0.3rem; }
.vg-map-popup a { font-size: 0.8rem; color: var(--vg-accent); font-weight: 600; text-decoration: none; }
.vg-map-popup a:hover { text-decoration: underline; }

/* ============================================================
   EMPTY STATE
   ============================================================ */

.vg-empty-state {
    text-align: center; padding: 4rem 1rem;
    color: var(--vg-text-secondary); font-size: 1rem;
}

/* ============================================================
   QR CODE — mobile/desktop switch
   ============================================================ */

/* Mobile (<768px): hide QR, show buy button */
.vg-pcard-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1.1rem;
    background: var(--vg-primary);
    color: white;
    border-radius: 2px;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.vg-pcard-buy-btn:hover { background: var(--vg-accent); }
.vg-pcard-buy-btn svg { width: 14px; height: 14px; }

@media (max-width: 767px) {
    .vg-pcard-qr         { display: none !important; }
    .vg-pcard-buy-btn    { display: inline-flex; }
}

@media (min-width: 768px) {
    .vg-pcard-buy-btn    { display: none; }
    .vg-pcard-qr         { display: flex; }
}
