.top-menu > ul > li > a {
    color: black !important; 
}

.top-menu-catalog-inner li.active > a, .top-menu-catalog-inner a:hover {
    color: #000000 !important;
}

.top-menu > ul ul li > a {
    color: black !important;     
}

.top-menu {
    margin-right: 0px !important;
}

.top-menu > ul > li.down > a::after {
    border-bottom: 1px solid rgb(0 0 0) !important;
    border-right: 1px solid rgb(0 0 0) !important;    
}

.header-bottom {
    background: white !important;
    border-bottom: solid 1px;
}

.top-menu-catalog-wrapper .title a {
    background: #0c5a99 !important;
}

.one-tovar {
    border: 1px solid #0c5a99;
    padding: 15px;
    margin-bottom: 20px;   
}

.btn-category {
    width: 100%;
    text-decoration: none;
    color: #fff;
    background: #0c5a99;
    font-size: 20px;
    position: relative;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    border: 2px solid #0c5a99;
    font-weight: bold;
    border-radius: 3px;
}

.form-control-category {
    display: block;
    width: 100%;
    height: 35px;
    padding: 0 15px;
    border: 2px solid #ededed;
    border-radius: 0;
    background: #ededed;
    color: #696e73;
    text-shadow: none;
    font-size: 14px;
    line-height: 1.42857143;
    margin-bottom: 7px;
    border-radius: 3px;
}

.hr-new {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    border-top: 1px solid #E9E9E9;    
}

.header-tel a:hover {
    color: white !important;
}

.subtitle {
    text-transform: uppercase;
}

.tender {
    border-bottom: 1px dashed #0c5a99;
}

.catalog-item {
    margin-bottom: 20px;
}

.main-catalog-btn {
    margin-top: 30px;
}

.main-catalog-btn a {
    margin-left: 5px;
}

.catalog-item {
    border: 2px solid #d9d9d9;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.brands-carloy {
    display: block;
    position: relative;
    margin-bottom: 15px;
    border: solid 2px;
    padding: 15px;
    border-color: #d9d9d9;    
}

.cat-menu-element {
    padding: 5px;
    border: 2px solid #d9d9d9;
    margin-bottom: 30px;
    border-radius: 15px;
    background: #0c5a99;
    /* min-height: 250px; */
}

/*
.cat-menu-element:hover {
    background: white;
}
*/

.cat-menu-element img {
    margin-bottom: 10px;
    height: 150px;
}

.cat-menu-element-title {
    font-size: 14px;
    text-transform: uppercase;
    color:white;
}

.cat-menu-element-title:hover {
    color:white;
}

.noresults-title {
    text-align: center;
    font-size: 20px;    
}

.cart_callback {
    font-size:22px;
}

.cart_price {
    font-size:22px;
    color: #0c5a99;
    font-weight: bold;
}
    
.brand-cat {
    border: solid 1px;
    padding: 5px;
    border-radius: 10px;
    text-align: center;
    margin-top: 10px;
}
  
.zapros {
    font-size:14px;
    text-transform: uppercase;
}

.proizv-main {
    margin-top: 15px;
    margin-bottom: 15px;
}

.last a {
   /* color: red; */
    font-weight: bold;
}

.goz {
    background: #269970;
    text-align: center;
    color: white;
    padding: 10px 0px;
    margin-bottom: 10px;
    font-size: 18px;
    }

@media only screen and (max-width: 910px) {
    .blink1{
        display: none !important;
    }
}

.ministr {
  font-size: 12px;
  padding-bottom: 10px;
}


    #modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1000;
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: white;
      padding: 30px;
      border-radius: 8px;
      max-width: 400px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .close-btn {
      margin-top: 15px;
      padding: 8px 16px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .close-btn:hover {
      background-color: #0056b3;
    }



 /* Изолированные стили модального окна */
    #___modal-overlay___ {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100vw !important;
      height: 100vh !important;
      background: rgba(0, 0, 0, 0.6) !important;
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      z-index: 999999 !important;
      opacity: 0 !important;
      visibility: hidden !important;
      transition: opacity 0.3s ease, visibility 0.3s !important;
    }

    #___modal-overlay___.show {
      opacity: 1 !important;
      visibility: visible !important;
    }

    #___modal-content___ {
      background: white !important;
      border-radius: 8px !important;
      padding: 24px !important;
      max-width: 90vw !important;
      width: 400px !important;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
      position: relative !important;
      transform: scale(0.9) !important;
      transition: transform 0.3s ease !important;
    }

    #___modal-overlay___.show #___modal-content___ {
      transform: scale(1) !important;
    }

    #___modal-close___ {
      position: absolute !important;
      top: 12px !important;
      right: 16px !important;
      background: none !important;
      border: none !important;
      font-size: 20px !important;
      cursor: pointer !important;
      color: #888 !important;
    }

    #___modal-close___:hover {
      color: #333 !important;
    }

    #___modal-title___,
    #___modal-body___ {
      margin: 0 !important;
      padding: 0 !important;
    }

    #___modal-title___ {
      font-size: 1.5rem !important;
      font-weight: bold !important;
      margin-bottom: 12px !important;
    }

    #___modal-body___ {
      color: #555 !important;
      line-height: 1.5 !important;
    }
    
    
    
	#cookie_note {
		/* display: none; */
		display: flex;
		align-items: center;
		gap: 20px;		
		position: fixed;
		bottom: 20px;
		left: 50%;
		max-width: 748px;
		width: 100%;
		transform: translateX(-50%);
		padding: 20px 20px;
		background-color: white;
		box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
		z-index: 311;
        transition: .5s opacity;
        opacity: 0;
        visibility: hidden;
	}

	.cookie-text {
		font-size: 13px;
		text-align: left;
		width: calc(100% - 140px);
	}

	.btn-cookie {
		padding: 6px 20px;
		background: #0c5a99;
		color: #fff;
		border: none;
		width: 120px;
		font-size: 14px;
		margin: 0;
	}

	#cookie_note.show {
		opacity: 1;
        visibility: visible;
	}	
		
	@media only screen and (max-width: 768px) { 
		#cookie_note {
            left: 20px;
            right: 20px;
            transform: none;
            width: calc(100% - 40px);
		}	
	}

	@media only screen and (max-width: 650px) {	
		#cookie_note.show {
			flex-direction: column;
			align-items: flex-start;
			gap: 10px;
		}

		.cookie-text {
			width: 100%;
		}

		.btn-cookie {
			margin: 0 auto;
		}	
	}

	@media only screen and (max-width: 480px) { 
		#cookie_note {
			padding: 15px;
		}	
	}
