@import url( /css/fonts/font-awesome/css/font-awesome.min.css );
@charset "utf-8";

/* 1. Регистрируем шрифты */
@font-face {
    font-family: 'Roboto';
    src: url('/css/fonts/RobotoCondensed-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* 2. Основной текст на Roboto */
body {
    font: normal 15px 'Roboto', Helvetica, Arial, sans-serif; 
    color: #fff;
    background: #ccc;
    line-height: 1.0;
}

/* 3. Заголовки на Oswald */
h1, h2, h3, h4, h5, h6, h7, h8 {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase; /* Опционально: флагштокам идет строгий стиль */
}

h1, h2 { color: #555; margin: 10px 0 10px; text-align: left; }
h3 { font-size: 1.3em; color: #555; margin: 0 0 2px; text-align: left; }
h4 { font-size: 1.2em; color: #555; margin: 0 0 2px; clear: both; text-align: left; }
h5 { font-size: 1.3em; color: #9200; margin: 0 0 2px; padding-left: 33px; text-align: left; }
h6 { font-size: 1.3em; color: #9200; margin: 0 0 2px; padding-left: 33px; text-align: left; }
h7 { font-size: 1.2em; color: #FF8C00; margin: 0 0 2px; text-align: left; }
h8 { font-size: 1.5em; color: #FF8C00; margin: 0 0 2px; text-align: left; }


a img{outline:none;border:none;}
a:hover{text-decoration:underline;color:#F58220;}
div{border:none;display:block;}
img{width:100%;height:100%;}
#wrapper{width:990px;margin:30px auto;}
#top{width:100%;height:490px;margin:0 0 10px 0;}
#top_right{width:740px;height:490px;float:right;border:none;background:#fff;padding:0;margin:0;}
#top_picture{width:100%;height:100%;}
#top_left{width:240px;margin:0 10px 0 0;}
#logo1{width:240px;height:240px;background:#777;}
#comment1{width:210px;height:210px;padding:15px;margin:10px 0 0 0;background:#777;}
#comment1 a{color:#F58220;text-decoration:none;}
#comment1 a:hover{text-decoration:underline;color:#F58220;}
#comment2 a{color:#fff;text-decoration:none;}
#comment2 a:hover{text-decoration:underline;color:#F58220;}
#header{width:100%;height:240px;margin:0 0 10px 0;}
#logo2{width:240px;height:240px;float:left;padding:0;margin:0 10px 0 0;background:#eee;}
#main_menu{width:240px;height:240px;float:left;padding:0;margin:0 10px 0 0;background:#777;}
#left_menu{width:240px;height:240px;float:left;padding:0;margin:10px 0 0 0;background:#777;}
#main_menu ul, #left_menu ul, #second_menu ul{list-style:none;padding:0;line-height:1.5em;font-size:1.4em;font-weight:normal;word-wrap:break-word;margin:16px 0 0 0;}
#main_menu ul, #left_menu ul {list-style:none;padding:0;line-height:1.3em;font-size:1.4em;font-weight:bold;word-wrap:break-word;margin:16px 0 0 0;}

#main_menu ul li, #left_menu ul li{padding-left:19px;margin:0 12px;}
#second_menu ul li{padding-left:20px;margin:0 10px 0 0;}
#main_menu a, #left_menu a, #second_menu a{text-decoration:none;color:#fff;}
#main_menu a:hover, #left_menu a:hover, #second_menu a:hover{color:#F58220;text-decoration:none;}
#main_menu a.selected:hover, #left_menu a.selected:hover, #second_menu a.selected:hover{color:#FFF;text-decoration:none;}


a.selected li{color:#fff;background:#F58220;text-decoration:none;}
#second_menu ul{line-height:1.6em;font-size:0.9em;word-wrap:break-word;}

/* ============================================
   ИСПРАВЛЕНО: Резиновое левое меню с фиксацией изображений
   ============================================ */
#second_menu{
    width: 24%; /* Изменено с 240px на проценты */
    min-width: 200px; /* Минимальная ширина для удобства */
    height: auto; /* Адаптивная высота */
    float: left;
    padding: 0;
    margin: 0 1% 0 0; /* Изменен отступ для адаптивности */
    background: #eee;
    box-sizing: border-box; /* Включаем padding в общую ширину */
    overflow: hidden; /* Предотвращаем выход контента за границы */
}

/* Фиксация изображений в меню */
#second_menu img {
    max-width: 100%; /* Изображение не шире контейнера */
    height: auto; /* Сохранение пропорций */
    display: block; /* Убираем отступы под изображением */
    margin: 0 auto; /* Центрирование */
}

#second_menu a{text-decoration:none;color:#555;width:inherit;}
#five_menu{list-style:none; width:700px; padding:0px; margin:auto;}
#five_menu li{float:left; font:bold 16px Arial;}
#five_menu a{color:#228B22; display:block; height:30px; line-height:30px; padding:0px 28px 0px 28px; background:#eee; text-decoration:none;}
#five_menu a:hover{color:#fff; background:#C0C0C0;}
#logo3{width:240px;height:240px;float:left;padding:0;margin:0 10px 0 0;}
#picture3{width:240px;height:240px;float:left;padding:0;margin:0;}
#content{width:100%;height:240px;margin:0 0 10px 0;}
#picture2{width:240px;height:240px;float:left;padding:0;margin:0 10px 0 0;}
#logo4{width:240px;height:240px;float:left;padding:0;margin:0 10px 0 0;}
#logo1 a, #logo2 a, #logo3 a, #logo4 a{width:inherit;}
#picture4{width:240px;height:240px;float:left;padding:0;margin:0 10px 0 0;}
#contacts{color:#fff;width:210px;height:210px;float:left;padding:15px;margin:0;background:#777;}
#contacts a{/*font-size:2em;*/color:#fff;text-decoration:none;}
#contacts a:hover{text-decoration:underline;color:#F58220;}

/* ============================================
   ИСПРАВЛЕНО: Резиновый контейнер для нижней секции
   ============================================ */
#second_bottom{
    position: relative;
    width: 100%;
    margin: 0 0 10px 0;
    overflow: hidden; /* Clearfix для float элементов */
    min-height: 300px; /* Минимальная высота */
}

/* ============================================
   ИСПРАВЛЕНО: Резиновая правая секция
   ============================================ */
#second_right{
    width: 74%; /* Изменено с 740px на проценты */
    height: auto; /* Адаптивная высота под контент */
    min-height: 300px; /* Минимальная высота */
    float: right;
    border: none;
    background: #fff;
    color: #555;
    margin: 0;
    padding: 15px; /* Добавлен padding для отступов внутри */
    text-align: justify;
    box-sizing: border-box; /* Включаем padding в общую ширину */
    overflow: visible; /* Позволяем контенту определять высоту */
}

#product_img{/*width:280px;height:280px;*/padding:5px 10px;float:left;border:none;overflow:hidden;}
#product_img_1{width:160px;height:230px;height: auto; padding:10px;margin:0 auto;border:none;}
#product_img_3{width:200px;height:200px;padding:10px;margin: 4px 10px 2px 0px;float:left;border:none;}
#product_img_4{width:280px;height:280px;padding:10px;float:left;border:none;}
#product_img_10{width:380px;height:200px;padding:10px;float:left;border:none;}
#product_img_12{width:280px;height:711px;padding:10px;float:left;border:none;}
#product_img_14{width:150px;height:150px;padding:10px;float:left;border:none;}
#product_img_15{width:120px;height:120px;padding:10px;float:left;border:none;}
#product_img_16{width:150px;height:70px;padding:10px;float:left;border:none;}
#product_img_17{width: 150px; height: 75px; padding:5px; float:left; border:none;}
#product_img_18{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_19{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_20{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_21{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_22{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_23{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_24{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_25{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_26{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_27{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_28{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_29{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_30{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_31{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_32{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_33{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_34{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_35{width:200px;height:200px;padding:10px;float:left;border:none;}
#product_img_36{width:200px;height:200px;padding:10px;float:left;border:none;}
#icon_img1{width:40px;height:40px;padding:10px;float:left;border:none;}
#icon_img2{width:50px;height:40px;padding:20px;float:left;border:none;}
#product_img img{width:100%;height:100%;}
#bottom{clear:both;width:100%;text-align:center;}
#text{line-height:1.5em; padding:0 10px;}
#form{}

img.brand{width:150px;height:auto;padding:10px;}
.second_right_box{overflow: hidden;margin:15px;}
.portfolio{text-align:center; overflow:hidden;clear:both;}
.clear{clear:both;}
/* Container holding the image and the text */
.container {
    position: relative;
    text-align: center;
 	}
a:link {
  text-decoration: none;
  color:#555;
}
a:visited {
  text-decoration: none;
  color: #F58220;  
}
a:hover {
  text-decoration: underline;
 color: #F58220;  
}
a:active {
  text-decoration: underline;
 color: #F58220;   
}
/* Bottom left text */
.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

/* Top left text */
.top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

/* Top right text */
.top-right {
    position: absolute;
    top: 20px;
    left: 40px;
	font-size:1.6em;
	color:#555;
	
	
}

/* Bottom right text */
.bottom-right {
    position: absolute;
    bottom: 20px;
    right: 64px;
	font-size:1.1em;
	color:#555;
	
}

/* Centered text */
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/************ Mobi *****************/
#navbar_mobi{display:none;position:fixed;top:0px; left:0px;width:100%;height:38px;background: rgba(245, 245, 245, 0.95);z-index:100;}
#mobi_title{text-align: center;position: absolute;top:0;left:0;width:100%;height: 100%;}
#mobi_title:before {height: 100%;display: inline-block;vertical-align: middle;content: "";}	
#mobi_title span{text-align: center;color:#555;display: inline-block;vertical-align: middle;width:80%;text-transform:uppercase;font-size: 90%;}
#mobi_sitename {position: absolute;top: 3px;left: 10px;}
#mobi_menu{font-size:26px;cursor:pointer;position:absolute;top:0px;right:0px;padding:6px 20px;color: #e06811;}
#mobi_a_logo img{width:auto; height:30px;}

#mobimenu {
    display: none;
    font-weight: 700;
    letter-spacing: 0.01em;  
    list-style: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 96%;	
    background: #cccccce6;
    padding: 45px 0px 5px 0px;	
	margin:0px 1% 0px 2%;    
    z-index: 98;
    overflow-y: auto;
	overflow-x: hidden;
	height: 90vh;
}
#mobimenu li {
    border: 1px solid #d9dbdc;
	background: #777;
	margin:0 0 -1px 0;
	cursor:pointer;	
	border-collapse: collapse;
}	

#mobimenu li.li_sub {
	border-left:0px;
	border-right:0px;
	border-top: 1px solid #d9dbdc;
	border-bottom: 1px solid #d9dbdc;
}

#mobimenu li>div{line-height:40px; }
#mobimenu li:hover>div{	
	background-image: -webkit-linear-gradient( 90deg, rgb(230,129,27) 0%, rgb(230,168,26) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(230,129,27) 0%, rgb(230,168,26) 100%); 	
}
#mobimenu li:hover>div a, #mobimenu li:hover>div .main_go{
	color:#fff;
	font-weight:normal;
}
#mobimenu li:hover .main_show{
	color:#ffd708;	
	border-right: 1px solid #ffffff;
	cursor:pointer;
}

#mobimenu li a {
	padding: 0px 10px;
    color: #fff;
	line-height: normal;
    display: block;
	font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
}	
#mobimenu li.li_sub .cat_title a {
	margin-left: 20px;
	padding: 0px;
	
}	

#mobimenu .cat_sub {
    position: relative;
    display: none;
    background: #fff;
    margin: 0;
    padding: 0;
    width: 100%;
    z-index: 10;
}

#mobimenu .cat_none {
    line-height: 40px;
	
}
#mobimenu .cat_none_sub{
	line-height: 40px;	
}

#mobimenu .cat_show {
    text-align: center;    
}

#mobimenu .cat_title {
    display: inline-block;
    vertical-align: middle;
    width: 70%;
}

#mobimenu .cat_go, #mobimenu .cat_show, #mobimenu .cat_none,#mobimenu .cat_none_sub {
    display: inline-block;
    vertical-align: middle;
    width: 13%; height:100%;
    text-align: center;
}

#mobimenu .li_sub{
	background: #888888;
}


.tb_new_capt{margin:10px; text-align:center;}
.tb_new{background-color: rgb(118, 219, 135);margin:10px;padding:10px;}
.tb_new table{border-collapse: collapse;}
.tb_new caption{background-color: rgb(118, 219, 135);padding-left:20px;text-align:left;font-weight:bold;}
.tb_new tr{display: flex;flex-wrap: wrap; justify-content: left;}
.tb_new td{border: 1px solid #228B22;padding:5px; text-align:center;min-width:96px;}

.medium{margin:0; padding:0;}

.tb_new1_capt{margin:10px; text-align:center;}
.tb_new1{background-color: rgb(255, 204, 153);border: 2px solid #fb6423;padding:5px; text-align:center;min-width:96px;margin:10px;padding:10px;}
.tb_new1 table{border-collapse: collapse;}


.medium{margin:0; padding:0;}


@media only screen and (max-width: 1050px){
	#wrapper {width:100%; max-width:990px;}
	#top {width: 100%; height:auto; overflow:hidden;}
	#top_right {	width: 75%;	height: auto;	background: transparent;display: inline-block;}
	#top_right img{	width: 100%; height: auto;vertical-align: bottom;}
	#top_left {width: 24%;margin: 0 ; display: inline-block;}
	#logo1 {width: 100%; height: 45%; background: #f0f0f0;display: block;text-align:center;}
	#logo1  img{	width:auto ;	height: 100%;}
	#comment1 {width: 100%; height: 53%; display: block;text-align:left;padding:0;margin:4% 0 0 0;}
	#comment1 b{margin: 10px;display:inline-block;}
	#comment1 .text{padding:0 10px;}
	#comment1 p{padding: 0; margin:5px 0;}
    
	#left_menu, #main_menu{width: 100%; height: 74%; display: block;}
	#left_menu ul li,#main_menu ul li{padding-left: 10%; padding-right: 10%;margin: 0;}
	#contacts{font-size:14px;padding:0;height:auto;}
	#contacts .text{width:100%;}
	#contacts p,#contacts b{padding:0 10px;}
	#contacts a{display:block;margin-top:10px;}
	
	/* ============================================
	   ОБНОВЛЕНО: Резиновые секции для планшетов
	   ============================================ */
	#second_bottom{
		width: 100%;
		height: auto;
		overflow: visible;
		min-height: auto;
	}
	
	#second_right { 
		width: 75%;
		height: auto;
		min-height: 300px;
		margin: 0; 
		padding: 15px; 
		display: block;
		overflow: visible;
		box-sizing: border-box;
	}
	
	#second_menu { 
		width: 24%;
		height: auto;
		margin: 0 1% 0 0; 
		display: block;
		box-sizing: border-box;
		min-width: 180px;
	}
	
	#header,#content{height:auto; overflow:hidden;
		display: -webkit-flex;	
		display: flex; flex-wrap: wrap; align-content:stretch;
		-webkit-flex-wrap: wrap;-webkit-align-content: stretch;
	}
	#header div,#content div{width:24%;height:auto;}
	#logo2,#main_menu,#logo3,#picture2,#logo4,#picture4{margin:0 1.3% 0 0;}	
	.medium img{width:100%; height:auto; vertical-align:bottom;}
	#logo2{background: #e4175a;}
	#logo3{background: #74c231;}
	#picture3{background: #e31f23;}	
	#picture2{background: #ffcb49;}
	#logo4{background: #01a1db;}
	#picture4{background: #aa0000;}		
}

@media only screen and (max-width: 990px){
	#five_menu{width:370px;overflow:hidden;}
	#five_menu li{width:68px;margin-bottom:2px;display:inline-block;float:none!important;}
	#five_menu a{padding:0;text-align:center;}
	[id^="product_img_"]{display:inline-block;float:none!important;}
	[id^="product_img_1"]{width:28%!important; height:auto!important;}
}
@media only screen and (max-width: 960px){
	#left_menu ul,#main_menu ul{margin-top:5%;}	
	#product_img{width:40%;padding:10px 10px 0 10px;}
	#product_img img{width:100%; height:auto;}
	#comment1 {font-size:13px;}
	
}
@media only screen and (max-width: 900px){	
	#left_menu ul, #main_menu ul{line-height: 1.3em;font-size: 1.2em;}
	#second_menu ul {line-height: 1.3em;}
	#second_menu ul li{padding-top:10px;}
	#comment1>b{margin: 5px;}
	#comment1 .text{padding:0 5px;}
}	
@media only screen and (max-width: 850px){	
	#comment1 {font-size:12px;}
}

@media only screen and (max-width: 820px){	
	#left_menu ul, #main_menu ul{line-height: 1.3em;font-size: 1.1em;}
}
@media only screen and (max-width: 780px){	
	#comment1 b{font-size:10px;}
	#comment1 p{font-size:11px;}
}
@media only screen and (max-width: 750px){
	#main_menu{display:none;}
	.medium{width:96%; margin:0 auto; padding:0;}
	#five_menu{width:100%; text-align:center;background: rgba(245, 245, 245, 0.95);}
	#wrapper {margin: 40px auto;}
	#navbar_mobi{display:block;}
	#mobi_menu{display:block;}	
	#top_right {	width: 96%;float:none;margin: 0 auto;display: block;}
	#top_left {display:none;}
	
	/* ============================================
	   ОБНОВЛЕНО: Резиновые секции для мобильных
	   ============================================ */
	#second_right {	
		width: 96%; 
		height: auto!important; 
		min-height: auto;
		float: none;
		margin: 0 auto 10px auto;
		display: block;
		overflow: visible!important;
		padding: 15px;
		box-sizing: border-box;
	}
	
	#second_menu {
		display: none;
	}
	
	#comment1 {margin:0 0 10px 0; height:auto;padding:10px 0;}
	#comment1 b{font-size:14px;}
	#comment1 p{font-size:14px;}
	#comment1>b{margin: 10px;}
	#comment1 .text{padding:0 10px;}
	#header div,#content div{width:32.4%;height:auto;}
	#contacts{float:none;width:100%;padding:10px 0;margin-bottom:10px;}
	#picture4 {margin:0;}
}

@media only screen and (max-width: 550px){
	#mobi_title span{font-size: 80%;}	
	h1{font-size:1.5em;}
	.tb_new caption{text-align:center;padding:5px;}
	.tb_new tr{justify-content:center;}
	[id^="product_img_1"]{width:42%!important; height:auto!important;}
}	
@media only screen and (max-width: 400px){
	#mobi_title span{font-size: 75%;}
	#product_img{width:94%;}
	[id^="product_img_1"]{width:70%!important; height:auto!important;margin:0 0 0 10%;}
}	
@import url(reset.css);

.wrapper {
    width: 400px;
    margin: 200px auto;
    border: 2px solid #00aa06;
}

#application {
    width: 300px;
    margin: 40px auto;
}

    #zayavkaName, #applicationEmail, #applicationTelephone {
        width: 276px;
        padding: 0 10px;
        height: 40px;
        border-radius: 3px;
        background: none;
        border: 2px solid #00aa06;
        margin-bottom: 10px;
    }

    .moreOption{
        width: 300px;
        margin: 0 auto 10px;
        overflow: hidden;
    }
        .moreOption span{
            float: left;
            font-family: 'Helvetica';
            font-size: 16px;
            line-height: 1.5;
        }
        .adapt, .seo, .tPlan{
            float: right;
            margin: 0;
        }
            .tPlan{
                margin-top: 7px;
            }

    .applicationButton{
        width: 100%;
        height: 45px;
        background: #00aa06;
        border: none;
        border-radius: 3px;
        text-transform: uppercase;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
    }
        .applicationButton:hover{
            background: #09d409;
        }
	.scrollup{
width:40px;
height:40px;
opacity:0.3;
position:fixed;
bottom:83px;
right:230px;
display:none;
text-indent:-9999px;
background: url("/images/icon_top.png") no-repeat;
}

#cookie_notification{
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  position: fixed;
  bottom: 15px;
  left: 50%;
  width: 900px;
  max-width: 90%;
  transform: translateX(-50%);
  padding: 25px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}
#cookie_notification p{
  margin: 0;
  font-size: 0.7rem;
  text-align: left;
  color: #696969;
}


@media (min-width: 576px){
  #cookie_notification.show{
    display: flex;
  }
  .cookie_accept{
    margin: 0 0 0 25px;
  }
}

@media (max-width: 575px){
  #cookie_notification.show{
    display: block;
    text-align: left;
  }
  .cookie_accept{
    margin: 10px 0 0 0;
  }
}
table.table-3 {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
table.table-3 tr {
		background-color: #f8f8f8;
}
table.table-3 th,
table.table-3 td {
		text-align: left;
	 	padding: 3px;
	border: 1px solid #ddd;
}
@media screen and (max-width: 600px) {
  	table.table-3 {
		border: 0;
  	}
  
  
  	table.table-3 thead {
	    border: none;
	    clip: rect(0 0 0 0);
	    height: 1px;
	    margin: -1px;
	    overflow: hidden;
	    padding: 0;
	    position: absolute;
	    width: 1px;
  	}
  
  	table.table-3 tr {
    	border-bottom: 1px solid #ddd;
    	display: block;
   		margin-bottom: 30px;
  	}
  
	table.table-3 td {
    	display: block;
    	text-align: right;
	}
  
	table.table-3 td::before {
	    content: attr(data-label);
	    float: left;
	    font-weight: bold;
	    text-transform: uppercase;
	}
  
  	table.table-3 td:last-child {
    	border-bottom: 0;
  	}
	
flagpole-select {
  height: auto !important;
  min-height: unset !important;
  max-height: 40px !important; /* или 30px */
}@media (max-width: 600px) {
  #flagpole-configurator, #orderModal .modal-content {
    max-width: 97vw !important;
    min-width: 0;
    width: 97vw !important;
    box-sizing: border-box;
    padding: 12px 2vw 18px 2vw !important;
  }
  .flagpole-btn,
  .flagpole-btn.calc,
  .flagpole-btn.order {
    min-width: 0;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box;
    font-size: 17px;
    padding-left: 0; padding-right: 0;
  }
  .flagpole-options, .flagpole-flags {
    flex-wrap: wrap;
    gap: 9px;
  }
  #orderModal label {
    font-size: 15px;
  }
  #orderModal input, #orderModal textarea, #orderModal select {
    font-size: 15px;
    width: 99% !important;
    min-width: 0;
    margin-bottom: 12px;
  }
  #orderModal .order-params {
    font-size: 12px;
    overflow-x: auto;
  }
}

/* Чуть увеличим отступ снизу у формы, чтобы кнопка не прилипала */
#orderModal .modal-content {
  margin-bottom: 15px;
}

@media (max-width: 600px) {
  #flagpole-configurator {
    padding: 12px;
    max-width: 100vw;
    box-sizing: border-box;
    padding-bottom: 80px;
  }
  .flagpole-btn {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 15px !important;
    padding: 12px 8px !important;
    margin: 0 0 12px 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  .flagpole-options, .flagpole-flags {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .flagpole-option {
    min-width: 100px !important;
    font-size: 14px !important;
    padding: 6px 6px 2px 6px !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }
  .flagpole-option img {
    width: 36px !important;
    height: 36px !important;
  }
  #orderModal .modal-content {
    max-width: 98vw !important;
    margin: 10vw auto !important;
    padding: 10px 2vw 10px 2vw !important;
  }
}

/* Clearfix для контейнеров с float элементами */
.clearfix:after {content:"";display:table;clear:both;}

/* FIX: clearfix для #second_bottom чтобы избежать схлопывания float-контейнера */
#second_bottom::after {
  content: "";
  display: table;
  clear: both;
}
.cookie_accept {
    white-space: nowrap;
    padding: 10px 25px;
    background-color: #F58220;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.cookie_accept:hover {
    background-color: #e06811;
}
/* === Сетка каталога и карточки (desktop: 4 в ряд, mobile: 1) === */
:root {
  --ns-accent: #F58220;   /* фирменный оранжевый */
  --ns-text: #111;        /* базовый текст */
  --ns-muted: #555;       /* дополнительный текст */
  --ns-border: #e1e1e1;   /* границы */
  --ns-bg: #fff;          /* фон карточек */
}

/* Мобильный вид по умолчанию: 1 колонка */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 12px 0 24px;
}

/* Десктоп: 4 колонки */
@media (min-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 16px 18px;
  background: var(--ns-bg);
  color: var(--ns-text);
  border: 1px solid var(--ns-border);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .1s ease;
  position: relative;
}

.product-card .product-title {
  font-weight: 600;
  line-height: 1.25;
  color: var(--ns-text);
}

.product-card::after {
  content: "→";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ns-accent);
  font-weight: 700;
  font-size: 18px;
  opacity: .9;
}

.product-card:hover {
  border-color: var(--ns-accent);
  box-shadow: 0 2px 12px rgba(245,130,32,0.15);
  transform: translateY(-1px);
}

.product-card:focus,
.product-card:focus-visible {
  outline: 3px solid var(--ns-accent);
  outline-offset: 2px;
}

/* Тонкая настройка для очень узких экранов */
@media (max-width: 360px) {
  .product-card {
    padding: 14px 16px;
    min-height: 72px;
  }
  .product-card::after {
    right: 12px;
  }
}
/* Основные стили для сетки продуктов */
.products-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

/* Стили для кнопок */
.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 200px;
    height: 70px;
    padding: 0 25px;
    background: linear-gradient(135deg, #F58220 0%, #E67312 100%);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 0.5px;
}

/* Эффект при наведении */
.product-btn:hover {
    background: linear-gradient(135deg, #E67312 0%, #D9660A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
    color: white;
}

/* Эффект при нажатии */
.product-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .product-btn {
        min-width: 180px;
        height: 65px;
        font-size: 15px;
        padding: 0 20px;
    }
    
    .products-grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .product-btn {
        min-width: 160px;
        height: 60px;
        font-size: 14px;
        padding: 0 15px;
    }
    
    .products-grid {
        gap: 12px;
    }
    
    h2 {
        font-size: 24px;
        text-align: center;
    }
    
    h3 {
        font-size: 20px;
        text-align: center;
    }
}

/* Адаптивность для мобильных устройств - меняем на колонку */
@media (max-width: 480px) {
    .products-grid {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .product-btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        height: 70px;
        font-size: 15px;
        padding: 0 20px;
        margin: 0 auto;
    }
    
    h2 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    h3 {
        font-size: 18px;
        text-align: center;
        margin: 15px 0;
    }
    
    hr {
        margin: 15px 0;
    }
}

/* Дополнительная адаптивность для очень маленьких экранов */
@media (max-width: 320px) {
    .product-btn {
        height: 60px;
        font-size: 13px;
        padding: 0 15px;
        max-width: 260px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 16px;
    }
}

/* Опционально: стили для заголовков */
h2, h3 {
    color: #333;
    margin: 20px 0 15px 0;
    font-weight: 600;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #F58220, transparent);
    margin: 20px 0;
}