
/*Стилі для повідомлення при додавані в кошик*/
.woocommerce-message {
    display: flex;             
    align-items: center;      
    justify-content: flex-start; 
    flex-wrap: wrap;           
    gap: 10px;                
}

.woocommerce-message a.button {
    flex-shrink: 0;             
    white-space: nowrap;       
}


/*Випадаюче меню кошика*/
.woocommerce-mini-cart-item.mini_cart_item > a:not(.remove) {
    display: flex;               
    align-items: flex-start;
    gap: 10px;                   
    text-align: left;            
    margin-bottom: 15px;        
}

/* Картинка */
.woocommerce-mini-cart-item.mini_cart_item > a:not(.remove) img {
    flex: 0 0 auto;              
    width: 45px;
    height: 45px;
    display: block;
}

/* Текст після картинки */
.woocommerce-mini-cart-item.mini_cart_item > a:not(.remove) img + * {
    flex: 1 1 auto;              
    word-wrap: break-word;       
}


/*Кнопки*/

.woocommerce-mini-cart__buttons.buttons {
    display: flex;
    margin: 0;
    padding: 0;
}

.woocommerce-mini-cart__buttons.buttons a.button + a.button {
    margin-left: 10px !important; 
}


.woocommerce-mini-cart__buttons.buttons a.button {
    display: flex !important;        
    justify-content: center !important; 
    align-items: center !important;     
    text-align: center !important;      
    padding-left: 10px !important;      
    padding-right: 10px !important;
    white-space: normal !important;     
    overflow-wrap: normal !important;   
    word-break: normal !important;      
    line-height: 1.4 !important;        
    margin: 15px 0 !important;          
    box-sizing: border-box !important;
    font-size: 14px!important;
}

/*Блок акцій і новинок*/
.feature-promo .single-unit {
    display: flex;
    flex-direction: column; 
    height: 100%;          
}

.feature-promo .page-details {
    display: flex;
    flex-direction: column;
    flex: 1;               
}

.feature-promo .slider-buttons {
    margin-top: auto;       
}


.feature-promo .page-details .title {
    width: fit-content;
    background-color: rgba(255,255,255,0.8);
    padding: 3px 6px;
}

/*Затемнення фону слайдера*/
.no-media-query .slide-title a:hover,
.no-media-query .slider-buttons a:hover {
    color: #fff;
    text-shadow: 2px 2px 4px #2d2d2d;
}

.no-media-query {
  position: relative;
  overflow: hidden;
}

.no-media-query::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
  z-index: 0; 
  pointer-events: none;
}

.no-media-query .at-overlay {
  pointer-events: none;
}

.no-media-query .slider-desc {
  z-index: 1; 
}

.no-media-query .slide-title a,
.no-media-query .slider-buttons a {
  cursor: pointer;
  position: relative;
  z-index: 2; 
}

.no-media-query:has(.slide-title a:hover)::before,
.no-media-query:has(.slider-buttons a:hover)::before {
  background: rgba(0,0,0,0.4);
}

/*Головна сторінка*/

/*Горизонтальна полоска*/
.at-title-action-wrapper::before, .page-header .page-title::before {
	border-bottom: 2px solid #1d1c22!important;
}

/*Зміна кольору посилань*/
span.product-title, span.yith-wcwl-add-to-wishlist-button__label, span a {
	color: #074d73;
}

/* header-left зліва, header-right справа */
.top-header-wrapper .wrapper {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 20px; 
}


/*Стилі для перемикачів мов*/
.header-right {
    display: flex;
    align-items: center;
    gap: 15px; 

}

.header-right .lang-switcher-inline,
.header-right .lang-switcher-inline a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none;
    color: #333;
}

.header-right .lang-switcher-inline a.current_language {
    background: #000;
    color: #fff !important;
    border-radius: 4px;
    padding: 4px 8px;
}
