.floating-btn {
    z-index: 1000;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6600;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    display: none; /* Hidden by default */
}

/* Hover effect */
.floating-btn:hover {
    background-color: #cc5500;
}

@media (max-width: 1199px) {
    .floating-btn {
        display: block;
    }
}

@media (max-width: 991px) {
    .search-imgs{
        display: none;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid #ff6600;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #ecf0f1;
}

.cookie-banner-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-banner-buttons .btn {
    white-space: nowrap;
    font-weight: 500;
    border-radius: 6px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.cookie-banner-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-banner-buttons .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
}

.cookie-banner-buttons .btn-primary {
    background-color: #ff6600;
    border-color: #ff6600;
}

.cookie-banner-buttons .btn-primary:hover {
    background-color: #cc5500;
    border-color: #cc5500;
    transform: translateY(-1px);
}

/* Cookie Modal Styles */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    backdrop-filter: blur(2px);
}

.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10002;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.cookie-modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h5 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.btn-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:after {
    content: '×';
}

.btn-close:hover {
    color: #000;
}

.cookie-modal-body {
    padding: 20px 25px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f3f4;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header h6 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-category-header input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
}

.cookie-category-header label {
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.cookie-category-description {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin-left: 32px;
}

.cookie-modal-footer {
    padding: 15px 25px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-banner-text h4 {
        font-size: 16px;
    }
    
    .cookie-banner-text p {
        font-size: 13px;
    }
    
    .cookie-modal {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-buttons .btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Toast Styles for Cookie Notifications */
.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 10003;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

.toast-success {
    background-color: #28a745;
}

.toast-error {
    background-color: #dc3545;
}

.toast-info {
    background-color: #17a2b8;
}