/* შერეკილები - მთავარი გვერდის სტილები */

/* სლაიდერის ტაიტლის ფიქსი ქართული ასოებისთვის */
.slide-title {
    font-size: clamp(3rem, 8vw, 5rem) !important;
    margin-bottom: var(--spacing-xl) !important;
    font-family: var(--font-georgian) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    padding-bottom: 0.3em !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    overflow: visible !important;
    display: block !important;
    min-height: 1.4em !important;
}

/* ქართული ფონტისთვის სპეციალური სტილები */
.lang-ka .slide-title {
    line-height: 1.5 !important;
    padding-bottom: 0.4em !important;
}

/* სლა��დის კონტენტის ფიქსი */
.slide-content {
    overflow: visible !important;
}

/* სლაიდის ზოგადი ფიქსი */
.slide {
    overflow: visible !important;
}

/* სლა��დერის wrapper-ის ფიქსი - არ ვცვლით არაფერს */
.slider-wrapper {
    /* არ ვცვლით overflow-ს, რადგან ეს ხელს უშლის სლაიდერის მუშაობას */
    /* არ ვცვლით width-ს, რადგან ეს ხელს უშლის სლაიდერის მუშაობას */
}

/* სლაიდერის კონტეინერის ფიქსი */
.slider-container {
    overflow: hidden !important; /* მხოლოდ კონტეინერზე */
    width: 100%;
    max-width: 100vw;
}

/* hero-slider-ის ფიქსი */
.hero-slider {
    overflow: hidden !important; /* მხოლოდ მთავარ კონტეინერზე */
    width: 100%;
    max-width: 100vw;
}

/* მობაილზე */
@media (max-width: 768px) {
    .slide-title {
        line-height: 1.6 !important;
        padding-bottom: 0.5em !important;
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
    }
    
    .lang-ka .slide-title {
        line-height: 1.7 !important;
        padding-bottom: 0.6em !important;
    }
    
    /* მობაილზე სლაიდერის ფიქსი - არ ვცვლით overflow-ს slider-wrapper-ზე */
    .hero-slider {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden !important;
    }
    
    .slider-container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }
    
    /* არ ვცვლით slider-wrapper-ის overflow-ს */
    .slide {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
    }
}

/* Fix for Category Slider Touch Support */
#categorySlider {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    touch-action: pan-x !important;
}

#categorySlider::-webkit-scrollbar {
    display: none !important;
}

.category-slide {
    flex-shrink: 0 !important;
    touch-action: manipulation !important;
}

/* Featured Add Icon */
.featured-add-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(223, 120, 17, 0.4);
    z-index: 2;
}

.featured-add-icon:hover {
    background: var(--primary-light);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(223, 120, 17, 0.6);
}

.featured-add-icon:active {
    transform: scale(0.95);
}

/* ზოგადი ფიქსი ჰორიზონტალური სქროლისთვის */
body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

html {
    overflow-x: hidden !important;
    max-width: 100vw;
}