.main-menu {
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-menu nav {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;       /* allow links to wrap on small screens */
    justify-content: center; /* center links */
    gap: 2px;
    padding: 0;
}

.main-menu nav a {
    color: #ecf0f1;
    font-weight: 500;
    padding: 12px 10px;
    flex: 1 1 auto;       /* flexible width for small screens */
    min-width: 100px;     /* prevents links from getting too small */
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.main-menu nav a:hover {
    background-color: rgba(11, 217, 139, 0.2);
    color: rgba(11, 217, 139, 1);
    border-bottom-color: rgba(11, 217, 139, 1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .main-menu nav {
        flex-direction: row;
        flex-wrap: wrap;   /* wrap links into multiple lines */
        justify-content: center;
        gap: 4px;
    }

    .main-menu nav a {
        padding: 10px 8px;
        font-size: 14px;
        flex: 1 1 45%;    /* two links per row on small screens */
        min-width: 120px; /* ensures buttons don't shrink too much */
    }
}

#kursevro {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    /* make inner div below text */
    display: inline-flex;
    flex-direction: column;
    align-items: center; /* center number under text */
}

#kurs {
    font-size: 26px;
    margin-top: 2px; /* space between text and number */
}


#skidka {
    max-width: 60px !important;
}





/* Info banner styling - replaces Tailwind classes */
.cart-info-banner {
    color: #92400e;                    /* text-yellow-800 */
    font-weight: 600;                   /* font-semibold */
    background-color: #fef3c7;          /* bg-yellow-100 */
    border: 1px solid #fcd34d;          /* border border-yellow-300 */
    padding: 1rem;                      /* p-4 */
    border-radius: 0.375rem;            /* rounded */
    margin-top: 1rem;                   /* mt-4 */
    margin-left: auto;                  /* center horizontally */
    margin-right: auto;                 /* center horizontally */
    margin-bottom: 1rem;                 
    text-align: center;                 /* text-center */
    max-width: 1200px;                  /* constrain width */
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cart-info-banner strong {
    color: #78350f;                     /* darker yellow for emphasis */
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cart-info-banner {
        padding: 0.875rem;
        font-size: 0.9rem;
        margin-top: 0.875rem;
    }
}

@media (max-width: 480px) {
    .cart-info-banner {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}





/* Color styling for different shop types */
.cena {
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 15px;
    border: none;
}

/* Colors for shop types */
.cena.rozn { color: #000; background: transparent; }
.cena.opt { color: #fff; background: #ef5350; }
.cena.dollar { color: #fff; background: #43a047; }
.cena.problem_shop { color: #fff; background: #ec407a; }
.cena.moderator_corso { color: #fff; background: #ab47bc; }
.cena.default { color: #fff; background: #999; }








/* Go Up to sizes switcher Button */
/* Button fixed at bottom-left of screen */
.go-up-btn {
    position: fixed;       /* Fixed relative to viewport */
    bottom: 20px;          /* Distance from bottom of screen */
    left: 20px;            /* Distance from left of screen */
    width: 50px;
    height: 50px;
    background-color: #0bd98b;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
    z-index: 9999;         /* on top of everything */
}

.go-up-btn:hover {
    background-color: #09b77a;
    transform: translateY(-3px);
}

.go-up-btn svg {
    stroke: #fff;
}

.bodyindex_table {
    overflow-x: auto;           /* Enable scrolling if it’s too wide */
    display: table;             /* Keep normal table layout */
    table-layout: auto;         /* Keep auto sizing of columns */
}

/* For mobile: make table scrollable when it overflows */
@media (max-width: 768px) {
    .bodyindex_table {
        display: block;                 /* Only block on small screens */
        overflow-x: auto;               /* Enable horizontal scroll */
        -webkit-overflow-scrolling: touch;
    }
}











/* Region Switcher Styles */
.region-switcher {
    display: inline-flex;
    gap: 10px;
    margin: 15px 10px;
    align-items: center;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.region-switcher > span {
    font-size: 14px;
    color: #333;
    margin-right: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.region-flag {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    border: 2px solid transparent;
    color: #333;
    font-weight: 500;
    font-size: 13px;
}

.flag {
    display: inline-block;
    width: 24px;
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* EU Flag */
.flag-eu {
    background-image: url('images/flag-eu.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* USA Flag */
.flag-usa {
    background-image: url('images/flag-usa.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.region-flag:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
}

.region-flag.active {
    background-color: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    border: 2px solid #0056b3;
}

.region-flag.active:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .region-switcher {
        margin: 10px 5px;
        padding: 8px 10px;
        gap: 5px;
    }
    
    .region-switcher > span {
        font-size: 12px;
        margin-right: 5px;
    }
    
    .region-flag {
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
    }
    
    .flag-svg {
        width: 20px;
        height: 13px;
    }
}

@media (max-width: 480px) {
    .region-switcher {
        margin: 8px 0;
        padding: 6px 8px;
        gap: 3px;
    }
    
    .region-switcher > span {
        font-size: 11px;
        margin-right: 3px;
    }
    
    .region-flag {
        padding: 4px 8px;
        font-size: 11px;
        gap: 3px;
    }
    
    .flag-svg {
        width: 18px;
        height: 12px;
    }
}

/* VPN Link Container */
.vpn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-left: 15px;
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    animation: pulse 2s infinite ease-in-out;
}

.vpn-link:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0.95;
}

.vpn-link:active {
    transform: scale(1.02) translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.vpn-logo {
    width: 26px;
    height: 26px;
    background-image: url('/shopping.mania/images/amnezia.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.vpn-link:hover .vpn-logo {
    transform: rotate(15deg) scale(1.1);
}

@media (max-width: 768px) {
    .vpn-link {
        padding: 7px 14px;
        margin-left: 10px;
    }
    .vpn-logo {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .region-switcher {
        display: flex;
        flex-wrap: wrap;
    }
    
    .vpn-link {
		margin-top: 10px;
		margin-bottom: 10px;
        margin-left: 0;
        justify-content: center;
        order: 3;
    }
    .vpn-logo {
        width: 26px;
        height: 26px;
    }
}













