@charset "utf-8";
*{
    margin: 0;
    padding: 0;
    outline: none;
    color: white;
}    

:root{
      --bg:#0f1115; --panel:#141821; --muted:#8b93a7; --text:#e6e9f2; --acc:#69e1ff;
      --succ:#2ecc71; --warn:#f39c12; --danger:#ff6b6b; --border:#212637; --accent:#3b82f6;
      --radius:14px; --shadow:0 10px 30px rgba(0,0,0,.35); --bg-main: #0d1117;
      --bg-header: #1c1f2b; --accent-hover: #60a5fa; --text: #ffffff; --text-muted: #94a3b8;
    }

li {list-style-type: none; /* Убираем маркеры */}
input[type=text]{
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid black;
    color: white;
}
textarea{
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid black;
} 
body{     
    padding:0;    
    background-color: var(--bg);
    /*background-image: url(../images/background-image-main1.jpg); /*       
    /*background-image: url(../images/main-background.jpg);*/
    background-position: top center; 
    background-attachment: fixed;    
    -moz-background-size: 100%; 
    -webkit-background-size: 100%;
    -o-background-size: 100%; 
    background-size: 100%;
    font-size: 12px;
}

article{              
    max-width: 1024px;
    margin: 0 auto;      
}

a{
    /*color: #F48b8b; */  
    color: white;  
    transition: all.6s ease;
    -moz-transition: all.6s ease;
    -bebkit-transition: all.6s ease; 
    -ms-transition: all.6s ease;
}

a:hover
{
    text-decoration: none;
    transition: all.6s ease;
    -moz-transition: all.6s ease;
    -bebkit-transition: all.6s ease; 
    -ms-transition: all.6s ease;
}

a:active{color: #8ce4a6}

.right{
    float: right;
    padding-right: 10px;
}
.left{float: left;}
.clear{clear:both;}

/* Selection block */
::selection {background: #f58b8b; color:#fff}
::-moz-selection {background: #f58b8b; color:#fff}

img{
    max-width: 100%;
    height: auto;
    width: auto\9;
}

input[type=text].field{
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border: 1px solid silver;
    padding: 5px;
    margin-left: 20px;
}

input[type=text].field:focus{
border: 1px solid #f58b8b;
}   

/****************************************************************/
/**************************Меню**********************************/
/****************************************************************/

#menu{
    color: white;
    font-family: sans-serif;
    font-size: 1.7em;
}

#menu hr{
    width: 500px;
    max-width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;  
    border: 0;
    height: 1px;
    background: #000;
    background-image: -webkit-linear-gradient(left, #fff, #000, #fff);
    background-image: -moz-linear-gradient(left, #fff, #000, #fff);
    background-image: -ms-linear-gradient(left, #fff, #000, #fff);
    background-image: -o-linear-gradient(left, #fff, #000, #fff);
}

#menuHrefs a{
    padding: 5px 10px;
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    margin-right: 5px;
    color: white;
}

#menuHrefs a:hover{
    background-color: #c1c1c1;
}

/****************************************************************/
/**************************Header********************************/
/****************************************************************/

#block-header{}

#block-header-image
{
     height: clamp(150px, 25vw, 450px); /*означает: высота не меньше 150 px, пропорционально увеличивается вместе с шириной экрана, но не превышает 450 px.*/
    width: 100%;
    margin: 0 auto;
    /*background: url(../images/header-background.jpg) 100%;*/
    /*background: url(../images/bot50spend.gif) 100%;*/
     background: url(../images/header-baner.png) 100%;
    background-size: cover; 
    position: relative;        
}
#block-top-full-width
{  
    width: 100%;
    background: #1a1d27;
}
#block-top
{        
    max-width: 1024px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /*width: 100%;
    height: 40px;
    margin:0 auto; 
    position: fixed;
    top: 0;
    left: 0;   
    background-color: rgba(0, 0, 0, 1);
    z-index: 9999;*/
}
#block-top-left ul
{
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
#header-top-menu a{
    text-decoration: none;
}
#header-top-menu li
{
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
	color: white;
    transition: color 0.2s;
}
#header-top-menu li:hover{
    color: var(--accent);
}

#block-top-right
{
    display: flex;
    gap: 1rem;
}

/* Мобильное меню */
.menu-toggle 
{
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text);
}

 @media (max-width: 768px) {
      #block-top {
        flex-direction: column;
        align-items: flex-center;
        box-sizing: border-box;
      }
      #block-header-image
      {
        height: 100px;
        box-sizing: border-box;
      }
      #block-top-left,
      #block-top-right,
      #header-top-menu,
      #reg-auth-title{
        width: 100%;
        flex-direction: column;        
        display: none;
        margin-top: 0.5rem;  
      }
           
      #block-top-left li{  
        text-align: center;
        padding: 0.5rem;
        border: 1px solid var(--text);
        border-radius: 0.5rem;
      }      
      #block-top-left li:hover{  
        background: var(--accent-hover); 
      }
      #block-top-left.show,
      #block-top-right.show {
        display: flex;
      }
      .menu-toggle {
        display: block;
        align-self: flex-end;
      }      
      #SelectCurrency{
        text-align: center;
        width: 100%;
        margin-top: 0.9rem;
        background: var(--bg);
        border-radius: 0.5rem;
        border: 1px solid var(--text);
      }      
      #reg-auth-login div{
        width: 100%;
        margin-top: 0.6rem;
        text-align: center;
        border: 1px solid var(--text);
      }      
      #reg-auth-loginregistration div{
        width: 100%;
        margin-top: 0.6rem;
        text-align: center;
        border: 1px solid var(--text);
        border-radius: 0.5rem;
      }      
      #reg-auth-loginregistration:hover
      {  
        background: var(--accent-hover); 
        color: var(--text); 
      }
      #auth-user-info{  
        width: 100%;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        margin-top: 0.6rem;
        text-align: center;
        border: 1px solid var(--text);
        border-radius: 0.5rem;
      }
      #auth-user-info:hover{
        background: var(--accent-hover);
      }
}


/****************************************************************/
/**************************Header New****************************/
/****************************************************************/





/********************Login Registration**************************/
#reg-auth-title{
} 
#reg-auth-title a{       
    cursor: pointer;
    color: white;
} 
#reg-auth-login{    
    cursor: pointer;  
    font-size: 14px; 
    font-family: 'Trebuchet MS', Helvetica, sans-serif;  
}
#reg-auth-login div{
    width: 100%;
    min-width: 60px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    background-color: var(--accent);
}
#reg-auth-login div:hover {
        background-color: var(--accent-hover);
}
#reg-auth-title > a#active-button{
    padding-top: 3px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 5px;
    background-color: var(--accent);
    border: 1px solid white;
    font-size: 14px; 
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
}
#reg-auth-loginregistration{
    text-decoration: none;        
    font-size: 14px; 
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
}
#reg-auth-loginregistration div{
    width: 100%;
    min-width: 60px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#reg-auth-loginregistration:hover{
    color: gray;
}
/************************Окно Login******************************/

/* Полупрозрачный фон */
.modal-overlay 
{
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    display: none;
}

#block-top-auth
{    
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* сдвигаем в центр */   
    background: #1c1f2b;
    padding: 2rem;
    border-radius: 0.75rem;
    width: 95%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    text-align: center;    
}

/* Кнопка закрытия */
  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
  }
.close-btn:hover {
    color: var(--accent);
  }
  
.corner{
    width: 19px;
    height: 10px;
    margin-left: 175px;
    margin-top: -9px;
}

#block-top-auth h2{
    color: var(--accent);
    margin-bottom: 1rem;
}
#message-auth{
    font: bold 13px sans-serif;
    margin-top: 10px;
    padding: 10px;
    color: red;
    display: none;
}
#message-reCaptcha
{
    font: bold 13px sans-serif;
    margin-top: 10px;
    padding: 10px;
    color: red;
    display: none;
}

/*Нужно два одинаковых стиля для логина и паса, потому что если сделать через класс, то где то в коде применяются другие стили*/
#auth_login
{
    width: 85%;
    padding: 0.75rem;
    padding-right: 30px;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;
}
#auth_pass
{
    width: 85%;
    padding: 0.75rem;
    padding-right: 30px;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;
}
#remind-email
{
    width: 88%;
    padding: 0.75rem;
    padding-right: 30px;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;
}
.pass-show{
   /*background: url(../images/open_eye.png) no-repeat;*/    
}
.pass-hide{
   /*background: url(../images/eye_closed.png) no-repeat;*/   
}

#button-pass-show-hide{
    width: 25px;
    height: 25px;
    cursor: pointer;
    position: absolute;    
    margin-left: -35px;
    font-size: 28px;
}

#Block-Login p{
    padding: 10px;
}

#Block-Remember-Me
{
    text-align: left;
}

#button-auth
{
    background: var(--accent);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.2s;    
}
#button-auth:hover 
{
    background: var(--accent);
}

#button-remind
{
    background: var(--accent);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.2s;     
}

#button-auth a:hover,#button-remind a:hover{
    background: url(../images/button-grd-hover.png) repeat-x;
}
#button-auth a:active,#button-remind a:active{
    background: url(../images/button-grd-active.png) repeat-x;
}
.auth-loading{
    margin-right: 30px;
    margin-top: 20px;
    display: none;
}
#auth-user-info{ 
    padding-top: 0.4rem;
    font-size: 14px; 
    font-family: 'Trebuchet MS', Helvetica, sans-serif;    
}
#auth-user-info a:hover{
    color: #CF3A3A;
    border-bottom: 1px dashed #CF3A3A;
    cursor: pointer;
}
#auth-user-info > img{
    width: 12px;
    position: absolute;
    margin-left: -15px;
    margin-top: 3px;
}
#block-remind{
    display: none;
}
#block-remind  h3{
    font:15px sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
}

#prev-auth
{
    font: 20px sans-serif;
    margin-top: 20px;
    cursor: pointer; 
}
#prev-auth:hover{
    color: var(--accent);
}
.message-remind-error{
    display: none;
    font:bold 12px sans-serif;
    margin-top: 10px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: black;
    background-color: rgba(255, 0, 0, 0.5); 
}
.message-remind-success{
    display: none;
    font:bold 12px sans-serif;
    margin-top: 10px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: black;
    background-color: rgba(0, 255, 4, 0.5);
}
#SelectCurrency
{
    background: var(--panel);
    border-radius: 0.5rem;
    color: white;
    border: none;
    margin-right: 10px;
    padding-top: 9px;
    padding-bottom: 9px;
}
#SelectCurrency option{
    background-color: rgba(255,255,255,1);
    color: white;
}
/******************************Блок поиск**************************/
#block-search
{    
    width: 100%;
    max-width: 1024px;  
    margin: 0 auto;  
    display: flex;
    justify-content: space-between;
    align-items: center;   
      
      /*background: url(../images/icon-search.png); */ 
}
#block-search input
{    
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: #ffffff;
    /*font: 14px sans-serif;*/    
}

#block-search input:hover
{    
    background: var(--bg-main);  
}

#block-search button
{
    position: absolute;
    right: 51rem;
    top: 35%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background: url('../images/icon-search1.png') center/contain no-repeat;
    border: none;
    cursor: pointer;
    font-size: 25px;
}

#button-search{
    padding: 0.5rem 10px 0.5rem 10px;
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: #ffffff;
    cursor: pointer;
}
#button-search:hover{
    background-color: rgba(255, 255, 255, 0.9);
    color: black;  
}

#block-search-result
{   
    position: absolute;
    max-width: 1024px;
    margin: 0 auto;
    top: 100%;    
    background: #1c1f2b;
    border: 1px solid #94a3b8;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    display: none; /* по умолчанию скрыто */
    z-index: 20;
}
#block-search-result li{
    list-style: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}
#block-search-result li:hover {
    background: var(--accent);
    color: var(--bg-main);
}
#block-search-result a{
    text-decoration: none;
}

#block-basket{
  margin-top: 11px;
  margin-right: 5px;  
  float: right;
}
#block-basket span{
  /*color: #F48b8b; */  
  color: white; 
}
#block-basket a{
  font: 22px fantasy;
  text-decoration: none;
  margin-left: 40px; 
  color: white;
}
#block-basket span:hover{
  color: #8b9ff5;
  text-decoration: none;
  transition: all.6s ease;
  -moz-transition: all.6s ease;
  -bebkit-transition: all.6s ease; 
  -ms-transition: all.6s ease;
}
#block-basket img{
  position: absolute;
  margin-top: -8px;
  margin-left: -5px;
}
/****************************************************************/
/**************************Footer********************************/
/****************************************************************/
#block-footer{    
    clear: both;
}
#block-bottom{    
    width: 100%;
    height: 250px;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); 
}
#Block-Accept-Payments{
    width: 1024px;
    height: 60px;
    margin: 0 auto;
    margin-top: 10px;
}
#Block-Accept-Payments img{
    margin-left: 150px;   
}
#footer-menu{
    width: 1024px;
    margin: 0 auto;
    font-size: 15px; 
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    
}
#footer-menu ul{   
    float: left;
    margin-right: 50px;
}
#footer-menu li{
    width: 200px;
    margin-top: 10px;
    color: gray;
}
#footer-menu a{
    color: gray;
    text-decoration: none;
}
#footer-menu a:hover{
    color: white;
}
#footer-menu p{
    width: 150px;
    height: 30px;    
    margin-top: 7px;
    margin-left: 7px;
    float: left;
    color: gray;
}
#footer-menu p:hover{
    color: white;
    transition: all.6s ease;
    -moz-transition: all.6s ease;
    -bebkit-transition: all.6s ease; 
    -ms-transition: all.6s ease;
}
#footer-menu img{
    float: left;
}

/****************************************************************/
/**************************Footer New****************************/
/****************************************************************/
/* Базовый футер */
#footer {
  background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
  color: #c9d1d9;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  gap: 40px;
  max-width: 1024px;
  margin: 0 auto;
}

.footer-col h3 {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #c9d1d9;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #58a6ff; /* синий акцент при наведении */
}

.footer-col img {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid #21262d;
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #8b949e;
}

/* ������ Адаптивность */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 400px) {
  .footer-container {
    grid-template-columns: 2fr;
    gap: 20px;
  }
}


/****************************************************************/
/**************************Правый блок***************************/
/****************************************************************/

#block-right{
    width: 200px;
    height: auto;
    float: right;     
}

#block-right > ul > li{
    border-bottom: 1px solid #F48b8b;
}

#block-right > ul > li > a{
    font: 16px "Segoe UI", sans-serif;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 30px;
    display: block;
    cursor: pointer;
}

#block-right > ul > li > a:hover{
    background-color: rgba(0, 170, 238, 0.4);
}
#block-right > ul > li{
    background-color: rgba(0, 0, 0, 0.3);
}
#block-right > ul > li > a.active{
    background-color: rgba(0, 170, 238, 0.4);
}

.header-title{
    width:  200px;
    font: 15px sans-serif;
    margin-top: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    /*background: url(../images/grd-title.png);*/
    background-color: rgba(0, 0, 0, 0.3); 
    border-bottom: 1px solid white;
    text-align: center;
    color: white;
    /*border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;*/
}

.category-section{
    padding-left: 25px;
    margin-bottom: 5px;
    display: none;
}

.category-section li{
    margin-top: 3px;
}

.category-section a{
    font:  13px sans-serif;
    text-decoration: none;
}

.category-section a:hover{
    text-decoration: underline;
}

#block-parameter{
    width: auto;
    padding-top: 20px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.3);
}

.title-filter{
    text-align: center;
    font: 15px sans-serif;
    margin-top: 0px;
    margin-bottom: 10px;
}

#block-input-price li{
    float: left;
    margin-left: 7px;
}

#block-input-price input{
    width: 45px;
    height: 20px;
    font: 14px sans-serif;
    border: 1px solid #F48b8b;
    padding-left: 3px;
    color: white;
    background-color: rgba(0, 170, 238, 0.4);
}

#block-input-price p{
    font: 14px sans-serif;
    float: left;
    margin-top: 0;
    padding-top: 2px;
}

#blocktrackbar{
    width: 190px;
    height: 25px;
    margin-top: 20px;
    clear: both;
}

.checkbox-brand li{
    font: 14px sans-serif;
    margin-left: 5px;
    margin-top: 3px;    
}

.checkbox-brand input{
    margin-right: 8px;
}

#button-param-serch{
    width: 81px;
    height: 27px;
    margin-top: 10px;
    background-color: rgba(0, 170, 238, 0.4);
    border: 1px solid black;
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    cursor: pointer;
}
#button-param-serch:hover{
    background-color: rgba(255, 255, 255, 0.4);
}
#block-news{
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: rgba(0, 0, 0, 0.3);
}

#newsticker{
    width: 100%;
    text-align: center;
}

#newsticker p{
    font: 14px sans-serif;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
}

#newsticker li{
    padding-top: 15px;
    padding-bottom: 15px;
}

#newsticker a{
    color: #EF662B;
    font: bold 16px sans-serif;    
}

#newsticker a:hover{
    text-decoration: underline;
}

#newsticker span{
    font: 14px sans-serif;
    padding-bottom: 5px;
    color: #999999;
    display: block;
}

#newsprev{
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

#newsnext{
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}
/****************************************************************/
/***********************block random*****************************/
/****************************************************************/
#block-random{
    width: 1024px;
    height: 150px;
    margin: 0 auto;
}
#block-random-tovar{
    width: 1040px;
    height: 130px;
}
#block-random-tovar li{
   float: left;
}
#Random-Item{    
   width: 235px;
   height: 120px;   
   margin-right: 15px;  
   margin-top: 15px;
   padding: 5px;
   
   background-color: rgba(0,0,0,0.3); 
   backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);   
}
#Random-Item:hover{
   background-color: rgba(0,0,0,0.7); 
   cursor: pointer;
}
#Random-Image{
    height: 120px;
    width: 100px;
    float: left;
    padding: 5px;
}
#block-random-tovar img{
   margin-right: 8px;
}
#random-title{
    height: 120px;
    width: 100px;
    padding: 5px;
    float: left;
}
#random-title a{
    text-decoration: none;
}
.random-reviews{
    font: 13px sans-serif;
    color: gray;
    margin: 5px 0;
}
.random-price{
    margin-top: 20px;
    font: bold 18px sans-serif;   
}
/****************************************************************/
/**************************Content*******************************/
/****************************************************************/

#block-content
{
    width: 820px;
    min-height: 500px;
    padding-bottom: 20px;
    float: left;
}

#block-content-full
{
    max-width: 1024px;
    width: 99%;
    min-height: 700px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 1%;
    background: var(--panel);
    border-radius: 0.5rem;
}
#block-content-full-feedback{
    max-width: 1024px;
    width: 100%;
    min-height: 600px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 2%;
    border-radius: 0.5rem;
    background: #10141e;
    border: 1px solid #2a2f3d; 
    box-sizing: border-box;   
}
#block-content-full-1{
    width: 1024px;
    min-height: 400px;
    padding-bottom: 20px;     
    float: left;  
}

#block-actions{
    margin-top: 10px;
    width: 1024px;
    margin: 20px auto;
    padding-left: 200px;
}
#block-actions img{
    /*border: 1px solid silver;*/
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
}
#block-actions-prev,#block-actions-next{
	color: rgba(255,255,255,0.5);
	cursor: pointer;
}
#block-actions-prev-p{
	margin-top: 95px;
    margin-left: 10px;
	padding: 3px 8px 3px 8px;		
	font: bold 30px sans-serif;	
	position: absolute;	
	z-index: 9999;
	background-color: rgba(0,0,0,0.5);
	border-radius: 20px 20px 20px 20px;
    -webkit-border-radius: 20px 20px 20px 20px;
    -moz-border-radius: 20px 20px 20px 20px;
}
#block-actions-next-p{
	margin-top: 95px;
	margin-left: 750px;
	padding: 3px 8px 3px 8px;
	font: bold 30px sans-serif;
	position: absolute;	
	z-index: 9999;
	background-color: rgba(0,0,0,0.5);
	border-radius: 20px 20px 20px 20px;
    -webkit-border-radius: 20px 20px 20px 20px;
    -moz-border-radius: 20px 20px 20px 20px;
}
#block-actions-next-p:hover, #block-actions-prev-p:hover{
	background-color: rgba(0,0,0,0.7);
}	
#block-actions-prev:hover,#block-actions-next:hover{
	color: rgba(255,255,255,1);
}
#block-sorting
{    
    max-width: 1024px;
    width: 100%;    
    height: 40px;
    margin-top: 20px;
}
#block-sorting h2{
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
#nav-breadcrumbs{
    padding-top: 10px;
    padding-bottom: 10px;
	margin-left: 10px;
    font: 14px sans-serif;
    color: white;
}
/**************************block item grid NEW*******************************/
.grid 
{
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.block-item-grid-card 
{
    background: var(--panel);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.block-item-grid-card a
{
    text-decoration: none;
}
.block-item-grid-card-image
{
    width: 100%;
    height: 160px;         /* фиксированная высота блока */
    display: flex;
    align-items: center;   /* выравнивание по вертикали */
    justify-content: center; /* выравнивание по горизонтали */
    overflow: hidden;      /* лишнее обрезаем */    
}
.block-item-grid-card-image img 
{   
  width: 100%;
  max-height: 160px;
  object-fit: contain;       /* картинка полностью влезает */
  object-position: center;   /* по центру блока */
  display: block;
}
.block-item-grid-card-body 
{
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.block-item-grid-card-title 
{
    font-size: 1.0rem;
    margin-bottom: 0.25rem;
    color: var(--accent);
}
.block-item-grid-card-game 
{
    font-size: 0.80rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-style: italic;
}
.block-item-grid-card-info 
{
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    flex-grow: 1;
}
.block-item-grid-price 
{
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.old-price 
{
    text-decoration: line-through;
    margin-right: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.add-cart-style-grid 
{
    padding: 0.5rem;
    background: var(--accent);
    color: var(--text);
    text-align: center;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}
.add-cart-style-grid:hover {
     background: var(--accent-hover);
}
.block-item-grid-out-of-stock
{
    padding: 0.5rem;
    background: var(--bg-header);
    color: var(--text);
    text-align: center;
    border: none;
    border-radius: 0.5rem;
    transition: background 0.2s;
}
.show-set
{
    padding: 0.5rem;
    background: var(--accent);
    color: var(--text);
    text-align: center;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.show-set:hover{
    background: var(--accent-hover); 
}

/**************************block number of pages*******************************/

.pstrnav
{
    display: flex;
    align-items: center;   /* выравнивание по вертикали */
    justify-content: center; /* выравнивание по горизонтали */    
    width: 100%;
    padding-bottom: 20px;
}

.pstrnav li{
    height: 26px;
    width: 26px;
    margin-left: 7px;
    margin-top: 20px;
    float: left;  
}

.pstrnav a{
    display: block;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    background: var(--accent);
    border-radius: 0.5rem;
    padding-top: 2px; 
    padding-bottom: 4px;
    color: black;  
}

.pstrnav a:hover{
    cursor: pointer;
    background: var(--accent-hover);
}

.pstrnav a:active{
    cursor: pointer;
    background: var(--accent-hover);
}

.pstrnav a.pstr-active{
    cursor: pointer;
    background: var(--accent-hover);
}

.nav-point{
    text-align: center;
    font: bold 14px sans-serif;
    padding-top: 8px;
}

/****************************************************************/
/*******************Registration page****************************/
/****************************************************************/

.h2-title{
    border-bottom: 1px solid #2a2f3d;
    padding-bottom: 10px;
    margin: 30px;
    text-align: center;
    font-size: 20px;
}

#block-form-registration
{
    display: grid;    
    justify-content: center;
    align-items: center;
}

#form-registration{
}

#form-registration li{
    margin-top: 10px;
}

#form-registration input{
    height: 30px;
    width: 100%;
    padding-left: 5px;    
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;
}

#form-registration > li > label{ /*тект с ошибками при заполнении*/
    font: italic 13px sans-serif;
    padding-left: 10px;
}

.error{color:red;}

.reg_label{    
    width: 200px;
    display: none;
    color: white;
}

.star{    
    color: red;
}

#genpass{
    font: bold 13px sans-serif;
    text-decoration: underline;
    color: white;
    cursor: pointer;
    margin-left: 5px;
}

#genpass:hover{
    text-decoration: none;
}

#form-registration > li > input#reg_login,
#form-registration > li > input#reg_pass{
    height: 30px;
    width: 100%;
    padding-left: 5px;    
}
#form-registration > li > input:focus,
#form-registration > li > input#reg_login:focus,
#form-registration > li > input#reg_pass:focus,

#block-captcha > input#reg_captcha:focus{
    border: 1px solid white;
}
#block-captcha{    
    margin-top: 10px;
    height: auto;
}
#block-captcha > label{ /*тект с ошибками при заполнении*/
    font: italic 13px sans-serif;
    padding-left: 10px;
}
#block-captcha > input#reg_captcha{
    height: 30px;
    width: 100px;
    font-size: 19px;
    margin-left: 15px;
    padding-left: 5px;
    border-left: 1px solid #ABABAB;
    border-top: 1px solid #ABABAB;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
}
#block-captcha img{
    float: left;
}
#reloadcaptcha{
    margin-top: 0px;
    font: bold 13px sans-serif;
    text-decoration: underline;
    cursor: pointer;
    clear: both;
}

#reloadcaptcha:hover{
    text-decoration: none;
}

#form_submit
{
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    background: var(--accent);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.2s;    
}

#form_submit:hover
{
    background: var(--accent-hover);
}
	
#Registration-error li{
	padding-left: 10px;
	padding-top: 5px;
	font: bold 14px sans-serif;
	background-color: rgba(0,0,0,0.2);
	color: red;
}

/*******************Success Registration page****************************/

#reg_message_good{
    font: 20px sans-serif;
    color: #00FF00;
    text-align: center;
    margin: 5px;
    margin-top: 10px;
}

#Message_bad{
    font: 20px sans-serif;
    color: #FF0000;
    text-align: center;
    margin: 5px;
    margin-top: 10px;
}

/****************************************************************/
/***********************Profile page*****************************/
/****************************************************************/
#block-profile{ 
    width: 100%;
    max-width: 1024px;    
}
#block-profile-content{    
    width: 100%;
    padding: 0.5rem;
    background: var(--panel);
    margin-top: 1rem;
    border-radius: 1rem;
    box-sizing: border-box;   
}
#block-profile-content-return {
    text-decoration: none;
}
#block-profile-content-return p{
    max-width: 60px;
    width: 20%;
    padding: 0.5rem;
    font: 17px sans-serif;
    background: var(--accent);     
    border-radius: 0.5rem;
    text-align: center; 
}
#block-profile-content-return p:hover{
    background: var(--accent-hover);
}
#block-stats{
    padding: 5px;
    padding-left: 10px;
    margin-bottom: 15px; 
}
#block-stats ul > li{
    padding: 5px;
}
#block-stats strong{
    /*color: #F48b8b; */  
    color: white; 
}
#order_confirmed_true{font: bold 14px sans-serif; color: #27ff00;}
#order_confirmed_false{font: bold 14px sans-serif; color: #ffc500;}
#order_confirmed_closed{font: bold 14px sans-serif; color: #ff0000;}
.title-h3{
    margin: 5px;
    text-align: center;
    font:bold 17px sans-serif;
    padding-top: 5px;
}
#profile-data{
    display: grid;
    justify-content: center;
    align-items: center;
}
#info-profile  li{
 margin-top: 10px;
}
#info-profile > li > input{
 height: 30px;
 width: 320px;
 font: 14px sans-serif;
 border-radius: 0.5rem;
 border: 1px solid #94a3b8;
 background: var(--bg-main);
 color: white;
 padding-left: 5px;
}
#info-profile input:focus,#info-profile textarea:focus{
 border: 1px solid #C4E1EB;
}
#info-profile  textarea{
     height: 110px;
     width: 350px;
     font: 17px sans-serif;
     margin-left: 200px;
     border-left: 1px solid #ABABAB;
     border-top: 1px solid #ABABAB;
     border-right: 1px solid #DDDDDD;
     border-bottom: 1px solid #DDDDDD;
}
.info_label{
    font-size: 15px;
    margin-top: 7px;
    display: block;
    width: 150px;
}
#info-profile-span{
    color: var(--accent);
}
#form-error{
    font:bold 14px sans-serif;
    color: red;
    background-color: rgba(255, 0, 0, 0.1);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}
#form-success{
    width: 100%;
    text-align: center;
    font: 14px sans-serif;
    color: black;
    background-color: rgba(0, 255, 0, 1);  
    padding-top: 10px;
    padding-bottom: 10px;
}
#profile-menu{
    width: 100%;
    max-width: 1024px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 колонки */
    gap: 20px;  
}
#profile-menu-h2{
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
#profile-menu a
{    
    display: flex;               /* включаем флекс для центрирования текста */
    justify-content: center;     /* по горизонтали */
    align-items: center;         /* по вертикали */  
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    font: 16px sans-serif;
    padding: 10px;    
    cursor: pointer;
    box-sizing: border-box;      /* чтобы padding не ломал размеры */
}
#profile-menu a:hover{
    background: var(--accent-hover);
}
.menuactive{
    background: var(--accent);
    
}
.menu-un-active, .logout{
     background: var(--bg-header);
    
}
#list-links-sort{
    background-color: white; 
    border: 1px solid #A3C0D2;
    position: absolute;
    display: none;
    width: 200px;
    padding-top: 5px;
    padding-bottom: 7px;
    height: auto;
    z-index: 1;
}

#table-profile-orders{
    width: 100%; 
    font: 14px sans-serif;
    align: center;   
}
#table-profile-orders TH{
    padding: 5px;
    background: var(--border); 
}
#table-profile-orders tr td{ 
    padding: 5px;
    text-align: center;   
    border: 1px solid var(--border);  
}
.order-number{
    text-align: center;
    padding: 10px;
    font: 16px sans-serif;
}
#table-profile-orders-item{
    width: 100%; 
    font: 14px sans-serif;
    align: center; 
    border: 2px solid var(--border); 
}
#table-profile-orders-item tr td{ 
    text-align: center; 
    border: 2px solid var(--border);   
}
#table-profile-orders-item th{ 
    text-align: center; 
    background-color: var(--border);   
}
#contact-info li{
    margin: 10px;
    font: 16px sans-serif;
    color: var(--accent);    
}
#contact-info span{
    font: bold 14px sans-serif;
}
#paypal-warning{
    font: bold 14px sans-serif;
}
/****************************************************************/
/***********************Cart page********************************/
/****************************************************************/
#block-step{
        
}

#block-step-clean
{
    width: 100%; 
    margin-top: 10px;
    height: 40px;  
}

#block-step-clean a
{
    float: right;
    border: 1px solid #D98386; 
    font:bold 13px sans-serif;
    padding-left: 7px;  
    padding-right: 7px;
    padding-top: 4px;
    padding-bottom: 4px;    
    text-decoration: none;
    color: white;
    background-color: #DA2027;  
    border-radius:5px; 
    -webkit-border-radius:5px; 
    -moz-border-radius:5px; 
}

#name-step{
    height: 30px;
}
#name-step li{
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}
#name-step a{
    color: var(--accent);
    font: bold 14px sans-serif;
    text-decoration: none;
}
#name-step a.active{
    color: #EF662B;
    font: bold 14px sans-serif;
    border-bottom: 1px dashed #EF662B;  
}
#header-list-cart
{
    height: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#header-list-cart > div{
    float: left;
    margin-left: 5px;
    text-align: center;
    font: bold 13px sans-serif;
    color: white;
    margin-top: 7px;
}
#head1{width: 18%;}
#head2{width: 50%;}
#head3{width: 5%;}
#head4{width: 15%;}

.block-list-cart
{
    height: 100px;
    display: grid;
    grid-template-columns: 2fr 3fr 1fr 1fr 1fr;     
    justify-content: center;
    align-items: center;   
    background:#0b0f18;
    margin: 5px; 
    border-radius:10px;   
}

.img-cart
{
    display: flex;    
    width: 100%;       /* блок растягивается на всю ширину родителя */     
    border-radius:10px; 
    /*background:#0b0f18; /*center/cover no-repeat*/
    justify-content: center;
    align-items: center;
    place-items: center;    
    overflow: hidden;        
}
    
.img-cart img {
  max-width: 100%;   /* не шире блока */
  width: auto;
  max-height: 80px;
  margin: 5px;
  object-fit: contain; /* полностью вписывается */
}

.title-cart{
    
}
.count-cart{
    
}
.price-product{
    
}
.delete-cart
{
    
}
.delete-cart a
{
    font: bold 12px sans-serif;
    padding: 10px; 
    padding-left: 10px;  
    padding-top: 7px; 
    padding-bottom: 7px;
    background-color: rgba(255, 0, 0, 0.4);
     border-radius: 20px 20px 20px 20px; 
    -webkit-border-radius: 20px 20px 20px 20px;  
    -moz-border-radius: 20px 20px 20px 20px;  
    border: 1px solid black; 
    color: white;
    text-decoration: none;
}
.delete-cart a:hover{
   background-color: rgba(255, 255, 255, 0.4);
}
.title-cart > p > a{
   font: bold 12px sans-serif;
   color: var(--accent); 
   text-decoration: none;
}
.title-cart > p > a:hover{
   text-decoration: none;
}

.input-count-style input{
    text-align: center;
    border: 1px solid #DDDDDD;
    width: 32px;
    height: 22px;
    font: 15px sans-serif;
    background-color: rgba(255, 255, 255, 0.2);
     border-radius: 5px 5px 5px 5px; 
    -webkit-border-radius: 5px 5px 5px 5px;  
    -moz-border-radius: 5px 5px 5px 5px; 
    border: 1px solid black; 
    color: white;
}
.input-count-style p{
    cursor: pointer;
    font: 12px sans-serif;
    margin: 1px;
    width: 35px;
    border-radius: 5px 5px 5px 5px; 
    -webkit-border-radius: 5px 5px 5px 5px;   
    -moz-border-radius: 5px 5px 5px 5px;   
}
.input-count-style p:hover{
    background-color: rgba(0,0,0,0.5);  
}
.price-product p{    
    font: 14px sans-serif;
    color: #EF662B;
}
.price-product h5{    
    font: bold 13px sans-serif;    
    color: #848484;
}
#cart-in-stock{
    font: 12px sans-serif;
}
#cart-in-stock span{
    color: #EF662B;
}
#Cart-Spend-50{
    font: bold 14px sans-serif;
    color: #EF662B;
    width: 400px;
}
#Cart-Spend-50  a{
   font: bold 14px sans-serif;
   color: #097A9F;
}
#Cart-Spend-50 a:hover{
   text-decoration: none;
}
.itog-price{        
    font: 20px sans-serif;
    padding: 10px;    
    color: white;
}
.itog-price > strong{
    font: bold 22px sans-serif;
    color: #EF662B;
}
.button-next
{
    text-align: right;
    margin-top: -20px;
    margin: 20px;
    border: 1px solid;
}
.button-next-previous
{
    width: 100%;
    height: 50px;
    margin-top: 50px;
}
.button-next-previous > a{
    margin: 20px;
    font:14px sans-serif;
    color: white;
    padding-left: 18px;  
    padding-right: 18px;
    padding-top: 6px;
    padding-bottom: 6px;
    text-decoration: none;  
    background-color: var(--accent); 
    border-radius:6px; 
   -webkit-border-radius:6px; 
   -moz-border-radius:6px;    
}
.button-next-previous > a:hover{
   background-color: var(--accent-hover);
}
#button-next-right{float:right;}
#clear-cart{
    font: 22px sans-serif;
    margin-top: 40px;
}
#out_stock{
    margin: 10px;
    margin-top: 40px;
    width: 180px;
    float: left;
    text-align: center;
    font: 16px sans-serif;
}
#out_stock span{
    color: red;
}
#info-checkbox{
    margin-left: 10px;    
    font:15px sans-serif; 
    display: grid;
    justify-content: center;
    align-items: center;  
}
#P_Terms_and_Conditions{  
    width: 100%;
    font: 16px sans-serif;    
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}
.Terms_and_Conditions_checkbox{
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}
#info-order{    
    margin-top: 5px;
    margin-bottom: 25px;
    display: grid;
    justify-content: center;
    align-items: center; 
}
#info-order li{
    margin-top: 10px; 
}
#info-order input{
    height: 30px;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;
    padding-left: 5px;
}
#info-order > li > input:focus,#textarea-Note:focus, .order_delivery_text:focus{
 border: 1px solid #C4E1EB;
}
#textarea-Note{
    height: 110px;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;
}
#info-order > li > label.label_style{
    margin-left: 10px;
    width: 200px;
    display: inline-block;
    font: 14px arial;
    color: white;    
    margin-top: 7px;
}
.order_label_style{
    margin-left: 10px;
    width: 200px;
    display: block;
    color: white;
}
.order_label_style1{
    margin-left: 10px;
    width: 100px;
    display: block;
    color: white;
}
#Block-Free-Bot{
    width: 600px;
    height: 100px;
}
#Cart-Bot-For-Free-P{
    width: 210px;
    margin-top: 20px;
    float: left;
    font: 12px sans-serif;
}
#Cart-Bot-For-Free{
    float: left;
    margin-top: 20px;    
    height: 30px;
    width: 352px;
    font: 17px sans-serif;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid black;
    padding-left: 5px;
    
    background-color: rgba(255, 255, 255, 0.3);
}
#Cart-Bot-For-Free option{
    background-color: rgba(255, 255, 255, 0.3);
    color: black;
}
#star{
    color: red;
}
.order_span_style{
    width: 100%;
    font: 13px sans-serif;
    color: #A7A7A7;
    margin-left: 15px;
    margin-top: -1px;
}

#info-order > li > span.order_span_style{
    margin-top: 7px;
}
#confirm-button-next{
    float: right;
    background-color: var(--accent);     
    font:15px sans-serif;
    color: white;    
    border-radius:5px; 
   -webkit-border-radius:5px; 
   -moz-border-radius:5px; 
    padding-left: 18px;  
    padding-right: 18px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin: 10px;
    cursor: pointer;   
}
#confirm-button-next:hover{background-color: var(--accent-hover);}

#loading_img{
    display: none;
    float: right;      
    margin: 8px;    
}

#simple-button-next
{
    float: right;
    background-color: var(--accent);
    border: 1px solid #B0C181;
    font:15px sans-serif;
    color: white;    
    border-radius:6px; 
   -webkit-border-radius:6px; 
   -moz-border-radius:6px; 
    padding-left: 18px;  
    padding-right: 18px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin: 10px;
    cursor: pointer;  
}
#simple-button-next a{color: white;}
#simple-button-next:hover{background-color: var(--accent-hover);}

#confirm-button-previous{
    background-color: var(--accent);
    font:15px sans-serif;
    color: white;    
    border-radius:5px; 
   -webkit-border-radius:5px; 
   -moz-border-radius:5px; 
    padding-left: 18px;  
    padding-right: 18px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin: 10px;
    cursor: pointer; 
}
#confirm-button-previous:hover{background-color: var(--accent-hover);}

#list-info{    
    padding-top: 7px;
    padding-bottom: 7px;
    margin: 15px;
    margin-bottom: 35px; 
}
#list-info > li{
    padding-top: 5px;
    padding-bottom: 5px;
    font:14px Verdana;
    padding-left: 15px;
}
#list-info > li > span{
    font: 12px Verdana;
    margin-right: 10px;
    color: gray;
}
#Block-Final-information{
    width: auto;
    height: 450px;
    padding-top: 7px;
    margin: 15px;
    margin-bottom: 35px;
    border: 1px solid black;
    border-radius: 20px; 
   -webkit-border-radius: 20px; 
   -moz-border-radius: 20px; 
    background-color: rgba(0, 0, 0, 0.3); 
}
#Block-Final-information img{
    float: left;
}
#Block-Final-information p{
    width: 500px;    
    float: left;
    font: 16px sans-serif;
}
.itog-payment{
    text-align: center;
    font: 20px sans-serif;
    padding: 10px;    
    color: white;
}
.itog-payment > strong{
    font: bold 22px sans-serif;
    color: #EF662B;
}
#block-payment{
    margin: 15px;
    border-radius: 10px;        
    -webkit-border-radius: 10px; 
   -moz-border-radius: 10px;    
    background-color: rgba(0, 0, 0, 0.3);   
}
/****************************************************************/
/**********************view_content******************************/
/****************************************************************/
#block-breadcrumbs-and-rating{
    height: 40px;
    margin-top: 10px;
}
#nav-breadcrumbs2
{
    width: 100%;
    float: left;    
    font: 14px sans-serif;
    color:#8b93a7;
    margin-top: 5px;
    margin-left: 10px;
}
#nav-breadcrumbs2 > a{
    font: 14px sans-serif;
    color:#8b93a7;
    text-decoration: none;
}
#nav-breadcrumbs2 > a:hover{
    text-decoration:underline;
    transition: all.6s ease;
    -moz-transition: all.6s ease;
    -bebkit-transition: all.6s ease; 
    -ms-transition: all.6s ease;
}
#nav-breadcrumbs2 > span{
    font: 14px sans-serif;
    color:#8b93a7;
}
/* Меню категорий */
.categories 
{
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--panel);
    border-radius: 0.5rem;
    flex-wrap: wrap;      /* перенос кнопок на новые строки */
    /*overflow-x: auto;
    white-space: nowrap;*/
}
.categories a {
    padding: 0.5rem 1rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 0.5rem;
    background: transparent;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.categories a:hover {
    background: var(--accent-hover);
    color: var(--bg-main);
}
.categories a.active {
    background: var(--accent);
    color: var(--bg-main);
    font-weight: bold;
}
/* Сетка карточек категорий */
.categories-grid {
    min-height: 500px;
    height: 100%;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.category-card {
    height: 145px;
    background: var(--bg-header);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.category-card:hover {
    background: var(--accent-hover);
}
.category-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.category-card .image-box {
    width: 100%;
    height: 120px;           /* фиксированная высота */
    display: flex;
    align-items: center;     /* по центру вертикально */
    justify-content: center; /* по центру горизонтально */
    overflow: hidden;        /* ничего не вылезает */
    margin-bottom: 0.5rem;
}

.category-card .image-box img {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      display: block;
}
    .category-card .title {
      font-size: 1.1rem;
      font-weight: bold;
    }

    @media (max-width: 768px) {
      .categories-grid {
        grid-template-columns: 1fr; /* в одну колонку */
      }
    }
     
#block-content-img{
    display: inline-block;
	padding: 5px;
	width: 400px;
    vertical-align:top;
}
#block-content-info{     
    margin-top: 15px;  
    padding: 10px; 
    background-color: rgba(0, 0, 0, 0.3); 
}
#content-title{
    clear: right;
    font: 21px sans-serif;
    color: var(--accent); 
}
#Div-Complect{
    width: 400px;
    float: left;
}
#content-text{
    font: 15px sans-serif;
    margin-top: 10px;
}

.reviews-and-counts-content{
    height: 20px;
    margin-bottom: 20px;    
}
.reviews-and-counts-content > li{
    float: left;
    margin-left: 10px;    
    margin-top: 3px;
}
.reviews-and-counts-content > li > p{
    margin-left: 25px;
    margin-top: -1px;
    font: 13px sans-serif;
    margin-bottom: 0px;
}
.reviews-and-counts-content img{
    position: absolute;
}
#block-price{  
    display: inline-block;
    width: 574px;
}
#Div-price{
    width: 550px;
    height: auto;
    margin-top: 10px;
    float: left;  
}
#style-price-another{
    text-align: center;
    margin-bottom: 20px;
    font: 18px sans-serif;
    color: rgba(255,255,255,1); 
}
#Div-AddtoCart{
    width: 550px;
    padding-top: 10px;
    float: left;
}
#add-cart-view-p{
	text-align: center;
}
#add-cart-view-label{
    float: left;
    padding: 5px;  
    background-color: rgba(0, 170, 238, 0.6);
}
#add-cart-view{
    font: 18px sans-serif;
    cursor: pointer;
}
#add-cart-view-another{
    font: 14px sans-serif;
    cursor: pointer;
    background-color: rgba(0, 170, 238, 0.4);
    padding: 5px;
}
#add-cart-view-label:hover{
    background-color: var(--accent);
    color: white;
}
#add-cart-view-label a:hover{
    color: white;
}
#block-img-slide{
    clear: both;
    height: 85px;
    width: auto;
}
#block-img-slide li{
    padding: 3px;
    float: left;
    margin-left: 10px;
    border: 1px solid #DBDBDB;
    cursor: pointer;
}
#block-img-slide li:hover{
    border: 1px solid black;
}
#block-img-slide a{
    display: block;
}
ul.tabs {margin-top: 15px; list-style:none; width:100%; height: 31px; border-bottom: 1px solid #E2E2E2;}
ul.tabs li:first-child {border-left:1px solid #E2E2E2;}
ul.tabs li {float:left; border-right:1px solid #E2E2E2; border-top:1px solid #E2E2E2; background-color: rgba(0, 0, 0, 0.3);
 border-radius: 10px 10px 0px 0px; -webkit-border-radius: 10px 10px 0px 0px; -moz-border-radius: 10px 10px 0px 0px;}
ul.tabs li.active {border-bottom:1px solid #fff; background-color: rgba(0, 170, 238, 0.4); margin-bottom:-1px;}
ul.tabs li a {display:block; padding:7px 10px; color: white;  outline:none; text-decoration:none; font:bold 14px sans-serif;}
ul.tabs li.active a { color: white;}

div.tabs_content > div {padding:10px;}
.tabs_content div{
    font: 15px sans-serif;
    margin-top: 5px;
}
#Discription_content{ 
    float: left;
    width: 584px;
    margin-top: 10px;
    font: 14px sans-serif;
    color: gray;
}
#Features_content{
    width: 984px;  
    margin-top: 10px; 
    padding: 20px;
    font: 14px sans-serif;
    color: gray;
}
#Video_content{
    width: 984px; 
    padding: 20px;
    margin-top: 10px;   
    font: 14px sans-serif;  
    color: gray;
}
#link-send-review a{
    text-decoration: none;
    font: bold 13px sans-serif;
    border-bottom: 1px dashed #EF662B;
    color: #EF662B;
}
#link-send-review a:hover{
    border-bottom: none;
}
.block-reviews{
    background-color: rgba(0, 170, 238, 0.1);
    border-radius: 10px; 
    -webkit-border-radius: 10px; 
    -moz-border-radius: 10px;
    padding: 10px;
}
.block-reviews img{
    float: left;
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 5px;
}
.block-reviews > p > strong{
    /*color: #F48b8b; */  
    color: white; 
}
.textrev{
    margin-left: 50px;
    margin-top: 10px;
    margin-right: 100px;
    font: 14px sans-serif;
}
#send-review{
    display: none;
    width: 400px;
    height: 400px; 
}
#title-review{
    font: 14px sans-serif;
    margin-right: 50px;
    color: #8C8C8C;
}
#send-review input{
    margin-bottom: 5px;
    width: 230px;
    height: 25px;
    margin-right: 50px;
    margin-top: 15px;
    border: 1px solid #DBDBDB;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    color: black;
}
#send-review textarea{
    margin-bottom: 5px;
    width: 230px;
    height: 70px;
    margin-right: 50px;
    border: 1px solid #DBDBDB;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    color: black;
}
#send-review span{
   color: red; 
}
#label-name{
    font: 14px sans-serif;
    margin-right: 10px;
}
#label-good{
    font: 14px sans-serif;
    margin-right: 10px;
}
#label-bad{
    font: 14px sans-serif;
    margin-right: 10px;   
}
#label-comment{
    font: 14px sans-serif; 
    margin-right: 10px;    
}
#reload-img{
    display: none;
    margin-top: 35px;
    margin-left: 295px;
}
#button-send-review{
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    cursor: pointer;
    background-color: rgba(0, 170, 238, 0.4);
    float: right;
    margin-right: 50px;
    margin-top: 25px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
#button-send-review:hover{
    background-color: rgba(0, 170, 238, 0.7);
}
#block-title{    
    float: left;
    width: 350px;
}
#like-block{
    float: right;
    width: 220px;
}
#likegood{
    text-align: center;
    width: 50px;
    float: left;
    cursor: pointer;
    border: 1px solid white;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    padding: 3px 4px;
    font: 13px sans-serif;
    float: right;
}
#likegood:hover{
     background-color: rgba(0, 170, 238, 0.4)
}
#likegoodcount{
    float: right;
    margin: 4px 8px;
    font: 13px sans-serif;
    display: inline-block;
}
#block-content-additional p{
    font: bold 20px sans-serif;
    text-align: center;
}
#block-content-additional-info{
    float: left;
    width: 225px;
    height: 200px;
    margin-top: 15px;  
    padding: 5px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.3); 
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;  
}
#block-img-additional{
	width: 225px;
    height: 100px;
}
#content-title-additional{
    font: 12px sans-serif;
    padding: 5px;
	text-align: center;
}
#style-price-additional{
    display: block;
    font: 18px sans-serif;
    padding-right: 15px;
    color: #ff6666;
    margin-top: 10px;
    margin-bottom: 10px;
}
.image-modal{
    
}
/****************************************************************/
/*****************Page feedback**********************************/
/****************************************************************/

#block-feedback
{
    display: grid;    
    justify-content: center;
    align-items: center;
}
#feedback li
{
    margin-top: 10px;
}
#feedback input
{
    width: 100%;
    height: 30px; 
    font: 15px sans-serif;
    padding-left: 5px;  
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;  
}
#feedback textarea
{
    height: 100px;
    width: 100%;
    padding-left: 5px;
    padding-top: 5px;
    font: 15px sans-serif;
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;
  
}
#feedback input:focus,#feedback textarea:focus{
 border: 1px solid #C4E1EB;
}
#block-feedback > label{ /*тект с ошибками при заполнении*/
    font: italic 13px sans-serif;
    padding-left: 10px;
}
label#Securitycode{
    float: left;
}

/****************************************************************/
/*****************Page About Us**********************************/
/****************************************************************/

#p_about_us
{
    font: 14px Arial;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 5px;
    
}

#p_about_us strong{
    /*color: #F48b8b; */  
    color: white; 
}
#About-us-Links
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr; 
    justify-content: center;
    align-items: center;   
}
@media (max-width:960px){#About-us-Links{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){#About-us-Links{grid-template-columns:1fr}}
#Links{    
    text-align: center;
    padding: 5px;
}
#About-us-Links a{
    font: 16px sans-serif;
    text-decoration: none;
    color: var(--accent);        
}
#About-us-Links a:hover{    
    color: var(--accent-hover);        
}
/****************************************************************/
/*****************Feedback***************************************/
/****************************************************************/
#Feedback-Form{
    display: grid;    
    justify-content: center;
    align-items: center;
}
#Feedback_inputs li{
    margin-top: 10px;
}
#Feedback_inputs p{
 
}
#Feedback_inputs input{
    height: 30px;
    width: 100%;
    padding-left: 5px;    
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;    
}
#Feedback_inputs textarea{
    height: 100px;
    width: 100%;
    padding-left: 5px;  
    padding-top: 5px;  
    border-radius: 0.5rem;
    border: 1px solid #94a3b8;
    background: var(--bg-main);
    color: white;    
}
#Feedback_input_captcha{
    width: 100px;
    height: 25px;
    margin-left: 10px;
}
#Feedback_inputs textarea:focus,input:focus{
    border: 1px solid white;
}
#button-send-feedback{
    width: 100%;
    margin-bottom: 20px;
    background: var(--accent);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    width: 50%;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.2s;
}
#button-send-feedback:hover{
    background: var(--accent-hover);
}
.block-feedbacks{    
    padding: 15px;
    margin-bottom: 15px;
    background: #161b27;
    border-radius: 8px;
}
.author-date{
	padding: 5px;
    font: 12px sans-serif;    
    color: #8C8C8C;
}
.block-feedbacks > p > strong{	 
    font: bold 14px sans-serif; 
    color: white; 
}
.text-comment{
    padding: 5px;
    font: 15px sans-serif;
}
.text-comment span{
    color: gray;
}

/****************************************************************/
/*****************News*******************************************/
/****************************************************************/
#news-title{
    font: bold 14px sans-serif;
    color: #EF662B;
    text-align: center;
}

#news-text{
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
}

#news p{
    min-height: 30px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#news li{
    margin: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

#news a:hover{
    text-decoration: underline;
}

#news span{
    font: 14px sans-serif;
    float: right;
    color: #939393;
    padding-right: 10px;
    margin-top: -30px;
}
/*******************All pages********************/
.errors-bugs{
    padding: 10px;
    font-size: 16px;
    text-align: center;
    color: red;
}


/****************************************************************/
/*****************Mail Page**************************************/
/****************************************************************/

#table-mail{
    text-align: center;
    border: 1px solid white;
}

#table-mail tr th{
    border: 1px solid white;
    padding: 10px;
}

#table-mail tr td{
    border: 1px solid white;
    padding: 10px;
}

/****************************************************************/
/***************** Search Cart***********************************/
/****************************************************************/
#Block-Search-Cart
{   
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); 
}

#payment-block{
    max-width: 700px;
    width: 100%;
    clear: both;
    margin-top: 20px;
    text-align: left;
    background-color: rgba(0,0,0,0.5);
}
#payment-block-left{
    float: left;
}
#payment-block-left p{    
    float: left;
    font: 20px sans-serif;
    padding: 10px;    
    padding-top: 12px;
}
#payment-block-left img{ 
    max-width: 100px;
    float: left;
    border: 3px solid rgba(0,0,0,0);
}
#payment-block-right{
    width: 75%;
    float: left;
}

#payment-block-right input{
    width: 80%;
    float: left;
}


#payment-block-right p{
    font: 20px sans-serif;
    padding: 10px;    
    padding-top: 12px;  
    color: white;
}

#payment-block img:hover{
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border: 3px solid green;
}
#payment-block-crypto{
    width: 600px;
    height: 300px;
    clear: both;
    margin-top: 20px;
    background-color: rgba(0,0,0,0.5);
    border: 3px solid rgba(0,0,0,0);
}
#payment-block-crypto:hover{    
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border: 3px solid green;
}
#interkassa-button{
    padding: 5px;    
    color: black;
}

#Index-block-content
{
    margin-top: 1rem;        
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

#Index-Menu:Hover{    
    box-shadow: 0 4px 20px var(--accent);
}

#Index-Menu
{    
    padding: 5px;    
    display: flex;
    justify-content: center;
    align-items: center;  
    background: var(--panel);
    border-radius: 0.75rem;
}
.Index-Menu-Outer{
    width: 235px;
    height: 235px;
    text-align: center;
    vertical-align: middle;                
}

.Index-Menu-Inner{
    display: inline-block;
    width: 235px;
    height: 100px;
}

.Index-Menu-Inner-Img{
    height: 150px;
}

#Index-Menu p{
    padding: 2px;
    font: 14px sans-serif;
}
#Index-Menu a{
    text-decoration: none;
}

/* Popular Products */
.popular-products {
    max-width: 1024px;
    width: 100%;
    margin-top: 1rem;
    padding-bottom: 0.1rem;
    background: var(--panel); 
    color: var(--text);
    border-radius: 0.5rem;
}
.popular-products h2 {
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
.popular-products h1 {
    padding: 1rem;
    text-align: center;
    font-size: 1.0rem;
    color: var(--accent);
}
.popular-grid {
    display: grid;
    gap: 1rem;
    margin: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.popular-grid a{
    text-decoration: none;
}
.popular-products-product-card {
    background: var(--bg-header);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}
.popular-products-product-card:hover {
    box-shadow: 0 4px 20px var(--accent);
}
.popular-products-product-card .popular-products-image-box {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
}
.popular-products-product-card .popular-products-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}
.popular-products-product-card .popular-products-title {    
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.popular-products-product-card .popular-products-game {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 12px;
}
.popular-products-product-card .popular-products-old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}
.popular-products-product-card .popular-products-price {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: bold;
}
.popular-products-view-all {
  text-align: center;
  margin: 1.5rem;
}
.popular-products-btn-view {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--bg-main);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s, transform 0.2s;
}
.popular-products-btn-view:hover {
  background: var(--accent-hover);
}


#Index-Menu-Text{
    width: 970px;
    clear: both;
    text-align: left;
    padding-left: 55px;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-left: -17px;
    color: rgba(200,200,200,1);
    font: 16px sans-serif;
    background-color: rgba(0,0,0,0.3);
}

#Index-Menu-Text label{
    color: var(--accent);
    font: 20px fantasy;
}

#Index-Full{
    max-width: 1024px;
    width: 100%;
    margin-top: 15px;
    padding-top: 30px;
    padding-bottom: 30px;
    background: var(--panel);
    border-radius: 0.75rem;
    clear: both;
    text-align: center;
}

#Index-Full-1{
    max-width: 1024px;
    width: 100%;
    margin-top: 15px;   
    background: var(--panel);
    border-radius: 0.75rem;
    clear: both;
    text-align: center;
}

#Index-Full h2{
    color: var(--accent);
    font: 25px fantasy;
}

#Index-Full h3{
    color: rgba(120, 120, 120, 1);
}

#Index-Full label{
    color: var(--accent);
    font: 20px fantasy;
}

#Index-Full p{
    text-align: left;
    color: rgba(200,200,200,0,5);
    font: 16px sans-serif;
    padding-left: 0px;
    padding-top: 30px;
    padding-bottom: 30px;
}

#Index-Full a{
    text-decoration: none;
    cursor: pointer;
    color: var(--accent);
}

#Index-Full a:hover{
    color: rgba(255, 255, 255, 1);
}

#Div-contacts{ 
    display: grid;    
    justify-content: center;
    align-items: center;   
}

/*------------------------------------------------------------*/
/*------------------------viev_content------------------------*/
/*------------------------------------------------------------*/

/* Десктопная версия (по умолчанию) */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Галерея + панель покупки */
    gap: 20px;
}

/* Адаптив для мобильных устройств */
@media screen and (max-width: 768px) 
{
    .content-grid 
    {
        grid-template-columns: 1fr; /* одна колонка */
        gap: 10px;
    }

    .gallery {
        width: 95%;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .panel {
        width: 95%;
        padding: 10px;
        box-sizing: border-box;
    }
}

.gallery
{
    
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:16px;
    box-shadow:var(--shadow)
}
.gallery .hero
{
    display: flex;    
    width: 100%;       /* блок растягивается на всю ширину родителя */
    max-width: 800px; /* можно ограничить максимальную ширину */
    height: 400px; 
    border-radius:10px; 
    /*background:#0b0f18 center/cover no-repeat*/
    justify-content: center;
    align-items: center;
    place-items: center;    
    overflow: hidden;        
    }
.hero img {
  max-width: 100%;   /* не шире блока */
  max-height: 100%;  /* не выше блока */
  width: auto;
  height: auto;
  object-fit: contain; /* полностью вписывается */
}
.thumbs
{
    max-width: 100%;   /* не шире блока */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;    
}
    
/*.thumbs button{border:1px solid var(--border);background:#0b0f18;border-radius:10px;aspect-ratio:1/1;cursor:pointer}*/
.thumbs button 
{
    max-width: 75px;
    flex: 1 0 20%; /* уменьшаем картинки на мобильных */
    border-radius:10px;
    border:1px solid var(--border);
    background:#0b0f18;
    aspect-ratio:1/1;cursor:pointer
}

@media screen and (max-width: 480px) {
    .thumbs button {
        flex: 1 0 30%; /* еще меньше на узких экранах */
    }
}

.thumbs img{width:100%;height:100%;object-fit:cover;border-radius:8px}    
.panel
{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:20px;
    box-shadow:var(--shadow)
}
.title{display:flex;align-items:center;gap:8px}
.title h1{font-size:26px;margin:0}
.badge{font-size:12px;padding:4px 8px;background:#0b0f18;border:1px solid var(--border);border-radius:999px;color:var(--muted)}
.price{display:flex;align-items:baseline;gap:12px;margin:12px 0}
.price .now{font-size:32px;font-weight:700}
.price .was{color:var(--muted);text-decoration:line-through}
.price .save{color:var(--succ);font-weight:600}
.stock{display:flex;gap:12px;align-items:center;color:var(--muted)}
.stock .dot{width:8px;height:8px;border-radius:50%;background:var(--succ)}
.stock .dot_red{width:8px;height:8px;border-radius:50%;background:#ff6b6b}
.package{margin:14px 0;padding:12px;border:1px dashed #2c3653;border-radius:12px;background:linear-gradient(135deg,#121726,#10131d)}
.package strong{color:var(--accent)}
.buy{display:flex;gap:12px;align-items:center;margin-top:14px}
.qty
{
    display:flex;
    align-items:center;
    justify-content: space-between;
    border:1px solid var(--border);
    border-radius:10px;
    overflow:hidden
}
#qty {
    width: 50px;
    text-align: center;
}
.qty button
{
    width: 100%; 
    background:#0b0f18;
    border:0;color:var(--text);
    width:36px;
    height:40px;
    cursor:pointer;
}
.qty input{width:56px;text-align:center;background:transparent;border:0;color:var(--text);outline:none}
.cta{flex:1;display:flex;gap:10px}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;height:44px;padding:0 16px;border-radius:10px;border:1px solid transparent;cursor:pointer;font-weight:600}
#button-add-to-cart{background:var(--accent);color:#0b0f18;display:inline-flex;justify-content:center;align-items:center;gap:10px;height:44px;padding:0 16px;border-radius:10px;border:1px solid transparent;cursor:pointer;font-weight:600}
.btn-ghost{background:#0b0f18;border-color:var(--border);color:var(--text)}
.trust{
    display:grid;
    /*grid-template-columns:repeat(3,1fr);*/
    gap:10px;
    margin-top:16px;
    color:var(--muted);
    font-size:14px; 
}
.trust p
{
     color: #8b93a7;
}
.tabs
{
    margin-top:22px
}
.tablist
{
    display:flex;
    gap:10px;
    flex-wrap:wrap;   
}
.tablist button
{
    flex: 1 1 auto;
    margin: 2px 0;
    font-size: 14px;    
    background:#0b0f18;
    border:1px solid var(--border);
    color:var(--text);
    padding:10px 14px;
    border-radius:999px;
    cursor:pointer
} 

.tablist button:hover
{
    box-shadow: 0 4px 10px var(--accent);
}
   
.tabpanel
{
    margin-top:14px;
    background:#0b0f18;
    border:1px solid var(--border);
    border-radius:12px;
    padding: 10px;
    box-sizing: border-box;
}
.kvs{display:grid;grid-template-columns:1fr 1fr;gap:10px; margin-top: 10px;}
@media (max-width:720px){.kvs{grid-template-columns:1fr}}
.kvs div{background:#0e1320;border:1px solid var(--border);border-radius:10px;padding:12px}
.related
{
    margin-top:26px;
}
.cards
{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px
}
@media (max-width:960px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.cards{grid-template-columns:1fr}}

.card
{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:12px;
    overflow:hidden;
    width: 100%;
}
.card .img{display: grid; place-items: center;aspect-ratio:16/10;background:#0b0f18 center/cover no-repeat}
.card .body{padding:12px}

#reviews {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background: #10141e;
  border: 1px solid #2a2f3d;
  border-radius: 12px;
  color: #d1d5e0;
  font-family: Arial, sans-serif;
}

#reviews h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffffff;
  border-bottom: 1px solid #2a2f3d;
  padding-bottom: 10px;
}

.review {
  padding: 15px;
  margin-bottom: 15px;
  background: #161b27;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.review:hover {
  transform: translateY(-2px);
  background: #1c2230;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-header strong {
  color: #ffffff;
  font-size: 14px;
}

.stars {
  color: #fbbf24; /* золотой цвет звезд */
  font-size: 14px;
}

.review-text {
  font-size: 14px;
  line-height: 1.5;
  color: #c0c6d4;
  margin-bottom: 8px;
}

.review-date {
  font-size: 12px;
  color: #8b93a7;
}

.review-form {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: #10141e;
  border: 1px solid #2a2f3d;
  border-radius: 12px;
  font-family: Arial, sans-serif;
  color: #d1d5e0;
}

.review-form h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffffff;
  border-bottom: 1px solid #2a2f3d;
  padding-bottom: 10px;
}

.review-form label {
  display: block;
  margin: 10px 0 5px;
  font-size: 14px;
  color: #c0c6d4;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 95%;
  padding: 10px;
  border: 1px solid #2a2f3d;
  border-radius: 8px;
  background: #161b27;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 15px;
}

.review-form input::placeholder,
.review-form textarea::placeholder {
  color: #8b93a7;
}

.review-form button {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: #ffffff;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.review-form button:hover {
  background: #1d4ed8;
}

/* Всплывающее окно */
.popup { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.popup-content 
{ 
    background: #fff; 
    color: #333; 
    max-width: 90%; 
    margin: 15% auto; 
    padding: 20px; 
    border-radius: 8px; 
    text-align: center; 
    position: relative; 
}
.popup-content.success { border-left: 6px solid #28a745; }
.popup-content.error { border-left: 6px solid #dc3545; }
.popup-close { position: absolute; top: 10px; right: 15px; font-size: 28px; font-weight: bold; cursor: pointer; color: #888; }
.popup-close:hover { color: #000; }
#popup-message{color: black;}


/*------------------------------------------------------------*/
/*--------------------End viev_content------------------------*/
/*------------------------------------------------------------*/

/*------------------------------------------------------------*/
/*-------------------Промо код на странце cart----------------*/
/*------------------------------------------------------------*/
/* Promo code form */
.promo-code-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 90%; 
	max-width: 460px;
    margin: 0px 10px;
    box-sizing: border-box;
}

/* Input field */
.promo-code-form input[type="text"] {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    box-sizing: border-box;

    background: #101b2b;
    color: #ffffff;

    border: 1px solid #29466a;
    border-radius: 5px;

    font-size: 14px;
    font-family: inherit;

    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.promo-code-form input[type="text"]::placeholder {
    color: #8495aa;
}

.promo-code-form input[type="text"]:focus {
    border-color: #3689e8;
    box-shadow: 0 0 0 3px rgba(54, 137, 232, 0.15);
}

/* Apply button */
.promo-code-form button {
    flex-shrink: 0;
    height: 44px;
    padding: 0 24px;

    background: linear-gradient(135deg, #3289e8, #1554a0);
    color: #ffffff;

    border: 1px solid #3689e8;
    border-radius: 5px;

    font-size: 14px;
    font-weight: 700;
    font-family: inherit;

    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.promo-code-form button:hover {
    background: linear-gradient(135deg, #459bfa, #1c68bd);
    box-shadow: 0 3px 12px rgba(34, 117, 210, 0.25);
}

.promo-code-form button:active {
    transform: translateY(1px);
}

/* Message */
.promo-code-message {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #65b7ff;
}

/* Mobile */
@media (max-width: 480px) {
    .promo-code-form {
        gap: 8px;
    }

    .promo-code-form input[type="text"] {
        padding: 0 10px;
        font-size: 13px;
    }

    .promo-code-form button {
        padding: 0 16px;
    }
}

/*------------------------------------------------------------*/
/*-------------------Промо код на странце cart----------------*/
/*------------------------------------------------------------*/