/*
 Theme Name:   JagaStore theme
 Theme URI:    https://jagannath.kz/jagastyle/
 Description:  Дочерняя тема Storefront
 Author:       Ganesha3
 Author URI:   https://jagannath.kz
 Template:     storefront
 Version:      1.0.0
 Text Domain:  storefront-child
 */

/* Подключаем стили родительской темы */



@import url("../storefront/style.css");

/* Ваши стили */

    @font-face {
    font-family: 'microgramma';
    src: url('fonts/microgramma.woff2') format('woff2'),
    url('fonts/microgramma.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    }

    @font-face {
    font-family: 'museo';
    src: url('fonts/museo.woff2') format('woff2'),
    url('fonts/museo.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    }

/* ==========================================================
   Заголовки сайта (h1-h6) с высокой специфичностью
   ========================================================== */

/* Для всех заголовков внутри контента сайта */
/* Все h1 заголовки продуктов */
h1.product_title.entry-title,
.woocommerce-loop-product__title {
    font-family: 'museo', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 6vw, 36px);
    color: #43454B;
    text-align: center;
}




.widget_nav_menu ul li::before {
  display:none
}

.site-info
{
  display:none
}

.site-header {
  background-color: #ffffff;
}

.site-footer {
  background-color: #E88E4C;
}















/* Общие стили для кнопок */
button,
.button,
.btn,
.wp-block-button__link,
input[type="submit"],
.wc-block-components-checkout-place-order-button__text,
.wc-block-components-checkout-place-order-button.contained,
.woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward,
.wc-block-cart__submit-button,
.button.wc-forward,
.storefront-sticky-add-to-cart__content-button,
.woocommerce .single-product .single_add_to_cart_button, /* Добавлено */
.added_to_cart.wc-forward, /* Добавлено */
.button.checkout.wc-forward, /* Добавлено */
.woocommerce-mini-cart__buttons.buttons a.button.wc-forward,
.button.alt
{
    background-color: #94BD45;
    color: white;
    border: none; /* Добавлено */
    padding: 10px 20px; /* Добавлено */
    text-align: center; /* Добавлено */
    font-size: 16px; /* Добавлено */
    cursor: pointer; /* Добавлено */
    outline: none; /* Добавлено */
}

/* Стили при наведении */
button:hover,
.button:hover,
.btn:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
.woocommerce-mini-cart__buttons.buttons a.button.wc-forward:hover,
.woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:hover,
.wc-block-components-checkout-place-order-button__text:hover,
.wc-block-components-checkout-place-order-button.contained:hover,
.added_to_cart.wc-forward:hover,
.wc-block-cart__submit-button:hover,
.button.wc-forward:hover,
.add_to_cart_button:hover,
.woocommerce-product-search .search-field:hover,
.woocommerce-product-search button:hover,
.woocommerce .single-product .single_add_to_cart_button:hover,
.button.alt:hover
{
    background-color: #D5D5D5;
    color: white;
}

/* Стили для текста внутри кнопки "Размещение заказа" */
.wc-block-components-checkout-place-order-button__text {
    background-color: transparent;
    padding: 0;
    margin: 0;
    display: inline;
}

/* Стили при наведении для текста "Размещение заказа" */
.wc-block-components-checkout-place-order-button__text:hover {
    background-color: transparent;
}

.wc-block-components-checkout-place-order-button.contained:hover .wc-block-components-checkout-place-order-button__text {
    color: white;
}


/* Стили для кнопки "Перейти к оформлению заказа" */
div.wc-block-cart__submit-container .wc-block-cart__submit-button.contained {
    background-color: #8BB141;
    color: white;
}

/* Стили при наведении */
div.wc-block-cart__submit-container .wc-block-cart__submit-button.contained:hover {
    background-color: #D5D5D5;
    color: white;
}

/* Убираем рамку фокуса для формы поиска и кнопок */
.woocommerce-product-search .search-field:focus,
.woocommerce-product-search button:focus,
.add_to_cart_button:focus,
.wc-forward:focus,
.wc-tabs:focus,
.product-category:focus,
.product:focus,
.site-branding:focus
 {
    outline: none;
}

/* Убираем рамку фокуса для элементов меню */
.primary-navigation ul li a:focus {
    outline: none;
}

/* Скрываем блоки на главной странице */
.storefront-product-categories,
.storefront-recent-products,
.storefront-popular-products,
.storefront-best-selling-products,
.storefront-woocommerce-brands {
    display: none;
}

.woocommerce-message
{
background-color: #3C6B62;
}

* {
    outline-color: #7F54B3;
    outline: none;
    border-color: #7F54B3;
    border: none;
}

button:active, input:active, textarea:active {
    outline: none;
    border: none;
}

button:focus, input:focus, textarea:focus {
    outline: none;
    border: none;
}

button, input[type="text"], input[type="email"], input[type="password"], textarea {
    outline: none;
    border: none;
}


/* Главный заголовок на главной странице */
.wp-block-heading-main,
.summary.entry-summary > h1.product_title.entry-title {
    /* оставляем шрифт музео */
    font-weight: 600 !important; /* можно изменить жирность */
    font-size: clamp(24px, 6vw, 36px) !important; /* адаптивный размер */
    line-height: 1.2 !important;
    word-break: break-word !important; /* перенос длинных слов */
    hyphens: auto !important; /* автоматические переносы слов */
    margin-bottom: 0.5em !important;
    text-align: center !important; /* по центру */
}


