/* =============================================
   BeeBeauty — Вкладки карточки товара
   ============================================= */

/* Вкладки навигации */
.woocommerce-tabs ul.tabs {
    padding: 0;
    border-bottom: 2px solid #E8E0D8;
}

.woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    border-radius: 0;
}

.woocommerce-tabs ul.tabs li a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #A89880;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 20px;
}

.woocommerce-tabs ul.tabs li.active {
    border-bottom: 2px solid #CDB79E;
    background: transparent;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #2B211C;
}

.woocommerce-tabs ul.tabs li a:hover {
    color: #2B211C;
}

/* Контент вкладок */
.woocommerce-tabs .panel {
    padding: 24px 0 0;
}

/* =============================================
   Таблица характеристик
   ============================================= */

.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.woocommerce-product-attributes tr {
    border-bottom: 1px solid #F0EAE4;
}

.woocommerce-product-attributes tr:last-child {
    border-bottom: none;
}

.woocommerce-product-attributes th {
    width: 40%;
    padding: 12px 16px;
    font-weight: 500;
    color: #A89880;
    text-align: left;
    vertical-align: top;
    background: transparent;
}

.woocommerce-product-attributes td {
    padding: 12px 16px 12px 0;
    color: #2B211C;
    font-weight: 400;
    text-align: right;
    background: transparent;
}

.woocommerce-product-attributes td p {
    margin: 0;
}

.woocommerce-product-attributes tr:first-child th,
.woocommerce-product-attributes tr:first-child td {
    padding-top: 16px;
}

/* =============================================
   Статус наявності
   ============================================= */

.woocommerce div.product .stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* В наявності — прибираємо смайл, ставимо галочку */
.woocommerce div.product .stock.in-stock {
    color: #5a9e6f;
}

.woocommerce div.product .stock.in-stock::before {
    content: '✓';
    font-size: 15px;
    font-weight: 700;
    color: #5a9e6f;
    line-height: 1;
}

/* Немає в наявності */
.woocommerce div.product .stock.out-of-stock {
    color: #b05050;
}

/* =============================================
   Відгуки (Reviews)
   ============================================= */

/* Зірки — колір */
.woocommerce .star-rating span,
.woocommerce .star-rating::before,
.woocommerce p.stars a,
.woocommerce p.stars a:hover,
.woocommerce p.stars a::before {
    color: #CDB79E;
}

.woocommerce p.stars a.active::before,
.woocommerce p.stars a:hover ~ a::before,
.woocommerce p.stars.selected a.active ~ a::before {
    color: #E8E0D8;
}

/* Форма відгуку */
.woocommerce #reviews #reply-title,
.woocommerce #reviews .comment-reply-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2B211C;
}

.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"],
.woocommerce #review_form #respond textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #2B211C;
    border: 1px solid #E8E0D8;
    border-radius: 6px;
    padding: 10px 14px;
    background: #fff;
    box-shadow: none;
    transition: border-color 0.2s;
}

.woocommerce #review_form #respond input[type="text"]:focus,
.woocommerce #review_form #respond input[type="email"]:focus,
.woocommerce #review_form #respond textarea:focus {
    border-color: #CDB79E;
    outline: none;
}

.woocommerce #review_form #respond input[type="submit"] {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    background: #2B211C;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 28px;
    cursor: pointer;
    transition: background 0.2s;
}

.woocommerce #review_form #respond input[type="submit"]:hover {
    background: #CDB79E;
}

/* Список відгуків */
.woocommerce #reviews .commentlist li .comment-text {
    border: 1px solid #F0EAE4;
    border-radius: 8px;
    padding: 16px 20px;
    background: #fff;
}

.woocommerce #reviews .commentlist li .meta strong {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #2B211C;
}

.woocommerce #reviews .commentlist li .meta time {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #A89880;
}

.woocommerce #reviews .commentlist li .description p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #2B211C;
    line-height: 1.6;
}

/* Лінк "verified owner" */
.woocommerce #reviews .commentlist li .woocommerce-review__verified {
    color: #5a9e6f;
    font-size: 12px;
}

/* Аватар */
.woocommerce #reviews .commentlist li img.avatar {
    border-radius: 50%;
    border: 2px solid #E8E0D8;
}

/* =============================================
   Адаптив — мобільна версія
   ============================================= */

@media (max-width: 768px) {
  h1.product_title.entry-title {
    font-size: 1.3rem;
  }
}
