/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* DIGISELLER */
    
 /* Стили для контейнера отзывов */
.digiseller-reviews {
    /* Стили для контейнера отзывов */
    border: 0px solid #0090F4 !important;
    padding-top: 0px;
    color: #ffffff;
    font-size: 14px;
}
.digiseller-review {
    /* Стили для каждого отзыва */
    margin-bottom: -10px;
    background: #4c5159ba;
    padding: 10px 10px 0px;
    border-radius: 5px;
	line-height: 18px;
}
.digiseller-review .info {
	padding-bottom: 5px;
    font-size: 14px;
	color: rgb(255, 255, 255);
}

.digiseller-review-comment {
	padding: 0px;
}
.digiseller-review .date {
    font-size: 12px;
    font-weight: 500;
    color: #b8b8b8;
    margin-top: -5px;
    margin-bottom: 0;
}
span.bad-icon {
    font-size: 17px;
}
span.good-icon {
    font-size: 17px;
	line-height: 20px;
}
.good-icon::after { 
	content: "Дата: ";
    font-size: 12px;
    color: #b8b8b8;
    font-weight: 600; 
	padding-left: 5px;
}

/* Стили Карточки товар Digiseller digiseller.css */

.digiseller-info {
    /* Общие стили */
    /*font-style: italic; */}
/* Заголовок товара */
.digiseller-info.name {
  font-size: 17px;
    font-weight: 600;
    text-shadow: 1px 1px 1px #000000;
    color: #FFFFFF;
    display: flex;
    justify-content: center;}
.digiseller-image {
	border-radius: 5px 5px 5px 5px !important;
    box-shadow: 0 20px 30px -10px #26394D !important;
}
/* Цвет текста. если товар не доступен */
.digiseller_info_button p {
    color: #d5d5d5 !important;}
/* Имя продавца */
.digiseller-info.seller_name {
  font-weight: bold;
	font-size: 19px;
  color: #000000; }
/* Цена товара */
.digiseller-info.price {
  font-weight: bold;
	font-size: 29px;
    color: #000000 !important; }
/* Количество продаж */
.digiseller-info.statistics_sales {
    font-weight: 400;
	font-size: 14px;
  color: #000000; }
/* Количество возвратов */
.digiseller-info.statistics_refunds {
  font-weight: 400;
	font-size: 14px;
    color: #000000; }
/* Описание товара */
.digiseller-info.info {
  font-weight: 400;
	font-size: 12px;
  color: #020202; }
/* Дополнительное описание товара */
.digiseller-info.add_info {
  font-weight: 400;
	font-size: 12px;
  color: #020202; }
/* Стили для описания товара [CDATA]> */
.my-custom-info-text {
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 21px;
}
/* Стили для дополнительной информации [CDATA] */
.my-custom-add-info-text {
  padding-top: 5px;
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 21px;
}

/* Основное изображение товара */
.digiseller-gallery111 {
}
.digiseller-gallery111 a {
 text-decoration: none;
}
.digiseller-gallery111 img {
   width: 100%;
   height: 100%;
   border-radius: 5px 5px 5px 5px;
   box-shadow: 0px 20px 30px -10px #26394D;
}

/* ОТСТУПЫ СВЕРХУ И СНИЗУ */
@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}
/* Стили страницы товара для мобильных */
@media (max-width: 768px) {
    .site-content .ast-container {
        flex-direction: column;
        background: #ffffff;
        padding: 5px;
    }
}


/* Стили для изображений */
.digiseller-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center !important;
    padding-top: 10px;
}

.digiseller-gallery a {
  display: block;
  width: calc(50% - 5px); /* Два изображения в ряд на мобильных устройствах */
  margin-bottom: 10px;
  z-index: 1;
}
.digiseller-gallery img {
    width: 250px !important;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    max-height: 200px;
    border: 1px solid #676767;
    border-radius: 5px !important;
    transition: transform 0.3s ease;
    background-image: linear-gradient(180deg, #2e2f31, #000000, #2e2f31);
}

.digiseller-gallery img:hover {
    transform: scale(1.05);
}
@media (min-width: 768px) {
  .digiseller-gallery a {
    width: calc(25% - 10px); /* Четыре изображения в ряд на больших экранах */
  }
}


.product-container {
        display: flex;
        font-family: Arial, sans-serif;
        margin: 0px;
        }
    .product-details {
            flex: auto;
            display: flex;
            flex-direction: column;
            margin-right: 10px;
        }
        .product-images {
            display: flex;
            background: #6a717b;
            border-radius: 10px;
            padding: 10px;
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
        }
        .main-image {
            flex: 0 0 28%;
            
        }
        .main-image img {
          width: 250px;
          height: auto !important;
          border-radius: 5px !important;
          object-fit: contain;
          aspect-ratio: 1 / 1;
          background-image: linear-gradient(180deg, #2e2f31, #000000, #2e2f31);
        }
        .product-info {
            flex: 1;
			display: flex;
            flex-direction: column;
            justify-content: center;
			margin-left: 10px;
        } 
        .product-info h2 {
           font-size: 29px;
           text-transform: uppercase;
           margin-bottom: 10px;
           text-align: center;
           padding-left: 10px;
           padding-right: 10px;
           color: #fff;
        }
        .product-info-stat span {
          margin: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 7px;
    border-radius: 5px;
text-shadow: rgb(0, 0, 0) 1px 1px 1px
        }
        .product-info-stat {
          display: flex;
          margin-bottom: 10px;
          margin-top: 5px;
          flex-wrap: nowrap;
          justify-content: center;
          border-radius: 10px;
         margin: 10px;
         padding: 10px;
         background-image: linear-gradient(to left, #4a4f57, #6a717b, #4a4f57);
        }
        span.sales {
    background: linear-gradient(90deg, #000000, #00e612);
}
span.refunds {
    background: linear-gradient(90deg, #000000, #fc0203);
}
span.good-reviews {
    background: linear-gradient(90deg, #000000, #0898ff);
}
/* ТАБЫ */         
        .tab {
           display: flex;
           margin-bottom: 10px;
           margin-top: 10px;
           background: #6a717b;
           border-radius: 10px;
           padding: 5px;
        }
        .tab-link {
            flex: 1;
            text-align: center;
            cursor: pointer;
            padding: 5px;
            background: #4a4f57;
            margin: 5px;
            color: #fff;
            border-radius: 5px;
        }
        .tab-link.active {
            font-weight: bold;
   background-image: linear-gradient(to left, #2e2f31, #17cb04, #2e2f31);
   text-shadow: rgb(0, 0, 0) 0px 1px 1px;
            color: #ffffff;
        }
        .tab-link:hover {
           font-weight: 600;
           color: #ffffff;
    background-image: linear-gradient(to left, #2e2f31, #17cb04, #2e2f31);
        }
        .tab-content {
            width: 100%;
            background: #6a717b;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
        }
        div#tab-description h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: #fff;
        }
        div#tab-description p {
            font-size: 14px;
            font-weight: 500;
            line-height: 22px;
            margin-bottom: 10px;
            word-wrap: break-word;
            word-break: break-word;
            color: #fff;
        } 
        div#tab-additional_info h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: #fff;
        }
        div#tab-additional_info p {
            font-size: 14px;
            font-weight: 500;
            line-height: 22px;
            margin-bottom: 10px;
            color: #fff;
        }
        div#tab-reviews h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: #fff;
        }
/* САЙТБАР */
   .sticky-header-wrapper {
    flex: 0 0 25%;
   }
       .price-seller {

            padding: 10px;
            position: sticky;
            top: 10px;
            background: #6a717b;
            border-radius: 10px;
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
        }
        .price-seller p {
            margin-bottom: 5px;
            font-size: 13px;
            line-height: 17px;
            color: #fff;
			padding-left: 5px;
        }
.icon-columns {
    display: flex;
    justify-content: space-between; 
    margin: 0px;
}

.column {
    text-align: center;
    padding: 5px;
    border-radius: 7px;
    border: 1px solid #9399a0;
    margin: 2px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.icon {
    margin-bottom: 0px;
}

.icon img {
    width: 50px; /* Ширина иконки */
    height: auto; /* Высота иконки */
}
.price-seller h4 {
	text-align: center;
    margin-bottom: 10px;
    font-size: 25px;
    padding: 5px;
    color: #fff;
    border-radius: 5px;
    text-shadow: rgb(0, 0, 0) 0px 1px 1px;
    background-image: linear-gradient(to left, #4a4f57, #6a717b, #4a4f57);
}
/*KНОПКИ ТОВАРОВ*/
.digiseller-button {
    background-image: linear-gradient(to left, #4a4f57, #00ed12, #4a4f57);
    text-shadow: rgb(0, 0, 0) 1px 1px 1px;
    color: #fff !important;
    padding: 5px 10px;
    text-align: center;
    display: inline-block;
    font-size: 23px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    box-shadow: 0px 15px 25px -12px #4a4f57 !important;
    margin-bottom: 10px;
    margin-top: 10px;
 }
 .digiseller-button:hover {
    background: #4a4f57;
 }
.digiseller-button p {
    margin-top: -20px;
}  
.digiseller_info_button p {
    color: #898989;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    padding: 5px;
    margin-top: -10px;
}
/*Надпись С правилами покупки ознакомлен*/
.check-link-ds {

            color: white !important; /* Цвет текста по умолчанию */
            font-size: 12px; /* Размер текста */
            padding: 5px;
        }

        .check-link-ds:hover {
            color: #00ed12 !important;
        }

        .checkbox-icon-ds {
			font-size: 15px;
            margin-right: 5px; /* Отступ между иконкой и текстом */
        }
        img.checkbox-icon-ds {
            width: 30px;
            margin-top: -2px;
        }
/*МЕТОДЫ ОПЛАТЫ*/
.digiseller-payment-methods img.payment-method-icon {
    width: 29.8px;
    height: auto;
    margin: 2px;
    padding: 2px;
    border: 0px solid #ccc;
    border-radius: 3px;
    opacity: 1;
    background: #ffffff;
}
.digiseller-payment-methods {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0px;
    padding-top: 5px;
}
 /* СЕТКА СKИДKИ */
.product-info-discounts h4 {
    margin-top: 15px;
    font-size: 20px;
    color: #fff;
   text-shadow: rgb(0, 0, 0) 0px 1px 1px;
   padding-top: 7px;
}
.product-info-discounts p {
    margin-bottom: 10px;
}
.product-info-discounts table td, table th {
    padding: 12px;
    line-height: 5px;
    background: #4a4f57;
    border: 3px solid#4a4f57;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
table {
    margin-bottom: 10px;
}

/* настройки для мобильных */
@media (max-width: 768px) {
.product-images {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0;}
.main-image img {
    width: auto;
    margin-top: 20px;
    aspect-ratio: auto;}
.product-container {
     display: flex;
     width: 100%;
     flex-direction: column;
     align-items: center;
     margin-top: 20px;
     margin-bottom: 20px;}
.product-details {
    margin-right: 0px;}
.product-info h2 {
    font-size: 20px;
    margin-top: 10px;
}
.digiseller-gallery {
    margin: 10px;
}
.product-info {
    margin-left: 0px;
}	
}
@media (max-width: 1130px) {
  .product-container {
     display: flex;
     width: 100%;
     flex-direction: column;
     align-items: center;
     margin-top: 20px;
     margin-bottom: 30px;
  }
  .product-details {
    margin-right: 0px;}
  .price-seller {
    margin-top: 10px;}
}
@media (max-width: 375px) {
  .gallery {
      gap: 0px; 
  }
}
/* Табы для мобильных */
@media (max-width: 768px) {
div#tab-additional_info h3 {
    font-size: 16px;}
div#tab-description h3 {    
    font-size: 16px;}
div#tab-reviews h3 {
    font-size: 16px;}
.tabs {
    flex-direction: column;} 
}



/* Стили для уведомлений и сообщений ошибок API */
.wp-error-message {
    background-color: #00000061;
    color: #fff;
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    border-left: 4px solid #0090f4;
}
