/*
Theme Name: Elementra Child Theme
Theme URI: https://elementra.themerex.net/
Description: Elementra is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 2.0.1
Tested up to: 7.0
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: elementra
Template: elementra
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
:root{
	--theme-var-main_content_padding: 5rem;
}

@font-face {
    font-family: 'Veleka';
    src: url('skins/default/css/font-face/Veleka/Veleka-Regular.woff2') format('woff2'),
         url('skins/default/css/font-face/Veleka/Veleka-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'Veleka';
    src: url('skins/default/css/font-face/Veleka/Veleka-Bold.woff2') format('woff2'),
         url('skins/default/css/font-face/Veleka/Veleka-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'Veleka';
    src: url('skins/default/css/font-face/Veleka/Veleka-BoldItalic.woff2') format('woff2'),
         url('skins/default/css/font-face/Veleka/Veleka-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
	font-display: swap;
}

@font-face {
    font-family: 'Veleka';
    src: url('skins/default/css/font-face/Veleka/Veleka-Italic.woff2') format('woff2'),
         url('skins/default/css/font-face/Veleka/Veleka-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
	font-display: swap;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

section.related.products {
    display: inline-block;
}

section.related.products > h2 {
    text-align: center;
}

.archive.woocommerce-page .page_content_wrap:before {
    content: '';
    background-image: url(/wp-content/uploads/2026/07/asset-shop.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    position: absolute;
    top: 0;
    right: -40px;
    width: 360px;
    height: 280px;
}

@media only screen and (max-width: 1024px){
	.archive.woocommerce-page .page_content_wrap:before{    
		width: 230px;
    	height: 180px;
	}
}
@media only screen and (max-width: 500px) {
    .archive.woocommerce-page .page_content_wrap:before {
        width: 160px;
        height: 106px;
		right: 0;
    }
}

.prod-meta-number {
    font-size: 18px !important;
    font-style: italic !important;
}

span.sc_layouts_cart_items_short {
    background-color: #fa554a !important;
    color: #fff !important;
}

/*----WPML Lang Custom Dropdown Switcher----*/
.trx-addons-ver-toggle-yes.trx-addons-ver-hover .trx-addons-nav-menu-container {
    width: min-content !important;
    padding: 2px 14px;
}

.lang-set-hide {
    display: none !important;
}

/*--------Price--------*/
span.decimals_separator {
    font-size: 8px;
    visibility: hidden;
}

span.decimals, span.woocommerce-Price-currencySymbol:not(.woocommerce-mini-cart span.woocommerce-Price-currencySymbol) {
    font-size: 16px;
	vertical-align: text-top;
    line-height: 1.5em;
}

span.woocommerce-Price-amount.amount {
    font-size: 24px;
	font-weight: 600;
}

span.woocommerce-Price-currencySymbol {
    margin-left: 2px;
}

.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
    color: #fff;
}

.woocommerce div.product p.price ins, .woocommerce div.product span.price ins, .woocommerce ul.products li.product .price ins, .trx-addons-woo-products li.product .price ins {
    color: var(--theme-color-alt_link);
}

del {
    text-decoration: unset;
}

del span.decimals, del span.main-price-digit {
    text-decoration: line-through;
}

/* Подсигуряваме главния контейнер на продукта */
.is-new-product {
    position: relative; 
}

/* Рисуваме самия етикет "Ново" чрез псевдо-елемент */
.post-type-archive-product .is-new-product::before {
    top: 15px; 
    right: 15px;
	transform: translateX(-50%);
	content: "Ново";
    position: absolute;
    background-color: #faa74a;
    color: #571d0c;
    padding: 4px 12px;
    font-size: 13px;
	line-height: 1.23em;
    border-radius: 20px;
    z-index: 99;
    pointer-events: none;
}
html:lang(en) .post-type-archive-product .is-new-product::before {
	content: 'New';
}

.trx-addons-woo-products-inner .is-new-product::before{
	top: 15px; 
    right: 0;
	transform: translateX(-50%);
	content: "Ново";
    position: absolute;
    background-color: #faa74a;
    color: #571d0c;
    padding: 4px 12px;
    font-size: 13px;
	line-height: 1.23em;
    border-radius: 20px;
    z-index: 99;
    pointer-events: none;
}
html:lang(en) .trx-addons-woo-products-inner .is-new-product::before{
	content: 'New';
}

/* Ако искаш в единичната страница етикетът да е подравнен по друг начин, 
можеш да го преместиш ето така (например да падне под намалението): */
.single-product .is-new-product .woocommerce-product-gallery::before {
    top: 15px; 
    right: 15px;
	content: "Ново";
    position: absolute;
    background-color: #faa74a;
    color: #571d0c;
    padding: 4px 12px;
    font-size: 13px;
	line-height: 1.23em;
    border-radius: 20px;
    z-index: 99;
    pointer-events: none;
}

html:lang(en) .single-product .is-new-product .woocommerce-product-gallery::before {
	content: 'New';
}

/*-------Shop Filters--------*/
.product-filters-shop {
    display: flex;
    align-items: center;
    gap: 38px;
    margin: 28px 0 42px;
}

.cat-product-filter-link {
    position: relative;
    display: inline-flex;
    padding: 0 0 12px;
    color: #5b1f12;
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.cat-product-filter-link:hover,
.cat-product-filter-link.active {
    color: #5b1f12;
}

.cat-product-filter-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #ff9f3f;
}

@media (max-width: 767px) {
    .product-filters-shop {
        gap: 22px;
        margin: 22px 0 32px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .cat-product-filter-link {
        font-size: 15px;
        flex: 0 0 auto;
    }
}

/*---------Product Image----------*/
.woocommerce div.product div.images .woocommerce-product-gallery__image a {
    height: 740px;
}
@media only screen and (max-width: 500px){
	.woocommerce div.product div.images .woocommerce-product-gallery__image a {
		height: 510px;
	}	
}

.woocommerce div.product div.images img {
    object-fit: contain !important;
    display: block;
    width: 100%;
    height: 100%;
    box-shadow: none;
    padding: 40px;
    box-sizing: border-box;
    background-color: #F9F8EF;
}
ol.flex-control-nav.flex-control-thumbs img {
    padding: 0 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    height: 154px;
    object-fit: contain !important;
    padding: 12px !important;
}

.woocommerce-product-gallery .flex-viewport:after {
    content: '';
    background: url(/wp-content/uploads/2026/07/product-labels.webp) no-repeat center center;
    width: 80px;
    background-size: contain;
    height: 180px;
    position: absolute;
    top: 70px;
    left: 40px;
    z-index: 9;
}

@media only screen and (max-width: 500px){
	.woocommerce-product-gallery .flex-viewport:after {
	    width: 60px;
		height: 140px;
		left: 15px;
	}
}

.trx-addons-woo-products .woocommerce-loop-product__link{
	padding: 40px;
}

@media only screen and (max-width: 500px){
	.trx-addons-woo-products .woocommerce-loop-product__link{
		 padding: 20px;
	}
}
/*---------Shop Loop--------*/
.woocommerce ul.products li.product .post_featured {
    display: block;
}
.woocommerce ul.products li.product a img {
    height: 460px !important;
    padding: 40px;
    object-fit: contain;
    background-color: #F9F8EF;
}

@media only screen and (max-width: 1024px){
	.woocommerce ul.products li.product a img{
		height: 320px !important;
		padding: 20px;
	}
}

h2.woocommerce-loop-product__title {
    font-style: normal !important;
}

.post-type-archive-product span.price {
    font-weight: 600 !important;
}

.woocommerce ul.products li.product .price {
    font-style: normal !important;
}

@media only screen and (max-width: 500px){
	.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    	float: left;
	}
}

/*-------------Single product attribute-----------*/
.simid-simple-attribute-packaging {
    margin: 0 0 1.8em;
	width: 100%;
}
.woocommerce div.product form.cart{
	flex-wrap: wrap;
}
.simid-simple-attribute-label {
    margin-bottom: 8px;
    color: #571d0c;
    font-size: 14px;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 600;
}

.simid-simple-attribute-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.simid-simple-attribute-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid #571d0c;
    border-radius: 999px;
    color: #571d0c;
    font-size: 14px;
    line-height: 1;
    background: #fff;
}

.simid-simple-attribute-value.active {
    border-color: #571d0c;
}

section.related.products {
    width: 100%;
}

/*------- WooCommerce My Account page---------*/
div#customer_login {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 18px;
}
#customer_login::before, #customer_login::after{
	display: none;
}

@media only screen and (max-width: 500px){
	div#customer_login {
		flex-direction: column;
	}
}


.woocommerce-account .woocommerce:not(.widget_shopping_cart) {
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
@media only screen and (max-width: 500px){
	.woocommerce-account .woocommerce:not(.widget_shopping_cart) {
		flex-direction: column;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation{
		width: 100% !important;
	}
	.woocommerce-account .woocommerce-MyAccount-content{
		margin-left: 0px !important;
	}
	.woocommerce-account .woocommerce-MyAccount-content, .woocommerce-account .woocommerce-MyAccount-navigation {
        width: auto;
    }
	.woocommerce-account .woocommerce {
        padding: 0 !important;
    }
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-total span.woocommerce-Price-amount.amount {
    font-size: 16px;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-total span.woocommerce-Price-amount.amount span.woocommerce-Price-currencySymbol{
	line-height: normal;
}

/* Left account navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 280px;
    flex: 0 0 280px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid rgba(91, 31, 18, 0.14);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(91, 31, 18, 0.10);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 15px 18px;
    color: #5b1f12;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: #fff5ec;
    color: #5b1f12;
}

/* Right account content */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    padding: 32px 36px;
    border: 1px solid rgba(91, 31, 18, 0.14);
    border-radius: 22px;
    background: #fff;
    color: #5b1f12;
    font-size: 17px;
    line-height: 1.7;
	margin-left: 40px;
}

@media only screen and (max-width: 1024px){
	.woocommerce-account .woocommerce-MyAccount-content {
		margin-left: 20px;
	}
}

.woocommerce-account .woocommerce-MyAccount-content p {
    margin: 0 0 18px;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
}

.u-columns.woocommerce-Addresses.col2-set.addresses h2{
	font-size: 24px;
}

/* Tables - orders, downloads, addresses */
.woocommerce-account table.shop_table {
    border-radius: 16px;
    overflow: hidden;
    border-color: rgba(91, 31, 18, 0.14);
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
    padding: 14px 16px;
}

.woocommerce-info {
    background-color: #fff9f4;
}

.woocommerce-info {
    border-top-color: #faa74a;
}
.woocommerce-info::before {
    color: #faa74a;
}

/* Buttons */
.woocommerce-account .woocommerce-button,
.woocommerce-account button.button,
.woocommerce-account input.button {
    border-radius: 999px;
    padding: 11px 22px;
    background: #ffa33f;
    color: #fff;
    border: none;
    font-weight: 700;
}

.woocommerce-account .woocommerce-button:hover,
.woocommerce-account button.button:hover,
.woocommerce-account input.button:hover {
    background: #f28f28;
    color: #fff;
}

/* Forms */
.woocommerce-account form .form-row input.input-text,
.woocommerce-account form .form-row textarea,
.woocommerce-account form .form-row select {
    border-radius: 12px;
    border: 1px solid rgba(91, 31, 18, 0.18);
    padding: 12px 14px;
}



/* Mobile */
@media (max-width: 900px) {
    .woocommerce-account .woocommerce {
        display: block;
        padding: 28px 16px 60px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        margin-bottom: 24px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 24px 20px;
    }
}

/*-----Nav pages links-------*/
.woocommerce nav.woocommerce-pagination ul li .page-numbers.current{
	    border-color: #faa74a;
    background-color: #faa74a;
}

/*----Woo messages and errors----*/
.woocommerce-message {
    border-top-color: #faa74a;
}

.woocommerce-message {
    background-color: #fff9f4;
}
.woocommerce-message::before{
	color: #faa74a;
}

/*------Cart and Checkout------*/
body.trx_addons_customizable_theme.sc_layouts_cart_buttons-block.sc_layouts_cart_panel .sc_layouts_cart_panel_widget .widget_shopping_cart .woocommerce-mini-cart__buttons .button, .trx_addons_customizable.sc_layouts_cart_buttons-block.sc_layouts_cart_panel .sc_layouts_cart_panel_widget .widget_shopping_cart .woocommerce-mini-cart__buttons .button {
    text-transform: none;
}

.woocommerce-cart span.woocommerce-Price-amount.amount, .woocommerce-checkout span.woocommerce-Price-amount.amount{
	font-size: 18px;
}
.cart_totals h2 {
    font-size: 30px;
}

.woocommerce .col2-set, .woocommerce-page .col2-set {
    display: flex;
    flex-direction: column;
	width: 50%;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    width: 100%;
}

form.checkout.woocommerce-checkout {
    display: flex;
    flex-direction: row;
	flex-wrap: wrap;
}

.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
    width: 100%;
}

form.checkout.woocommerce-checkout > div {
    padding: 0 12px;
    box-sizing: border-box;
}

@media only screen and (max-width: 1024px){
	form.checkout.woocommerce-checkout{
		flex-direction: column;
	}
	.woocommerce .col2-set, .woocommerce-page .col2-set, .checkout-right-column{
		width: 100% !important;
	}
}
@media only screen and (max-width: 1024px){
	form.checkout.woocommerce-checkout > div {
    	padding: 0;
		gap: 20px
	}
}


.checkout-right-column {
    width: 50%;
}

.woocommerce table.shop_table td, #add_payment_method .cart-collaterals .cart_totals tr td, #add_payment_method .cart-collaterals .cart_totals tr th, .woocommerce-cart .cart-collaterals .cart_totals tr td, .woocommerce-cart .cart-collaterals .cart_totals tr th, .woocommerce-checkout .cart-collaterals .cart_totals tr td, .woocommerce-checkout .cart-collaterals .cart_totals tr th {
    border-color: #dedede;
}

.select2-container .select2-dropdown{
	border-radius: 0 0 30px 30px;
}

.woocommerce form .form-row .input-checkbox {
    border: 0 !important;
}
/*------Contact Form------*/

.contact-flex-wrapper {
    display: flex !important;
    flex-wrap: wrap; /* Позволява на елементите да минават на нов ред */
    gap: 10px; /* Разстояние между полетата */
}

/* Стандартно поле (50% ширина минус част от разстоянието) */
.flex-field {
    flex: 1 1 calc(50% - 10px) !important; 
    box-sizing: border-box;
}
.flex-field p {
    margin-bottom: 8px;
}
/* Полетата на 100% (Съобщение и Бутон) */
.flex-field.full-width {
    flex: 1 1 100% !important;
}

/* Оправяме инпутите да запълват контейнера си */
.flex-field label {
    display: block;
    width: 100%;
}

.flex-field input:not([type="submit"]),
.flex-field textarea {
    width: 100%;
}

.flex-field input:is([type="checkbox"]){
	width: auto !important;
}

/* Мобилна версия - под 768px всички стават на 100% */
@media (max-width: 768px) {
    .flex-field {
        flex: 1 1 100%;
    }
}

span.wpcf7-list-item label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
	gap: 10px;
}
span.wpcf7-list-item {
    margin: 0 0 16px 0;
}

.wpcf7-not-valid-tip {
    font-size: 0.8em;
}

/*----Frequently purchased products----*/
a.button.simid-products-empty-state__button {
    background: var(--theme-color-link);
    color: var(--theme-color-bg_color);
    padding: var(--theme-font-button_padding);
    border-radius: var(--theme-font-button_border-radius);
	font-weight: var(--theme-font-button_font-weight);
    font-style: var(--theme-font-button_font-style);
}

a.button.simid-products-empty-state__button:hover{
	background-color: var(--e-global-color-theme_color_title);	
}

.wpml-ls-legacy-list-horizontal{
	padding: 0;
}

@media only screen and (min-width: 1280px){
	.menu-item.wpml-ls-item{
		display: none;
	}
}

.woocommerce-shipping-methods li label::before{
	display: none !important;
}

.woocommerce ul#shipping_method li input[type="radio"] + label{
	color: #571d0c;
}

.simid-checkout-order-notice {
    background: #fff9f4;
    border: 1px solid #F2D57A;
    padding: 14px 16px;
    margin: 0 0 20px;
    border-radius: 8px;
    color: #6B2C12;
    line-height: 1.5;
}

.simid-checkout-order-notice strong {
    font-weight: 700;
}