/*!
Theme Name: karandash
Author: Anna Horpenko
Author URI: https://t.me/Anna_Belle_s
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: karandash.test
*/

.informations .row .form {
	max-width: 500px;
}
.informations .row .form form {
	width: 420px;
}

.schedule { margin-top: 16px; padding: 16px; border: 1px solid #eee; border-radius: 8px; }
.schedule h3 { margin: 0 0 10px; font-size: 1.1rem; text-align: center;}
.schedule .hours { list-style: none; margin: 0; padding: 0; }
.schedule .hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed #e6e6e6; }
.schedule .hours li:first-child { border-top: 0; }
.schedule .day { font-weight: 600; }
.schedule .time { font-variant-numeric: tabular-nums; }
.schedule .closed .time { color: #b23a3a; font-weight: 600; }

.page-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.page-text p {
  margin: 0 0 1.2em;
}

.page-text h2,
.page-text h3,
.page-text h4 {
  margin: 2em 0 1em;
  font-weight: 700;
  line-height: 1.3;
}

.page-text h2 { font-size: 1.6rem; }
.page-text h3 { font-size: 1.3rem; }
.page-text h4 { font-size: 1.1rem; }

.page-text ul,
.page-text ol {
  margin: 0 0 1.5em 1.5em;
  padding: 0;
}

.page-text ul li,
.page-text ol li {
  margin: 0.4em 0;
  line-height: 1.5;
}

.page-text ul li::marker {
  color: #444;
}

.page-text ol li::marker {
  font-weight: 600;
}

.page-text b,
.page-text strong {
  font-weight: 600;
  color: #000;
}

.page-text a {
  color: #0073aa;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.page-text a:hover {
  color: #005177;
}

.page-text span {
  font-weight: inherit;
  color: inherit;
}

.page-text img {
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
  display: block;
}

.page-text li{
	list-style: disc;
}
.page-text  ol {
	list-style: auto;
}
.page-text ul {
	list-style: auto;
}
.page-text li li{
	list-style: circle;
}
.page-content{
	margin: 40px 0;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1em;
  color: #222;
  text-align: left;
}
.header-bottom__menu li a {
	padding: 12px 15px;
}
.footer-about__us-text *{
	font-size: 12px;
}
.footer-socials__list .soc-links{
	margin: 20px auto;
}
/* планшети */
@media (max-width: 992px) {
  .page-title {
	font-size: 1.8rem;
  }
}

/* телефони */
@media (max-width: 576px) {
  .page-title {
	font-size: 1.5rem;
	margin-bottom: 0.8em;
  }
}



/* === Woo Reviews – компактні, читабельні, без зайвого === */

.woocommerce.woocommerce-Reviews {
  --wc-gap: 16px;
  --wc-gap-lg: 24px;
  --wc-radius: 10px;
  --wc-border: 1px solid rgba(0,0,0,.08);
  --wc-muted: rgba(0,0,0,.6);
  --wc-muted-2: rgba(0,0,0,.45);
  --wc-bg: #fff;
  --wc-bg-alt: #f7f7f8;
  --wc-focus: 0 0 0 3px rgba(60,130,246,.25);
  color: #111;
  font-size: 16px;
  line-height: 1.5;
}

/* Заголовок + стан */
.woocommerce-Reviews #comments {
  margin-bottom: var(--wc-gap-lg);
  padding: var(--wc-gap-lg);
  background: var(--wc-bg);
  border: var(--wc-border);
  border-radius: var(--wc-radius);
}

.woocommerce-Reviews-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.25;
  letter-spacing: -.01em;
}

.woocommerce-Reviews-title span {
  font-weight: 600;
}

.woocommerce-noreviews {
  margin: 8px 0 0;
  color: var(--wc-muted);
}

/* Обгортка форми */
#review_form_wrapper {
  margin-top: var(--wc-gap-lg);
}

#review_form {
  padding: var(--wc-gap-lg);
  background: var(--wc-bg);
  border: var(--wc-border);
  border-radius: var(--wc-radius);
}

/* Заголовок форми */
.comment-respond {
  margin: 0;
}

.comment-reply-title {
  display: block;
  margin: 0 0 var(--wc-gap);
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 600;
}

/* Рейтинг зі зірками */
.comment-form-rating {
  margin: 0 0 var(--wc-gap);
}

.comment-form-rating label {
  display: inline-block;
  margin: 0 0 6px;
  color: var(--wc-muted-2);
  font-size: 14px;
}

/* Відображення зірок Woo */
/* Woo додає .stars та посилання star-1..star-5; прихований select хай не заважає */
.comment-form-rating select { display: none; }

.comment-form-rating .stars {
  position: relative;
  display: inline-flex;
  gap: 6px;
  user-select: none;
}

.comment-form-rating .stars a {
  width: 22px;
  height: 22px;
  display: inline-block;
  text-indent: -9999px;
  overflow: hidden;
  border-radius: 4px;
  outline: none;
  position: relative;
}

.comment-form-rating .stars a::before {
  content: "★";
  text-indent: 0px;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #c8ccd0; /* неактивна */
  transition: transform .15s ease, color .15s ease;
}

.comment-form-rating .stars a:hover::before,
.comment-form-rating .stars a:focus-visible::before {
  transform: scale(1.05);
  color: #f5a524;
}

/* Активна (Woo ставить .active на поточну) */
.comment-form-rating .stars a.active ~ a::before { color: #c8ccd0; }
.comment-form-rating .stars a.active::before { color: #f5a524; }

/* Якщо Woo додає .selected на контейнер, підсвітимо всі до активної */
.comment-form-rating .stars.selected a::before { color: #f5d08a; }
.comment-form-rating .stars.selected a.active::before { color: #f5a524; }

/* Поле відгуку */
.comment-form-comment {
  margin: 0 0 var(--wc-gap);
}

.comment-form-comment label {
  display: block;
  margin: 0 0 6px;
  color: var(--wc-muted-2);
  font-size: 14px;
}

.comment-form-comment textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  background: var(--wc-bg);
  color: inherit;
  transition: box-shadow .15s ease, border-color .15s ease, background-color .15s;
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: #3c82f6;
  box-shadow: var(--wc-focus);
  background: #fff;
}

/* Сабміт */
.form-submit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: var(--wc-gap) 0 0;
}

.form-submit .submit,
#respond input[type="submit"] {
  appearance: none;
  border: 1px solid #ffe623;
  background: #ffe623;
  color: #000;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s;
}

.form-submit .submit:hover {
  background: #ffe623;
}

.form-submit .submit:active {
  transform: translateY(1px);
}

.form-submit .submit:focus-visible {
  outline: none;
  box-shadow: var(--wc-focus);
}

/* Хелпери/стани */
.woocommerce p.stars a { outline: none; }

.woocommerce .form-submit .required,
.woocommerce .comment-form-rating .required {
  color: #e03c3c;
}

/* Повідомлення / помилки WordPress */
.woocommerce .comment-notes,
.woocommerce .logged-in-as {
  margin: 0 0 var(--wc-gap);
  color: var(--wc-muted);
  font-size: 14px;
}

.woocommerce .error,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  margin: var(--wc-gap) 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--wc-bg-alt);
  color: inherit;
}

/* Список відгуків, якщо є */
.woocommerce #reviews #comments ol.commentlist {
  list-style: none;
  margin: 0 0 var(--wc-gap-lg);
  padding: 0;
}

.woocommerce #reviews #comments ol.commentlist li {
  padding: var(--wc-gap);
  border: var(--wc-border);
  border-radius: var(--wc-radius);
  background: var(--wc-bg);
}

.woocommerce #reviews #comments .comment_container {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
}

.woocommerce #reviews #comments .comment_container img.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* Заголовок відгуку */
.woocommerce #reviews #comments .meta {
  margin: 2px 0 8px;
  font-size: 13px;
  color: var(--wc-muted);
}

/* Рейтинг поряд із заголовком відгуку */
.woocommerce #reviews #comments .star-rating {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 14px;
}

/* Вміст відгуку */
.woocommerce #reviews #comments .description {
  color: #111;
}

/* Розділювачі між відгуками */
.woocommerce #reviews #comments ol.commentlist li + li {
  margin-top: 12px;
}

/* Адаптивність */
@media (max-width: 600px) {
  .woocommerce-Reviews #comments,
  #review_form { padding: 14px; }
  .woocommerce #reviews #comments .comment_container {
	grid-template-columns: 36px 1fr;
	gap: 10px;
  }
}

/* Теми, які відключають стиль Woo: страхуємо базову зіркову шкалу у списку відгуків */
.woocommerce .star-rating,
.woocommerce p.stars a { text-decoration: none; }
.woocommerce .star-rating {
  position: relative !important;
  display: inline-block !important;
  font-size: 16px !important; /* розмір зірки */
  line-height: 1 !important;
  width: 5.4em !important; /* під 5 зірок */
  height: 1em !important;
  overflow: hidden !important;
}

/* Сірі порожні зірки */
.woocommerce .star-rating::before {
  content: "★★★★★" !important;
  color: #d3d3d3 !important;
  position: absolute !important;
  top: 0; left: 0;
  white-space: nowrap;
}

/* Жовті активні зірки */
.woocommerce .star-rating span {
  display: block !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  height: 100% !important;
  position: relative !important;
}

.woocommerce .star-rating span::before {
  content: "★★★★★" !important;
  color: #f5a524 !important; /* активний колір */
  position: absolute !important;
  top: 0; left: 0;
}

/* Поля ім'я та email у формі відгуку */
.comment-form-author,
.comment-form-email {
  margin: 0 0 var(--wc-gap);
}

.comment-form-author label,
.comment-form-email label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--wc-muted-2);
}

.comment-form-author input,
.comment-form-email input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  background: var(--wc-bg);
  font-size: 15px;
  line-height: 1.4;
  color: #111;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s;
}

.comment-form-author input:focus,
.comment-form-email input:focus {
  outline: none;
  border-color: #ffe623;
  box-shadow: var(--wc-focus);
  background: #fff;
}
#comments{
	margin: 30px auto;
}

.product-main__info .stock {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  margin: 8px 0 12px 0;
}

/* В наявності */
.product-main__info .stock.in-stock {
  background-color: #e6f7ec;
  color: #237a3a;
  border: 1px solid #b5e1c2;
}

/* Під замовлення */
.product-main__info .stock.on-backorder {
  background-color: #fff8e6;
  color: #9c6f00;
  border: 1px solid #ffe5a3;
}

/* Немає в наявності */
.product-main__info .stock.out-of-stock {
  background-color: #fdecea;
  color: #d93025;
  border: 1px solid #f5c2c0;
}
/* Блок реквізитів у способі оплати */
.woocommerce-checkout .payment_box.payment_method_bacs {
  background: #f7f9fb;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #222;
}

/* Загальні відступи між рядками */
.woocommerce-checkout .payment_box.payment_method_bacs p {
  margin: 0;
}

/* Імʼя отримувача виділено */
.woocommerce-checkout .payment_box.payment_method_bacs p strong,
.woocommerce-checkout .payment_box.payment_method_bacs p:first-line {
  font-weight: 600;
  color: #111;
}

/* IBAN та коди — моноширинний */
.woocommerce-checkout .payment_box.payment_method_bacs p br + span,
.woocommerce-checkout .payment_box.payment_method_bacs p {
  font-family: 'Courier New', monospace;
}

/* Можна підсвітити IBAN окремо */
.woocommerce-checkout .payment_box.payment_method_bacs p {
  white-space: pre-line;
  line-height: 0.8em;
}

.woocommerce-error {
  background: #fdecea;           /* світло-червоний фон */
  border: 1px solid #f5c2c0;     /* рамка */
  color: #b71c1c;                /* насичений червоний текст */
  border-radius: 6px;
  padding: 14px 18px;
  margin: 20px 0;
  list-style: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Окремі пункти помилок */
.woocommerce-error li {
  margin: 6px 0;
  padding-left: 24px !important;
  position: relative;
  font-size: 15px;
  line-height: 1.4;
}

/* Іконка/маркер зліва */
.woocommerce-error li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  top: 0;
  color: #d93025;
  font-weight: bold;
  font-size: 26px;
  margin-top: -9px;
}
.product-info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.product-info-links .info-link {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  padding: 8px 10px;
  border-radius: 6px;
  transition: all .2s ease;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-categories, .footer-information {
      width: 25%;
      padding: 0 20px;
  }

}
@media (max-width: 560px) {
    .contact-button {
        bottom: 75px;
    }
}
.product-info-links .info-link:hover {
  background: #f5f5f5;
  color: #000;
  border-color: #bbb;
}