/* Fixed CTA Sidebar Widget Styles */

.elementor-widget-sw-fixed-cta {
    position: fixed !important;
    top: 0 !important;
    z-index: 999999 !important;
    pointer-events: none !important;
    height: 100vh !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.sw-fixed-cta-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Main CTA container */
.sw-fixed-cta {
    position: absolute;
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: none !important;
    outline: none !important;
    width: 32px;
    height: 285px;
    top: 50%;
    right: 10px;
    
    transform: matrix(0, -1, 1, 0, 0, 0) translateX(-50%);
    transform-origin: center center;
    
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}

.elementor-widget-sw-fixed-cta.sw-fixed-cta--left {
    left: 0 !important;
    right: auto !important;
}

.elementor-widget-sw-fixed-cta.sw-fixed-cta--left .sw-fixed-cta {
    left: 10px !important;
    right: auto !important;
    top: 50% !important;
    transform: matrix(0, -1, 1, 0, 0, 0) translateX(-50%) !important;
}

.elementor-widget-sw-fixed-cta.sw-fixed-cta--right {
    left: auto !important;
    right: 0 !important;
}

.elementor-widget-sw-fixed-cta.sw-fixed-cta--right .sw-fixed-cta {
    left: auto !important;
    right: 10px !important;
    top: 50% !important;
    transform: matrix(0, -1, 1, 0, 0, 0) translateX(-50%) !important;
}

.sw-fixed-cta:hover {
    transform: matrix(0, -1, 1, 0, 0, 0) translateX(-50%) translateY(-3px);
}

.elementor-widget-sw-fixed-cta.sw-fixed-cta--left .sw-fixed-cta:hover {
    transform: matrix(0, -1, 1, 0, 0, 0) translateX(-50%) translateY(3px) !important;
}

.elementor-widget-sw-fixed-cta.sw-fixed-cta--right .sw-fixed-cta:hover {
    transform: matrix(0, -1, 1, 0, 0, 0) translateX(-50%) translateY(-3px) !important;
}

/* Text styling */
.sw-fixed-cta-text {
    font-family: 'TheSans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: -1px;
    color: #273766;
    text-align: left;
    opacity: 1;
    user-select: none;
    white-space: nowrap;
    text-transform: uppercase;

    display: block;
    margin-left: 0;
}

.sw-fixed-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #273766;
    flex-shrink: 0;

    width: 62px;
    height: 47px;
    opacity: 1;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
}

.sw-fixed-cta-icon i {
    font-size: 47px !important;
    line-height: 1;
    display: block;
    color: #273766;
}

.sw-fixed-cta-icon img {
    width: 62px !important;
    height: 47px !important;
    object-fit: contain;
    display: block;
}

.sw-fixed-cta-icon svg {
    width: 62px !important;
    height: 47px !important;
    display: block;
}

.sw-fixed-cta-bottle-icon {
    width: 62px !important;
    height: auto !important;
    max-height: 100px !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sw-fixed-cta-icon,
.sw-fixed-cta-icon * {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
}

/* Inverted state (over .hero or footer) */
.sw-fixed-cta.is-inverted .sw-fixed-cta-text {
    color: #ffffff !important;
}

.sw-fixed-cta.is-inverted .sw-fixed-cta-icon {
    color: #ffffff !important;
}

.sw-fixed-cta.is-inverted .sw-fixed-cta-icon i {
    color: #ffffff !important;
}

.sw-fixed-cta.is-inverted .sw-fixed-cta-bottle-icon {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sw-fixed-cta.is-inverted .sw-fixed-cta-icon svg,
.sw-fixed-cta.is-inverted .sw-fixed-cta-icon svg * {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Animation for smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Hide fixed CTA on mobile devices */
    .elementor-widget-sw-fixed-cta {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .sw-fixed-cta {
        width: 32px;
        height: 50px;
    }
    
    .sw-fixed-cta-text {
        font-size: 20px;
        line-height: 20px;
        letter-spacing: 0px;
    }
    
    .sw-fixed-cta-icon {
        width: 62px;
        height: 47px;
    }
    
    .sw-fixed-cta-icon i {
        font-size: 47px !important;
    }
    
    .sw-fixed-cta-icon img,
    .sw-fixed-cta-icon svg {
        width: 62px !important;
        height: 47px !important;
    }
    
    .sw-fixed-cta-bottle-icon {
        width: 62px !important;
        max-height: 100px !important;
    }
}


/* Print styles */
@media print {
    .sw-fixed-cta-wrapper {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .sw-fixed-cta-text {
        color: #000000;
        font-weight: bold;
    }
    
    .sw-fixed-cta-icon {
        border: 2px solid #000000;
    }
}