/* ==========================================================================
   ROBLERÍA ADVENTURE - STYLESHEET
   Paleta de Colores Naturales: Verde Bosque, Roble, Ámbar, Piedra Río y Pizarra
   ========================================================================== */

:root {
    --primary: #1E3F20;         /* Verde Bosque */
    --primary-dark: #132A15;    /* Verde Bosque Profundo */
    --primary-light: #38663A;   /* Verde Musgo */
    --secondary: #5C4033;       /* Madera Roble */
    --secondary-dark: #3D2920;  /* Roble Oscuro */
    --accent: #D48C29;          /* Ámbar Cálido / Atardecer */
    --accent-hover: #B8761E;
    --accent-light: #F7E4C8;
    --bg-light: #F7F5F0;        /* Piedra de Río / Hueso */
    --bg-card: #FFFFFF;
    --dark: #1C251D;            /* Pizarra Cordillerana */
    --text: #2C3531;
    --text-muted: #66706B;
    --border-color: #E2DDD5;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 15px;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.25;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 70px 0;
}

.section-padding-top {
    padding-top: 70px;
}

.bg-light {
    background-color: #EFECE6;
}

.bg-dark {
    background-color: var(--dark);
}

.text-white {
    color: #FFFFFF !important;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4 {
    color: #FFFFFF !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-green {
    color: var(--primary) !important;
}

.text-center {
    text-align: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.margin-top-sm { margin-top: 12px; }
.margin-top-md { margin-top: 24px; }
.margin-top-lg { margin-top: 40px; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(30, 63, 32, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

.btn-tertiary {
    background-color: transparent;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.btn-tertiary:hover {
    background-color: #FFFFFF;
    color: var(--dark);
}

.btn-accent {
    background-color: var(--accent);
    color: #FFFFFF;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(212, 140, 41, 0.3);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
    background: transparent;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 15px;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12px;
}

/* Section Header */
.section-header {
    margin-bottom: 45px;
}

.sub-heading {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 34px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    font-size: 16px;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-top-agent, .btn-top-admin {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #FFFFFF;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-top-agent:hover { background-color: var(--accent); }
.btn-top-admin:hover { background-color: var(--primary-light); }

.btn-cart-trigger {
    background: var(--accent);
    border: none;
    color: #FFFFFF;
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-cart-trigger:hover {
    background: var(--accent-hover);
}

#cart-count {
    background: #FFFFFF;
    color: var(--dark);
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Header & Nav */
.main-header {
    background-color: var(--bg-card);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: rgba(30, 63, 32, 0.08);
}

.nav-highlight {
    background-color: var(--accent-light);
    color: var(--secondary-dark);
}

.nav-highlight:hover, .nav-highlight.active {
    background-color: var(--accent);
    color: #FFFFFF;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

/* Tab Panes */
.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-pane.active {
    display: block;
}

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

/* HERO SECTION */
.hero-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    height: 580px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(28, 37, 29, 0.4) 0%, rgba(28, 37, 29, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 140, 41, 0.25);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 52px;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Quick Access Cards Grid */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.access-card {
    position: relative;
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.access-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.access-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.access-card:hover .access-img {
    transform: scale(1.08);
}

.access-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(28, 37, 29, 0.9) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #FFFFFF;
}

.access-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 12px;
}

.access-overlay h3 {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.access-overlay p {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 14px;
    line-height: 1.4;
}

.card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.highlight-card {
    border: 2px solid var(--accent);
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.program-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.program-card:hover {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.program-card.featured {
    background-color: rgba(30, 63, 32, 0.6);
    border: 2px solid var(--primary-light);
}

.program-badge {
    position: absolute;
    top: 20px; right: 20px;
    background-color: var(--primary-light);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
}

.badge-gold {
    background-color: var(--accent);
}

.program-card h3 {
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.program-desc {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
}

.program-price .currency { font-size: 24px; font-weight: 700; color: var(--accent); }
.program-price .amount { font-size: 42px; font-weight: 800; color: #FFFFFF; line-height: 1; margin-right: 6px; }
.program-price small { font-size: 13px; opacity: 0.7; }

.program-features {
    margin-bottom: 28px;
}

.program-features li {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Page Header for Inner Tabs */
.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 90px 0;
    color: #FFFFFF;
}

.page-header-overlay {
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: linear-gradient(180deg, rgba(28, 37, 29, 0.5) 0%, rgba(28, 37, 29, 0.9) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 44px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 650px;
}

.brand-sub {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
}

.restobar-logo-header {
    height: 100px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 2px solid var(--accent);
    margin-bottom: 15px;
    background: #FFFFFF;
    padding: 6px;
    display: block;
}

.restobar-logo-badge {
    height: 75px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    background: #FFFFFF;
    padding: 4px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-actions {
    margin-top: 24px;
    display: flex;
    gap: 14px;
}

/* Refugios Duo Grid */
.refugios-duo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    margin-top: 30px;
}

.refugio-card-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.refugio-card-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.highlight-refugio {
    border: 2px solid var(--accent);
}

.refugio-card-header {
    padding: 22px 25px 15px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.refugio-badge {
    display: inline-block;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.badge-gold {
    background: var(--accent);
}

.refugio-card-header h2 {
    font-size: 26px;
    margin-bottom: 4px;
}

.refugio-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.refugio-card-img-container {
    position: relative;
    height: 230px;
    cursor: pointer;
    overflow: hidden;
}

.refugio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.refugio-card-img-container:hover .refugio-card-img {
    transform: scale(1.06);
}

.img-zoom-hint {
    position: absolute;
    bottom: 12px; right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 15px;
}

.refugio-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Refugio Details Layout */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 40px;
}

.grid-2-cols-sm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lead-text {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 25px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.spec-item i {
    font-size: 26px;
    color: var(--primary);
}

.spec-item strong {
    display: block;
    font-size: 14px;
}

.spec-item p {
    font-size: 13px;
    color: var(--text-muted);
}

.services-list {
    margin-bottom: 30px;
}

.services-list li {
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.services-list i {
    color: var(--primary);
}

.pricing-box {
    background: var(--primary-dark);
    color: #FFFFFF;
    padding: 28px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pricing-info span {
    font-size: 13px;
    opacity: 0.8;
    text-transform: uppercase;
    display: block;
}

.pricing-info .price {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.pricing-info small {
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 400;
}

/* Sidebar & Gallery Widgets */
.widget-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

.policy-list li {
    font-size: 13px;
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
}

/* Restobar Menu Styles */
.restobar-intro img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.img-rounded {
    border-radius: var(--radius-md);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.schedule-box {
    background-color: var(--bg-card);
    border-left: 4px solid var(--accent);
    padding: 18px 24px;
    margin-top: 25px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.schedule-box h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.menu-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.menu-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.menu-card-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.menu-card-body {
    padding: 20px;
}

.menu-card-body h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.menu-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.event-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid var(--border-color);
}

.event-date {
    background: var(--secondary);
    color: #FFFFFF;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.event-date .day { font-size: 28px; font-weight: 800; line-height: 1; display: block; }
.event-date .month { font-size: 12px; font-weight: 700; text-transform: uppercase; }

.event-info h3 { font-size: 17px; margin-bottom: 6px; }
.event-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.event-info .time { font-size: 12px; font-weight: 600; color: var(--accent); }

/* Experience & Tours Tab */
.experience-filter-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background: var(--bg-card);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.cat-pill-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-pill {
    background: var(--bg-light);
    border: none;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cat-pill.active, .cat-pill:hover {
    background: var(--accent);
    color: #FFFFFF;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.exp-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.exp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.exp-img-box {
    position: relative;
    height: 210px;
}

.exp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(28, 37, 29, 0.8);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: uppercase;
}

.exp-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.exp-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.exp-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.exp-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.exp-desc {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.exp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.exp-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

/* Store Toolbar & E-commerce Grid */
.store-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
}

.store-category-select select {
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--bg-card);
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-img-box {
    position: relative;
    height: 220px;
    background: #f0ede6;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-stock-tag {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.product-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.product-price-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

/* Agent Portal Styles */
.agent-header-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.agent-welcome-banner {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 25px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.badge-status-approved {
    background: #2E7D32;
    color: #FFFFFF;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-tier {
    color: var(--accent);
}

.agent-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.icon-green { background: rgba(46, 125, 50, 0.12); color: #2E7D32; }
.icon-amber { background: rgba(212, 140, 41, 0.12); color: var(--accent); }
.icon-blue { background: rgba(25, 118, 210, 0.12); color: #1976D2; }
.icon-purple { background: rgba(123, 31, 162, 0.12); color: #7B1FA2; }

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

.stat-info h3 {
    font-size: 22px;
    font-weight: 800;
}

/* Tables Styling */
.table-responsive {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.agent-catalog-table, .agent-bookings-table, .admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.agent-catalog-table th, .agent-bookings-table th, .admin-table th {
    background: #EFECE6;
    padding: 14px 18px;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 2px solid var(--border-color);
}

.agent-catalog-table td, .agent-bookings-table td, .admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.agent-catalog-table tr:hover, .agent-bookings-table tr:hover, .admin-table tr:hover {
    background-color: rgba(247, 245, 240, 0.6);
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    display: none;
}

.cart-drawer-overlay.active {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0; right: -420px;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: var(--bg-card);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background: var(--dark);
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 { color: #FFFFFF; font-size: 18px; }

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: inherit;
    cursor: pointer;
    line-height: 1;
}

.cart-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title { font-weight: 700; font-size: 14px; }
.cart-item-price { font-size: 13px; color: var(--primary); font-weight: 600; }

.cart-qty-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: #F7F5F0;
}

.coupon-box {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.coupon-box input {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.coupon-box button {
    background: var(--secondary);
    color: #FFFFFF;
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
}

.total-line {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

/* Modals General */
.modal-overlay {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: zoomIn 0.3s ease;
}

.modal-sm { max-width: 420px; }
.modal-md { max-width: 600px; }
.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1100px; }

@keyframes zoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 { font-size: 20px; }

.modal-body {
    padding: 24px;
}

/* Form Styles */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    background: #FAFAFA;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    outline: none;
    background: #FFFFFF;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    cursor: pointer;
}

.radio-card:hover {
    border-color: var(--primary);
    background: rgba(30, 63, 32, 0.04);
}

.booking-summary-banner, .booking-total-box, .checkout-total-box, .agent-calc-card {
    background: #F7F5F0;
    border-left: 4px solid var(--primary);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 4px;
}

/* Voucher PDF Styling */
.voucher-paper {
    background: #FFFFFF;
    border: 2px solid var(--accent);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-md);
}

.voucher-logo {
    height: 75px;
    margin: 0 auto 10px;
    object-fit: contain;
}

.voucher-code-badge {
    display: inline-block;
    background: var(--dark);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-top: 8px;
    border: 1px solid rgba(212, 140, 41, 0.4);
}

.voucher-body-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.voucher-details-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 14px;
}

.voucher-qr-box {
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.qr-canvas-holder img, .qr-canvas-holder canvas {
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.qr-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: center;
    line-height: 1.2;
}

.voucher-box-info {
    background: #F7F5F0;
    border-left: 4px solid var(--primary);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

@media print {
    body * {
        visibility: hidden !important;
    }
    #modal-voucher, #modal-voucher * {
        visibility: visible !important;
    }
    #modal-voucher {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        background: #FFFFFF !important;
        padding: 0 !important;
    }
    .modal-header, .voucher-actions, .close-btn {
        display: none !important;
    }
    .voucher-paper {
        border: 2px solid #000 !important;
        box-shadow: none !important;
        width: 100% !important;
        padding: 20px !important;
    }
}

/* Admin CMS Panel Styles */
.admin-wrapper {
    display: flex;
    min-height: 520px;
}

.admin-sidebar {
    width: 240px;
    background: var(--dark);
    padding: 20px 0;
    flex-shrink: 0;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 14px;
}

.admin-nav-item:hover, .admin-nav-item.active {
    color: #FFFFFF;
    background: var(--primary);
}

.admin-content-area {
    flex-grow: 1;
    padding: 25px;
    background: var(--bg-light);
}

.admin-pane {
    display: none;
}

.admin-pane.active {
    display: block;
}

.admin-header-box {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.photo-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.photo-card-editor {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.photo-card-editor h4 {
    font-size: 15px;
    margin-bottom: 12px;
}

.preview-img-box {
    height: 140px;
    width: 100%;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #eee;
}

.preview-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Modal */
.modal-lightbox-content {
    background: transparent;
    box-shadow: none;
    max-width: 900px;
    position: relative;
}

.modal-lightbox-content img {
    max-height: 80vh;
    margin: 0 auto;
    border-radius: var(--radius-md);
}

/* Footer */
.main-footer {
    background: var(--dark);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 65px;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    padding: 18px 0;
    font-size: 13px;
    opacity: 0.75;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .grid-2-cols { grid-template-columns: 1fr; }
    .hero-title { font-size: 38px; }
    .admin-wrapper { flex-direction: column; }
    .admin-sidebar { width: 100%; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px; left: 0; right: 0;
        background: var(--bg-card);
        box-shadow: var(--shadow-md);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero-section {
        height: 480px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .grid-2-cols-sm {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MODO EDICIÓN VISUAL EN VIVO & AUTOADMINISTRABLE GLOBAL
   ========================================================================== */
.btn-top-edit {
    background: var(--accent);
    border: none;
    color: #FFFFFF;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.btn-top-edit:hover, .btn-top-edit.active {
    background: #E03E2E;
    box-shadow: 0 0 10px rgba(224, 62, 46, 0.6);
}

.floating-edit-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: #FFFFFF;
    padding: 14px 24px;
    border-radius: 30px;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent);
    width: 92%;
    max-width: 900px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translate(-50%, 40px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.edit-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.edit-bar-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Resaltado de elementos editables en modo visual */
body.visual-edit-mode [contenteditable="true"] {
    outline: 2px dashed var(--accent) !important;
    outline-offset: 3px;
    background-color: rgba(212, 140, 41, 0.12) !important;
    cursor: text;
    border-radius: 4px;
}

body.visual-edit-mode [contenteditable="true"]:focus {
    outline: 2px solid var(--primary) !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: var(--dark) !important;
}

body.visual-edit-mode img {
    cursor: pointer;
    transition: outline 0.2s ease, transform 0.2s ease;
}

body.visual-edit-mode img:hover {
    outline: 3px solid var(--accent) !important;
    transform: scale(1.02);
}

/* Admin Session Badge & Auth Styles */
.admin-session-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 140, 41, 0.15);
    border: 1px solid var(--accent);
    color: #FFFFFF;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.btn-logout-sm {
    background: transparent;
    border: none;
    color: #FF6B6B;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 4px;
    margin-left: 4px;
    transition: var(--transition);
}

.btn-logout-sm:hover {
    color: #FF0000;
    transform: scale(1.15);
}

.modal-sm {
    max-width: 420px;
}

.admin-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    margin-top: 10px;
}

.btn-group-center {
    display: flex;
    justify-content: center;
    gap: 15px;
}

