@font-face {
    font-family: Poppins;
    src: url("/assets/Poppins-Regular-583a0e8b.ttf");
}

@font-face {
    font-family: Poppins-Light;
    src: url("/assets/Poppins-Light-969046df.ttf");
}

@font-face {
    font-family: Poppins-Medium;
    src: url("/assets/Poppins-Medium-2b59b837.ttf");
}

@font-face {
    font-family: Poppins-Bold;
    src: url("/assets/Poppins-Bold-df6355dc.ttf");
}

@font-face {
    font-family: Poppins-Extra-Bold;
    src: url("/assets/Poppins-ExtraBold-f9b144c2.ttf");
}

@font-face {
    font-family: Raleway;
    src: url("/assets/Raleway-Regular-96d3c614.ttf");
}

@font-face {
    font-family: Raleway-Light;
    src: url("/assets/Raleway-Light-a9a67ac2.ttf");
}

@font-face {
    font-family: Raleway-Medium;
    src: url("/assets/Raleway-Medium-3abab1d7.ttf");
}

@font-face {
    font-family: Raleway-Bold;
    src: url("/assets/Raleway-Bold-533371cf.ttf");
}

@font-face {
    font-family: Raleway-Extra-Bold;
    src: url("/assets/Raleway-ExtraBold-39d4d77b.ttf");
}


body {
    margin: 0;
    padding: 0;
    font-family: Poppins;
}

.clearfix {
    clear: both;
}

a {
    text-decoration: none;
}

.modal-dialog {
    max-width: 100%;
}


/*Header styles*/
header {
    height: 80px;
    border-bottom: 1px solid #383838;
    font-family: "Poppins-Light";
    font-size: 16px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    transition: all 1s;
}

.dark-bg {
    background: rgba(0, 0, 0, 0.95);
}

.inner {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
}

.logo {
    color: #ffeb3b;
    text-transform: uppercase;
    float: left;
    line-height: 80px;
    margin-left: 20px;
}

.logo img {
    vertical-align: middle;
    display: inline-block;
    width: 40px;
    margin-right: 10px;
}
.logo span.label {
    vertical-align: middle;
    display: inline-block;
}

.menu {
    float: right;
    line-height: 80px;
    margin-right: 20px;
}

.menu a {
    display: inline-block;
    margin: 0 7px;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    transition: all .6s;
}

.menu a:hover, .menu a.active {
    color: #ffeb3b;
}

.menu .switcher {
    width: 40px;
    height: 40px;
    background: #dedede url("/assets/menu-06b29b0c.svg") no-repeat center center;
    background-size: 20px 20px;
    cursor: pointer;
    border-radius: 4px;
    vertical-align: middle;
    display: none;
    z-index:22;
    position: relative;
}

@media(max-width: 1024px) {
    .menu .switcher {
        display: inline-block;
    }

    .menu .switcher.closed {
        background-image: url("/assets/close-d6062a7f.svg");
    }

    .inner-menu {
        display: none;
    }

    .inner-menu.open-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        overflow: auto;
    }

    .inner-menu::before {
        content: '';
        padding-top: 100px;
        display: block;
    }

    .inner-menu a {
        display: block;
        line-height: 60px;
        font-size: 20px;
    }


}
/*!Header styles*/



/*Home styles*/
.main-block {
    height: 944px;
    background: #171717 url("/assets/home-bg-30c38e4e.jpg") no-repeat top center;
    background-size: 100% auto;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}





.main-block .header-1 {
    font-family: Poppins-Extra-Bold;
    color: #ffeb3b;
    text-align: center;
    margin: 0;
    font-size: 125px;
    line-height: 1.2em;
}

.main-block .header-2 {
    font-family: Poppins-Extra-Bold;
    color: #fff;
    text-align: center;
    margin: 0;
    font-size: 125px;
    line-height: 1.2em;
}

.main-block .header-3 {
    font-family: Raleway;
    color: #fff;
    text-align: center;
    margin: 0;
    font-size: 15px;
}

.buttons {
    text-align: center;
    margin-top: 50px;
}

.button {
    font-family: Poppins-Medium;
    font-size: 15px;
    color: #101010;
    height: 68px;
    line-height: 68px;
    width: 250px;
    background: transparent;
    border: 1px solid #ffeb3b;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    margin: 30px 30px;
    color: #fff;
    transition: all .6s;
    cursor: pointer;
    text-transform: uppercase;
}

.button:hover {
    color: #101010;
    background: #ffeb3b;
}


@media(max-width: 1300px) {
    .main-block {
        height: 780px;
    }

    .main-block .header-1, .main-block .header-2 {
        font-size: 102px;
    }
}

@media(max-width: 1024px) {
    .main-block {
        height: 680px;
    }
}

@media(max-width: 890px) {
    .main-block {
        height: 670px;
    }

    .main-block .header-1, .main-block .header-2 {
        font-size: 82px;
    }

}
@media(max-width: 840px) {
    .main-block {
        height: 570px;
    }

    .main-block .header-1, .main-block .header-2 {
        font-size: 62px;
    }

}
@media(max-width: 630px) {
    .main-block {
        height: 770px;
    }

    .main-block .header-1, .main-block .header-2 {
        font-size: 52px;
    }

}
@media(max-width: 440px) {
    .main-block {
        height: 770px;
    }

    .main-block .header-1, .main-block .header-2 {
        font-size: 36px;
    }

}










.info-block .inner-info {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    top: -54px;
    border-radius: 12px;

}

.info-block .inner-header {
    text-align: center;
    font-size: 40px;
    line-height: 60px;
    padding-top: 36px;
    letter-spacing: 12px;
    font-family: Poppins-Light;
    background: #f9f9f9;
    border-radius: 12px;
    -webkit-box-shadow: 0px 0px 152px 0px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 152px 0px rgba(255,255,255,1);
    box-shadow: 0px 0px 152px 0px rgba(255,255,255,1);
}

.info-block .inner-header .inner-header-text {
    position: relative;
    z-index: 3;
}

.f9f9f9 {
    height: 90px;
    background: #f9f9f9;
    z-index: 2;
    position: absolute;
    width: 100%;
}

@media(max-width: 1200px) {
    .info-block .inner-info {
        border-radius: 0px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .info-block .inner-header {
        border-radius: 0px;
    }
}

.poppins-bold {
    font-family: Poppins;
}

.info-block .inner-header-mini {
    text-align: center;
    font-size: 15px;
    color: #0d0d0d;
    font-family: Raleway;
    position: relative;
    z-index: 3;
    padding: 0 12px;
    margin-top: 12px;
}

.subheader-image {
    display: block;
    margin: 10px auto 20px;
    fill:#cacaca;
    width: 90px;
    transition: all .6s;
    position: relative;
    z-index: 3;
}


.info-block .service-blocks {
    margin-top: 120px;
    text-align: center;
}

.info-block .service-block {
    display: inline-block;
    vertical-align: top;
    width: calc(100% / 3 - 88px);
    margin: 0 40px 60px;
}

.info-block .service-block:hover .subheader-image {
    fill: #000;
}

@media(max-width: 1024px) {
    .info-block .service-block {
        display: inline-block;
        vertical-align: top;
        width: calc(100% / 2 - 88px);
        margin: 0 40px 60px;
    }
}
@media(max-width: 740px) {
    .info-block .service-block {
        display: inline-block;
        vertical-align: top;
        width: calc(100% - 88px);
        margin: 0 40px 60px;
    }
}

.info-block .service-block .service-image {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: 80px;
    background: #ffeb3b;
    border-radius: 4px;
    text-align: center;
    padding-top: 20px;
    transition: all .15s;
}

.info-block .service-block:hover .service-image {
    border-radius: 50%;
    -webkit-box-shadow: 0px 27px 40px 0px rgba(255,235,59,0.5);
    -moz-box-shadow: 0px 27px 40px 0px rgba(255,235,59,0.5);
    box-shadow: 0px 27px 40px 0px rgba(255,235,59,0.5);
}

.info-block .service-block .service-image img {
    width: 60px;
    height: 60px;
}

.info-block .service-block .header {
    display: block;
    text-align: center;
    color: #0d0d0d;
    font-size: 18px;
    font-family: Poppins-Bold;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.info-block .service-block .text {
    color: #000000;
    font-size: 15px;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.4em;
    font-family: Raleway;
}









footer {
    background: #272727;
    min-height: 80px;
    line-height: 1.8;
    padding: 22px 12px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-family: Poppins-Light;
    text-transform: uppercase;
}

footer .footer-accent {
    color: #ffeb3b;
}

@media (max-width: 500px) {
    footer {
        font-size: 14px;
    }
}
@media (max-width: 440px) {
    footer {
        font-size: 12px;
    }
}
@media (max-width: 340px) {
    footer {
        font-size: 10px;
    }
}


#to-top {
    display: block;
    width: 58px;
    height: 58px;
    position: fixed;
    bottom: 100px;
    right: 100px;
    background: #000000;
    border-radius: 4px;
    transition: all .6s;
    opacity: 0;
    z-index: 50;
    text-align: center;
    pointer-events: none;
}

/*Hidden (opacity 0) it must not catch taps meant for the flash close button*/
#to-top.is-shown {
    pointer-events: auto;
}

#to-top svg {
    fill: #ffeb3b;
    width: 30px;
    height: 30px;
    padding-top:13px;
}

#to-top:hover {
    background: #ffeb3b;
}
#to-top:hover svg {
    fill: #000;
}
/*!Home styles*/






.info-block {
    background-color: #f9f9f9;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.info-block.home {
    background-image: url("/assets/our_services-963c2035.svg");
    background-position: center 145px;
}

/*Hosting styles*/
.main-block.hosting {
    background: #171717 url("/assets/hosting-bg-108f2d68.jpg") no-repeat top center;
}

.info-block {
    background-color: #f9f9f9;
}
.info-block.hosting {
    background-image: url("/assets/web_hosting-5d270090.svg");
    background-position: center 300px;
}

.info-block.hosting.vps {
    background-image: url("/assets/vps-text-792f53ed.svg");
    background-position: center 300px;
}

.info-block.hosting .service-blocks {
    margin: 0 auto;
    margin-top: 45px;
    max-width: 1024px;
    width: 100%;
}
.info-block.hosting .service-block {
    width: 100%;
    margin: 0;
}

.info-block.hosting .service-block .service-image {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: 80px;
    background: #ffeb3b;
    border-radius: 4px;
    text-align: center;
    padding-top: 20px;
    transition: all .15s;
}

.info-block.hosting .service-block:hover .service-image {
    border-radius: 4px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.info-block.hosting .service-block .service-left {
    float: left;
}

.info-block.hosting .service-block .text {
    padding-left: 150px;
    text-align: left;
}

.info-block.hosting .subheader-image {
    margin-top: 40px;
}

.info-block.hosting .buttons {
    text-align: right;
    margin: 80px 0;
}
.info-block.hosting .buttons .button {
    color: #000;
    border-color: #000;
    margin: 0;
}

@media (max-width: 1600px) {
    #to-top {
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 1024px) {
    .info-block.hosting .service-block .service-left,
    .info-block.cloud .service-block .service-left,
    .info-block.vpn .service-block .service-left,
    .info-block.cdn .service-block .service-left
    {
        float: none !important;
    }

    .info-block.hosting .service-block .text,
    .info-block.cloud .service-block .text,
    .info-block.vpn .service-block .text,
    .info-block.cdn .service-block .text
    {
        padding-left: 20px !important;
        text-align: left !important;
    }

    .info-block.hosting .buttons,
    .info-block.cloud .buttons,
    .info-block.vpn .buttons,
    .info-block.cdn .buttons
    {
        text-align: center !important;
    }
}

.pricing-block {
    position: relative;
    z-index: 2;
    margin-top: -54px;
    background-image: url("/assets/hosting-pricing-46ca76ef.jpg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    padding-top: 150px;
    padding-bottom: 100px;
}

.pricing-block.product{
    background-image: none;
}

.pricing-block .pricing-header1 {
    font-size: 40px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-family: Poppins-Light;
    letter-spacing: 12px;
}

.pricing-block .pricing-header2 {
    font-size: 20px;
    color: #fff;
    text-align: center;
    font-family: Poppins-Light;
    margin: 15px 0 25px;
}

.pricing-block .subheader-image {
    fill: #ffeb3b;
}

.pricing-cards {
    margin-top: 80px;
    text-align: center;
}

.pricing-cards .pricing-card {
    display: inline-block;
    vertical-align: top;
    width: 520px;
    max-width: 100%;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

.pricing-cards .pricing-card.vpn {
    width: 25% !important;
}

.pricing-cards .pricing-card.vds {
    width: 25% !important;
}

.pricing-cards .pricing-card.product {
    width: 25% !important;
}

.pricing-card.product .card-header, .pricing-card.product.active .card-header {
    min-height: 200px;
}

.pricing-card .card-header {
    position: relative;
    z-index: 4;
    padding: 24px 0;
    background: #2a2a2a;
    border-radius: 4px 4px 0 0;
}

.pricing-card .card-header .triangle {
    width: 60px;
    height: 34px;
    position: absolute;
    top: auto;
    bottom: -34px;
    left: 50%;
    margin-left: -30px;
}

.pricing-card .card-header .triangle svg {
    width: 100%;
    height: 100%;
    fill: #2a2a2a;
}

.pricing-card .card-header .card-header1 {
    color: #ffeb3b;
    font-size: 34px;
    font-family: Poppins-Bold;
    padding: 0 12px;
}

.pricing-card .card-header .card-header2 {
    color: #ffeb3b;
    font-size: 20px;
    font-family: Poppins;
    margin-top: -12px;
}

.pricing-card .pricing-section {
    background: #f2f2f2;
    padding: 25px 0 0;
    font-size: 62px;
    font-family: Poppins;
}
.pricing-card .pricing-section .small {
    font-size: 32px;
}

.pricing-card .pricing-conditions {
    background: #fff;
}
.pricing-card .pricing-condition {
    font-size: 18px;
    font-family: Poppins-Light;
    color: #434343;
    line-height: 64px;
    border-bottom: 1px solid #ececec;
}
.pricing-card .pricing-footer {
    padding: 30px 0;
    background: #f2f2f2;
    border-radius: 0 0 4px 4px;
}

.pricing-card .button {
    color: #000;
    border-color: #000;
    margin: 0;
}





.pricing-card.active {
    position: relative;
    z-index: 8;
    top: -40px;
    margin-left: 0;
    margin-right: 0;
    -webkit-box-shadow: 0px 40px 103px 0px rgba(0,0,0,0.36);
    -moz-box-shadow: 0px 40px 103px 0px rgba(0,0,0,0.36);
    box-shadow: 0px 40px 103px 0px rgba(0,0,0,0.36);

}
.pricing-card.active .card-header {
    position: relative;
    z-index: 4;
    padding: 54px 0 64px;
    background: #ffeb3b;
    border-radius: 4px 4px 0 0;
}

.pricing-card.active .card-header .card-header1 {
    color: #000;
}

.pricing-card.active .card-header .card-header2 {
    color: #000;
}

.pricing-card.active .card-header .triangle svg {
    width: 100%;
    height: 100%;
    fill: #ffeb3b;
}

.pricing-card.active .card-header .triangle {
    top: auto;
    bottom: -34px;
}

.pricing-card.active .pricing-condition {
    line-height: 70px;
}

@media (max-width: 1600px) {
    .pricing-cards .pricing-card {
        width: 400px;
    }
}
@media (max-width: 1200px) {
    .pricing-cards .pricing-card,
    .pricing-cards .pricing-card.vpn,
    .pricing-cards .pricing-card.vds,
    .pricing-cards .pricing-card.product {
        display: block;
        margin: 0 auto 40px;
        width: 800px !important;
        max-width: 100%;
    }

    .pricing-cards .pricing-card.active {
        top: 0;
        display: block;
        margin: 0 auto 40px;
    }

    .pricing-cards {
        margin-top: 30px !important;
    }
}

/*!Hosting styles*/




/*Cloud styles*/
.main-block.cloud {
    background: #171717 url("/assets/cloud-bg-7497df91.jpg") no-repeat top center;
}

.info-block.cloud {
    background-image: url("/assets/cloud_storage-7973658c.svg");
    background-position: center 290px;
}

.info-block.cloud .service-blocks {
    margin: 0 auto;
    margin-top: 45px;
    max-width: 1024px;
    width: 100%;
}
.info-block.cloud .service-block {
    width: 100%;
    margin: 0;
}

.info-block.cloud .service-block .service-image {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: 80px;
    background: #ffeb3b;
    border-radius: 4px;
    text-align: center;
    padding-top: 20px;
    transition: all .15s;
}

.info-block.cloud .service-block:hover .service-image {
    border-radius: 4px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.info-block.cloud .service-block .service-left {
    float: left;
}

.info-block.cloud .service-block .text {
    padding-left: 150px;
    text-align: left;
}

.info-block.cloud .subheader-image {
    margin-top: 40px;
}

.info-block.cloud .buttons {
    text-align: right;
    margin: 80px 0;
}
.info-block.cloud .buttons .button {
    color: #000;
    border-color: #000;
    margin: 0;
}

.pricing-block.cloud {
    background-image: url("/assets/cloud-pricing-f96a3a5f.jpg");
}

/*!Cloud styles*/



/*VPN styles*/
.main-block.vpn {
    background: #171717 url("/assets/vpn-bg-a8c3f1d3.jpg") no-repeat top center;
}

.info-block.vpn {
    background-image: url("/assets/vpn-text-17907e15.svg");
    background-size: contain;
}

.info-block.vpn .service-blocks {
    margin: 0 auto;
    margin-top: 45px;
    max-width: 1024px;
    width: 100%;
}
.info-block.vpn .service-block {
    width: 100%;
    margin: 0;
}

.info-block.vpn .service-block .service-image {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: 80px;
    background: #ffeb3b;
    border-radius: 4px;
    text-align: center;
    padding-top: 20px;
    transition: all .15s;
}

.info-block.vpn .service-block:hover .service-image {
    border-radius: 4px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.info-block.vpn .service-block .service-left {
    float: left;
}

.info-block.vpn .service-block .text {
    padding-left: 150px;
    text-align: left;
}

.info-block.vpn .subheader-image {
    margin-top: 40px;
}

.info-block.vpn .buttons {
    text-align: right;
    margin: 80px 0;
}
.info-block.vpn .buttons .button {
    color: #000;
    border-color: #000;
    margin: 0;
}

.pricing-block.vpn {
    background-image: url("/assets/vpn-pricing-a56228f1.jpg");
}

/*!VPN styles*/

/*CDN styles*/



.info-block.cdn .service-blocks {
    margin: 0 auto;
    margin-top: 45px;
    max-width: 1024px;
    width: 100%;
}
.info-block.cdn .service-block {
    width: 100%;
    margin: 0;
}

.info-block.cdn .service-block .service-image {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: 80px;
    background: #ffeb3b;
    border-radius: 4px;
    text-align: center;
    padding-top: 20px;
    transition: all .15s;
}

.info-block.cdn .service-block:hover .service-image {
    border-radius: 4px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.info-block.cdn .service-block .service-left {
    float: left;
}

.info-block.cdn .service-block .text {
    padding-left: 150px;
    text-align: left;
}

.info-block.cdn .subheader-image {
    margin-top: 40px;
}

.info-block.cdn .buttons {
    text-align: right;
    margin: 80px 0;
}
.info-block.cdn .buttons .button {
    color: #000;
    border-color: #000;
    margin: 0;
}


/*!CDN styles*/


/*DESIGN styles*/
.main-block.design {
    background: #171717 url("/assets/design-bg-981edd06.jpg") no-repeat top center;
}

.info-block.design {
    background-image: url("/assets/design-text-396db13e.svg");
    background-position: center center;
    background-size: contain;
}

.info-block.design .service-blocks {
    margin: 0 auto;
    margin-top: 45px;
    max-width: 1024px;
    width: 100%;
}
.info-block.design .service-block {
    width: 100%;
    margin: 0;
}

.info-block.design .service-block .service-image {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: 80px;
    background: #ffeb3b;
    border-radius: 4px;
    text-align: center;
    padding-top: 20px;
    transition: all .15s;
}

.info-block.design .service-block:hover .service-image {
    border-radius: 4px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.info-block.design .service-block .service-left {
    float: left;
}

.info-block.design .service-block .text {
    padding-left: 150px;
    text-align: left;
}

.info-block.design .subheader-image {
    margin-top: 40px;
}

.info-block.design .buttons {
    text-align: right;
    margin: 80px 0;
}
.info-block.design .buttons .button {
    color: #000;
    border-color: #000;
    margin: 0;
}

.pricing-block.design {
    background-image: url("/assets/design-pricing-7d1c5d52.jpg");
}

/*!DESIGN styles*/



/*Templates styles*/
.main-block.templates {
    background: #171717 url("/assets/templates-bg-4330cf7b.jpg") no-repeat top center;
}

.info-block.templates {
    background-image: url("/assets/templates-text-8ce5e99d.svg");
    background-position: center 700px;
    background-size: contain;
}

.info-block.templates .service-blocks {
    margin: 0 auto;
    margin-top: 45px;
    max-width: 1024px;
    width: 100%;
}
.info-block.templates .service-block {
    width: 100%;
    margin: 0;
}

.info-block.templates .service-block .service-image {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: 80px;
    background: #ffeb3b;
    border-radius: 4px;
    text-align: center;
    padding-top: 20px;
    transition: all .15s;
}

.info-block.templates .service-block:hover .service-image {
    border-radius: 4px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.info-block.templates .service-block .service-left {
    float: left;
}

.info-block.templates .service-block .text {
    padding-left: 150px;
    text-align: left;
}

.info-block.templates .subheader-image {
    margin-top: 40px;
}

.info-block.templates .buttons {
    text-align: right;
    margin: 80px 0;
}
.info-block.templates .buttons .button {
    color: #000;
    border-color: #000;
    margin: 0;
}

.all-templates {
    text-align: center;
    font-size: 40px;
    line-height: 60px;
    letter-spacing: 12px;
    font-family: Poppins-Light;
}

.filters-blocks {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 100px;
}

.filter-block {
    margin-bottom: 30px;
}

.filter-name {
    display: inline-block;
    vertical-align: top;
    width: 140px;
    font-size: 16px;
    line-height: 40px;
    padding-left: 90px;
}

.filter-input {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 520px);
    margin: 0 40px;
}

@media(max-width: 1024px) {
    .filter-name {
        display: inline-block;
        vertical-align: top;
        width: 140px;
        font-size: 16px;
        line-height: 40px;
        padding-left: 20px;
    }

    .filter-input {
        width: calc(100% - 460px);
    }
}





.filter-input input, .filter-input select {
    box-sizing: border-box;
    width: 100%;
    line-height: 40px;
    height:40px;
    background: #fff;
    border: 1px solid #b6b6b6;
    border-radius: 4px;
    padding: 0 5px;
}

.filter-button {
    display: inline-block;
    vertical-align: top;
    width: 185px;
}

.filter-button .button {
    margin: 0;
    width: 100%;
    height: 37px;
    line-height: 37px;
    font-size: 18px;
    color: #000;
    font-family: Poppins-Medium;
    border-color: #000;
}


@media(max-width: 800px) {
    .filter-name {
        display: inline-block;
        vertical-align: top;
        width: 105px;
        font-size: 16px;
        line-height: 40px;
        padding-left: 20px;
    }

    .filter-input {
        width: calc(100% - 375px);
        margin: 0 20px;
    }
}

@media(max-width: 650px) {
    .filter-button {
        width: 98px;
    }

    .filter-input {
        width: calc(100% - 290px);
        margin: 0 20px;
    }
}

@media(max-width: 500px) {
    .filter-block {
        padding: 0 10px;
        margin-bottom: 40px;
    }
    .filter-name {
        display: block;
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .filter-button {
        display: block;
        width: 100%;
    }

    .filter-input {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}


.items-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.item-block {
    width: 330px;
    margin-bottom: 100px;
}

.item-block .item-image {
    border-radius: 4px;
    overflow: hidden;
    height: 360px;
    margin-bottom: 40px;
    -webkit-box-shadow: 0px 40px 29px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 40px 29px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 40px 29px 0px rgba(0,0,0,0.1);
}

.item-block .item-image img {
    width: 100%;
    height: 100%;
}

.item-block .item-params {
    padding: 0 20px;
}
.item-block table {
    width: 100%;
}
.item-block .name {
    font-family: Poppins-Medium;
    font-size: 15px;
}
.item-block .value {
    font-family: Poppins-Light;
    font-size: 15px;
}

.item-footer {
    margin-top: 25px;
}
.item-footer .button {
    border-color: #000;
    color: #000;
    width: 100%;
    margin: 0;
}

.after-items-block {
    text-align: center;
    margin-top: -40px;
}

.after-items-block .button {
    width: 330px
}

@media (max-width: 1280px) {
    .items-block {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}

@media (max-width: 1110px) {
    .items-block {
        width: calc(100% - 240px);
        margin: 0 auto;
    }
}

@media (max-width: 980px) {
    .items-block {
        width: calc(100% - 140px);
        margin: 0 auto;
    }
}

@media (max-width: 850px) {
    .items-block {
        width: calc(100% - 240px);
        margin: 0 auto;
        justify-content: center;
    }
}

@media (max-width: 590px) {
    .items-block {
        width: 100%;
        margin: 0 auto;
        justify-content: center;
    }
}
/*!Templates styles*/




/*Support styles*/
.main-block.support {
    background: #171717 url("/assets/support-bg-49a7395b.jpg") no-repeat top center;
}

.info-block.support {
    background-image: url("/assets/contacts-text-fc464ce1.svg");
    background-position: center bottom;
    background-size: contain;
}

.info-block.support .service-blocks {
    margin: 0 auto;
    margin-top: 45px;
    max-width: 1024px;
    width: 100%;
}
.info-block.support .service-block {
    width: 100%;
    margin: 0;
}

.info-block.support .service-block .service-image {
    display: block;
    margin: 0 auto 20px;
    width: 100px;
    height: 80px;
    background: #ffeb3b;
    border-radius: 4px;
    text-align: center;
    padding-top: 20px;
    transition: all .15s;
}

.info-block.support .service-block:hover .service-image {
    border-radius: 4px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.info-block.support .service-block .service-left {
    float: left;
}

.info-block.support .service-block .text {
    padding-left: 150px;
    text-align: left;
}

.info-block.support .subheader-image {
    margin-top: 40px;
}

.info-block.support .buttons {
    text-align: right;
    margin: 80px 0;
}
.info-block.support .buttons .button {
    color: #000;
    border-color: #000;
    margin: 0;
}

.send-a-message {
    font-size: 20px;
    font-family: Poppins-Light;
    margin-top: 45px;
    margin-bottom: 60px;
    text-align: center;
}


.contact-form {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

.contact-form .form-header-block {
    display: flex;
}

.contact-form .form-header-light {
    width: 230px;
    font-size: 16px;
    font-family: Poppins-Light;
}

.contact-form .form-header-bold {
    font-size: 16px;
    font-family: Poppins-Medium;
}

.contact-form .item-footer {
    margin-top: 80px;
    padding: 0 20px;
}

.contact-form .item-footer .button {
    width: 100%;
    max-width: 330px;
}

.form-fields {
    display: flex;
    margin-top: 50px;
}

.form-fields .form-left {
    height: 190px;
    flex: 1;
    margin-right: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.form-fields .form-right {
    margin-left: 25px;
    height: 190px;
    flex: 1;
}

.form-input input {
    box-sizing: border-box;
    width: 100%;
    line-height: 40px;
    height:40px;
    background: #fff;
    border: 1px solid #b6b6b6;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 16px;
    font-family: Poppins-Light;
}

.form-right textarea {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #b6b6b6;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    font-family: Poppins-Light;
}

.form-input input::-webkit-input-placeholder,
.form-input input::-moz-placeholder,
.form-input input:-ms-input-placeholder,
.form-input input:-moz-placeholder,
.form-right textarea::-webkit-input-placeholder,
.form-right textarea::-moz-placeholder,
.form-right textarea:-ms-input-placeholder,
.form-right textarea:-moz-placeholder {
    color: #a6a6a6;
}

@media (max-width: 1200px) {
    .form-fields {
        padding-right: 20px;
        padding-left: 20px;
    }

    .contact-form .form-header-block {
        padding: 0 20px;
    }
}

@media (max-width: 680px) {
    .contact-form .form-header-block {
        display: block;
        margin-bottom: 20px;
    }
}

@media (max-width: 660px) {
    .form-fields {
        display: block;
    }

    .form-left {
        margin-right: 0 !important;
    }

    .form-right {
        margin-top: 38px;
        margin-left: 0 !important;
    }
}
/*!Support styles*/


#success {
    position: fixed;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color:#fff;
    opacity: 0.9;
    top: 40px;
    font-family: Poppins-Light;
    left: 0;
    background: #28a745;
    transition: all 0.5s;
    z-index: 3;
    opacity: 0;
    font-size: 14px;
}

#dummy {
    position: fixed;
    z-index: 121;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    min-height: 100%;
    overflow: auto;
    top: 0;
    left: 0;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.5s;
    display: none;
    opacity: 0;
}

#dummy iframe {
    width: 100%;
    height:100%;
}

#modal {
    margin-top: 10px;
    display: inline-block;
    max-width: 800px;
    width: calc(100% - 40px);
    min-height:200px;
    background:#fff;
    cursor: default;
    height: calc(100vh - 20px);
}



.no-margin-right {
    margin-right: 0 !important;
}

/* container */
.gallery { max-width: 1120px; margin: 24px auto; padding: 0 16px; display: grid; gap: 12px; }

/* main viewer */
.viewer {
    position: relative;
    width: 100%;
    /* Pick one height strategy: */
    /* Strategy A: responsive but stable height */
    aspect-ratio: 4 / 3;
    /* Or Strategy B: viewport-based height (uncomment next line and remove aspect-ratio)
       height: min(70vh, 640px); */

    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #0b0c0f; /* dark letterbox to hide bars */
}

/* slides stack but only one is shown */
.slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.slide[hidden] { display: none; }

/* IMAGES — contain, no crop, no forced upscale */
.viewer img {
    max-width: 100%;
    max-height: 100%;
    width: auto;       /* keep natural width if smaller than viewer */
    height: auto;      /* keep natural height if smaller than viewer */
    object-fit: contain;
    display: block;
}

/* YOUTUBE — preserve 16:9, fit inside viewer, no crop */
.viewer iframe {
    aspect-ratio: 16 / 9;
    max-width: 100%;
    max-height: 100%;
    width: auto;   /* grow by width until hits max-height/width */
    height: auto;  /* grow by height until hits max-height/width */
    display: block;
    background: #000;
    border: 0;
}

/* navigation + counter (unchanged) */
.galery-nav { position: absolute; top: 50%; transform: translateY(-50%); border: none; background: rgba(255,255,255,.9); padding: 6px 10px; border-radius: 999px; cursor: pointer; font-size: 22px; }
.galery-nav--prev { left: 10px; }
.galery-nav--next { right: 10px; }
.counter { position: absolute; right: 10px; bottom: 10px; font-size: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 2px 6px; border-radius: 6px; }

/* thumbnails — keep cover here (tiny crop is fine for thumbs) */
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(88px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumb { position: relative; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; padding: 0; }
.thumb img { width: 100%; height: 66px; object-fit: cover; display: block; }
.thumb__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.35); font-weight: 700; }
.thumb.is-active { outline: 2px solid #4f46e5; outline-offset: -2px; }

.product-wrap {
    max-width: 1120px;
    margin: 24px auto;
    padding: 0 16px;
}

/* Float the gallery so text wraps around it */
.gallery-float {
    float: right;
    width: 40%;
    max-width: 460px;
    margin: 0 0 16px 24px;
}

/* ensure the gallery itself fits the float box */
.gallery { max-width: none; margin: 0; }

/* clear after wrap */
.clearfix::after { content: ""; display: block; clear: both; }

@media (max-width: 900px) {
    .gallery-float {
        float: none;
        width: 100%;
        margin: 0 0 16px 0;
    }
}

.product-desc img { max-width: 100%; height: auto; }
.product-desc table { width: 100%; overflow: auto; display: block; }
.product-desc p, .product-desc ul, .product-desc ol { line-height: 1.6; }


/* ---------- PRODUCT TABLES ---------- */

.product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

/* headers */
.product-table thead th {
    text-align: left;
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 2px solid #e5e7eb;
    background: #f9fafb;
    white-space: nowrap;
}

/* body cells */
.product-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

/* zebra rows */
.product-table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* ---------- META TABLE (2 columns) ---------- */
/* Genres / Regions / Platforms etc */

.product-table tbody tr td:first-child {
    width: 22%;
    min-width: 160px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.product-table tbody tr td:last-child {
    width: 78%;
    color: #111827;
}

/* ---------- REQUIREMENTS TABLE ---------- */

.product-table thead th:nth-child(1) { width: 20%; }
.product-table thead th:nth-child(2) { width: 40%; }
.product-table thead th:nth-child(3) { width: 40%; }

/* ---------- LISTINGS TABLE ---------- */

.product-table.listings-table thead th {
    text-align: center;
}

.product-table.listings-table td {
    text-align: center;
    white-space: nowrap;
}

.product-table.listings-table td:last-child {
    text-align: right;
    white-space: normal;
}

/* price emphasis */
.product-table .price {
    font-weight: 600;
}

/* ---------- BUTTON FIX ---------- */

.product-table .btn {
    font-size: 13px;
    padding: 6px 12px;
    white-space: nowrap;
}

/* ---------- MOBILE ---------- */

@media (max-width: 900px) {
    .product-table {
        font-size: 13px;
    }

    .product-table thead {
        display: none;
    }

    .product-table tbody tr {
        display: block;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 8px;
    }

    .product-table tbody td {
        display: flex;
        justify-content: space-between;
        border: none;
        padding: 6px 8px;
    }

    .product-table tbody td::before {
        content: attr(data-label);
        font-weight: 500;
        color: #6b7280;
        margin-right: 12px;
    }
}


/* BUY BLOCK UNDER GALLERY */

.buy-box {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
    text-align: center;
}

.price-row {
    margin-bottom: 12px;
}

.price-usd {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.price-note {
    font-size: 14px;
    color: #6b7280;
    margin-left: 6px;
}

.btn-buy {
    display: inline-block;
    width: 100%;
    padding: 12px 1px;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.btn-buy:hover {
    filter: brightness(0.95);
}

/* ---------- HEADER MENU ---------- */

.header-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.header-menu .menu-item {
    position: relative;
}

.header-menu .menu-link {
    cursor: pointer;
    font-weight: 500;
    color: #ffeb3b;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-nav {
    display: flex;
    gap: 24px;
}

.navbar-nav > li {
    position: relative;
}

.navbar-nav > li > .nav-link {
    padding: 16px 0;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
}

/* ---------- DROPDOWN ---------- */

.header-menu .dropdown-menu {
    line-height: 40px;
    position: absolute;
    top: 100%;
    left: 0;

    display: none;

    width: 480px;
    max-height: 600px;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 12px 16px;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #726565;

    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    z-index: 1000;

    column-count: 1;
    column-gap: 24px;
    column-fill: auto;
}

.category-group.digital-keys .dropdown-menu {
    column-count: 3;
    width: auto;
}

.category-group.games .dropdown-menu  {
    column-count: 2;
    width: auto;
}

.category-group.subscriptions .dropdown-menu, .category-group.software .dropdown-menu, .category-group.gift-cards .dropdown-menu  {
    column-count: 1;
    width: auto;
}

.navbar-nav .dropdown-menu > li > a {
    padding: 8px 16px;
    font-size: 14px;
    color: #ffeb3b;
}

.navbar-nav .dropdown-menu > li > a:hover {
    background: #f3f4f6;
}

/* ---------- HOVER ---------- */

.header-menu .menu-item:hover > .dropdown-menu {
    display: block;
}

/* caret */
.navbar-nav .caret {
    margin-left: 6px;
}

.header-search {
    display: flex;
    align-items: center;
    margin-left: 24px;
}

.header-search input {
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px 0 0 6px;
    outline: none;
}

.header-search button {
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-left: none;
    background: #f9fafb;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
}
/* Mobile: the header menu stays hidden until the hamburger opens it
   (must come after the base .header-menu rule, which sets display:flex). */
@media(max-width: 1024px) {
    .inner-menu.header-menu {
        display: none;
    }

    .inner-menu.header-menu.open-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 100px 20px 20px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        box-sizing: border-box;
        background: #111;
        overflow: auto;
    }

    .inner-menu.header-menu .header-search {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        box-sizing: border-box;
    }

    .inner-menu.header-menu .header-search button {
        flex: 0 0 auto;
    }

    .inner-menu.header-menu .header-search input {
        min-width: 0;
        flex: 1 1 auto;
        width: 100%;
        box-sizing: border-box;
    }
}

/*Location picker (VPS / VDS / Dedicated)*/
.location-picker {
    text-align: center;
    margin: 10px 0 20px;
    color: #fff;
    font-family: Poppins-Light;
}

.location-picker label {
    margin-right: 10px;
}

.location-picker select {
    min-width: 220px;
    max-width: 100%;
    height: 44px;
    padding: 0 12px;
    font-family: Poppins-Light;
    font-size: 16px;
    color: #101010;
    background: #ffeb3b;
    border: 1px solid #ffeb3b;
    border-radius: 4px;
}

/*Mobile fixes: spaced headings and buttons must not overflow*/
.button {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 500px) {
    .button {
        margin: 20px 10px;
    }

    .info-block .inner-header,
    .pricing-block .pricing-header1 {
        letter-spacing: 3px;
        font-size: 28px;
        line-height: 40px;
        overflow-wrap: anywhere;
    }
}

/*Compact plan cards on phones*/
@media (max-width: 500px) {
    .pricing-cards {
        margin-top: 10px !important;
    }

    .pricing-cards .pricing-card,
    .pricing-cards .pricing-card.vpn,
    .pricing-cards .pricing-card.vds,
    .pricing-cards .pricing-card.product {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .pricing-card .card-header,
    .pricing-card.active .card-header {
        padding: 10px 0 14px;
    }

    .pricing-card .card-header .card-header1 {
        font-size: 22px;
    }

    .pricing-card .card-header .card-header2 {
        font-size: 14px;
        margin-top: 0;
    }

    .pricing-card .card-header .triangle,
    .pricing-card.active .card-header .triangle {
        display: none;
    }

    .pricing-card .pricing-section {
        padding-top: 8px;
        font-size: 36px;
    }

    .pricing-card .pricing-condition,
    .pricing-card.active .pricing-condition {
        font-size: 13px;
        line-height: 24px;
        padding: 0 10px;
    }

    .pricing-card .pricing-footer {
        padding: 8px 0;
    }

    .pricing-card .pricing-footer .button {
        height: 48px;
        line-height: 48px;
        margin: 4px 10px;
    }
}

/*Pages without a hero banner: room for the fixed header*/
.page-plain {
    display: block;
    background: #f9f9f9;
    padding-top: 120px;
    padding-bottom: 60px;
}

/*Order form*/
.pay-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: Raleway;
    font-size: 15px;
    line-height: 1.5em;
    color: #0d0d0d;
}

.pay-page ul {
    margin: 8px 0 20px;
    padding-left: 22px;
}

.pay-page strong.small {
    font-family: Poppins-Medium;
    font-weight: normal;
}

.pay-form {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 30px 40px 34px;
    margin: 10px 0 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.order-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    background: #101010;
    color: #fff;
    border-left: 4px solid #ffeb3b;
    border-radius: 4px;
    padding: 16px 20px;
    font-family: Poppins-Light;
}

.order-summary .order-service {
    font-family: Poppins-Medium;
    font-weight: normal;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.order-summary .order-amount {
    margin-left: auto;
    font-family: Poppins-Bold;
    font-size: 22px;
    color: #ffeb3b;
    white-space: nowrap;
}

.pay-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 24px 0 18px;
    font-family: Poppins-Medium;
}

.pay-intro strong {
    font-weight: normal;
}

.pay-cards {
    height: 32px;
    width: auto;
}

.pay-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
}

.pay-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pay-field.pay-wide {
    grid-column: 1 / -1;
}

.pay-field label {
    font-family: Poppins-Medium;
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.pay-field input,
.pay-field select {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    background: #fff;
    border: 1px solid #b6b6b6;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 16px;
    font-family: Poppins-Light;
    color: #0d0d0d;
}

.pay-field input:focus,
.pay-field select:focus {
    outline: none;
    border-color: #101010;
    box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.6);
}

.pay-expiry {
    display: flex;
    gap: 10px;
}

.pay-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
}

.pay-form .button {
    margin: 0;
    width: 100%;
    max-width: 330px;
    height: 54px;
    line-height: 54px;
    padding: 0;
    color: #101010;
    background: #ffeb3b;
    font-size: 15px;
}

.pay-form .button:hover {
    background: #101010;
    border-color: #101010;
    color: #ffeb3b;
}

.pay-page a {
    color: #101010;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .page-plain {
        padding-top: 100px;
    }

    .pay-form {
        padding: 20px 16px 24px;
        border-radius: 8px;
    }

    .pay-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .order-summary .order-amount {
        margin-left: 0;
    }

    .pay-actions .button {
        max-width: none;
    }
}

/*Flash messages*/
.flash {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 560px;
    z-index: 60;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 16px 20px;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    border-left: 4px solid #ffeb3b;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: Poppins-Light;
    font-size: 15px;
    line-height: 1.5em;
}

.flash.flash-error,
.flash.flash-alert,
.flash.flash-notice {
    border-left-color: #ff5252;
}

.flash .flash-text {
    flex: 1;
}

.flash .flash-close {
    background: transparent;
    border: 0;
    color: #ffeb3b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

/*Final polish: text never touches the screen edge, hero lines do not collide*/
.main-block {
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
}

.main-block .header-1,
.main-block .header-2 {
    overflow-wrap: anywhere;
}

.main-block .header-3 {
    margin-top: 14px;
    line-height: 1.5em;
}

@media (max-width: 500px) {
    .pricing-block .pricing-header2 {
        padding: 0 16px;
        line-height: 1.4em;
    }

    .pricing-card .card-header .card-header1 {
        padding: 0 12px;
    }
}

@media (max-width: 1200px) {
    .pricing-card.product .card-header,
    .pricing-card.product.active .card-header {
        min-height: 0;
    }
}

/*Long dynamic hero titles (search, category, product)*/
.main-block .header-2.long {
    font-size: 64px;
    padding: 0 10px;
}

@media (max-width: 840px) {
    .main-block .header-2.long { font-size: 40px; }
}

@media (max-width: 500px) {
    .main-block .header-2.long { font-size: 28px; }
}

/*Four-up category and product cards: equal height, no overlap between neighbours*/
.pricing-card.category.active,
.pricing-card.product.active {
    top: 0;
    box-shadow: none;
}

.pricing-card.category .card-header,
.pricing-card.category.active .card-header,
.pricing-card.product .card-header,
.pricing-card.product.active .card-header {
    box-sizing: border-box;
    min-height: 200px;
    padding: 24px 12px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-card.category .card-header .card-header2,
.pricing-card.product .card-header .card-header2 {
    margin-top: 0;
}

.pricing-card.category .card-header .triangle,
.pricing-card.category.active .card-header .triangle,
.pricing-card.product .card-header .triangle,
.pricing-card.product.active .card-header .triangle {
    top: auto;
    bottom: -33px;
}

.pricing-card.category .pricing-section {
    min-height: 40px;
}

@media (max-width: 1200px) {
    .pricing-card.category .card-header,
    .pricing-card.category.active .card-header,
    .pricing-card.product .card-header,
    .pricing-card.product.active .card-header {
        min-height: 0;
    }
}

@media (max-width: 500px) {
    .pricing-card.category .card-header,
    .pricing-card.category.active .card-header,
    .pricing-card.product .card-header,
    .pricing-card.product.active .card-header {
        padding: 10px 10px 14px;
    }
}

/*Desktop plan rows: flex (no inline-block whitespace), 8px between cards (adjacent yellow
  cards stay apart), widths leave room for the gaps, so a row of 3 or 4 never wraps*/
@media (min-width: 1201px) {
    .pricing-cards {
        box-sizing: border-box;
        padding: 0 48px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        column-gap: 8px;
    }

    .pricing-cards .pricing-card {
        flex: 0 0 auto;
        box-sizing: border-box;
        max-width: calc((100% - 16px) / 3);
    }

    .pricing-cards .pricing-card.vpn,
    .pricing-cards .pricing-card.vds {
        width: calc(25% - 6px) !important;
    }

    .pricing-cards .pricing-card.category,
    .pricing-cards .pricing-card.product {
        width: calc(25% - 8px) !important;
    }
}

/*Product cards: same header height, long names clamped to four lines*/
.pricing-card.product .card-header .card-header1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    font-size: 28px;
    line-height: 1.3em;
}

@media (min-width: 1201px) {
    .pricing-card.product .card-header,
    .pricing-card.product.active .card-header {
        min-height: 250px;
    }
}

/* ---------- CATALOG CARDS (image + details link) ---------- */
.product-thumb-link { display: block; background: #f2f2f2; padding: 16px 12px 0; }
.product-thumb { display: block; width: 100%; height: 140px; object-fit: contain; }
.product-thumb.no-image { background: #e8e8e8; border-radius: 6px; }
.pricing-card .card-header .card-header1 a { color: inherit; text-decoration: none; }
.pricing-card.product .card-header .card-header1 { font-size: 22px; overflow-wrap: anywhere; }

/* descriptions are readable text, not the template's capitals */
.product-desc, .product-desc * { text-transform: none; }
.product-desc p { margin-bottom: 12px; }
