/* desktop-offcanvas-cart.css - Off-canvas side cart for desktop */

/* Only show on desktop devices */
@media (min-width: 769px) {
    
    /* ===== OFF-CANVAS TRIGGER BUTTON ===== */
    .desktop-cart-trigger {
        position: fixed;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: linear-gradient(135deg, #1E2B34 0%, #2a3a45 100%);
        color: white;
        padding: 14px 18px;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(8, 96, 95, 0.3);
        z-index: 9999;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        font-family: 'Barlow', sans-serif;
        border: none;
        outline: none;
    }

    .desktop-cart-trigger:hover {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(8, 96, 95, 0.5);
        background: linear-gradient(135deg, #2a3a45 0%, #374955 100%);
    }

    .desktop-cart-trigger.has-items {
        box-shadow: 0 4px 20px rgba(8, 96, 95, 0.4), 0 0 0 2px rgba(8, 96, 95, 0.5);
    }

    .desktop-cart-trigger.has-items:hover {
        box-shadow: 0 6px 30px rgba(8, 96, 95, 0.5), 0 0 0 3px rgba(8, 96, 95, 0.7);
    }

    .desktop-cart-trigger-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #08605F;
        border-radius: 50%;
        padding: 6px;
    }

    .desktop-cart-trigger-icon svg {
        width: 16px;
        height: 16px;
    }

    .desktop-cart-trigger-text {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .desktop-cart-trigger-badge {
        background: #08605F;
        color: white;
        min-width: 24px;
        height: 24px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: bold;
        padding: 0 6px;
    }

    /* ===== OFF-CANVAS CONTAINER ===== */
    .desktop-offcanvas-cart {
        position: fixed;
        top: 0;
        right: -480px;
        width: 450px;
        height: 100vh;
        background: #1E2B34;
        z-index: 10001;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
        display: flex;
        flex-direction: column;
        font-family: 'Barlow', sans-serif;
    }

    .desktop-offcanvas-cart.active {
        right: 0;
    }

    /* ===== OVERLAY ===== */
    .desktop-offcanvas-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
        backdrop-filter: blur(2px);
    }

    .desktop-offcanvas-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* ===== OFF-CANVAS HEADER ===== */
    .desktop-offcanvas-header {
        background: linear-gradient(135deg, #08605F 0%, #064d4c 100%);
        padding: 24px 28px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    }

    .desktop-offcanvas-title {
        font-family: 'Barlow', sans-serif !important;
        color: white !important;
        font-size: 20px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
        margin: 0 !important;
    }

    .desktop-offcanvas-close {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: white;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .desktop-offcanvas-close:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: rotate(90deg);
        border-color: rgba(255, 255, 255, 0.5);
    }

    /* ===== OFF-CANVAS CONTENT ===== */
    .desktop-offcanvas-content {
        flex: 1;
        overflow-y: auto;
        padding: 24px;
        scrollbar-width: thin;
        scrollbar-color: #08605F #2a3441;
    }

    .desktop-offcanvas-content::-webkit-scrollbar {
        width: 8px;
    }

    .desktop-offcanvas-content::-webkit-scrollbar-track {
        background: #2a3441;
        border-radius: 4px;
    }

    .desktop-offcanvas-content::-webkit-scrollbar-thumb {
        background: #08605F;
        border-radius: 4px;
    }

    .desktop-offcanvas-content::-webkit-scrollbar-thumb:hover {
        background: #0a7573;
    }

    /* Match Info Section */
    .desktop-offcanvas-cart .offcanvas-match-info {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 14px;
        padding: 18px;
        margin-bottom: 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .desktop-offcanvas-cart .offcanvas-match-image {
        width: 100%;
        height: 140px;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 16px;
        background: #2a3441;
    }

    .desktop-offcanvas-cart .offcanvas-match-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .desktop-offcanvas-cart .offcanvas-match-title {
        color: white;
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .desktop-offcanvas-cart .offcanvas-venue-info {
        color: #94a3b8;
        font-size: 15px;
        margin-bottom: 12px;
    }

    .desktop-offcanvas-cart .offcanvas-match-date {
        color: #94a3b8;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .desktop-offcanvas-cart .offcanvas-match-date svg {
        color: #08605F;
    }

    /* Package Section */
    .desktop-offcanvas-cart .offcanvas-section {
        margin-bottom: 28px;
    }

    .desktop-offcanvas-cart .offcanvas-section-title {
        color: #ffffff;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        margin-bottom: 14px;
        padding-bottom: 10px;
        border-bottom: 2px solid rgba(8, 96, 95, 0.4);
    }

    .desktop-offcanvas-cart .offcanvas-item {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        padding: 14px 16px;
        margin-bottom: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        transition: all 0.2s ease;
    }

    .desktop-offcanvas-cart .offcanvas-item:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(8, 96, 95, 0.5);
    }

    .desktop-offcanvas-cart .offcanvas-item-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }

    .desktop-offcanvas-cart .offcanvas-item-label {
        color: white;
        font-size: 15px;
        font-weight: 600;
    }

    .desktop-offcanvas-cart .offcanvas-item-value {
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
    }

    .desktop-offcanvas-cart .offcanvas-item-details {
        color: #94a3b8;
        font-size: 13px;
        line-height: 1.5;
    }

    /* Not Selected State */
    .desktop-offcanvas-cart .offcanvas-item.not-selected {
        opacity: 0.5;
        border-style: dashed;
    }

    .desktop-offcanvas-cart .offcanvas-item.not-selected .offcanvas-item-label {
        color: #6b7280;
    }

    .desktop-offcanvas-cart .offcanvas-item.not-selected .offcanvas-item-value {
        color: #6b7280;
        font-style: italic;
    }

    /* Included Badge */
    .desktop-offcanvas-cart .offcanvas-included-badge {
        background: #08605F;
        color: white;
        padding: 4px 10px;
        border-radius: 14px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Travel Period */
    .desktop-offcanvas-cart .offcanvas-travel-period {
        background: rgba(8, 96, 95, 0.15);
        border: 1px solid rgba(8, 96, 95, 0.4);
        border-radius: 10px;
        padding: 14px 16px;
        margin-bottom: 12px;
    }

    .desktop-offcanvas-cart .offcanvas-travel-dates {
        display: flex;
        align-items: center;
        gap: 12px;
        color: white;
        font-size: 15px;
        margin-bottom: 10px;
    }

    .desktop-offcanvas-cart .offcanvas-travel-dates svg {
        color: #08605F;
    }

    .desktop-offcanvas-cart .offcanvas-travelers-count {
        color: #94a3b8;
        font-size: 14px;
    }

    /* ===== OFF-CANVAS FOOTER (PRICING) ===== */
    .desktop-offcanvas-footer {
        background: rgba(8, 96, 95, 0.15);
        padding: 24px 28px;
        border-top: 3px solid rgba(255, 255, 255, 0.1);
    }

    .desktop-offcanvas-cart .offcanvas-price-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 14px;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .desktop-offcanvas-cart .offcanvas-price-row:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .desktop-offcanvas-cart .offcanvas-price-label {
        color: #94a3b8;
        font-size: 14px;
    }

    .desktop-offcanvas-cart .offcanvas-price-value {
        color: white;
        font-size: 15px;
        font-weight: 600;
    }

    .desktop-offcanvas-cart .offcanvas-price-row.total {
        padding-top: 14px;
        border-top: 2px solid rgba(8, 96, 95, 0.6);
    }

    .desktop-offcanvas-cart .offcanvas-price-row.total .offcanvas-price-label {
        color: white;
        font-size: 16px;
        font-weight: 600;
    }

    .desktop-offcanvas-cart .offcanvas-price-row.total .offcanvas-price-value {
        color: #ffffff;
        font-size: 22px;
        font-weight: 700;
    }

    /* Empty State */
    .desktop-offcanvas-cart .offcanvas-empty-state {
        text-align: center;
        padding: 60px 30px;
        color: #6b7280;
    }

    .desktop-offcanvas-cart .offcanvas-empty-icon {
        font-size: 56px;
        margin-bottom: 20px;
        opacity: 0.5;
    }

    .desktop-offcanvas-cart .offcanvas-empty-text {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #94a3b8;
    }

    .desktop-offcanvas-cart .offcanvas-empty-subtext {
        font-size: 15px;
        color: #6b7280;
    }

    /* Animations */
    @keyframes slideInRightDesktop {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }

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

    /* Active animations */
    .desktop-offcanvas-cart.active {
        animation: slideInRightDesktop 0.35s ease-out;
    }

    .desktop-offcanvas-overlay.active {
        animation: fadeInDesktop 0.35s ease-out;
    }

    /* Body class when offcanvas is open */
    body.desktop-offcanvas-open {
        overflow: hidden;
    }
}

/* Hide on mobile */
@media (max-width: 768px) {
    .desktop-cart-trigger,
    .desktop-offcanvas-cart,
    .desktop-offcanvas-overlay {
        display: none !important;
    }
}