:root {
    --gema-primary: #0D1B2A;
    --gema-secondary: #a68a64;
    --gema-white: #ffffff;
    --gema-blue-input: #f4f7fe;
    --gema-light-blue: #bdd4e7;
    --gema-bg: #f4efeb;
    --gema-text: #2f4157;
    --gema-login-url: url('https://gematours.com.co/wp-content/uploads/2023/08/Cartagena-destino-eventos-corporativos-beneficios.jpg');
}

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

body {
    height: 100vh;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-optical-sizing: auto;

    background-color: var(--gema-bg);
    overflow-y: hidden;
}

.btn-general {
    background: #A68A64;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 14px;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
}

.btn-general:hover {
    scale: 1.02;
}

.main-app {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 80px 1fr 40px;
    grid-template-areas: "app-header" "app-main-content" "app-footer";
    gap: 10px;
}

.app-header {
    grid-area: app-header;

    max-height: 80px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.app-main-content {
    grid-area: app-main-content;
    padding: 10px 20px 0px 20px;
}

.app-footer {
    padding: 10px 20px 0px 20px;
}

.sidebar {
    height: 100dvh;
    width: 280px;
    position: fixed;
    top: 0;
    transition: all 0.2s ease;
    padding: 0;
    background-color: #161b22;
    border-right: 1px solid #30363d;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.sidebar.closed {
    left: -280px;
}

.sidebar.active {
    left: 0;
}

.close-zone {
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}

.close-zone.closed {
    display: none;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 400px;
    max-width: 90vw;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    margin-top: 8px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px 12px 0 0;
}

.cart-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 16px 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.cart-item-details {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 4px;
}

.cart-item-client {
    font-size: 0.8rem;
    color: #999;
}

.cart-item-price {
    font-weight: 600;
    color: var(--gema-primary, #0d6efd);
    white-space: nowrap;
    margin-left: 12px;
}

.cart-footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.cursor-pointer {
    cursor: pointer;
}

.empty-cart {
    color: #999;
}

/* Badge del contador */
#cartCount {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
}

.hiddenTabTypeDashboard {
    background: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-dropdown {
        width: 300px;
        right: -16px;
    }
}