/*
Theme Name: ankebio3
Author: <a href="http://rursul.ru">Ursul Roman Mihailovich</a>
Description: base wp theme
Version: 1.0
*/

.screen-reader-response,
form .wpcf7-response-output,
form .wpcf7-not-valid-tip,
form .wpcf7-mail-sent-ok {
  display: none !important;
}
form .wpcf7-not-valid:not(.wpcf7-checkbox) {
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px #c00;
}

.clear {
    clear: both;
}

.ajax-loader {
	display: none !important;
}

input[type="submit"]:disabled {
    filter:         url(~"data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    -moz-filter:    grayscale(100%);
    -ms-filter:     grayscale(100%);
    -o-filter:      grayscale(100%);
    filter: gray;
    cursor: not-allowed;
}


.bfw_user_account_content h2{
    margin-bottom: 20px;
    font-size: 20px;
}
.bfw_user_account_content h3{
    margin-top: 20px;
margin-bottom: 14px;
font-size: 18px;}

.bfw_user_account_content .clear_history{
    background: red;
    border-radius: 5px;
    padding: 5px 10px;
    display: inline-block;
    color: white;
    margin-bottom: 10px;
}
.bfw_user_account_content  .take_coupon_form{
    align-items: center;
}
.bfw_user_account_content  .take_coupon_form .input-text {
    max-width: 135px;
}

#billing_country_field {
    display: none !important;
}
#bfw-progressbar {
    margin-top: 7px;
}
.addon-refferal-idUser{
    display: none;
}
 .article .bfw-write-off-block *:not(.woocommerce-error):last-child{
    padding-bottom: 10px !important;
}
.header .header_top_df .right_links_df a i.i-coin {
    background: url(i/i-coin.svg) center center no-repeat;
    background-size: contain;
}
@media (max-width: 1101px) {
    .header .header_top_df .right_links_df a i.i-coin {
        background: url(i/i-coin-w.svg) center center no-repeat;
        background-size: contain;
    }

}


/*
.postid-54249276 #tab-6,
.postid-3122 #tab-6{
    display: none !important;
}
*/
.shop_manager #wp-admin-bar-new-content  {
    display: none !important;
}

.banner_top {
    border-radius: 3px;
    margin-bottom: 10px;
    font-size: 18px;
    padding: 20px;
    background: #61c9f5;
    min-height: 100px;
    justify-content: space-between;
    align-items: center;
}

.banner_top span {
    line-height: 1.5em;
    display: block;
}

@media screen and (max-width: 768px){
    .banner_top {
        margin-top: 5px;
        font-size: 14px;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 5px;
        padding: 10px;
        text-align: center;
    }
    .banner_top .btn_wr {
        padding-top: 10px;
    }
}
.woocommerce-checkout .create-account{
	display:none
}
.woocommerce-checkout .woocommerce-error::before,
.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before {
   position:inherit
}


/* ===== Aurora Reviews Theme ============================================ */
.woocommerce-Reviews {
  --aurora-bg: #ffffff;
  --aurora-text: #1e293b;
  --aurora-muted: #6b7280;
  --aurora-line: linear-gradient(180deg, #8ec5ff 0%, #b6f3c8 100%);
  --aurora-bd: #e5e7eb;
  --aurora-focus: rgba(24, 144, 255, .18);
  --aurora-star: #ff6518;
  --aurora-star-off: #d1d5db;
  --aurora-chip: #5c92c6;
}

/* Заголовок блока */
.woocommerce-Reviews-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--aurora-text);
  margin: 0 0 14px;
}

/* Плашка «нет отзывов» */
.woocommerce-noreviews {
  padding: 14px 16px!important;
  border: 1px dashed var(--aurora-bd);
  border-radius: 14px;
  color: var(--aurora-muted);
  background:
    radial-gradient(1200px 1200px at -10% -10%, rgba(142,197,255,.12) 0%, transparent 40%),
    radial-gradient(900px 900px at 120% 120%, rgba(182,243,200,.12) 0%, transparent 35%);
}

/* ===== Список отзывов (когда они есть) ================================== */
.commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.commentlist > li {
  margin: 0;
}

/* Контейнер отзыва в стиле «timeline» */
.commentlist .comment_container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--aurora-bd);
  border-radius: 16px;
  background: var(--aurora-bg);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.commentlist .comment_container::before {
  content: "";
  position: absolute;
  left: -1px; top: 10px; bottom: 10px;
  width: 4px;
  border-radius: 8px;
  background: var(--aurora-line);
  opacity: .9;
}
.commentlist .comment_container:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(2, 6, 23, .06);
  border-color: #dbe3ea;
}

/* Аватары — круглые; скрыть дефолтные */
.commentlist .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f3f4f6;
}
.commentlist img.avatar[src*="d=mm"],
.commentlist img.avatar[src*="d=identicon"] {
  display: none;
}

/* Текст отзыва */
.commentlist .comment-text { min-width: 0; }

/* Метаданные (автор, дата) */
.commentlist .comment-text .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 6px 0 10px;
  font-size: 14px;
  color: var(--aurora-muted);
}
.woocommerce-review__author {
  font-weight: 700;
  color: var(--aurora-text);
  background: rgba(14,165,233,.08);
  padding: 2px 8px;
  border-radius: 999px;
}
.woocommerce-review__published-date {
  opacity: .9;
}

/* Текст */
.commentlist .description p {
  margin: 0;
  color: var(--aurora-text);
  line-height: 1.55;
}

/* ===== Универсальные звезды (.star-rating) ============================== */
.star-rating {
  position: relative;
  display: inline-block;
  font-size: 0;
  width: 105px;   /* 5*21 */
  height: 21px;
  line-height: 21px;
}
.star-rating::before,
.star-rating span::before {
  content: "★★★★★";
  font-size: 19px;
  letter-spacing: 1px;
}
.star-rating::before { color: var(--aurora-star-off); }
.star-rating span {
  position: absolute; bottom: 3px;
    left: 0;
}
.star-rating span::before { color: var(--aurora-star); }

/* ===== Форма отзыва ===================================================== */
#review_form_wrapper { margin-top: 18px; }
#respond.comment-respond {
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid var(--aurora-bd);
  border-radius: 16px;
  background:
    radial-gradient(1000px 1000px at 100% 0%, rgba(142,197,255,.08) 0%, transparent 40%),
    radial-gradient(1000px 1000px at 0% 100%, rgba(182,243,200,.08) 0%, transparent 40%),
    #fff;
}

/* Заголовок формы */
#respond .comment-reply-title {
  display: block;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--aurora-text);
}

/* Сетка полей */
#respond .comment-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  #respond .comment-form {
    grid-template-columns: 1fr 1fr;
  }
  #respond .comment-form .comment-form-comment,
  #respond .comment-form .form-submit,
  #respond .comment-form .comment-form-rating {
    grid-column: 1 / -1;
  }
}

/* Поля */
#respond .comment-form label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--aurora-muted);
}
#respond input[type="text"],
#respond input[type="email"],
#respond textarea,
#respond select {
  width: 100%;
  border: 1px solid var(--aurora-bd);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}
#respond textarea { min-height: 120px; resize: vertical; }
#respond input:focus,
#respond textarea:focus,
#respond select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px var(--aurora-focus);
}

/* Кнопка */
#respond .form-submit { margin-top: 4px; }
#respond .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  
  border: 1px solid transparent;
  background: var(--aurora-chip);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .06s ease, filter .15s ease, box-shadow .15s ease;
}
#respond .submit:hover { filter: brightness(1.05); }
#respond .submit:active { transform: translateY(1px); }

/* ===== Виджет рейтинга при вводе (пять ссылок) ========================= */

/* Скрыть селект Woo */
#rating {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
}

/* Контейнер звёзд */
.comment-form-rating {
  margin-top: 6px;
}
.comment-form-rating .stars {
  display: inline-flex;
  gap: 8px;
  user-select: none;
  margin-left: 10px;
}

/* Кнопки-звезды как «чипы» */
.comment-form-rating .stars a {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 12px;
  border: 1px solid var(--aurora-bd);
  background: #fff;
  text-indent: -9999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .08s ease, border-color .15s ease, box-shadow .15s ease;
}
.comment-form-rating .stars a::before {
  content: "★";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 18px;
  color: var(--aurora-star-off);
  text-indent: 0px;
}

/* hover/focus */
.comment-form-rating .stars a:hover,
.comment-form-rating .stars a:focus {
  transform: translateY(-1px);
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(2, 6, 23, .08);
}
.comment-form-rating .stars a:hover::before,
.comment-form-rating .stars a:focus::before {
  color: var(--aurora-star);
}

/* выбранное значение (Woo добавляет .selected и .active) */
.comment-form-rating .stars.selected a::before,
.comment-form-rating .stars .active::before {
  color: var(--aurora-star);
}
.comment-form-rating .stars.selected a.active ~ a::before {
  color: var(--aurora-star-off);
}

/* «Вы вошли как …» */
#respond p.logged-in-as {
  margin: 0 0 6px;
  color: var(--aurora-muted);
}
#respond p.logged-in-as a {
  color: #0ea5e9;
  text-decoration: none;
}
#respond p.logged-in-as a:hover { text-decoration: underline; }


.comment-form-display-name small{
    font-size: 10px;
    font-style: italic;
}
