:root[data-theme=red_black] {
    --accent-color-800: #ef7a00;
}


.Servers-module__server.Servers-module__active, .Servers-module__server:hover, .Servers-module__server:focus {
    background-color: var(--bg-color-800);
    border: 1px solid var(--accent-color-800);
    text-decoration: underline;
}

.Widgets-module__wrapper {
    margin-bottom: 10px;
}

.widget__mapvote {
 	margin-left: -10px;
    transform: scale(0.86);
    transform-origin: left top;
  	margin-bottom: -19%;
}

.VKWidget-module__wrapper {
  	max-width: 300px;
}

.Widgets-module__widgetWrapper > .MonitoringWidget-module__header,
.Widgets-module__widgetWrapper > .boxFooter {
    display: none;
}

.MonitoringWidget-module__body {
    position: relative;
    transition: all .1s ease;
    border-radius: 5px;
  	background: #1e1f22;
  	padding: 10px;
    min-width: 264px;
    max-width: 300px;
    min-height: 85px;
}

.bonuses__widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1e1f22;
    border-radius: 5px;
    padding: 16px;
    font-size: 20px;
    color: #ef7a00;
  	min-width: 264px;
  	width: max-content;
}

.bonuses__body {
    margin-top: 10px;
    font-size: 17px;
    color: #cbcbcb;
}

.bonuses__line {
    width: 180px;
    height: 30px;
    display: flex;
    margin: 5px;
}

.bonuses__sum {
    width: 60%;
    background: #313131;
    border-radius: 20px 0px 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bonuses__bonus {
    width: 40%;
    background: linear-gradient(315deg, #e18c22, #e7792a, #ffa939, #e5710d, #ef9c43);
    border-radius: 0px 20px 20px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
}

.Shop-module__header {
    width: 100%;
  	height: 50px;
    font-size: 20px;
    text-align: center;
}

.Categories-module__category {
    cursor: pointer;
    color: var(--accent-color-800);
    background-color: var(--bg-color-700);
    padding: 8px 8px;
    border-radius: 15px;
    margin: 4px;
    transition: all .15s ease;
}

.Products-module__wrapper {
    margin-top: 10px;
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.Product-module__wrapper {
    background: var(--bg-color-700);
    position: relative;
    padding: 4px;
    cursor: pointer;
    border-radius: 2px;
    overflow: hidden;
    animation: Product-module__productAnimation .15s ease;
    flex: 1 1 120px;
    max-width: 200px;
}

.Product-module__price {
    top: 0;
    left: 0;
    background-color: var(--product-items-trans-bg-color);
    padding: 3px 3px;
    border-radius: 0 0 2px;
    display: flex;
    align-items: center;
  	font-size: 12px;
}

.Product-module__oldPrice {
    display: none;
}

.Product-module__discount {
    top: 0;
    right: 0;
    background-color: var(--accent-color-800);
    color: #000000;
    padding: 2px 4px;
    border-radius: 10px;
}

.TotalSum-module__inputWrapper {
    width: 100%;
    display: flex;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-color-700);
}

.CountSelector-module__inputWrapper {
    width: 100%;
    display: flex;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-color-700);
}



		.image-gallery-widget {
            background-color: #1e1f22;
            border-radius: 5px;
            padding: 15px;
            max-width: 300px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        .image-gallery-title {
            color: #ef7a00;
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
        }

        .image-gallery-container {
            width: 100%;
            box-sizing: border-box;
        }

        .thumbnail-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .thumbnail-img {
            width: 100%;
            aspect-ratio: 1/1;
            object-fit: cover;
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.3s ease;
            background-color: #2e2f33;
        }

        .thumbnail-img:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 8px rgba(239, 122, 0, 0.2);
        }

        .fullscreen-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 999999;
        }

        .fullscreen-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .fullscreen-img {
            max-width: 90%;
            max-height: 90%;
            border-radius: 80px;
            box-shadow: 0 0 20px rgba(239, 122, 0, 0.3);
            object-fit: contain;
        }

        .close-modal-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            color: #ef7a00;
            font-size: 30px;
            cursor: pointer;
            z-index: 10000;
            background: rgba(30, 31, 34, 0.7);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .close-modal-btn:hover {
            background: rgba(239, 122, 0, 0.7);
            color: white;
        }

        .error-message {
            color: #ef7a00;
            display: none;
            padding: 20px;
            text-align: center;
            background: rgba(30, 31, 34, 0.9);
            border-radius: 5px;
        }

        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 40px;
            cursor: pointer;
            z-index: 10000;
            background: rgba(30, 31, 34, 0.7);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            user-select: none;
        }

        .nav-arrow:hover {
            background: rgba(239, 122, 0, 0.7);
        }

        .nav-arrow.prev {
            left: 20px;
        }

        .nav-arrow.next {
            right: 20px;
        }

        .modal-content {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
        }

@media (max-width: 768px) {
  
.MonitoringWidget-module__body {
    position: relative;
    transition: all .1s ease;
    border-radius: 5px;
    background: #1e1f22;
    padding: 10px;
    min-height: 85px;
    width: 300px;
}

.Widgets-module__wrapper {
    column-count: 2;
    column-gap: 15px;
    margin-bottom: 10px;
    width: 100%;
    display: block;
}

.Widgets-module__widgetWrapper {
    break-inside: avoid;
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
}

.widget__mapvote {
    transform: scale(0.96);
    transform-origin: left top;
    margin-bottom: -5%;
    margin-left: 1%;
}
  
.DiscordWidget-module__wrapper {
    transform: scale(1.136);
    margin-top: 13%;
    margin-bottom: 13%;
}

.bonuses__widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1e1f22;
    border-radius: 5px;
    padding: 16px;
    font-size: 20px;
    color: #ef7a00;
    width: 300px;
}
  
  	.thumbnail-img {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .fullscreen-overlay {
        touch-action: none;
    }
    
    .fullscreen-img {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    .close-modal-btn {
        top: 10px;
        right: 10px;
        font-size: 25px;
        width: 35px;
        height: 35px;
    }
  
  	.fullscreen-img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 20px;
        box-shadow: 0 0 20px rgba(239, 122, 0, 0.3);
        object-fit: contain;
    }
  
}

@media (max-width: 425px) {
  
.Widgets-module__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
  
.widget__mapvote {
    margin-left: 6%;
    transform: scale(0.86);
    margin-bottom: -19%;
}
  
.Widgets-module__widgetWrapper {
    width: 90%;
    display: flex;
    justify-content: center;
}
  
.MonitoringWidget-module__body {
    width: 264px;
}
  
.DiscordWidget-module__wrapper {
    transform: scale(1);
    margin-top: 0;
    margin-bottom: 0;
}
  
.bonuses__widget {
    width: 264px;
}
  
.Shop-module__header {
    width: 100%;
    height: 35px;
    font-size: 20px;
    text-align: center;
}
	
.Product-module__wrapper {
    background: var(--bg-color-700);
    position: relative;
    cursor: pointer;
    border-radius: 2px;
    overflow: hidden;
    animation: Product-module__productAnimation .15s ease;
    flex: 1 1 80px;
    max-width: 120px;
    padding-top: 6px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 0px;
}
  
.Product-module__discount {
    top: 0;
    right: 0;
    background-color: var(--accent-color-800);
    color: var(--font-color-700);
    padding: 0px 2px;
    border-radius: 10px;
}

}