/*!
Theme Name: Yangoli theme
Theme URI: 
Author: Yangoli
Description: Description
Version: 1.0.0
*/

.woocommerce-order-received .d-banner__title{
	display: none;
}

.language-switcher{
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 16px;
	list-style: none;
	margin: 0;
}

.language-switcher li, .language-switcher li a{
	font-size: 20px;
	line-height: 100%;
}

.language-switcher li.active a {
	font-weight: bold;
	color: #000;
}

.language-switcher li:not(.active) a {
	color: #666;
}

.product-card .image .tags{
	display: flex;
	align-items: center;
	column-gap: 0.5rem;
	position: absolute;
    top: 1rem;
    left: 1rem;
}

.product-card .image .tag{
	position: initial;
}

.product-card .image .tag.tag-sale{
	background: #dc3232;
	color: #fff;
}

.news-post img{
  margin-bottom: 1.375rem;
	max-width: 100%;
	height: auto;
}

.news-post  ul{
	padding-left: 1.5rem;
}

.home-news .news-item h3 {
    line-height: 124%;
}

.news-post h3 {
    font-size: 2rem;
}

.news-post h2 + .wp-caption{
	margin-top: 1rem;
}

.wp-caption{
	max-width: 100%;
	width: 100% !important;
}

.news-post table {
	width: 100%;
	border-collapse: collapse;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-radius: 0.5rem;
	overflow: hidden;
	margin-bottom: 1.375rem;
}

.news-post table th {
	background-color: #401a4c;
	color: white;
	padding: 1rem;
	text-align: left;
}

.news-post table td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #f0f0f0;
}

.news-post table tr:nth-child(even) {
	background-color: #f8f8f8;
}

.mobile-table table,
        .mobile-table thead,
        .mobile-table tbody,
        .mobile-table th,
        .mobile-table td,
        .mobile-table tr {
            display: block;
			box-shadow: none;
        }
        
        .mobile-table thead tr {
            display: none;
        }
        
        .mobile-table tr {
            margin-bottom: 5px;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 5px;
            background-color: #fff;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

.mobile-table tr td:last-child{
	border-bottom: 0;
}
        
        .mobile-table td {
            display: flex;
            justify-content: flex-start;
			flex-direction: column;
            padding: 5px 5px;
            border: none;
        }
        
        .mobile-table td::before {
            content: attr(data-label);
            font-weight: bold;
            color: #333;
			width: 100%;
            margin-right: 0.75rem;
			flex-shrink: 0;
        }

.tablepress>:where(thead)+tbody>:where(:not(.child))>*, .tablepress>tbody>*~:where(:not(.child))>*, .tablepress>tfoot>:where(:first-child)>* {
    border-top:0 !important;
}


@media screen and (max-width: 992.98px) {
.home-news .category-list {
    gap: .875rem;
    flex-wrap: wrap;
}
	.home-news .flex-top {
    align-items: flex-start;
}
}

@media screen and (max-width: 767.98px) {
	.language-switcher li a {
		font-size: 16px;
	}
	.header .logo img {
		width: 8.25rem;
	}
	.news-post h3 {
    font-size: 1.5rem;
}
}