/* Base styles imported via HTML, no need for @import */

/* Navigation Menu Font Override - inherit from main styles */
.nav-menu a {
    font-family: inherit;
    text-transform: none;
}

/* BPG ExtraSquare Mtavruli font */
@font-face {
    font-family: 'BPG ExtraSquare Mtavruli';
    src: url('/fonts/bpg_extrasquare_mtavruli_2009.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* BPG Algeti font */
@font-face {
    font-family: 'BPG Algeti';
    src: url('/fonts/bpg_algeti.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Global Typography - Only for wine content, not navigation */
.wine-card h1, .wine-card h2, .wine-card h3, .wine-card h4, .wine-card h5, .wine-card h6,
.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6,
.introduction h1, .introduction h2, .introduction h3, .introduction h4, .introduction h5, .introduction h6 {
    font-family: 'BPG Algeti', sans-serif;
    font-weight: normal;
    color: #8b0000;
    text-transform: lowercase;
}

.wine-card p, .hero p, .introduction p {
    font-family: 'BPG Algeti', sans-serif;
    text-transform: lowercase;
}

/* Draft Wines Page Specific Styles - Only for main content */
.wines-grid, .hero, .introduction {
    font-family: 'BPG Algeti', sans-serif;
    text-transform: lowercase;
}

/* English text should use English fonts */
.wines-grid *:lang(en),
.hero *:lang(en),
.introduction *:lang(en) {
    font-family: 'Open Sans', 'Montserrat', Arial, sans-serif !important;
    text-transform: none !important;
}

/* Alternative approach - detect Latin characters */
.wines-grid .wine-card:not([lang="ka"]) h3,
.wines-grid .wine-card:not([lang="ka"]) p,
.wines-grid .wine-card:not([lang="ka"]) strong {
    font-family: 'Open Sans', 'Montserrat', Arial, sans-serif !important;
}

/* Specific override for English wine page */
html[lang="en"] .wines-grid,
html[lang="en"] .wines-grid *,
html[lang="en"] .hero,
html[lang="en"] .hero *,
html[lang="en"] .introduction,
html[lang="en"] .introduction * {
    font-family: 'Open Sans', 'Montserrat', Arial, sans-serif !important;
    text-transform: none !important;
}

html[lang="en"] .wine-card h1,
html[lang="en"] .wine-card h2, 
html[lang="en"] .wine-card h3, 
html[lang="en"] .wine-card h4, 
html[lang="en"] .wine-card h5, 
html[lang="en"] .wine-card h6 {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

html[lang="en"] .wine-card p,
html[lang="en"] .wine-description,
html[lang="en"] .wine-details {
    font-family: 'Open Sans', Arial, sans-serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

/* Ensure Georgian page keeps BPG Algeti font */
html[lang="ka"] .wines-grid,
html[lang="ka"] .wines-grid *,
html[lang="ka"] .hero,
html[lang="ka"] .hero *,
html[lang="ka"] .introduction,
html[lang="ka"] .introduction * {
    font-family: 'BPG Algeti', sans-serif !important;
    text-transform: lowercase !important;
}

html[lang="ka"] .wine-card h1,
html[lang="ka"] .wine-card h2, 
html[lang="ka"] .wine-card h3, 
html[lang="ka"] .wine-card h4, 
html[lang="ka"] .wine-card h5, 
html[lang="ka"] .wine-card h6 {
    font-family: 'BPG Algeti', sans-serif !important;
    color: #8b0000 !important;
    text-transform: lowercase !important;
}

html[lang="ka"] .wine-card p,
html[lang="ka"] .wine-description,
html[lang="ka"] .wine-details {
    font-family: 'BPG Algeti', sans-serif !important;
    text-transform: lowercase !important;
}

/* English Wine Page Specific Styles */
.wine-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/winestoretasting2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.wine-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(15px);
    margin-top: 0px;
}

.wine-hero .hero-title {
    background: rgba(139, 0, 0, 0.8);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1.5px;
    color: white;
    line-height: 1.2;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    text-transform: none;
}

.wine-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-family: 'Open Sans', Arial, sans-serif;
    text-transform: none;
}

.wine-details-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.wine-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start;
}

.wine-info {
    font-family: 'Open Sans', Arial, sans-serif;
    text-transform: none;
}

.wine-info h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #8b0000;
    text-transform: none;
}

.wine-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
    font-family: 'Open Sans', Arial, sans-serif;
    text-transform: none;
}

.wine-characteristics {
    margin-bottom: 40px;
}

.characteristic {
    margin-bottom: 30px;
}

.characteristic h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #8b0000;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.characteristic h3 i {
    color: #8b0000;
    font-size: 1.2rem;
}

.characteristic p {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    text-transform: none;
}

.wine-story {
    margin-bottom: 40px;
}

.wine-story h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #8b0000;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wine-story h3 i {
    color: #8b0000;
    font-size: 1.2rem;
}

.wine-story p {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    text-transform: none;
}

.price-section {
    margin-bottom: 40px;
}

.price-section h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #8b0000;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-section h3 i {
    color: #8b0000;
    font-size: 1.2rem;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #8b0000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.price-option .volume {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    color: #333;
    text-transform: none;
}

.price-option .price {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #8b0000;
    text-transform: none;
}

.price-note {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-transform: none;
}

.cta-section {
    text-align: center;
    margin-bottom: 40px;
}

.cta-section h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #8b0000;
    text-transform: none;
}

.cta-section p {
    color: #666 !important; /* აღწერის ფერი უკან დავაბრუნეთ */
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
}

.cta-btn.primary-btn {
    background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    color: white;
}

.cta-btn.primary-btn:hover {
    background: linear-gradient(135deg, #B22222 0%, #8B0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.cta-btn.secondary-btn {
    background: white;
    color: #8b0000;
    border: 2px solid #8b0000;
}

.cta-btn.secondary-btn:hover {
    background: #8b0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.wine-image-container {
    position: sticky;
    top: 100px;
}

.wine-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wine-image-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wine-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.15);
}

.wine-image-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Footer Font Override - Only for wine content in footer */
.footer .wine-details, .footer .wine-card {
    font-family: 'BPG Algeti', sans-serif;
    text-transform: lowercase;
}

/* Footer H3 Color Override */
.footer h3 {
    color: white !important;
}

/* Button Font Override - Only for wine page specific buttons */
.wine-card .btn-primary, .wine-card .btn-secondary, .hero button {
    font-family: 'BPG Algeti', sans-serif;
    text-transform: lowercase;
}

/* Form Elements Font Override - Only for wine page forms */
.wine-card input, .wine-card textarea, .wine-card select {
    font-family: 'BPG Algeti', sans-serif;
    text-transform: lowercase;
}

/* FontAwesome icons should keep their original font - Enhanced specificity */
.fas,
.far,
.fal,
.fab,
.fa,
i[class*="fa-"],
html[lang="en"] .fas,
html[lang="en"] .far,
html[lang="en"] .fal,
html[lang="en"] .fab,
html[lang="en"] .fa,
html[lang="en"] i[class*="fa-"],
html[lang="ka"] .fas,
html[lang="ka"] .far,
html[lang="ka"] .fal,
html[lang="ka"] .fab,
html[lang="ka"] .fa,
html[lang="ka"] i[class*="fa-"],
body.lang-en .fas,
body.lang-en .far,
body.lang-en .fal,
body.lang-en .fab,
body.lang-en .fa,
body.lang-en i[class*="fa-"],
.play-button .fas,
.play-button .far,
.play-button .fal,
.play-button .fab,
.play-button .fa,
.play-button i[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "Font Awesome 5 Pro", "Font Awesome 5 Brands", "FontAwesome" !important;
    text-transform: none !important;
}

/* Font Size Adjustments for Georgian Lowercase */
h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

p, button, input, textarea, select {
    font-size: 0.95rem;
}

.hero-title {
    font-size: 2.3rem;
}

.hero-content p {
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/winestoretasting2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(15px);
    margin-top: 100px;
}

.hero-title {
    background: rgba(139, 0, 0, 0.8);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1.5px;
    color: white;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Introduction Section */
.introduction {
    padding: 80px 0;
    background: #f8f9fa;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
    height: 190px;
    justify-content: center;
}

.intro-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.intro-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0;
    max-width: 800px;
}

/* Wines Grid */
.wines-grid {
    padding: 20px 0;
    background: white;
}

.wines-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.wine-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.wine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.15);
}

.wine-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.wine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wine-card:hover .wine-image img {
    transform: scale(1.05);
}

.wine-content {
    padding: 30px;
}

.wine-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    font-weight: 600;
}

.wine-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Open Sans', 'Montserrat', Arial, sans-serif;
    text-transform: lowercase;
}

.wine-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #8b0000;
}

.wine-details p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: 'Open Sans', 'Montserrat', Arial, sans-serif;
    text-transform: lowercase;
}

.wine-details strong {
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    color: #8b0000;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: lowercase;
}

/* Mobile responsive for language switcher */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }

    .hero-title {
        font-size: 1.8rem;
        padding: 15px 30px;
    }

    .hero-content {
        padding: 0 15px;
        margin-top: 80px;
        transform: translateY(10px);
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-top: 15px;
    }

    .intro-content {
        padding: 40px 0;
        text-align: center;
        height: 200px;
    }

    .intro-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .intro-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .wines-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .wine-image {
        height: 200px;
    }

    .wine-content {
        padding: 15px;
    }

    .wine-details {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        padding: 15px 25px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-content h1 {
        margin-bottom: 12px;
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-top: 0;
        line-height: 1.4;
    }
    
    .intro-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
        height: 230px;
    }
    
    .intro-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .intro-content p {
        margin-top: 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .wine-image {
        height: 170px;
    }
    
    .wine-content {
        padding: 20px;
    }
    
    .wine-details {
        padding: 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
.wine-image img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Print styles */
@media print {
    .navbar, .footer, .scroll-to-top, .call-mobile-btn {
        display: none;
    }
    
    .wine-card {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 30px;
        box-shadow: none;
    }
    
    .hero {
        height: auto;
        padding: 40px 0;
        background: none;
    }
    
    .hero-overlay {
        display: none;
    }
} 

/* Mobile responsive for English wine page */
@media (max-width: 768px) {
    .wine-details-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
        display: flex;
        flex-direction: column;
    }
    
    .wine-image-container {
        position: static;
        order: 2; /* რათა სურათები ტექსტის შემდეგ იყოს */
        margin-top: 30px;
    }
    
    .wine-info {
        order: 1; /* რათა ტექსტი პირველ ადგილზე იყოს */
    }
    
    .wine-hero {
        height: 50vh;
    }
    
    .wine-hero .hero-title {
        font-size: 1.8rem;
        padding: 15px 30px;
    }
    
    .wine-hero .hero-content {
        padding: 0 15px;
        margin-top: 80px;
        transform: translateY(10px);
    }
    
    .wine-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .wine-info h2 {
        font-size: 1.6rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wine-details-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }
    
    .wine-image-container {
        position: static;
        order: 2; /* რათა სურათები ტექსტის შემდეგ იყოს */
        margin-top: 20px;
    }
    
    .wine-info {
        order: 1; /* რათა ტექსტი პირველ ადგილზე იყოს */
    }
    
    .wine-hero {
        height: 40vh;
    }
    
    .wine-hero .hero-title {
        font-size: 1.5rem;
        padding: 15px 25px;
    }
    
    .wine-hero .hero-content {
        margin-top: 60px;
        transform: translateY(5px);
    }
    
    .wine-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .wine-info h2 {
        font-size: 1.4rem;
    }
    
    .characteristic h3,
    .wine-story h3,
    .price-section h3 {
        font-size: 1.2rem;
    }
    
    .price-option {
        padding: 12px 15px;
    }
    
    .price-option .volume {
        font-size: 0.9rem;
    }
    
    .price-option .price {
        font-size: 1.1rem;
    }
    
    .wine-image-gallery {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .wine-image-item {
        margin-bottom: 15px;
        border-radius: 10px;
    }
    
    .wine-image-item img {
        width: 100%;
        height: auto;
        min-height: 200px;
        max-height: 300px;
        object-fit: cover;
    }
    
    /* მობილურზე უკეთესი spacing */
    .wine-characteristics,
    .wine-story,
    .price-section,
    .cta-section {
        margin-bottom: 30px;
    }
    
    .characteristic {
        margin-bottom: 20px;
    }
    
    .characteristic h3 {
        margin-bottom: 10px;
    }
    
    .characteristic p {
        margin-bottom: 15px;
    }
    
    .wine-story h3 {
        margin-bottom: 10px;
    }
    
    .wine-story p {
        margin-bottom: 15px;
    }
    
    .price-section h3 {
        margin-bottom: 15px;
    }
    
    .price-options {
        margin-bottom: 15px;
    }
    
    .cta-section h3 {
        margin-bottom: 10px;
    }
    
    .cta-section p {
        margin-bottom: 20px;
    }
    
    /* მობილურზე პადინგი */
    .wine-details-section {
        padding: 40px 0;
    }
    
    .wine-intro {
        margin-bottom: 25px;
        font-size: 1rem;
    }
}

/* ძალიან პატარა ეკრნებისთვის (320px და ნაკლები) */
@media (max-width: 320px) {
    .wine-details-content {
        gap: 20px;
        padding: 0 10px;
    }
    
    .wine-hero .hero-title {
        font-size: 1.3rem;
        padding: 12px 20px;
    }
    
    .wine-hero .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .wine-info h2 {
        font-size: 1.2rem;
    }
    
    .characteristic h3,
    .wine-story h3,
    .price-section h3,
    .cta-section h3 {
        font-size: 1.1rem;
    }
    
    .characteristic p,
    .wine-story p,
    .wine-intro,
    .cta-section p {
        font-size: 0.9rem;
    }
    
    .price-option {
        padding: 10px 12px;
    }
    
    .price-option .volume {
        font-size: 0.8rem;
    }
    
    .price-option .price {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .wine-image-item img {
        min-height: 180px;
        max-height: 250px;
    }
}

/* უზრუნველვყოფთ რომ ყველა მობილურ ზომაზე სწორი თანმიმდევრობა იქნება */
@media (max-width: 768px) {
    .wine-details-content > * {
        width: 100%;
    }
    
    /* ტექსტური კონტენტი ყოველთვის პირველია */
    .wine-info {
        order: 1 !important;
    }
    
    /* სურათები ყოველთვის მეორე ადგილზე */
    .wine-image-container {
        order: 2 !important;
    }
}

/* ქართული ენისთვის მაღალი პრიორიტეტის სტილები - inline styles-ის გადასაფარებლად მხოლოდ მობილურზე */
@media (max-width: 768px) {
    html[lang="ka"] .wine-details-content,
    body.lang-ka .wine-details-content,
    .lang-ka .wine-details-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        padding: 0 20px !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    html[lang="ka"] .wine-image-container,
    body.lang-ka .wine-image-container,
    .lang-ka .wine-image-container {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    html[lang="ka"] .wine-info,
    body.lang-ka .wine-info,
    .lang-ka .wine-info {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html[lang="ka"] .wine-image-gallery,
    body.lang-ka .wine-image-gallery,
    .lang-ka .wine-image-gallery {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    html[lang="ka"] .wine-image-item,
    body.lang-ka .wine-image-item,
    .lang-ka .wine-image-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border-radius: 15px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    html[lang="ka"] .wine-image-item img,
    body.lang-ka .wine-image-item img,
    .lang-ka .wine-image-item img {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: block !important;
        object-fit: cover !important;
        height: auto !important;
        min-height: 200px !important;
        max-height: 300px !important;
    }

    /* ქართულისთვის მობილურზე ჰედერის გადაფარების პრობლემის გასწორება */
    html[lang="ka"] .wine-hero .hero-content,
    body.lang-ka .wine-hero .hero-content,
    .lang-ka .wine-hero .hero-content {
        margin-top: 60px !important; /* 100px-დან 60px-მდე შევამცირეთ რომ ზემოთ ავწიოთ */
        padding-top: 8px !important; /* 15px-დან 8px-მდე შევამცირეთ */
    }

    html[lang="ka"] .wine-hero,
    body.lang-ka .wine-hero,
    .lang-ka .wine-hero {
        padding-top: 40px !important; /* 80px-დან 40px-მდე შევამცირეთ */
        height: 60vh !important; /* უკან დავაბრუნეთ როგორც იყო */
        background-position: center center !important; /* სურათის პოზიციონირება ცენტრში */
        background-size: cover !important; /* სურათის ზომა ეკრანის მიხედვით */
        overflow: hidden !important; /* სურათის გადაჭარბებული ნაწილების დამალვა */
    }

    /* მობილურზე ჰერო სექციის კომპაქტური განლაგება */
    html[lang="ka"] .wine-hero .hero-title,
    body.lang-ka .wine-hero .hero-title,
    .lang-ka .wine-hero .hero-title {
        margin-bottom: 20px !important; /* 40px-დან 20px-მდე შევამცირეთ */
        padding: 15px 25px !important; /* 20px 40px-დან 15px 25px-მდე */
    }

    html[lang="ka"] .wine-hero .hero-subtitle,
    body.lang-ka .wine-hero .hero-subtitle,
    .lang-ka .wine-hero .hero-subtitle {
        margin-top: 10px !important; /* 20px-დან 10px-მდე შევამცირეთ */
        margin-bottom: 15px !important; /* დამატებითი margin ქვემოდან */
    }

    html[lang="ka"] .wine-hero .cta-btn,
    body.lang-ka .wine-hero .cta-btn,
    .lang-ka .wine-hero .cta-btn {
        margin-top: 10px !important; /* დამატებითი margin ზემოდან */
    }
} 

/* უფრო პატარა მობილური ეკრანებისთვის */
@media (max-width: 480px) {
    html[lang="ka"] .wine-hero .hero-content,
    body.lang-ka .wine-hero .hero-content,
    .lang-ka .wine-hero .hero-content {
        margin-top: 100px !important; /* 60px-დან 100px-მდე */
        padding-top: 15px !important;
    }

    html[lang="ka"] .wine-hero,
    body.lang-ka .wine-hero,
    .lang-ka .wine-hero {
        padding-top: 30px !important; /* 60px-დან 30px-მდე შევამცირეთ */
        height: 50vh !important; /* უკან დავაბრუნეთ როგორც იყო პატარა მობილურზე */
        background-position: center center !important; /* სურათის პოზიციონირება ცენტრში */
        background-size: cover !important; /* სურათის ზომა ეკრანის მიხედვით */
        overflow: hidden !important; /* სურათის გადაჭარბებული ნაწილების დამალვა */
    }

    /* პატარა მობილურზე ჰერო სექციის კიდევ უფრო კომპაქტური განლაგება */
    html[lang="ka"] .wine-hero .hero-title,
    body.lang-ka .wine-hero .hero-title,
    .lang-ka .wine-hero .hero-title {
        margin-bottom: 15px !important; /* 20px-დან 15px-მდე შევამცირეთ */
        padding: 12px 20px !important; /* 15px 25px-დან 12px 20px-მდე */
        font-size: 1.4rem !important; /* ფონტის ზომა შევამცირეთ */
    }

    html[lang="ka"] .wine-hero .hero-subtitle,
    body.lang-ka .wine-hero .hero-subtitle,
    .lang-ka .wine-hero .hero-subtitle {
        margin-top: 8px !important; /* 10px-დან 8px-მდე შევამცირეთ */
        margin-bottom: 12px !important; /* 15px-დან 12px-მდე შევამცირეთ */
        font-size: 0.9rem !important; /* ფონტის ზომა შევამცირეთ */
    }

    html[lang="ka"] .wine-hero .cta-btn,
    body.lang-ka .wine-hero .cta-btn,
    .lang-ka .wine-hero .cta-btn {
        margin-top: 8px !important; /* 10px-დან 8px-მდე შევამცირეთ */
        padding: 10px 20px !important; /* ღილაკის padding შევამცირეთ */
        font-size: 0.9rem !important; /* ფონტის ზომა შევამცირეთ */
    }
} 

/* რუსული ენისთვის მობილურზე ჰედერის გადაფარების პრობლემის გასწორება */
@media (max-width: 768px) {
    html[lang="ru"] .wine-hero .hero-content,
    body.lang-ru .wine-hero .hero-content,
    .lang-ru .wine-hero .hero-content {
        margin-top: 80px !important; /* ზემოთ ავწიოთ კონტენტი */
        padding-top: 10px !important; /* უფრო კომპაქტური spacing */
    }

    html[lang="ru"] .wine-hero,
    body.lang-ru .wine-hero,
    .lang-ru .wine-hero {
        padding-top: 40px !important; /* ზემოთ ავწიოთ მთელი სექცია */
        height: 60vh !important; /* უკან დავაბრუნეთ როგორც იყო */
        background-position: center center !important; /* სურათის პოზიციონირება ცენტრში */
        background-size: cover !important; /* სურათის ზომა ეკრანის მიხედვით */
        overflow: hidden !important; /* სურათის გადაჭარბებული ნაწილების დამალვა */
    }

    /* რუსულისთვის მობილურზე ჰერო სექციის კომპაქტური განლაგება */
    html[lang="ru"] .wine-hero .hero-title,
    body.lang-ru .wine-hero .hero-title,
    .lang-ru .wine-hero .hero-title {
        margin-bottom: 20px !important; /* 40px-დან 20px-მდე შევამცირეთ */
        padding: 15px 25px !important; /* 20px 40px-დან 15px 25px-მდე */
    }

    html[lang="ru"] .wine-hero .hero-subtitle,
    body.lang-ru .wine-hero .hero-subtitle,
    .lang-ru .wine-hero .hero-subtitle {
        margin-top: 10px !important; /* 20px-დან 10px-მდე შევამცირეთ */
        margin-bottom: 15px !important; /* დამატებითი margin ქვემოდან */
    }

    html[lang="ru"] .wine-hero .cta-btn,
    body.lang-ru .wine-hero .cta-btn,
    .lang-ru .wine-hero .cta-btn {
        margin-top: 10px !important; /* დამატებითი margin ზემოდან */
    }
}

/* რუსული ენისთვის პატარა მობილურზე (480px) */
@media (max-width: 480px) {
    html[lang="ru"] .wine-hero .hero-content,
    body.lang-ru .wine-hero .hero-content,
    .lang-ru .wine-hero .hero-content {
        margin-top: 60px !important; /* ზემოთ ავწიოთ კონტენტი */
        padding-top: 8px !important; /* უფრო კომპაქტური spacing */
    }

    html[lang="ru"] .wine-hero,
    body.lang-ru .wine-hero,
    .lang-ru .wine-hero {
        padding-top: 30px !important; /* ზემოთ ავწიოთ მთელი სექცია */
        height: 50vh !important; /* უკან დავაბრუნეთ როგორც იყო პატარა მობილურზე */
        background-position: center center !important; /* სურათის პოზიციონირება ცენტრში */
        background-size: cover !important; /* სურათის ზომა ეკრანის მიხედვით */
        overflow: hidden !important; /* სურათის გადაჭარბებული ნაწილების დამალვა */
    }

    /* რუსულისთვის პატარა მობილურზე ჰერო სექციის კიდევ უფრო კომპაქტური განლაგება */
    html[lang="ru"] .wine-hero .hero-title,
    body.lang-ru .wine-hero .hero-title,
    .lang-ru .wine-hero .hero-title {
        margin-bottom: 15px !important; /* 20px-დან 15px-მდე შევამცირეთ */
        padding: 12px 20px !important; /* 15px 25px-დან 12px 20px-მდე */
        font-size: 1.4rem !important; /* ფონტის ზომა შევამცირეთ */
    }

    html[lang="ru"] .wine-hero .hero-subtitle,
    body.lang-ru .wine-hero .hero-subtitle,
    .lang-ru .wine-hero .hero-subtitle {
        margin-top: 8px !important; /* 10px-დან 8px-მდე შევამცირეთ */
        margin-bottom: 12px !important; /* 15px-დან 12px-მდე შევამცირეთ */
        font-size: 0.9rem !important; /* ფონტის ზომა შევამცირეთ */
    }

    html[lang="ru"] .wine-hero .cta-btn,
    body.lang-ru .wine-hero .cta-btn,
    .lang-ru .wine-hero .cta-btn {
        margin-top: 8px !important; /* 10px-დან 8px-მდე შევამცირეთ */
        padding: 10px 20px !important; /* ღილაკის padding შევამცირეთ */
        font-size: 0.9rem !important; /* ფონტის ზომა შევამცირეთ */
    }
}

/* ინგლისური ენისთვის მობილურზე ჰედერის გადაფარების პრობლემის გასწორება */
@media (max-width: 768px) {
    html[lang="en"] .wine-hero .hero-content,
    body.lang-en .wine-hero .hero-content,
    .lang-en .wine-hero .hero-content {
        margin-top: 0 !important; /* მოვაშოროთ margin-top */
        padding-top: 0 !important; /* მოვაშოროთ padding-top */
    }

    html[lang="en"] .wine-hero,
    body.lang-en .wine-hero,
    .lang-en .wine-hero {
        padding-top: 0 !important; /* მოვაშოროთ padding-top */
        height: 60vh !important; /* უკან დავაბრუნეთ როგორც იყო */
        background-position: center center !important; /* სურათის პოზიციონირება ცენტრში */
        background-size: cover !important; /* სურათის ზომა ეკრანის მიხედვით */
        overflow: hidden !important; /* სურათის გადაჭარბებული ნაწილების დამალვა */
    }

    /* ინგლისურისთვის მობილურზე ჰერო სექციის კომპაქტური განლაგება */
    html[lang="en"] .wine-hero .hero-title,
    body.lang-en .wine-hero .hero-title,
    .lang-en .wine-hero .hero-title {
        margin-bottom: 20px !important; /* 40px-დან 20px-მდე შევამცირეთ */
        padding: 15px 25px !important; /* 20px 40px-დან 15px 25px-მდე */
    }

    html[lang="en"] .wine-hero .hero-subtitle,
    body.lang-en .wine-hero .hero-subtitle,
    .lang-en .wine-hero .hero-subtitle {
        margin-top: 10px !important; /* 20px-დან 10px-მდე შევამცირეთ */
        margin-bottom: 15px !important; /* დამატებითი margin ქვემოდან */
    }

    html[lang="en"] .wine-hero .cta-btn,
    body.lang-en .wine-hero .cta-btn,
    .lang-en .wine-hero .cta-btn {
        margin-top: 10px !important; /* დამატებითი margin ზემოდან */
    }
} 

/* ინგლისური ენისთვის პატარა მობილურზე (480px) */
@media (max-width: 480px) {
    html[lang="en"] .wine-hero .hero-content,
    body.lang-en .wine-hero .hero-content,
    .lang-en .wine-hero .hero-content {
        margin-top: 0 !important; /* მოვაშოროთ margin-top */
        padding-top: 0 !important; /* მოვაშოროთ padding-top */
    }

    html[lang="en"] .wine-hero,
    body.lang-en .wine-hero,
    .lang-en .wine-hero {
        padding-top: 0 !important; /* მოვაშოროთ padding-top */
        height: 50vh !important; /* უკან დავაბრუნეთ როგორც იყო პატარა მობილურზე */
        background-position: center center !important; /* სურათის პოზიციონირება ცენტრში */
        background-size: cover !important; /* სურათის ზომა ეკრანის მიხედვით */
        overflow: hidden !important; /* სურათის გადაჭარბებული ნაწილების დამალვა */
    }

    /* ინგლისურისთვის პატარა მობილურზე ჰერო სექციის კიდევ უფრო კომპაქტური განლაგება */
    html[lang="en"] .wine-hero .hero-title,
    body.lang-en .wine-hero .hero-title,
    .lang-en .wine-hero .hero-title {
        margin-bottom: 15px !important; /* 20px-დან 15px-მდე შევამცირეთ */
        padding: 12px 20px !important; /* 15px 25px-დან 12px 20px-მდე */
        font-size: 1.4rem !important; /* ფონტის ზომა შევამცირეთ */
    }

    html[lang="en"] .wine-hero .hero-subtitle,
    body.lang-en .wine-hero .hero-subtitle,
    .lang-en .wine-hero .hero-subtitle {
        margin-top: 8px !important; /* 10px-დან 8px-მდე შევამცირეთ */
        margin-bottom: 12px !important; /* 15px-დან 12px-მდე შევამცირეთ */
        font-size: 0.9rem !important; /* ფონტის ზომა შევამცირეთ */
    }

    html[lang="en"] .wine-hero .cta-btn,
    body.lang-en .wine-hero .cta-btn,
    .lang-en .wine-hero .cta-btn {
        margin-top: 8px !important; /* 10px-დან 8px-მდე შევამცირეთ */
        padding: 10px 20px !important; /* ღილაკის padding შევამცირეთ */
        font-size: 0.9rem !important; /* ფონტის ზომა შევამცირეთ */
    }
} 

/* მობილურზე CTA ღილაკების ოპტიმიზაცია */
@media (max-width: 768px) {
    .cta-btn {
        font-size: 0.9rem !important; /* ფონტის ზომა შევამცირეთ */
        padding: 12px 20px !important; /* padding შევამცირეთ */
        white-space: normal !important; /* ტექსტი რომ ნორმალურად გადატრიალდეს */
        text-align: center !important; /* ტექსტი ცენტრში */
        line-height: 1.3 !important; /* ხაზის სიმაღლე ოპტიმიზებული */
        min-height: auto !important; /* მინიმალური სიმაღლე ავტომატური */
        word-wrap: break-word !important; /* ხანგრძლივი სიტყვების გატეხვა */
    }

    .cta-btn.secondary-btn {
        font-size: 0.85rem !important; /* secondary ღილაკისთვის კიდევ უფრო პატარა ფონტი */
        padding: 10px 18px !important; /* უფრო კომპაქტური padding */
    }

    .cta-btn i {
        font-size: 0.9rem !important; /* აიქონის ზომა შევამცირეთ */
        margin-right: 8px !important; /* აიქონსა და ტექსტს შორის დაშორება შევამცირეთ */
    }
}

@media (max-width: 480px) {
    .cta-btn {
        font-size: 0.8rem !important; /* პატარა მობილურზე კიდევ უფრო პატარა ფონტი */
        padding: 10px 16px !important; /* უფრო კომპაქტური padding */
        line-height: 1.2 !important; /* ხაზის სიმაღლე კიდევ უფრო ოპტიმიზებული */
    }

    .cta-btn.secondary-btn {
        font-size: 0.75rem !important; /* secondary ღილაკისთვის ყველაზე პატარა ფონტი */
        padding: 8px 14px !important; /* ყველაზე კომპაქტური padding */
    }

    .cta-btn i {
        font-size: 0.8rem !important; /* აიქონის ზომა კიდევ უფრო პატარა */
        margin-right: 6px !important; /* მინიმალური დაშორება */
    }
} 

/* მობილურზე კახური მწვანე გვერდის CTA სექციის ოპტიმიზაცია */
@media (max-width: 768px) {
    .cta-section {
        padding: 1.5rem !important; /* მობილურზე უფრო კომპაქტური padding */
        margin: 0 15px 40px 15px !important; /* მარგინი მობილურზე */
    }
    
    .cta-section h3 {
        font-size: 1.3rem !important; /* მობილურზე ფონტის ზომა შევამცირეთ */
        margin-bottom: 0.8rem !important;
    }
    
    .cta-section p {
        font-size: 0.95rem !important; /* მობილურზე ფონტის ზომა შევამცირეთ */
        margin-bottom: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 1.2rem !important; /* პატარა მობილურზე კიდევ უფრო კომპაქტური */
        margin: 0 10px 30px 10px !important;
    }
    
    .cta-section h3 {
        font-size: 1.2rem !important; /* პატარა მობილურზე ფონტის ზომა კიდევ უფრო პატარა */
        margin-bottom: 0.6rem !important;
    }
    
    .cta-section p {
        font-size: 0.9rem !important; /* პატარა მობილურზე ფონტის ზომა კიდევ უფრო პატარა */
        margin-bottom: 1rem !important;
    }
}



