/*!
Theme Name: Glassberry North
Theme URI: https://glassberry.com.ua/
Template: siteorigin-north
Author: Serhii Filippov
Author URI: https://glassberry.com.ua/
Text Domain: glassberry_north
Version: 1.0.7
*/

/*------------------------------------------------------------------------*\

    Колір радіокнопок

\*------------------------------------------------------------------------*/

input[type="radio"] {
    accent-color: #ED263B;
}

/*------------------------------------------------------------------------*\

    Колір Scroll to top icon

\*------------------------------------------------------------------------*/

#scroll-to-top {
    background: rgba(0, 128, 112, 0.65);
}

/*------------------------------------------------------------------------*\

    Вигляд головного меню

\*------------------------------------------------------------------------*/


.main-navigation ul > li a {
    font-size: 18px;
}

/*------------------------------------------------------------------------*\

    Картки товарів на сторінках архівів

\*------------------------------------------------------------------------*/

.woocommerce ul.products li.product {
    outline: 1px solid transparent;
    outline-offset: 6px;
    transition: outline-color 0.25s ease;
}

.woocommerce ul.products li.product:hover {
    outline-color: #D5E6E4;
}

/*------------------------------------------------------------------------*\

    Поле пошуку в шапці сайту

\*------------------------------------------------------------------------*/

#header-search .aws-wrapper {
    border: 2px solid #008070;
    border-radius: 6px !important;
    background: #FFFFFF;
    overflow: hidden;
}

#header-search input[type="search"] {
    padding: 0 25px;
    background: #FFFFFF;
    color: #ED263B;
/*    border: 1px solid #008070;
    border-radius: 6px !important;*/
    height: 48px;
}

#header-search input[type="search"]::placeholder {
    color: #008070;
}

/*------------------------------------------------------------------------*\

    Виправлення багу перекривання
    поля пошуку карткою з результатами

\*------------------------------------------------------------------------*/

@media (min-width: 1025px) {
    .aws-search-result {
        transform: translateY(60px);
    }
}

/*------------------------------------------------------------------------*\

    Відображення характеристик товару

\*------------------------------------------------------------------------*/

.woocommerce-product-attributes-item th {
    text-align: right;
}

.woocommerce table.shop_attributes td {
    font-style: normal;
}

.woocommerce table.shop_attributes th {
    padding-right: 24px;
}

/*------------------------------------------------------------------------*\

    Лічильник кількості відображуваних товарів

\*------------------------------------------------------------------------*/

.woocommerce .woocommerce-result-count {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

/*------------------------------------------------------------------------*\

    Кнопка "Видалити з кошика"

\*------------------------------------------------------------------------*/

.woocommerce table.shop_table .remove {
    background: #EDCCCF;
}

.woocommerce table.shop_table .remove:hover {
    background-color: #ED263B;
}

/*------------------------------------------------------------------------*\

    Кнопки на сторінці кошика

\*------------------------------------------------------------------------*/

.woocommerce table.shop_table th {
    text-transform: none;
}

.woocommerce table.shop_table .coupon button[name="apply_coupon"],
.woocommerce table.shop_table button[name="update_cart"],
.woocommerce table.shop_table a.button-continue-shopping,
.woocommerce table.shop_table .button.checkout-button {
    border-radius: 4px;
}

.woocommerce table.shop_table .coupon button[name="apply_coupon"],
.woocommerce table.shop_table button[name="update_cart"],
.woocommerce table.shop_table a.button-continue-shopping {
    color: #008070;
    border-color: #008070;
}

/*------------------------------------------------------------------------*\

    Значки на кнопках

\*------------------------------------------------------------------------*/

/* Додати купон */

.woocommerce table.shop_table .coupon button[name="apply_coupon"]::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f02b";
    margin-right: 8px;
}

/* Оновити кошик */

.woocommerce button[name="update_cart"]::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f021";
    margin-right: 8px;
}

/* Продовжити покупки */

.woocommerce .button-continue-shopping::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f060";
    margin-right: 8px;
}

/*------------------------------------------------------------------------*\

    Кнопки на міні-картці кошика

\*------------------------------------------------------------------------*/

/* 1. Заокруглення — для всіх кнопок обох кошиків */
#cart-drop .woocommerce-mini-cart__buttons .button,
.widget_shopping_cart .widget_shopping_cart_content .buttons a {
    text-transform: none;
    border-radius: 4px;
}

/* 2. Колір і рамка для "Переглянути кошик" (кнопка без класу .checkout) */
#cart-drop .woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout),
.widget_shopping_cart .widget_shopping_cart_content .buttons a.button.wc-forward:not(.checkout) {
    color: #008070;
    border-color: #008070;
}

/* 3. Білий текст при наведенні на "Переглянути кошик" */
#cart-drop .woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout):hover,
.widget_shopping_cart .widget_shopping_cart_content .buttons a.button.wc-forward:not(.checkout):hover {
    color: #FFFFFF;
    border-color: transparent;
}

/* Колір назв товарів */
#cart-drop .mini_cart_item a:not(.remove),
.widget_shopping_cart .widget_shopping_cart_content .cart_list .mini_cart_item a:not(.remove) {
    color: #008070;
}

/* Хрестик */
#cart-drop .mini_cart_item a.remove,
.widget_shopping_cart .widget_shopping_cart_content .cart_list .mini_cart_item .remove {
    color: #EDCCCF !important;
}

#cart-drop .mini_cart_item a.remove:hover,
.widget_shopping_cart .widget_shopping_cart_content .cart_list .mini_cart_item .remove:hover {
    color: #ED263B !important;
}

/*------------------------------------------------------------------------*\

    Назва товару в блоках Gutenberg

\*------------------------------------------------------------------------*/

.wc-block-grid__product .wc-block-grid__product-title {
    font-family: 'Comfortaa', display, sans-serif;
    font-size: 14.4px;
    font-weight: 400;
    line-height: 23.04px;
    color: #008070;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
    padding: 7.2px 0;
    display: block;
}

/* Базовий стан лінк-обгортки картки */
.wc-block-grid__product .wc-block-grid__product-link {
    color: #008070;
    text-decoration: none;
}

/* Hover/focus: і сам лінк, і назва товару підсвічуються акцентним червоним */
.wc-block-grid__product .wc-block-grid__product-link:hover,
.wc-block-grid__product .wc-block-grid__product-link:focus {
    color: #ED263B;
    text-decoration: none;
}

.wc-block-grid__product .wc-block-grid__product-link:hover .wc-block-grid__product-title,
.wc-block-grid__product .wc-block-grid__product-link:focus .wc-block-grid__product-title {
    color: #ED263B;
}