/* LenAir Booking & Produkt Styling - Enhanced Version */

.lenair-booking-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Header styling - improved typography */
.booking-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.booking-header:after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #E73546;
    border-radius: 2px;
}

.booking-header h1 {
    margin-bottom: 10px;
    font-size: 44px;
    letter-spacing: 0.1em;
    font-weight: 900;
    color: #222;
}

.booking-header .subtitle {
    font-size: 20px;
    color: #666;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Produktkataloget - improved animation */
.product-catalog {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-catalog.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Produktkort - improved shadows and transitions */
.product-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 
                0 1px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%; /* Full width */
}

.product-card:hover, 
.product-card.product-hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09), 
                0 5px 15px rgba(0, 0, 0, 0.02);
}

/* Produktbillede - perfectly square with improved overflow */
.product-image {
    flex: 0 0 350px;
    height: 350px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Bundle specific image - DOUBLE HEIGHT */
.product-card.product-bundle .product-image,
.bundle-image {
    height: 700px !important; /* Double height for bundles */
}

.product-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Produktbadge - improved design */
.product-badge {
    position: absolute;
    top: 20px;
    left: 0;
    background: #E73546;
    color: white;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 3px 10px rgba(231, 53, 70, 0.3);
    z-index: 2;
}

/* Produktinformation - improved content spacing */
.product-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.product-info h2 {
    margin: 0 0 12px 0;
    color: #222;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.product-tagline {
    font-size: 18px;
    color: #E73546;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.3;
}

.product-description {
    color: #444;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 16px;
}

/* WooCommerce-kompatibel produktbeskrivelse */
.product-description p,
.product-description ul,
.product-description ol {
    margin-bottom: 18px;
}

.product-description h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #222;
}

.product-description h4 {
    margin: 25px 0 12px 0;
    font-size: 18px;
    color: #333;
}

.product-description ul {
    list-style-type: none;
    padding-left: 0;
}

.product-description ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.product-description ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #E73546;
    font-weight: bold;
    font-size: 18px;
}

.product-description ol {
    list-style-type: decimal;
    padding-left: 20px;
    counter-reset: item;
}

.product-description ol li {
    margin-bottom: 10px;
}

/* Enhanced styling for list items */
.product-description .list-item {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.product-description .list-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #E73546;
    font-weight: bold;
    font-size: 18px;
}

/* Produktmeta - improved layout */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
    color: #666;
    font-size: 15px;
}

.product-meta > span {
    display: flex;
    align-items: center;
}

.product-meta i {
    color: #E73546;
    margin-right: 8px;
    font-size: 16px;
}

/* Produkthandling - improved layout */
.product-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.product-price {
    font-size: 26px;
    font-weight: 700;
    color: #222;
}

.product-price .woocommerce-Price-amount {
    color: #222;
}

/* Pris med rabat - improved styling */
.product-price del {
    font-size: 19px;
    opacity: 0.6;
    margin-right: 8px;
    text-decoration: line-through;
}

.product-price ins {
    text-decoration: none;
    color: #E73546;
}

/* HIDE "Tilføj til kurv" knap */
.product-action .button,
.add_to_cart_button {
    display: none !important;
}

/* Ultra prominent "Se detaljer" link */
.details-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 30px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    color: #fff !important;
    background-color: #E73546 !important;
    border: none !important;
    border-radius: 35px !important;
    box-shadow: 0 8px 20px rgba(231, 53, 70, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    margin-left: auto !important;
    position: relative !important;
    overflow: hidden !important;
}

.details-link:before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
    transition: left 0.7s ease !important;
}

.details-link:hover {
    background-color: #d82c3d !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(231, 53, 70, 0.35) !important;
    color: #fff !important;
}

.details-link:hover:before {
    left: 100% !important;
}

.details-link i {
    font-size: 14px !important;
    margin-left: 8px !important;
    transition: transform 0.3s ease !important;
}

.details-link:hover i {
    transform: translateX(4px) !important;
}

/* Bundle-related styles - enhanced */
.product-bundle {
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    border-left: 4px solid #E73546;
}

.bundle-products {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
    gap: 25px;
}

.bundle-product {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease;
}

.bundle-product:hover {
    transform: translateY(-3px);
}

.bundle-product h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
}

.bundle-price {
    font-weight: 600;
    color: #444;
    font-size: 18px;
}

.bundle-plus {
    font-size: 30px;
    color: #E73546;
    font-weight: bold;
}

.bundle-action {
    justify-content: center;
    padding-top: 20px;
}

.bundle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    text-decoration: none !important;
    color: #fff !important;
    background-color: #E73546 !important;
    border: none !important;
    border-radius: 35px !important;
    box-shadow: 0 8px 20px rgba(231, 53, 70, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    cursor: pointer;
    margin-left: 0;
    position: relative;
    overflow: hidden;
}

.bundle-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.bundle-btn:hover {
    background-color: #d82c3d !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(231, 53, 70, 0.35) !important;
}

.bundle-btn:hover:before {
    left: 100%;
}

/* Bundle rabat badge - improved */
.bundle-discount {
    display: inline-block;
    background: #E73546;
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 12px;
    margin-bottom: 18px;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(231, 53, 70, 0.2);
}

/* Filtreringssystem for kurser - improved */
.course-filters {
    margin-bottom: 50px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.course-filters h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-options button {
    padding: 10px 18px;
    background: white;
    border: 1px solid #e4e4e4;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.filter-options button:hover {
    border-color: #E73546;
    color: #E73546;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.filter-options button.active {
    background: #E73546;
    color: white;
    border-color: #E73546;
    box-shadow: 0 4px 12px rgba(231, 53, 70, 0.2);
}

/* Responsive styling - enhanced for all screen sizes */
@media (max-width: 1100px) {
    .product-image {
        flex: 0 0 320px;
        height: 320px;
    }
    
    .product-card.product-bundle .product-image,
    .bundle-image {
        height: 640px !important; /* Adjust bundle image height proportionally */
    }
    
    .product-info {
        padding: 35px;
    }
}

@media (max-width: 992px) {
    .product-card {
        flex-direction: column;
    }
    
    .product-image {
        flex: 0 0 350px;
        width: 100%;
        height: 350px;
    }
    
    /* For bundles in column layout, adjust height to be more reasonable */
    .product-card.product-bundle .product-image,
    .bundle-image {
        height: 500px !important; /* More reasonable height on tablets */
    }
    
    .bundle-products {
        flex-direction: column;
    }
    
    .bundle-plus {
        margin: 15px 0;
    }
    
    .course-filters .filter-options {
        justify-content: center;
    }
    
    .product-info {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .booking-header {
        margin-bottom: 50px;
    }
    
    .booking-header h1 {
        font-size: 36px;
    }
    
    .booking-header:after {
        width: 60px;
        bottom: -15px;
    }
    
    .product-catalog {
        gap: 35px;
    }
    
    .product-info {
        padding: 25px;
    }
    
    .product-info h2 {
        font-size: 26px;
    }
    
    .product-action {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .details-link {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }
    
    .bundle-btn {
        width: 100%;
        text-align: center;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    /* Keep product image square but slightly smaller on tablets */
    .product-image {
        height: 300px;
    }
    
    /* Adjust bundle image height for mobile */
    .product-card.product-bundle .product-image,
    .bundle-image {
        height: 400px !important; /* Smaller on mobile */
    }
    
    .product-price {
        text-align: center;
        width: 100%;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .booking-header h1 {
        font-size: 30px;
    }
    
    .booking-header .subtitle {
        font-size: 17px;
    }
    
    .product-image {
        height: 250px; /* Smaller square on very small devices */
    }
    
    /* Even smaller bundle image on tiny screens */
    .product-card.product-bundle .product-image,
    .bundle-image {
        height: 350px !important; /* Even smaller on tiny screens */
    }
    
    .product-info h2 {
        font-size: 24px;
    }
    
    .product-tagline {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 22px;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .filter-options button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .product-meta > span {
        width: 100%;
    }
    
    .bundle-product {
        padding: 20px 15px;
    }
}

/* Cart removal - hide cart completely */
.cart-preview {
    display: none !important;
}
