/* 
 Theme Name:   Astra Child Theme
 Theme URI:    
 Description:  
 Author:       Syrovatskyy
 Author URI:   https://atp.mms.kiev.ua
 Template:     astra
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/

.woocommerce table.shop_attributes th {
    width: 200px;
    font-weight: 600;
}

.bellows {
    --bellows-item-padding-v: 10px;
    --bellows-sub-item-padding-v: 10px;
}


.ast-header-account-wrap .ast-header-account-text {
    color: #ffffff;
}
.ast-theme-transparent-header .ast-header-account-wrap .ast-header-account-text {
    color: #ffffff;
	  justify-content: center;
	  white-space: nowrap;
}
.ast-header-account-wrap .ast-header-account-text {
    color: #ffffff;
    background-color: #7d4f2f;
    padding-top: 8px;
    padding-right: 15px;
    padding-bottom: 8px;
    padding-left: 15px;
	  justify-content: center;
	  white-space: nowrap;
}
.ast-builder-grid-row.ast-grid-center-col-layout {
    grid-template-columns: auto auto auto;
}
@media (min-width: 1367px) {
.ast-header-html-2 {
    display: flex;
    width: 100%;
  }
}
.woosw-btn-has-icon {
    margin-bottom: 20px;
	  font-weight: 700;
}
#auction-product-type {
	margin-top: 60px;
}
.uwa-watchlist-button {
	display: inline-block;
}
.single-product .add-uwa {
    color: #ffffff;
    background-color: #203d85;
    padding-top: 8px;
    padding-right: 15px;
    padding-bottom: 8px;
    padding-left: 15px;
    justify-content: center;
    white-space: nowrap;
}
.single-product .remove-uwa {
    color: #ffffff;
    background-color: #203d85;
    padding-top: 8px;
    padding-right: 15px;
    padding-bottom: 8px;
    padding-left: 15px;
    justify-content: center;
    white-space: nowrap;
}
.single-product .view_watchlist {
    text-decoration: none;
    color: #ffffff;
    background-color: #203d85;
    padding-top: 8px;
    padding-right: 15px;
    padding-bottom: 8px;
    padding-left: 15px;
    justify-content: center;
    white-space: nowrap;
}
.hasCountdown {
    overflow: hidden;
    color: #203d85;
    background-color: #ffffff;
    padding: 10px;
    margin: 5px 0 20px 0;
    box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 23%);
}
/*@media (min-width: 1200px) {
.hasCountdown {
    width: 50%;
  }
}
*/
form#uwa_auction_form_direct {
    align-items: flex-start;
}
form#uwa_auction_form {
    align-items: flex-start;
}
.woocommerce div.product form.cart .button {
    width: 49%;
}
@media only screen and (max-width: 768px) {
.woocommerce div.product form.cart .button {
    margin-top: 10px;
  }
}
.left_right_navigation {
	display: flex;
  justify-content: space-evenly;
  margin-top: 20px;
}
#auction-product-type {
    margin-top: 0px; 
}



.woocommerce .woocommerce-ordering select, .woocommerce-page .woocommerce-ordering select {
    background-color: transparent;
    border: transparent;
    border-width: 1px;
    border-style: solid;
    border-color: var(--ast-border-color);
    border-radius: 3px;
    box-shadow: none;
}
@media (max-width: 668px) {
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    float: right;
    margin-bottom: 2em;
    margin-top: 1em;
   }
}

.uwa_buttons {
    display: inline-block!important;
    margin-left: 15px;
}

/* Базовые стили слоя затемнения и модального окна  */
/* Контейнер для кнопки, чтобы не прыгал контент, когда она сменит позиционирование */
.css-modal-details {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}
 
/* Кнопка для открытия */
.css-modal-details summary {
   display: inline-flex;
    margin: 10px;
    text-decoration: none;
    position: relative;
    font-size: 18px;
    line-height: 10px;
    padding: 8px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Roboto', Тahoma, sans-serif;
    background: #2c57b9;
    cursor: pointer;
    border: 2px solid #BFE2FF;
    overflow: hidden;
    z-index: 1;
    border-radius: 20px;
}
.css-modal-details summary:hover,
.css-modal-details summary:active,
.css-modal-details summary:focus {
    color: #FFF;
}
.css-modal-details summary:before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    left: 0;
    border-right: 50px solid transparent;
    border-top: 50px solid #2D6B9F;
    transition: transform 0.5s;
    transform: translateX(-100%);
    z-index: -1;
}
.css-modal-details summary:hover:before,
.css-modal-details summary:active:before,
.css-modal-details summary:focus:before {
    transform: translateX(0);
}
 
/* Кнопка при открытом окне переходит на весь экран */
.css-modal-details details[open] summary {
    cursor: default;
    opacity: 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
}
 
/* Контейнер, который затемняет страницу */
.css-modal-details details .cmc {
    display:flex;
    align-items:center;
    justify-content:center;    
}
.css-modal-details details[open] .cmc {
    pointer-events: none;
    z-index: 4;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: bg 0.5s ease;
    background: rgba(51, 122, 183, 0.7);
}
 
/* Модальное окно */
.css-modal-details details .cmt {
    font-family: Verdana, sans-serif;  
    font-size: 16px;
    padding: 20px;
    width:80%;
    max-width: 600px;
    max-height: 70%;
    transition: 0.5s;
    border: 6px solid #BFE2FF;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    text-align: center;
    overflow: auto;
}
.css-modal-details details[open] .cmt {
    animation: scale 0.5s ease;
    z-index: 4;
    pointer-events: auto;
}
 
/* Декоративная кнопка с крестиком */
.css-modal-details details[open] .cmc:after {
    content: "";
    width: 50px;
    height: 50px;
    border: 6px solid #BFE2FF;
    border-radius: 12px;
    position: absolute;
    z-index: 10;
    top: 20px;
    right: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23337AB7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cline x1='18' y1='6' x2='6' y2='18'%3e%3c/line%3e%3cline x1='6' y1='6' x2='18' y2='18'%3e%3c/line%3e%3c/svg%3e");
    background-color: #FFF;
    background-size: cover;
    animation: move 0.5s ease;
}
 
/* Анимации */
@keyframes scale {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes move {
    0% {
        right: -80px;
    }
    100% {
        right: 20px;
    }
}
@keyframes bg {
    0% {
        background: rgba(51, 122, 183, 0);
    }
    100% {
        background: rgba(51, 122, 183, 0.7);
    }
}


/*.uwa-custom-bid::after{
  content: "Diamond";
}

.uwa-direct-bid::after{
  content: "Diamond";
    font-size: 12px;
}
*/
.uwa_inc_price_hint {
    display: none!important;
}

.woocommerce div.quantity {
    display: none;
}


/* Перенос сайдбара вверх на моб. устройствах*/
@media (max-width: 921px){
  .ast-left-sidebar #content>.ast-container{
      -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -webkit-flex-direction: row;
      -moz-box-orient: horizontal;
      -moz-box-direction: normal;
      -ms-flex-direction: row;
      flex-direction: row;
  }
}

.woocommerce-js div.product form.cart .button {
    margin-bottom: unset;
}

.woocommerce-result-count {
    display: none;
}