body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9; 
    color: #333333; 
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.search-box {
    margin: 20px auto;
	position: fixed;      
    top: 180px; 
	left:5px;
 	width: 880px;
    z-index: 1000;        
}


.hover-box {
    position: fixed;  
   	background-color: #f9f9f9; 
    top: 0; 
	left:0;
	right:20px;
 	height: 244px;
    z-index: 99;        
}

.avtorizedhover-box {
    position: fixed;  
   	background-color: #f9f9f9; 
    top: 138px; 
	left:0;
	right:0;
 	bottom: 38px;
    z-index: 9990;        
}

.doc-link,
.doc-link:visited,
.doc-link:hover,
.doc-link:active {
    font-style: italic;
    font-weight: 700;
    color: #444;            /* чёрно-серый */
    text-decoration: none;  /* убрать подчёркивание */
    outline: none;
}

.doc-link:hover {
    opacity: 0.75;
}

.centerimg-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 670px;          
  height: 420px;
  background-image: url('bgrnd.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(23, 41, 74, 0.25);
  background-color: rgba(255,255,255,0.6); 
  backdrop-filter: blur(10px);
   z-index: 9991;  
}



.avtorized-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 90%;
  padding: 30px 40px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(23, 41, 74, 0.2);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(23, 41, 74, 0.2);

  color: #0f1f3a; 
  font-family: "Segoe UI", sans-serif;
  text-align: center;
  line-height: 1.7;
  z-index: 9999;
}

.orgnamediv {
  position: fixed;
  top: 90px;
  width: 500px;
  right:12px;
  height:40px;
  font-family: "Segoe UI", sans-serif;
  text-align: right;
  color: #f2f2f2; 
  font-size: 1.5em;
  z-index: 8888;
}

.orgnamediv:hover {
  color: #d54c26;
}

.avtorized-box h2 {
  color: #17294a; 
  font-size: 1.5em;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.avtorized-box p {
  color: #1e335c; 
  font-size: 1.05em;
}

.auth-input {
  width: 80%;
  max-width: 300px;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid rgba(23, 41, 74, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 1em;
  text-align: center;
  color: #17294a;
  transition: all 0.3s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #3a5ba0;
  box-shadow: 0 0 6px rgba(58, 91, 160, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

#login-btn {
  background-color: #2b4c88;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#login-btn:hover {
  background-color: #3f65ad;
  box-shadow: 0 0 8px rgba(63, 101, 173, 0.4);
}

.small-info {
  margin-top: 20px;
  font-size: 0.9em;
  color: #243a66;
}


.search-box input[type="text"] {
    padding: 10px;
    font-size: 16px;
    width: 500px;
    max-width: 500px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: border 0.3s, box-shadow 0.3s;
}

.search-box input[type="text"]:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.4);
}


.search-box button {
    background-color: #17294a; 
    color: white;
	height: 40px;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
	font-weight: bold;
    transition: background-color 0.3s, transform 0.1s;
}


.search-box button:hover {
    background-color: #d54c26;
}

.search-box button:active {
    transform: scale(0.97);
}


main {
    padding-left: 5px; 
}

h1, h2, h3 {
    font-family: 'Arial', sans-serif;
    color: #17294a; 
}

section {
    max-width: 1200px; 
    margin: 0 auto; 
	margin-top: 150px;
}

section h1 {
    font-size: 32px; 
    color: #17294a; 
}

section p {
    font-size: 18px; 
    color: #4f4f4f; 
    line-height: 1.8; 
    margin-bottom: 15px; 
}


nav {
    background-color: #17294a; 
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    border-radius: 5px;
    margin: 10px 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

nav ul li a:hover {
    background-color: #d54c26;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

nav ul li a:active {
    transform: translateY(1px);
}

.logo img {
    max-width: 150px; 
    transition: transform 0.3s ease; 
}

.logo img:hover {
    transform: scale(1.1); 
}

footer {

    background-color: #17294a;
    color: #fff;
    padding: 15px;
    text-align: center;
}


.contact {
    margin-bottom: 30px; 
}

.contact h2 {
    font-size: 24px; 
    color: #17294a; 
    font-weight: bold; 
}

.contact p {
    font-size: 18px; 
    color: #4f4f4f; 
    line-height: 1.8; 
}

.contact strong {
    font-weight: bold; 
}

main {
    padding: 20px;
	margin-top: 150px;
}

  .topBox {
    position: fixed;      
    top: 0px;           
    left: 0px;          
    right: 0px;
    height: 145px;
	background-color: #f9f9f9;
    z-index: 1000;        
  }
  
    .BottomBox {
    position: fixed;     
    bottom: 0px;         
    left: 0px;          
    right: 0px;
    height: 32px;
	background-color: #17294a;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 1000;       
  }
  
  
.tabs {
    position: fixed;
    gap: 5px;
   	top: 160px;            
    left: 40px;           
    right: 40px;
    height: 55px;
	background-color: #f9f9f9;
    z-index: 100; 
}

.MainPhone {
    position: fixed;
    top: 5px;            
    width:300px;           
    right: 10px;
    height: 40px;
	text-decoration: none;
	font-weight: bold;
	color: #d54c26;
	font-size: 25px;
    z-index: 1001; 
}


.tab {
    text-decoration: none;
    color: #17294a;
    font-weight: bold;
    padding: 10px 20px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.tab:hover {
    background-color: #d54c26;
    color: white;
}

.tab.active {
    background-color: #17294a;
    color: white;
}
.product-list { 
    position: absolute;  
    top: 0;          
    left: 5px;
    right: 5px;
    max-height: 100%;   
    overflow-y: auto;    
    background-color: #f9f9f9;
    z-index: 10; 
}

.cart-list { 
    position: absolute;  
    top: 0;          
    left: 5px;
    right: 5px;
    max-height: 100%;   
    overflow-y: auto;    
    background-color: #f9f9f9;
    z-index: 10; 
}

.cart-list2 { 
    position: absolute;  
    top: 0;          
    left: 5px;
    right: 5px;
    max-height: 100%;   
    overflow-y: auto;    
    background-color: #f9f9f9;
    z-index: 10; 
}

.product-list th {
    position: sticky;
    top: 242px;
    background-color: #f4f4f4;
    z-index: 5;
}

.cart-list th {
    position: sticky;
    top: 5px;
    background-color: #f4f4f4;
    z-index: 5;
}

 .product-list tr:hover {
	 background-color: #6e8ac7;
     transition: background-color 0.3s ease;
    }
	
	
	
	
	 .cart-list tr:hover {
	 background-color: #6e8ac7;
     transition: background-color 0.3s ease;
    }

.product-list table {
    margin-top: 242px;
	width: 100%;
}

.cart-list table {
    margin-top: 42px;
	width: 100%;
}

.cart-list2 table {
    margin-top: 42px;
	width: 100%;
}

.Delllink {
    color: #49423D;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.Delllink:hover {
    color: #b30000; /* ярче бордовый */
    text-decoration: none;
}

.cart-list th, .cart-list td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
	cursor: pointer;
}

.cart-list2 td {
    padding: 5px;
    text-align: left;
    border: 1px solid #ccc;
	cursor: pointer;
}
.product-list th, .product-list td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
	cursor: pointer;
}

.product-list th {
    background-color: #f4f4f4;
}
.cart-list th {
    background-color: #f4f4f4;
}

 #text-block {
    font-size: 30px;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    color: #627182;
	position: fixed;
    top: 10px;            
    width:920px;           
    left: 140px;
    height: 40px;
	text-decoration: none;
	font-weight: bold;
    z-index: 1001;
	  }

        #text-block.visible {
            opacity: 1;
        }

.cart-div {
    position: fixed;      
    top: 150px; 
	height: 86px;
	right:20px;
 	width: 130px;
	border-radius: 20px;
	cursor: pointer;
  box-shadow: 0 4px 15px rgba(23, 41, 74, 0.25);
  background-color: rgba(255,255,255,0.6); 
  backdrop-filter: blur(10px);
  color:#17294a;
  z-index: 1000;	
}
.cart-div:hover {
transform: scale(1.05); 
 color: #d54c26; 	
}

#modal-add-btn {
	padding:8px 16px;
    background:#17294a;
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
	box-shadow: 0 4px 15px rgba(23, 41, 74, 0.25);
 	}

#modal-add-btn:hover {
transform: scale(1.05); 
color: #d54c26; }	



#modal-close-btn {
	padding:8px 16px;
    background:#17294a;
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
	box-shadow: 0 4px 15px rgba(23, 41, 74, 0.25);
 	}

#modal-close-btn:hover {
transform: scale(1.05); 
color: #d54c26; }


.history-div {
    position: fixed;      
    top: 150px; 
	height: 86px;
	right:170px;
 	width: 130px;
	border-radius: 20px;
	cursor: pointer;
  box-shadow: 0 4px 15px rgba(23, 41, 74, 0.25);
  background-color: rgba(255,255,255,0.6); 
  backdrop-filter: blur(10px);
  color:#17294a;
  z-index: 1000;	
}
.history-div:hover {
transform: scale(1.05); 
 color: #d54c26; 	
}




.cart-icon {
  width: 64px;                   
  height: 64px;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); 
}

.DelllinkDIV {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
   display: flex; 
   justify-content: center;
   align-items: center;
   z-index: 9999;
}
.DIVDELLCONTENT {
  background: white;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 320px;
  text-align: center;
  font-family: Segoe UI, sans-serif;
}


.modal-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  justify-content: center;
}

.modal-thumb {
  max-height: 200px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


.top-slide-panel {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 50px;
    background: #1a3a6d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999999;
    transition: top 0.35s ease-in-out;
    font-family: Segoe UI, sans-serif;
}


.top-hover-zone {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 25px; 
      z-index: 999999;
}


.top-btn {
 background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.top-btn:hover {
    background: #d54c26;
}

#order-total-sum {
    font-size: 18px;
	width:400px;
    font-weight: bold;
    color: #ffffff;
}
.search-wrapper {
    position: relative;
    display: inline-block;
}

.search-wrapper input[type="text"] {
    padding-right: 36px; /* место под крестик */
}

.clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #999;
    user-select: none;
}

.clear-btn:hover {
    color:#d54c26;
}


.history-alert {
  background-color: #d54c26 !important;
  color: #ffffff !important;
  animation: pulseHistory 1.2s infinite;
}

@keyframes pulseHistory {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.07); }
  100% { transform: scale(1); }
}

.history-alert b {
  color: #ffffff;
}

.loader-text {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);

  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.3px;

  color: #4b5563;       
  opacity: 1;           
  text-shadow: none;    

  z-index: 999999;
  pointer-events: none;

  animation: loaderPulse 2s ease-in-out infinite;
  will-change: transform;
}

@keyframes loaderPulse {
  0%   { transform: translateX(-50%) scale(1); }
  50%  { transform: translateX(-50%) scale(1.03); }
  100% { transform: translateX(-50%) scale(1); }
}
#AT {
  color: #d54c26;          /* фирменный оранжевый */
  font-size: 0.7em;        /* как верхний индекс */
  font-style: italic;     /* курсив */
  font-weight: 700;
  text-decoration: underline;
  vertical-align: super;  /* настоящий верхний индекс */
  margin-left: 4px;
  letter-spacing: 0.3px;
}