/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


/* Таблица – компактен и чист стил */
.topknigi-shortdesc-book-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #000;
    margin-top: 10px;
}

.topknigi-shortdesc-book-table th,
.topknigi-shortdesc-book-table td {
    padding: 5px 6px;
    border-bottom: 1px solid #eee;
    line-height: 1.3;
    vertical-align: top;
}

.topknigi-shortdesc-book-table th {
    width: 110px;
    font-weight: 600;
    color: #000;
}

.topknigi-shortdesc-book-table td {
    color: #000;
}

/* Линкове само в таблицата */
.topknigi-shortdesc-book-table a {
    color: #1e4fa3;
    text-decoration: none;
    font-weight: 600;
}

.topknigi-shortdesc-book-table a:hover {
    color: #c59d5f;
    text-decoration: underline;
}

/* Кратко описание – черен и четим текст */
.woocommerce-product-details__short-description {
    font-family: Arial, sans-serif;
    color: #000;
}

/* Скриване на screen reader текст */
.product-quantity .screen-reader-text {
    display: none !important;
}


.topknigi-shortdesc-book-table th::after {
    content: ":";
    margin-left: 2px;
}

.topknigi-shortdesc-book-table th {
    text-transform: none !important;
    font-weight: 600;
    color: #000;
}

/* WooCommerce – Допълнителна информация */
.woocommerce-product-attributes th {
    text-transform: none !important;
    font-weight: 600;
    color: #000;
}

/* Добавя ":" след името */
.woocommerce-product-attributes th::after {
    content: ":";
    margin-left: 2px;
}

.woocommerce-product-attributes {
    font-size: 15px;
    line-height: 1.4;
}


.topknigi-shortdesc-book-table,
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.4;
    color: #000;
}

.topknigi-shortdesc-book-table th,
.woocommerce-product-attributes th {
    width: 150px;
    text-align: left;
    vertical-align: top;
    padding: 6px 10px 6px 0;
    font-weight: 600;
    color: #000;
}

.topknigi-shortdesc-book-table td,
.woocommerce-product-attributes td {
    text-align: left;
    vertical-align: top;
    padding: 6px 0;
    color: #000;
}

.woocommerce-product-attributes td,
.woocommerce-product-attributes th {
    color: #000 !important;
}

.topknigi-shortdesc-book-table th::after,
.woocommerce-product-attributes th::after {
    content: ":";
    margin-left: 2px;
}


.topknigi-shortdesc-book-table,
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px !important;
    line-height: 1.4 !important;
    color: #000 !important;
}

.topknigi-shortdesc-book-table th,
.topknigi-shortdesc-book-table td,
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    font-size: 15px !important;
    color: #000 !important;
    text-transform: none !important;
    vertical-align: top;
    padding: 6px 8px !important;
}

.topknigi-shortdesc-book-table th,
.woocommerce-product-attributes th {
    width: 150px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.topknigi-shortdesc-book-table th::after,
.woocommerce-product-attributes th::after {
    content: ":";
    margin-left: 2px;
}



/* === ОБЩ СТИЛ === */
.topknigi-shortdesc-book-table,
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.3;
    color: #000;
}

/* === РЕДОВЕ === */
.topknigi-shortdesc-book-table th,
.topknigi-shortdesc-book-table td,
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 5px 8px !important;
    vertical-align: middle;
    color: #000 !important;
}

/* === ЛЯВА КОЛОНА === */
.topknigi-shortdesc-book-table th,
.woocommerce-product-attributes th {
    width: 150px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

/* === ДЯСНА КОЛОНА === */
.topknigi-shortdesc-book-table td,
.woocommerce-product-attributes td {
    white-space: nowrap;
    text-align: left;
}

/* === ДЪЛГИ ТЕКСТОВЕ === */
.topknigi-shortdesc-book-table td:has(br),
.woocommerce-product-attributes td:has(br),
.topknigi-shortdesc-book-table td.long-text,
.woocommerce-product-attributes td.long-text {
    white-space: normal !important;
}

/* === ДОБАВЯ ":" === */
.topknigi-shortdesc-book-table th::after,
.woocommerce-product-attributes th::after {
    content: ":";
    margin-left: 2px;
}


.topknigi-stars {
    color: #f2b01e;
    font-size: 17px;
    letter-spacing: 2px;
    margin-left: 8px;
    white-space: nowrap;
}


.topknigi-stars {
    color: #f5b301;
    font-size: 16px;
    margin-left: 5px;
    cursor: default;
    transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.topknigi-stars:hover {
    text-shadow: 0 0 5px rgba(245, 179, 1, 0.7);
}


.topknigi-hidden-search-text {
    display: none !important;
}


.topknigi-quick-order-box {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #e2e2e2;
    background: #f8f8f8;
    border-radius: 6px;
}

.topknigi-quick-order-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.topknigi-info-icon {
    display: inline-block;
    margin-left: 5px;
    color: #2d4f8f;
    cursor: help;
    font-weight: 700;
}

.topknigi-quick-order-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.topknigi-quick-order-phone {
    flex: 1 1 170px;
    min-height: 38px;
    padding: 8px 10px;
}

.topknigi-quick-order-button {
    min-height: 38px;
    padding: 8px 18px;
    background: #2f5f9f;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
}

.topknigi-quick-order-button:hover {
    background: #244b7d;
}