/**
 * Custom Fullscreen Menu CSS
 * WCAG 2.1 AA compliant
 */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    /* Critical rendering optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Hardware acceleration för aktiva element */
/* Hardware acceleration only while overlay is animating */
.custom-fullscreen-menu-overlay.open,
.custom-fullscreen-menu-overlay.closing {
    will-change: transform, opacity;
}

/* Enhanserat: device-specifika animationer */

}

}

}

}

    .package-card {
        -webkit-transform: scale(1.03);
        transform: scale(1.03);
    }
}

/* Touch-targets */
.custom-fullscreen-menu-trigger-button,
.custom-menu-close-button,
.carousel-arrow,
.submenu-toggle,
.book-button {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    cursor: pointer;
    /* Minimum 44px touch target */
    min-width: 44px;
    min-height: 44px;
}

/* Animationer */
@media (prefers-reduced-motion: no-preference) {
    .custom-fullscreen-menu-overlay {
        -webkit-transition: 
            opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1),
            transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        transition: 
            opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1),
            transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .custom-fullscreen-menu-overlay.closing {
        -webkit-transition: 
            opacity 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53),
            transform 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
        transition: 
            opacity 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53),
            transform 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }
}

}

/* Layout containment */
.custom-menu-right-content {
    contain: layout style paint;
}

.carousel-track {
    contain: layout;
}

/* Reducerad rörelse */
@media (prefers-reduced-motion: reduce) {
    .custom-fullscreen-menu-overlay,
    .custom-menu-container,
    .carousel-track,
    .carousel-slide,
    .packages-heading-container,
    .packages-carousel-container,
    .experience-tabs,
    .why-book-section {
        -webkit-transition: none !important;
        transition: none !important;
        -webkit-animation: none !important;
        animation: none !important;
    }
}

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

/* Focus management - only show focus outlines during keyboard navigation */
.js-focus-visible :focus:not(.focus-visible) {
    outline: none !important;
}

/* Focus styles only when using keyboard navigation */
.js-focus-visible .focus-visible {
    outline: 2px solid var(--cfm-menu-hover-color) !important;
    outline-offset: 2px !important;
}

/* Ensure no focus outline on mouse interactions */
:focus:not(:focus-visible) {
    outline: none !important;
}

/* Only show focus outline when navigating with keyboard */
:focus-visible {
    outline: 2px solid var(--cfm-menu-hover-color) !important;
    outline-offset: 2px !important;
}

:root {
    --cfm-menu-bg-color: #1e3b2b;
    --cfm-menu-text-color: #efdcc0;
    --cfm-menu-prominent-text-color: #efdcc0;
    --cfm-menu-hover-color: #efdcc0;
    --cfm-menu-border-color: #ffcf06;
    --cfm-menu-placeholder-bg: #ffffff; /* Changed to pure white */
    --cfm-menu-placeholder-text: #505050;
    --cfm-menu-close-button-bg: transparent;
    --cfm-menu-close-button-border: #ffcf06;
    --cfm-menu-close-button-x: #ffcf06;
    --cfm-design-menu-width: 520px; /* Design width of the menu container (reduced by 20%) */
}

/* Trigger Button */
.custom-fullscreen-menu-trigger-button {
    display: inline-block;
    cursor: pointer;
    /* Removed transform transition to prevent movement */
    
    /* Clean drop shadow for visibility against backgrounds */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) 
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

/* CSS hamburger — 3 yellow lines */
.cfm-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
    height: 20px;
    padding: 0;
    background: none;
    border: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4))
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.cfm-hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ffcf06;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.custom-fullscreen-menu-trigger-button:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    /* Button stays static on hover - no transform */
}

/* Menu Overlay */
.custom-fullscreen-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #36010D; /* Changed from rgba(0, 0, 0, 0.3) to solid wine red */
    z-index: 2147483647 !important; /* Maximum possible z-index value */
    display: none; 
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    font-family: 'cheltenham', 'futura-pt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden !important; /* Force hidden to prevent scrollbars */
    /* Prevent any additional scrolling in overlay */
    overscroll-behavior: contain;
    /* Initial state for slide animation - start off-screen to the left */
    transform: translateX(-100%);
}

.custom-fullscreen-menu-overlay.open {
    display: flex; 
    opacity: 1;
    align-items: flex-start; 
    justify-content: flex-start;
    /* Slide in from left animation */
    transform: translateX(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease-in-out;
}

/* Ensure smooth slide-out when closing */
.custom-fullscreen-menu-overlay.closing {
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53), opacity 0.3s ease-in-out;
}

/* Mobilanpassningar */
@media (max-width: 768px) {
    .custom-fullscreen-menu-overlay {
        -webkit-transition: 
            -webkit-transform 0.25s cubic-bezier(0.23, 1, 0.32, 1),
            opacity 0.2s cubic-bezier(0.23, 1, 0.32, 1);
        transition: 
            transform 0.25s cubic-bezier(0.23, 1, 0.32, 1),
            opacity 0.2s cubic-bezier(0.23, 1, 0.32, 1);

    }
    
    .custom-fullscreen-menu-overlay.open {
        -webkit-transition: 
            -webkit-transform 0.25s cubic-bezier(0.23, 1, 0.32, 1),
            opacity 0.25s cubic-bezier(0.23, 1, 0.32, 1);
        transition: 
            transform 0.25s cubic-bezier(0.23, 1, 0.32, 1),
            opacity 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .custom-fullscreen-menu-overlay.closing {
        -webkit-transition: 
            -webkit-transform 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
            opacity 0.15s cubic-bezier(0.55, 0.085, 0.68, 0.53);
        transition: 
            transform 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
            opacity 0.15s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }
    
    .custom-menu-container {
        overflow-scrolling: touch;
        scroll-behavior: smooth;
        contain: layout;
    }
    

}

/* iPhone SE (375px) */
@media (max-width: 375px) {
    .custom-fullscreen-menu-overlay {
        -webkit-transition: 
            -webkit-transform 0.2s ease-out,
            opacity 0.15s ease-out;
        transition: 
            transform 0.2s ease-out,
            opacity 0.15s ease-out;
    }
    
    .custom-menu-container {
        will-change: auto;
    }

    .package-card {
        box-shadow: none;
        border-radius: 0;
    }
}

/* iPhone 16 Pro Max (440px+) */
@media (min-width: 440px) {
    .custom-fullscreen-menu-overlay {
        -webkit-transition: 
            -webkit-transform 0.35s cubic-bezier(0.19, 1, 0.22, 1),
            opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        transition: 
            transform 0.35s cubic-bezier(0.19, 1, 0.22, 1),
            opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    }
    
    /* Enhanced visuals for large displays */
    .package-card {
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
        border-radius: 12px;
        -webkit-transition: 
            -webkit-transform 0.3s cubic-bezier(0.19, 1, 0.22, 1),
            box-shadow 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        transition: 
            transform 0.3s cubic-bezier(0.19, 1, 0.22, 1),
            box-shadow 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    }
    
    .package-card:hover {
        /* Hover effect disabled */
        /* -webkit-transform: translateY(-4px) scale(1.02);
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 16px 48px rgba(0,0,0,0.16); */
    }
}

/* Right side content */
.custom-menu-right-content {
    position: absolute;
    top: 0;
    left: var(--cfm-design-menu-width);
    right: 0;
    width: calc(100vw - var(--cfm-design-menu-width)); /* Ensure full width coverage */
    height: 100vh; /* Use viewport height for full coverage */
    background-color: #1e3b2b;
    overflow: hidden; /* Changed from auto to hidden for full-bleed effects */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 40px; /* Increased from 20px for more safe area above "Rum & Paket" */
    padding-top: 20px; /* Reduced from 40px to 20px for smaller safe zone */
    padding-bottom: 20px; /* Add bottom padding for safe area */
    transform-origin: top left; /* For scaling */
    /* Ensure content extends to edges */
    box-sizing: border-box;
}

/* Static background replacing the dynamic one */
.static-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #36010D; /* Solid wine red background */
}

/* Packages container - align with first package */
.packages-container {
    width: 95%; /* Increased from 90% */
    max-width: 1272px; /* Increased by 6% from 1200px */
    padding: 20px 0 30px; /* Reduced bottom padding from 50px to 30px */
    color: #fff;
    z-index: 5;
    position: relative;
    margin-left: 60px !important; /* Match the left padding of carousel to align with first package */
}

/* Heading without decorative elements - with more space below */
.packages-heading-container {
    display: flex;
    justify-content: flex-start !important; /* Align to left */
    margin-bottom: 60px; /* Increased from 30px to add more space */
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-left: 0; /* Reset this so the heading's margin takes effect */
}

.packages-heading {
    font-size: 38px; /* Increased by 5% from 36px */
    font-weight: 700;
    text-transform: none;
    color: #fff;
    position: relative;
    margin: 0;
    letter-spacing: 2px;
    text-align: left; /* Explicitly set to left */
    margin-left: 60px; /* Align directly with first package */
}

/* Close button style arrows */
.carousel-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(45deg) !important;
    background-color: transparent !important;
    border: 1.5px solid #dbc58c !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border-radius: 0 !important;
    /* Prevent arrows from being cut off */
    overflow: visible !important;
}

.carousel-arrow:hover {
    background-color: rgba(219, 197, 140, 0.1) !important;
}

/* Focus styles handled by focus-visible above */
.carousel-arrow:focus {
    background-color: rgba(219, 197, 140, 0.1) !important;
}

.carousel-arrow-left {
    left: 0 !important; /* Position on the left edge of the container */
}

.carousel-arrow-right {
    right: 0 !important; /* Position on the right edge of the container */
}

.arrow-icon {
    line-height: 1 !important;
    transform: rotate(-45deg) !important; /* Counter-rotate for correct alignment */
    font-size: 20px !important;
    color: #efdcc0 !important;
    font-weight: 300 !important; /* Make arrows thinner */
}

/* Disabled arrow state for smooth UX */
.carousel-arrow.disabled {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    cursor: default !important;
}

.carousel-arrow.disabled .arrow-icon {
    color: rgba(255, 207, 6, 0.3) !important;
}

/* Smooth transitions for arrow state changes */
.carousel-arrow {
    transition: opacity 0.3s ease, visibility 0.3s ease, border-color 0.3s ease !important;
}

.carousel-arrow.disabled:hover {
    background-color: transparent !important;
    border-color: rgba(255, 207, 6, 0.3) !important;
}

/* Boundary feedback animation for better UX */
.carousel-arrow.boundary-feedback {
    animation: boundaryShake 0.3s ease-in-out;
}

@keyframes boundaryShake {
    0%, 100% { transform: translateY(-50%) rotate(45deg) translateX(0); }
    25% { transform: translateY(-50%) rotate(45deg) translateX(-3px); }
    75% { transform: translateY(-50%) rotate(45deg) translateX(3px); }
}

/* Experience category tabs */
.experience-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.experience-tabs::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
}

.tab-button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    letter-spacing: 0.5px;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ffcf06;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.tab-button:hover {
    color: #fff;
}

.tab-button.active {
    color: #efdcc0;
}

.tab-button.active::after {
    width: 60%;
}

/* Enhanced carousel container - wider with 6% expansion */
.packages-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1240px !important; /* Increased by 6% from 1170px */
    margin: 0 auto 30px;
    margin-left: 0 !important; /* Align to left */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    overflow: visible !important; /* Changed from hidden to visible to prevent arrow cutting */
    padding: 0 60px; /* Add padding to make room for arrows */
}

/* Fixed package cards layout for 2-card view - slightly wider */
.carousel-slide {
    min-width: 47%; /* Increased from 45% to 47% for slightly wider cards */
    box-sizing: border-box;
    margin: 0 1.5%; /* Reduced margin to accommodate wider cards */
    transition: all 0.5s ease;
    display: flex;
}

/* Immersive carousel with 2 cards per view */
.packages-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

/* Package card styling - remove rounded edges */
.package-card {
    background-color: #fff;
    border-radius: 0; /* Removed rounded edges (was 8px) */
    overflow: hidden;
    color: #000;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    height: 100%;
    width: 100%; /* Ensure full width */
    display: flex;
    flex-direction: column;
}

/* Remove hover effects */
.carousel-slide.active .package-card,
.package-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transform: none !important;
}

/* Package image styling - adjusted height */
.package-image-container {
    position: relative;
    width: 100%;
    padding-top: 65%; /* Increased back to 65% for taller image area */
    overflow: hidden;
    flex-shrink: 0;
}

.package-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* Adjusted to focus higher on images */
    transform: scale(1.2); /* Zoom in by 20% */
}

/* Remove image shadows */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none !important; /* Removed the gradient overlay */
    z-index: 1;
}

/* Book button styling - align with price info */
.book-button {
    display: inline-flex;
    align-items: center;
    background-color: #36010D;
    color: #efdcc0;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: absolute;
    bottom: auto; /* Remove bottom positioning */
    top: 0; /* Align with top of price container */
    right: 20px;
}

.book-button:hover {
    /* Hover effect disabled */
    /* background-color: #4E0213; */
}

.btn-arrow {
    margin-left: 8px;
}

/* Price container adjustments - add more space at bottom */
.package-price-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Changed to flex-start to align tops */
    margin-top: auto;
    position: relative;
    padding-bottom: 30px; /* Increased from 20px to add more space below (about 3% more) */
}

/* Align price info properly */
.price-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px; /* Match height of book button */
}

/* Card counter */
.card-counter {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    display: flex;
    align-items: baseline;
}

.current-card {
    font-size: 20px;
    font-weight: 600;
    color: #efdcc0;
    margin-right: 5px;
}

.card-divider {
    margin: 0 3px;
    opacity: 0.5;
}

/* Package details - adjust height and add more space at bottom */
.package-details {
    position: relative;
    background-color: white;
    padding: 25px 25px 68px 25px; /* Reduced from 75px to 68px (halfway between 60px and 75px) */
    flex: 1;
    overflow: hidden;
    max-height: 400px; /* Reduced from 420px to 400px (halfway between 380px and 420px) */
}

.package-header {
    position: relative;
    margin-bottom: 15px;
}

.package-details h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: none;
    position: relative;
    line-height: 1.3;
}

.package-rating {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.star-icon {
    color: #efdcc0;
    font-size: 14px;
    margin-right: 2px;
}

.star-icon.half {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.star-icon.half::after {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: rgba(255, 207, 6, 0.3);
}

.rating-count {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.package-subtitle {
    font-size: 14px;
    color: #555;
    margin: 5px 0 0 0;
    line-height: 1.3;
}

.expanded-content {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-features {
    list-style-type: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.package-features li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.package-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #36010D;
}

/* Testimonial styling */
.testimonial {
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(219, 197, 140, 0.1);
    border-left: 3px solid #dbc58c;
    font-style: italic;
}

.testimonial p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.testimonial cite {
    display: block;
    font-size: 13px;
    color: #666;
    font-weight: 600;
    font-style: normal;
}

/* Menu Container */
.custom-menu-container {
    width: var(--cfm-design-menu-width);
    height: 100vh;
    overflow-y: auto;  /* Scroll instead of scale — WCAG 1.4.4 compliance */
    overflow-x: hidden;
    background-color: var(--cfm-menu-bg-color);
    padding: 70px 48px 48px 48px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: #0d1f17 rgba(255, 255, 255, 0.08);
    contain: layout style;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling — always visible, red */
.custom-menu-container::-webkit-scrollbar {
    width: 4px;
}

.custom-menu-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.custom-menu-container::-webkit-scrollbar-thumb {
    background: #0d1f17;
    border-radius: 2px;
    min-height: 40px;
}

.custom-menu-container::-webkit-scrollbar-thumb:hover {
    background: #0a1a13;
}

/* Menu Header */
.custom-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    /* Prevent line breaks to maintain consistent appearance */
    white-space: nowrap;
}

.custom-menu-logo-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

/* Header right section containing close button */
.custom-menu-header-right {
    display: flex;
    align-items: center;
}

/* Logo styling - reduced size */
.custom-menu-logo {
    display: flex;
    align-items: center;
}

.custom-menu-logo img.menu-logo {
    width: 200px;
    height: auto;
}

/* Logo link styling */
.custom-menu-logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.custom-menu-logo a:hover {
    opacity: 0.8;
}

.custom-menu-logo a:focus {
    outline: 2px solid var(--cfm-menu-hover-color);
    outline-offset: 2px;
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 24px; /* Increased space between the two flags */
}

.language-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px; /* Move flags down more to center them better */
}

.language-link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.language-link:focus {
    outline: 2px solid var(--cfm-menu-hover-color);
    outline-offset: 2px;
}

.language-flag {
    width: 20px; /* Reduced from 24px to make flags smaller */
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Close Button - now outlined rectangle with matching X color */
.custom-menu-close-button { 
    background: var(--cfm-menu-close-button-bg);
    border: 1.5px solid var(--cfm-menu-close-button-border); /* Thinner border as requested */
    color: var(--cfm-menu-close-button-border);
    cursor: pointer;
    width: 48px; /* Increased size by 10% from 44px */
    height: 48px; /* Increased size by 10% from 44px */
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    padding: 0;
    border-radius: 0;
    /* Ensure the button maintains its shape */
    flex-shrink: 0;
}

.custom-menu-close-button:hover {
    background-color: transparent;
    border-color: var(--cfm-menu-close-button-border);
}

.custom-menu-close-button:focus,
.custom-menu-close-button:focus-visible {
    background-color: transparent;
    border-color: var(--cfm-menu-close-button-border);
    outline: none !important;
}

.custom-menu-close-button .close-icon-x {
    display: block;
    width: 18px; /* Keeping X size the same */
    height: 18px; /* Keeping X size the same */
    position: relative;
    transform: rotate(-45deg);
}

.custom-menu-close-button .close-icon-x::before,
.custom-menu-close-button .close-icon-x::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px; /* Keeping line thickness the same */
    height: 100%;
    background-color: var(--cfm-menu-close-button-x);
    transform-origin: center;
}

.custom-menu-close-button .close-icon-x::before { 
    transform: translate(-50%, -50%) rotate(45deg); 
}

.custom-menu-close-button .close-icon-x::after { 
    transform: translate(-50%, -50%) rotate(-45deg); 
}

/* Main Navigation */
.custom-main-navigation {
    flex-grow: 0; /* Changed from 1 to 0 to prevent stretching */
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    /* Prevent unnecessary wrapping */
    width: 100%;
}

.custom-main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.custom-main-navigation > ul > li {
    margin-top: 0;
    margin-bottom: 16px; /* Further reduced spacing between items */
    width: 100%;
}

/* Special spacing fixes for specific menu items */
.custom-main-navigation > ul > li:last-child {
    margin-bottom: 12px; /* Reduced bottom space for last items in sections */
}

/* Ensure first menu item in each section has consistent spacing */
.custom-main-navigation > ul:first-child > li:first-child {
    margin-top: 0; /* No extra top margin for very first item */
}

/* Fine-tune spacing for specific menu items */
.custom-main-navigation li.has-submenu {
    margin-top: 4px; /* Further reduced spacing above "Aktiviteter" from "Coworking" */
    margin-bottom: 12px; /* Increased spacing below "Aktiviteter" to give more room from dropdown to Parkering */
}

/* Close spacing for Parkering item */
.custom-main-navigation li.close-spacing {
    margin-top: 8px; /* Increased distance from dropdown to Parkering for better spacing */
}

.custom-main-navigation li a {
    text-decoration: none;
    color: var(--cfm-menu-text-color);
    font-size: 20px !important;
    font-weight: 500;
    display: block;
    transition: color 0.4s ease, letter-spacing 0.4s ease, font-weight 0.4s ease, opacity 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
}

.custom-main-navigation .custom-menu-secondary-links a {
    font-size: 16px !important;
}

.custom-main-navigation li a:hover {
    color: var(--cfm-menu-hover-color);
    font-weight: 700; /* Bold on hover - removed letter-spacing resize effect */
}

/* Focus styles only for keyboard navigation */
.custom-main-navigation li a:focus-visible {
    color: var(--cfm-menu-hover-color);
    font-weight: 700; /* Bold on focus - removed letter-spacing resize effect */
    outline: 2px solid var(--cfm-menu-hover-color);
    outline-offset: 2px;
}

/* Remove focus styles for mouse interactions */
.custom-main-navigation li a:focus:not(:focus-visible) {
    outline: none;
}

/* Menu Separators */
.custom-menu-separator {
    border: none;
    height: 1px;
    background-color: var(--cfm-menu-border-color); 
    margin: 20px 0 24px 0; /* Consistent spacing: 20px above, 24px below separator */
    width: 100%;
}

.custom-main-navigation > hr:last-of-type { 
    margin: 20px 0 24px 0; /* Same consistent spacing for last separator */
}

/* Submenu Styles */
.custom-main-navigation li.has-submenu .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Button styling to match menu links */
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 16.5px; /* Match menu link font size */
    font-weight: 500; /* Match menu link font weight */
    color: var(--cfm-menu-text-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: color 0.4s ease, letter-spacing 0.4s ease, font-weight 0.4s ease, opacity 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.custom-main-navigation li.has-submenu .submenu-toggle:hover {
    color: var(--cfm-menu-hover-color);
    font-weight: 700;
}

.custom-main-navigation li.has-submenu .submenu-toggle:focus-visible {
    color: var(--cfm-menu-hover-color);
    font-weight: 700;
    outline: 2px solid var(--cfm-menu-hover-color);
    outline-offset: 2px;
}

.custom-main-navigation li.has-submenu .submenu-toggle:focus:not(:focus-visible) {
    outline: none;
}

/* Ensure submenu toggle doesn't behave like a link */
.custom-main-navigation li.has-submenu .submenu-toggle {
    text-decoration: none !important;
}

.custom-main-navigation li.has-submenu .submenu-toggle:visited {
    color: var(--cfm-menu-text-color);
}

.custom-main-navigation .submenu-arrow {
    font-size: 18px; 
    margin-left: 6px; 
    transition: transform 0.3s ease;
    color: var(--cfm-menu-text-color);
}

.custom-main-navigation li.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

.custom-main-navigation .submenu-items {
    list-style: none;
    padding-left: 12px; 
    margin-top: 10px; 
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    width: calc(100% - 12px);
}

.custom-main-navigation li.has-submenu.open .submenu-items {
    /* max-height set by JS */
}

.custom-main-navigation .submenu-items li {
    margin-top: 0;
    margin-bottom: 8px; 
    width: 100%;
}

.custom-main-navigation .submenu-items li:last-child {
    margin-bottom: 0;
}

.custom-main-navigation .submenu-items li a {
    font-size: 14px; /* Increased submenu items to match proportion */
    font-weight: 500; /* Medium weight for initial state */
    letter-spacing: 0.2px; 
}

/* Secondary Links - increased spacing */
.custom-menu-secondary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; /* Reduced to keep all items on one line */
    margin-top: 0;
    margin-bottom: 30px;
    justify-content: flex-start;
    width: 100%;
}

.custom-menu-secondary-links ul {
    display: contents;
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-menu-secondary-links li {
    display: contents;
    list-style: none;
}

.custom-menu-secondary-links a {
    text-decoration: none;
    color: var(--cfm-menu-text-color);
    font-size: 13px; /* Slightly increased for better proportions */
    font-weight: 500; /* Medium weight for initial state */
    letter-spacing: 0.4px; 
    transition: color 0.4s ease, font-weight 0.4s ease, opacity 0.3s ease;
    /* Prevent text overflow */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    text-transform: none;
}

.custom-menu-secondary-links a:hover {
    color: var(--cfm-menu-hover-color);
    font-weight: 700; /* Bold on hover - no resize effect */
}

/* Focus styles only for keyboard navigation */
.custom-menu-secondary-links a:focus-visible {
    color: var(--cfm-menu-hover-color);
    font-weight: 700; /* Bold on focus - no resize effect */
    outline: 2px solid var(--cfm-menu-hover-color);
    outline-offset: 2px;
}

.custom-menu-secondary-links a:focus:not(:focus-visible) {
    outline: none;
}

/* Menu Footer - fixed positioning that stays with the content */
.custom-menu-footer-group {
    width: 100%;
    margin-top: 30px; /* Fixed distance from secondary links */
    margin-bottom: 40px; /* Ensure padding at bottom */
    padding: 0;
    position: relative;
    flex-shrink: 0; /* Prevent shrinking */
}

.custom-menu-image-placeholder {
    width: 100%;
    background-color: #193323;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    box-sizing: border-box;
    color: var(--cfm-menu-placeholder-text);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); 
    margin-bottom: 0; /* Ensure no bottom gap */
    position: relative;
    overflow: hidden;
}

/* Image container */
.placeholder-image {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-promo-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

/* Content styling with rounded background */
.placeholder-image-content {
    background-color: transparent; /* Remove background as entire box is white now */
    padding: 0;
    border-radius: 0;
    position: relative;
    z-index: 1;
    text-align: left; /* Align text left */
}

.custom-menu-image-placeholder .placeholder-image-title {
    display: block;
    font-size: 22px;
    font-weight: 400;
    color: #ffcf06;
    margin-bottom: 8px;
    text-transform: none;
    text-align: left;
    font-family: 'cheltenham', sans-serif;
}

.custom-menu-image-placeholder .placeholder-image-subtitle {
    display: block;
    font-size: 16px;
    color: var(--cfm-menu-text-color); /* Match title color */
    line-height: 1.4; 
    margin-bottom: 0; 
    /* Allow subtitle to wrap properly */
    white-space: normal;
    text-align: left; /* Align text left */
}

/* Promo link styling for Håkan Hellström section */
.custom-menu-image-placeholder .promo-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0;
    overflow: hidden;
}

.custom-menu-image-placeholder .promo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
}

.custom-menu-image-placeholder .promo-link:focus {
    outline: 2px solid var(--cfm-menu-hover-color);
    outline-offset: 2px;
}

/* These media queries are fallbacks only - the JS scaling handles most cases */
@media (max-width: 768px) {
    /* CSS variables remain unchanged to ensure consistent scaling */
    /* Only adjust if absolutely needed */
}

@media (max-width: 480px) {
    /* CSS variables remain unchanged to ensure consistent scaling */
    /* Only adjust if absolutely needed */
}

/* Media queries for overall menu layout and right content */
@media (max-width: 1366px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .packages-heading {
        font-size: 30px;
    }
    
    .package-title-overlay h3 {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .packages-container {
        padding: 30px 0;
        width: 95%;
    }
    
    .custom-menu-right-content {
        overflow-y: auto; /* Enable vertical scrolling for smaller screens */
    }
    
    .packages-heading {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .package-image-container {
        padding-top: 50%; /* Shorter image area on mobile */
    }
    
    .flash-deal-badge {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }
    
    .booking-benefits {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-height: 700px) {
    .packages-container {
        padding: 20px 0;
    }
    
    .packages-heading {
        margin-bottom: 15px;
    }
    
    .package-details {
        padding: 15px;
    }
    
    .package-features li {
        margin-bottom: 4px;
        font-size: 13px;
    }
    
    .packages-grid {
        margin-bottom: 30px;
        gap: 15px;
    }
}

/* Adjustments for the combined menu with right side content */
@media (max-width: 1200px) {
    /* On smaller screens, make sure the menu area doesn't get too small */
    :root {
        --cfm-design-menu-width: 420px; /* Reduced width for smaller screens */
    }
    
    .custom-menu-right-content {
        padding-left: 20px; /* Add some space from the left menu */
    }
}

/* This media query is now handled by the mobile-specific rules above */

/* Mobile and iPad changes - hide right content, enable scrolling, fill gap */
@media (max-width: 1024px) {
    /* Hide right content completely on mobile and iPad */
    .custom-menu-right-content {
        display: none !important;
    }
    
    /* Make menu container fill entire screen */
    .custom-menu-container {
        width: 100% !important;
        height: 100vh !important;
        overflow-y: auto !important; /* Enable vertical scrolling */
        overflow-x: hidden !important;
        padding: 70px 48px 48px 48px !important; /* Maintain padding */
        position: fixed !important; /* Ensure it fills the screen */
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        margin: 0 !important;
        transform: none !important; /* Disable scaling on mobile and iPad */
        transform-origin: initial !important;
    }
    
    /* Ensure overlay fills screen properly */
    .custom-fullscreen-menu-overlay {
        width: 100vw !important;
        height: 100vh !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }
    
    /* Reset any CSS variables that might affect width */
    :root {
        --cfm-design-menu-width: 100vw !important;
    }
}

/* Packages carousel styling */
.packages-carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px;
}

.packages-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

/* Carousel navigation arrows - using our main design throughout */
.carousel-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(45deg) !important;
    background-color: transparent !important;
    border: 1.5px solid #dbc58c !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border-radius: 0 !important;
}

.carousel-arrow:hover {
    background-color: rgba(219, 197, 140, 0.1) !important;
}

/* Focus styles handled by focus-visible above */
.carousel-arrow:focus {
    background-color: rgba(219, 197, 140, 0.1) !important;
}

.carousel-arrow-left {
    left: 0 !important; /* Position on the left edge of the container */
}

.carousel-arrow-right {
    right: 0 !important; /* Position on the right edge of the container */
}

.arrow-icon {
    line-height: 1 !important;
    transform: rotate(-45deg) !important; /* Counter-rotate for correct alignment */
    font-size: 20px !important;
    color: #efdcc0 !important;
}

/* Carousel indicator dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(219, 197, 140, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ffcf06;
}

/* Entrance animations for elements */
.packages-heading-container.animate-in,
.experience-tabs.animate-in, 
.packages-carousel-container.animate-in,
.carousel-controls.animate-in, 
.why-book-section.animate-in,
.action-banner.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 3D card effect on hover */
.package-card.hover .card-inner {
    transform: scale(1.02) translateZ(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.package-card.hover .package-badge {
    transform: scale(1.05);
}

/* Fade in animation for initially hidden elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shimmer effect for decoration elements */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Add subtle pulsing animation to the gold accents */
@keyframes accentPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.book-button, 
.why-book-section h3::after,
.tab-button.active::after {
    animation: accentPulse 4s infinite ease-in-out;
}

/* Classy transition for category tabs */
.tab-button {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tab-button:hover::after {
    width: 40%;
}

/* Filtered slide transition */
.carousel-slide.filtered-out {
    opacity: 0.2;
    transform: scale(0.9);
    transition: all 0.5s ease;
    pointer-events: none;
}

/* Enhanced "Why Book With Us" section - adjusted spacing and size */
.why-book-section {
    margin-top: 20px; /* Reduced from 40px to 20px to account for smaller safe zones */
    padding: 15px 0; /* Reduced padding from 25px to 15px */
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-left: 60px; /* Match the left padding of carousel to align with first package */
}

.why-book-section h3 {
    font-size: 21px; /* Increased by 5% from 20px */
    font-weight: 900; /* Changed to extra bold */
    margin-bottom: 15px;
    color: #3e191e; /* Changed to requested color */
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
    text-align: left;
}

.why-book-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #3e191e; /* Changed to match the title color */
}

.booking-benefits {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.booking-benefits li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #efdcc0;
    transition: transform 0.3s ease;
}

.booking-benefits li:hover {
    /* Hover effect disabled */
    /* transform: translateX(5px); */
}

.benefit-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animation keyframes */
@keyframes dotPulse {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}

/* Active slide styling */
.carousel-slide.active .package-card {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

/* Hide dots */
.carousel-controls {
    display: none !important;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-decoration {
    display: none !important;
}

.carousel-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: transform;
}

.price {
    font-weight: 700;
    font-size: 18px;
}

.price-details {
    font-size: 12px;
    color: #666;
}

/* Media queries for different screen sizes */
@media (max-width: 1200px) {
    .packages-carousel-container {
        max-width: 1050px; /* Adjusted for smaller screens but still larger */
    }
    
    .carousel-slide {
        min-width: 47%; /* Maintain width */
    }
}

@media (max-width: 992px) {
    .carousel-slide {
        min-width: 100%; /* Fall back to 1 card for smaller screens */
        margin: 0; /* Remove margin when single card */
    }
    
    .packages-heading {
        font-size: 30px;
    }
    
    .package-features li {
        margin-bottom: 5px;
    }
}

/* Booking buttons section */
.booking-buttons-section {
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    border: none;
}

.booking-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Increased from 25px for even more spacing between buttons */
    height: 100%;
    justify-content: center;
    padding: 0 10px; /* Add side padding to center content */
}

.booking-button {
    background-color: #36010D;
    color: #efdcc0;
    border: 1.5px solid #36010D;
    padding: 30px 30px; /* Increased vertical padding from 20px to 30px for much taller buttons */
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: block;
}

.booking-button:hover {
    /* Hover effect disabled */
    /* background-color: #4E0213; */
}

/* Grid Submenu Styles */
.custom-main-navigation .submenu-grid {
    display: flex;
    justify-content: space-between;
    padding: 8px 0 0 8px; /* Reduced top padding from 15px to 8px, left padding from 12px to 8px */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease, visibility 0.3s ease;
    width: calc(100% - 8px); /* Adjusted to match new padding */
    /* Prevent affecting parent container size */
    position: relative;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
}

.custom-main-navigation li.has-submenu.open .submenu-grid {
    max-height: 300px !important; /* Adjust as needed */
    opacity: 1 !important;
    visibility: visible !important;
}

.custom-main-navigation .submenu-column {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 32%;
    /* Prevent column expansion affecting layout */
    flex-shrink: 0;
    box-sizing: border-box;
}

.custom-main-navigation .submenu-column li {
    margin-top: 0;
    margin-bottom: 8px;
    width: 100%;
}

.custom-main-navigation .submenu-column li:last-child {
    margin-bottom: 0;
}

.custom-main-navigation .submenu-column li a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* List Submenu Styles (vertical single-column layout) */
.custom-main-navigation .submenu-list {
    list-style: none;
    padding: 8px 0 0 8px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    width: calc(100% - 8px);
    position: relative;
    box-sizing: border-box;
}

.custom-main-navigation .submenu-list li {
    margin-top: 0;
    margin-bottom: 11px;
    width: 100%;
}

.custom-main-navigation .submenu-list li:last-child {
    margin-bottom: 4px;
}

.custom-main-navigation .submenu-list li a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Mobile/Desktop title switching - inherit parent styles */
.desktop-title,
.mobile-title {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit;
    text-transform: inherit;
    display: inline;
}

.desktop-title {
    display: inline;
}

.mobile-title {
    display: none;
}

/* Mobile optimizations for submenu */
@media (max-width: 480px) {
    .custom-main-navigation .submenu-grid {
        padding: 6px 0 0 4px; /* Even tighter margins on mobile */
        width: calc(100% - 4px);
        justify-content: flex-start; /* Left-align columns for better space usage */
        gap: 8px; /* Add small gap between columns */
    }

    .custom-main-navigation .submenu-list {
        padding: 6px 0 0 4px;
        width: calc(100% - 4px);
    }

    .custom-main-navigation .submenu-list li {
        margin-bottom: 6px;
    }

    .custom-main-navigation .submenu-list li a {
        font-size: 13px;
        letter-spacing: 0.1px;
        padding: 2px 0;
        white-space: normal;
    }

    .custom-main-navigation .submenu-column {
        width: 30%; /* Slightly smaller columns for more space */
        margin-right: 2px; /* Minimal right margin */
    }

    .custom-main-navigation .submenu-column li {
        margin-bottom: 6px; /* Reduced spacing between items */
    }

    .custom-main-navigation .submenu-column li a {
        font-size: 13px; /* Slightly smaller font on mobile */
        letter-spacing: 0.1px;
        padding: 2px 0; /* Add small vertical padding */
    }
    
    /* Switch to mobile titles on small screens */
    .desktop-title {
        display: none;
    }
    
    .mobile-title {
        display: inline;
        font-size: inherit; /* Ensure mobile title inherits the 13px */
        font-weight: inherit;
        letter-spacing: inherit;
    }
    
    /* Adjust has-submenu spacing on mobile */
    .custom-main-navigation li.has-submenu {
        margin-top: 2px;
        margin-bottom: 8px;
    }
    
    /* Adjust close-spacing for mobile */
    .custom-main-navigation li.close-spacing {
        margin-top: 4px;
    }
}

/* iPhone SE (375px) - submeny */
@media (max-width: 375px) {
    .custom-main-navigation .submenu-grid {
        padding: 4px 0 0 2px;
        width: calc(100% - 2px);
        gap: 4px;
    }

    .custom-main-navigation .submenu-list {
        padding: 4px 0 0 2px;
        width: calc(100% - 2px);
    }

    .custom-main-navigation .submenu-list li a {
        font-size: 12px;
        letter-spacing: 0px;
    }

    .custom-main-navigation .submenu-column {
        width: 31%; /* Use more available space */
    }

    .custom-main-navigation .submenu-column li a {
        font-size: 12px; /* Smaller font for iPhone SE */
        letter-spacing: 0px;
    }

    /* Ensure spans inherit iPhone SE styling */
    .custom-main-navigation .submenu-column .desktop-title,
    .custom-main-navigation .submenu-column .mobile-title {
        font-size: inherit; /* Inherit the 12px */
        font-weight: inherit;
        letter-spacing: inherit;
    }

    .custom-main-navigation .submenu-list .desktop-title,
    .custom-main-navigation .submenu-list .mobile-title {
        font-size: inherit;
        font-weight: inherit;
        letter-spacing: inherit;
    }
}

/* ====================================================================
   HOMEPAGE BOOKING WIDGET - EXACT DESIGN MATCH
   ==================================================================== */

/* Homepage Booking Widget - Base Styles */
.homepage-booking-widget {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    z-index: 9999995; /* Very high z-index, still under boka menu and custom menu */
    pointer-events: none;
}

.booking-widget-container {
    background: transparent;
    pointer-events: all;
    width: 100%;
    
    /* Strong drop shadow for visibility against backgrounds */
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6)) 
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4))
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* Booking Header with Lines */
.booking-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px; /* Reduced from 20px to bring closer to buttons */
    position: relative;
    width: 100%;
}

.booking-header::before,
.booking-header::after {
    content: '';
    height: 1px;
    background: #ffcf06; /* Yellow */
    /* Lines extend to button edges */
    flex: 1; /* Take up all available space */
    max-width: none; /* Remove max-width restriction */
    min-width: 20px; /* Minimum fallback */
    margin: 0 10px; /* Small margin next to BOKA text */
}

.booking-title {
    font-size: 13px; /* Reduced from 16px to make smaller */
    font-weight: 400;
    letter-spacing: 3px; /* Reduced from 4px for smaller text */
    color: #ffcf06;
    text-transform: none;
    white-space: nowrap;
    margin: 0;
    padding: 0 8px; /* Reduced padding for smaller text */
    font-family: 'cheltenham', Georgia, serif;
}

/* Booking Buttons Row */
.booking-buttons-row {
    display: flex;
    gap: 2vw; /* Responsive gap that scales with viewport */
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap; /* Never wrap - always 3 in a row */
}

.booking-btn {
    /* EXACT styling from boka-paket-btn but with reduced height */
    background-color: #1a3526;
    color: #ffcf06;
    text-decoration: none;
    padding: 10px 20px; /* Reduced from 14px to make shorter */
    border-radius: 0;
    font-weight: 400;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    min-width: 110px;
    text-align: center;
    cursor: pointer;
    font-family: 'cheltenham', Georgia, serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 40px; /* Reduced from 48px */
    height: 40px; /* Reduced from 48px */
    line-height: 1;
    margin: 0;
    outline: none;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Responsive scaling */
    flex: 1;
    max-width: 180px;
    
    /* Text fitting optimizations */
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-btn:hover {
    background-color: #4a1a1a; /* Exact same as boka menu hover */
    color: #e6c547; /* Exact same as boka menu hover */
    box-shadow: 0 4px 12px rgba(54, 1, 13, 0.4);
}

.booking-btn:active {
    /* Removed transform animation */
}

.booking-btn:focus {
    outline: 2px solid #dbc58c;
    outline-offset: 2px;
}

.booking-btn span {
    white-space: nowrap;
    font-family: inherit;
}

/* ====================================================================
   RESPONSIVE OPTIMIZATIONS FOR ALL DEVICES
   ==================================================================== */

/* iPhone SE (375×667) */
    
    .booking-title {
        font-size: 10px;
        letter-spacing: 1.8px;
    }
    
    .booking-header {
        margin-bottom: 8px;
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 6px; /* Tight margin for SE */
        flex: 1;
        min-width: 12px;
    }
    
    .booking-buttons-row {
        gap: 0.6vw; /* Minimal gap for maximum button space */
    }
    
    .booking-btn {
        padding: 7px 4px;
        font-size: 8px;
        letter-spacing: 0.2px;
        min-width: 90px; /* Increased width for text */
        max-width: 110px;
        min-height: 30px; /* Shorter for compact look */
        height: 30px;
        flex: 1;
    }
    
    /* "KONFERENS" behöver extra tight layout på SE */
    .booking-btn[data-booking-type="meeting"] {
        font-size: 7px;
        letter-spacing: 0.1px;
        padding: 7px 2px;
    }
}

/* iPhone 12 Mini (375×812) */
    
    .booking-title {
        font-size: 11px; /* Optimized size */
        letter-spacing: 2px;
    }
    
    .booking-header {
        margin-bottom: 9px;
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 7px;
        flex: 1;
        min-width: 15px;
    }
    
    .booking-buttons-row {
        gap: 0.8vw; /* Tighter for text space */
    }
    
    .booking-btn {
        padding: 8px 6px; /* Optimized padding */
        font-size: 9px; /* Better fit for "KONFERENS" */
        letter-spacing: 0.3px;
        min-width: 95px; /* More width for text */
        max-width: 118px;
        min-height: 32px; /* Compact height */
        height: 32px;
        flex: 1;
    }
    
    .booking-btn[data-booking-type="meeting"] {
        font-size: 8px; /* Smaller for "KONFERENS" */
        letter-spacing: 0.15px;
        padding: 8px 4px;
    }
}

/* iPhone 13/14/15 (390×844) */
    
    .booking-title {
        font-size: 12px; /* Good size for this screen */
        letter-spacing: 2.5px;
    }
    
    .booking-header {
        margin-bottom: 10px;
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 9px;
        flex: 1;
        min-width: 18px;
    }
    
    .booking-buttons-row {
        gap: 1vw; /* Optimized gap */
    }
    
    .booking-btn {
        padding: 9px 8px;
        font-size: 10px; /* Better fit for "KONFERENS" */
        letter-spacing: 0.4px;
        min-width: 100px; /* More width for text */
        max-width: 128px;
        min-height: 34px;
        height: 34px;
        flex: 1;
    }
    
    .booking-btn[data-booking-type="meeting"] {
        font-size: 9px; /* Optimized for "KONFERENS" */
        letter-spacing: 0.25px;
        padding: 9px 6px;
    }
}

/* iPhone 12/13/14/15 Pro (393×852) */
    
    .booking-title {
        font-size: 12px; /* Optimized size */
        letter-spacing: 2.8px;
    }
    
    .booking-header {
        margin-bottom: 10px;
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 10px;
        flex: 1;
        min-width: 20px;
    }
    
    .booking-buttons-row {
        gap: 1.2vw; /* Better spacing */
    }
    
    .booking-btn {
        padding: 10px 10px;
        font-size: 10.5px; /* Better fit */
        letter-spacing: 0.5px;
        min-width: 105px; /* More width for "KONFERENS" */
        max-width: 132px;
        min-height: 36px;
        height: 36px;
        flex: 1;
    }
    
    .booking-btn[data-booking-type="meeting"] {
        font-size: 9.5px; /* Optimized for "KONFERENS" */
        letter-spacing: 0.3px;
        padding: 10px 8px;
    }
}

/* iPhone 16 Pro (402×874) */
    
    .booking-title {
        font-size: 13px; /* Good size for larger screen */
        letter-spacing: 3px;
    }
    
    .booking-header {
        margin-bottom: 11px;
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 12px;
        flex: 1;
        min-width: 22px;
    }
    
    .booking-buttons-row {
        gap: 1.5vw; /* Optimized spacing */
    }
    
    .booking-btn {
        padding: 11px 12px;
        font-size: 11px; /* Better fit for "KONFERENS" */
        letter-spacing: 0.6px;
        min-width: 110px; /* More width for text */
        max-width: 138px;
        min-height: 38px;
        height: 38px;
        flex: 1;
    }
    
    .booking-btn[data-booking-type="meeting"] {
        font-size: 10px; /* Optimized for "KONFERENS" */
        letter-spacing: 0.4px;
        padding: 11px 10px;
    }
}

/* iPhone 12/13/14/15 Pro Max (428×926) */
    
    .booking-title {
        font-size: 14px; /* Good size for Pro Max */
        letter-spacing: 3.2px;
    }
    
    .booking-header {
        margin-bottom: 11px;
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 14px;
        flex: 1;
        min-width: 25px;
    }
    
    .booking-buttons-row {
        gap: 1.8vw; /* Better spacing */
    }
    
    .booking-btn {
        padding: 11px 14px;
        font-size: 11.5px; /* Better fit for "KONFERENS" */
        letter-spacing: 0.7px;
        min-width: 118px; /* More width for text */
        max-width: 148px;
        min-height: 38px;
        height: 38px;
        flex: 1;
    }
    
    .booking-btn[data-booking-type="meeting"] {
        font-size: 10.5px; /* Optimized for "KONFERENS" */
        letter-spacing: 0.5px;
        padding: 11px 12px;
    }
}

/* iPhone 16 Pro Max (440×956) */
    
    .booking-title {
        font-size: 15px; /* Good size for largest iPhone */
        letter-spacing: 3.5px;
    }
    
    .booking-header {
        margin-bottom: 12px;
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 16px;
        flex: 1;
        min-width: 28px;
    }
    
    .booking-buttons-row {
        gap: 2vw; /* Optimized spacing */
    }
    
    .booking-btn {
        padding: 11px 16px;
        font-size: 12px;
        letter-spacing: 0.8px;
        min-width: 125px;
        max-width: 160px;
        min-height: 40px;
        height: 40px;
        flex: 1;
    }
    
    .booking-btn[data-booking-type="meeting"] {
        font-size: 11px; /* Optimized for "KONFERENS" */
        letter-spacing: 0.6px;
        padding: 11px 14px;
    }
}

/* Small Mobile Devices - EXTREME TEXT OPTIMIZATION */
@media (max-width: 374px) {
    .homepage-booking-widget {
        padding: 10px 6px calc(10px + env(safe-area-inset-bottom)) 6px;
    }
    
    .booking-title {
        font-size: 9px; /* Very small for tiny screens */
        letter-spacing: 1.2px;
    }
    
    .booking-header {
        margin-bottom: 6px; /* Tight spacing */
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 4px; /* Minimal margin */
        flex: 1;
        min-width: 8px;
    }
    
    .booking-buttons-row {
        gap: 0.2vw; /* Extremely tight gap */
        flex-wrap: nowrap;
    }
    
    .booking-btn {
        padding: 6px 2px; /* Minimal padding for max text space */
        font-size: 7px; /* Tiny font for extreme space saving */
        letter-spacing: 0.05px;
        min-width: 85px; /* More width for "KONFERENS" */
        max-width: 100px;
        min-height: 28px; /* Very compact */
        height: 28px;
        flex: 1;
    }
    
    /* "KONFERENS" - minsta skärmar */
    .booking-btn[data-booking-type="meeting"] {
        font-size: 6px;
        letter-spacing: 0px;
        padding: 6px 1px; /* Minimal padding */
    }
}

/* Large Mobile Devices */
@media (min-width: 480px) and (max-width: 767px) {
    .homepage-booking-widget {
        padding: 24px 28px calc(24px + env(safe-area-inset-bottom)) 28px;
    }
    
    .booking-title {
        font-size: 15px; /* Reduced from 18px to make smaller */
        letter-spacing: 4px; /* Reduced for smaller text */
    }
    
    .booking-header {
        margin-bottom: 12px; /* Reduced to bring closer to buttons */
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 20px; /* Small margin next to BOKA text */
        flex: 1; /* Extend to button edges */
        min-width: 30px;
    }
    
    .booking-buttons-row {
        gap: 20px;
    }
    
    .booking-btn {
        padding: 11px 30px; /* Reduced vertical padding for shorter buttons */
        font-size: 15px;
        letter-spacing: 1.8px;
        min-width: 140px;
        min-height: 40px;
        height: 40px;
    }
}

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 1024px) {
    .homepage-booking-widget {
        padding: 28px 32px calc(28px + env(safe-area-inset-bottom)) 32px;
    }
    
    .booking-title {
        font-size: 16px; /* Reduced from 20px to make smaller */
        letter-spacing: 4.5px; /* Reduced for smaller text */
    }
    
    .booking-header {
        margin-bottom: 12px; /* Reduced to bring closer to buttons */
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 24px; /* Small margin next to BOKA text */
        flex: 1; /* Extend to button edges */
        min-width: 35px;
    }
    
    .booking-buttons-row {
        gap: 24px;
    }
    
    .booking-btn {
        padding: 11px 36px; /* Reduced vertical padding for shorter buttons */
        font-size: 16px;
        letter-spacing: 2px;
        min-width: 160px;
        min-height: 40px;
        height: 40px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .homepage-booking-widget {
        padding: 32px 40px calc(32px + env(safe-area-inset-bottom)) 40px;
    }
    
    .booking-title {
        font-size: 17px; /* Reduced from 22px to make smaller */
        letter-spacing: 5px; /* Reduced for smaller text */
    }
    
    .booking-header {
        margin-bottom: 12px; /* Reduced to bring closer to buttons */
    }
    
    .booking-header::before,
    .booking-header::after {
        margin: 0 28px; /* Small margin next to BOKA text */
        flex: 1; /* Extend to button edges */
        min-width: 40px;
    }
    
    .booking-buttons-row {
        gap: 28px;
    }
    
    .booking-btn {
        padding: 11px 40px; /* Reduced vertical padding for shorter buttons */
        font-size: 18px;
        letter-spacing: 2.2px;
        min-width: 180px;
        min-height: 40px;
        height: 40px;
    }
}

/* ====================================================================
   ACCESSIBILITY & TOUCH OPTIMIZATIONS
   ==================================================================== */

/* Enhanced touch targets for mobile */
@media (max-width: 767px) {
    .booking-btn {
        -webkit-tap-highlight-color: rgba(219, 196, 138, 0.3);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        touch-action: manipulation;
    }

    .booking-buttons-row {
        flex-wrap: nowrap; /* Always keep 3 buttons in a row */
    }

}

/* Dark mode support - matches boka menu exactly */
@media (prefers-color-scheme: dark) {
    .booking-header::before,
    .booking-header::after {
        background: #ffcf06;
    }

    .booking-title {
        color: #ffcf06;
    }

    .booking-btn {
        background-color: #1a3526;
        color: #ffcf06;
        border: none;
    }
    
    .booking-btn:hover {
        background-color: #4a1a1a; /* Exact same as boka-paket-btn hover */
        color: #e6c547; /* Exact same as boka-paket-btn hover */
    }
    
    .booking-btn:focus {
        outline-color: #efdcc0;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .booking-widget-container {
        border-width: 3px;
        background: rgba(255, 255, 255, 1); /* Solid background for high contrast */
    }
    
    .booking-header {
        border-bottom-width: 3px;
    }
    
    .booking-buttons-row .booking-btn {
        border-right-width: 3px;
    }
    
    .booking-btn:focus {
        outline-width: 3px;
    }
}

/* Add bottom padding to body to prevent content overlap */
body:has(.homepage-booking-widget) {
    padding-bottom: 100px; /* Ensure content doesn't get hidden behind the fixed widget */
}

/* Fallback for browsers that don't support :has() */
.has-homepage-booking {
    padding-bottom: 100px !important;
}

/* Hide on print */
@media print {
    .homepage-booking-widget {
        display: none !important;
    }
}

/* ====================================================================
   SCROLL FADE LOGO - [logo] SHORTCODE
   ==================================================================== */

/* Logo container with scroll fade functionality */
.cfm-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    
    /* Clean drop shadow for visibility against backgrounds */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) 
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

/* Logo image styling */
.cfm-logo-image {
    display: block;
    height: auto;
    max-width: 100%;
    width: auto;
    
    /* Default size - can be overridden by parent containers */
    max-height: 28px;
    
    /* Smooth rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
}

/* Fade states controlled by JavaScript */
.cfm-logo-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

.cfm-logo-container.fade-in {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .cfm-logo-image {
        max-height: 40px; /* Smaller on mobile */
    }
}

@media (max-width: 480px) {
    .cfm-logo-image {
        max-height: 35px; /* Even smaller on very small screens */
    }
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .cfm-logo-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cfm-logo-container {
        transition: none;
    }
}

/* Slide up animation for initial appearance */
@keyframes slideUpFadeIn {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animation for widget appearance */
.homepage-booking-widget {
    animation: slideUpFadeIn 0.6s ease-out forwards;
}

/* Smooth scroll behavior to avoid conflicts with fixed positioning */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Reduced motion support - disable animations */
@media (prefers-reduced-motion: reduce) {
    .homepage-booking-widget {
        animation: none;
    }
}

/* Small phones — add side margins so widget doesn't go edge to edge */
@media (max-width: 480px) {
    .homepage-booking-widget {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
    }
}

/* ====================================================================
   RESTAURANT MENU TRIGGER CLASS
   ==================================================================== */

/* Universal class to make any button open the restaurant menu */
.open-restaurant-menu {
    cursor: pointer;
    transition: transform 0.1s ease, opacity 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.open-restaurant-menu:hover {
    opacity: 0.8;
}

.open-restaurant-menu:active {
    /* Removed transform animation */
}

/* Enhanced touch feedback for mobile */
@media (max-width: 767px) {
    .open-restaurant-menu {
        -webkit-touch-callout: none;
        touch-action: manipulation;
    }
}

/* Accessibility - focus styles */
.open-restaurant-menu:focus {
    outline: 2px solid #dbc58c;
    outline-offset: 2px;
}

.open-restaurant-menu:focus:not(:focus-visible) {
    outline: none;
} 

/* ====================================================================
   HORIZONTAL GRID SCROLLER FÖR AVADA
   ==================================================================== */
.scroller {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding: 20px;
    gap: 20px;
    padding: 20px;
    margin: 0 -20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroller::-webkit-scrollbar {
    display: none;
}

/* Avada-kolumner i scroller */
.scroller > * {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 44px;
}

/* Avada kolumnbredder - minbredder för horisontell scroll */
.scroller > .fusion-one-full,
.scroller > .fusion-column-wrapper {
    min-width: 280px;
}

.scroller > .fusion-one-half {
    min-width: 240px;
}

.scroller > .fusion-one-third {
    min-width: 200px;
}

.scroller > .fusion-one-fourth,
.scroller > .fusion-one-quarter {
    min-width: 180px;
}

.scroller > .fusion-one-fifth {
    min-width: 160px;
}

.scroller > .fusion-one-sixth {
    min-width: 140px;
}

.scroller > .fusion-two-third {
    min-width: 260px;
}

.scroller > .fusion-three-fourth {
    min-width: 240px;
}

.scroller > .fusion-two-fifth {
    min-width: 200px;
}

.scroller > .fusion-three-fifth {
    min-width: 220px;
}

.scroller > .fusion-four-fifth {
    min-width: 240px;
}

.scroller > .fusion-five-sixth {
    min-width: 260px;
}

