/* Minimal WordPress overrides for template markup */
.search_box .vt-header-search {
	position: relative;
}

.search_box .custom-select {
	z-index: 1;
}

.search_field .search-submit {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	color: #222;
	line-height: 0;
}

/* Template .search_icon is absolute on the input row; inside the button it must stay in flow. */
.search_field .search-submit .search_icon,
.search_field .search-submit svg.search_icon {
	position: static;
	right: auto;
	top: auto;
	transform: none;
	display: block;
	width: 2rem;
	height: 2rem;
	opacity: 1;
	visibility: visible;
}

.search_field {
	position: relative;
}

.vt-search-suggestions {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 0.4rem);
	z-index: 30;
	background: #fff;
	border: 0.1rem solid #e8e8e8;
	border-radius: 1rem;
	box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.vt-search-suggestions__list {
	list-style: none;
	margin: 0;
	padding: 0.4rem 0;
	max-height: 36rem;
	overflow-y: auto;
}

.vt-search-suggestions__item.is-active .vt-search-suggestions__link,
.vt-search-suggestions__link:hover {
	background: #f5f0f0;
}

.vt-search-suggestions__link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.8rem 1.2rem;
	text-decoration: none;
	color: #222;
}

.vt-search-suggestions__thumb {
	width: 4.4rem;
	height: 4.4rem;
	object-fit: cover;
	border-radius: 0.6rem;
	flex-shrink: 0;
}

.vt-search-suggestions__text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.vt-search-suggestions__name {
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.3;
}

.vt-search-suggestions__text .meta {
	margin: 0.2rem 0 0;
	font-size: 1.1rem;
	color: #777;
}

/* About + default pages — rich text spacing (paragraphs, lists) */
.info_area .vt-entry-content,
.vt-page-area .vt-entry-content,
.vt-page-area .entry-content {
	font-size: 1.6rem;
	line-height: 1.5;
}

.info_area .vt-entry-content > :first-child,
.vt-page-area .vt-entry-content > :first-child,
.vt-page-area .entry-content > :first-child {
	margin-top: 0;
}

.info_area .vt-entry-content p,
.vt-page-area .vt-entry-content p,
.vt-page-area .entry-content p {
	margin-bottom: 1.5rem;
}

.info_area .vt-entry-content p:last-child,
.vt-page-area .vt-entry-content p:last-child,
.vt-page-area .entry-content p:last-child {
	margin-bottom: 0;
}

.info_area .vt-entry-content ul,
.info_area .vt-entry-content ol,
.vt-page-area .vt-entry-content ul,
.vt-page-area .vt-entry-content ol {
	margin: 0 0 1.5rem 1.5rem;
}

.info_area .vt-entry-content li,
.vt-page-area .vt-entry-content li {
	margin-bottom: 0.5rem;
}

.info_area .vt-entry-content a,
.vt-page-area .vt-entry-content a,
.vt-page-area .entry-content a {
	color: #000;
}

.info_area .vt-entry-content a:hover,
.vt-page-area .vt-entry-content a:hover,
.vt-page-area .entry-content a:hover {
	text-decoration: underline !important;
}

.info_box .info_box__text p {
	margin-bottom: 0;
}

.info_box .info_box__text p + p {
	margin-top: 0.75rem;
}

.woocommerce-page-content .woocommerce {
	max-width: none;
}

/* Contact page */
.vt-contact-notice {
	padding: 1rem 1.5rem;
	border-radius: 0.8rem;
	margin-bottom: 1.5rem;
	font-size: 1.4rem;
}

.vt-contact-notice--success {
	background: #e8f5e9;
	color: #2e7d32;
}

.vt-contact-notice--error {
	background: #fdecea;
	color: #c0392b;
}

.contact_form--cf7 .wpcf7-form p {
	margin-bottom: 1.5rem;
}

.contact_form--cf7 .wpcf7-form label {
	display: block;
	padding-bottom: 1.2rem;
	font-size: 1.4rem;
	color: #000;
	line-height: 1;
	font-weight: 500;
	padding-left: 0.8rem;
}

.contact_form--cf7 .wpcf7-form input[type="text"],
.contact_form--cf7 .wpcf7-form input[type="email"],
.contact_form--cf7 .wpcf7-form input[type="tel"],
.contact_form--cf7 .wpcf7-form textarea {
	width: 100%;
	border-radius: 10rem;
	border: 0.1rem solid #ddd;
	padding: 0 2rem;
	font-size: 1.6rem;
}

.contact_form--cf7 .wpcf7-form textarea {
	height: 15rem;
	border-radius: 1.5rem;
	padding: 1.5rem 2rem;
}

.contact_form--cf7 .wpcf7-form input[type="submit"],
.contact_form--cf7 .wpcf7-submit {
	height: 4.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 6rem;
	background: #000;
	color: #fff;
	border: none;
	border-radius: 10rem;
	font-size: 1.6rem;
	cursor: pointer;
	transition: 0.35s ease;
}

.contact_box__content p {
	margin-bottom: 0;
}

.contact_box__content p + p {
	margin-top: 0.75rem;
}

.contact_box__content a {
	color: #000;
}

.contact_box__content a:hover {
	text-decoration: underline !important;
}

/* Language switcher — theme flags (circular, matches template) */
.vt-header-cart .shopping_btn,
.vt-header-cart .xoo-wsc-cart-trigger {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.language_btn .btn_img,
.language_list .lang_flag {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.language_list li {
	width: 3.7rem;
	height: 3.7rem;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.language_list li:last-child {
	margin-bottom: 0;
}

.language_list li a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 0;
}

.language_list li.is-active {
	box-shadow: 0 0 0 2px var(--primary-color, #c9a227);
	border-radius: 50%;
}

/* Single product + search suggestions — WooCommerce p.price (template price-row look) */
.product-section p.price.price-row,
.vt-search-suggestions p.price.price-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

.vt-search-suggestions p.price.price-row {
	margin-bottom: 0;
	font-size: 1.2rem;
}

.product-section p.price .screen-reader-text,
.vt-search-suggestions p.price .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.product-section p.price del,
.vt-search-suggestions p.price del {
	font-size: 1.4rem;
	color: #999;
	opacity: 1;
	text-decoration: line-through;
	background: none;
}

.product-section p.price del .woocommerce-Price-amount,
.product-section p.price del .woocommerce-Price-currencySymbol,
.vt-search-suggestions p.price del .woocommerce-Price-amount,
.vt-search-suggestions p.price del .woocommerce-Price-currencySymbol {
	font-size: 1.4rem !important;
	color: #999 !important;
	font-weight: 400 !important;
	text-decoration: line-through;
}

.product-section p.price ins,
.vt-search-suggestions p.price ins {
	text-decoration: none;
	background: none;
	font-size: 1.6rem;
	font-weight: 700;
	color: #c0392b;
}

.product-section p.price ins .woocommerce-Price-amount,
.product-section p.price ins .woocommerce-Price-currencySymbol,
.vt-search-suggestions p.price ins .woocommerce-Price-amount,
.vt-search-suggestions p.price ins .woocommerce-Price-currencySymbol {
	font-size: 1.6rem !important;
	font-weight: 700 !important;
	color: #c0392b !important;
}

.product-section p.price > .woocommerce-Price-amount,
.product-section p.price > .woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.vt-search-suggestions p.price > .woocommerce-Price-amount,
.vt-search-suggestions p.price > .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
	font-size: 1.6rem !important;
	font-weight: 700 !important;
	color: #c0392b !important;
}

.product-section p.price .woocommerce-price-suffix,
.vt-search-suggestions p.price .woocommerce-price-suffix {
	font-size: 1.6rem;
	color: #333;
	font-weight: 400;
}

/* Related products on single — slider area without extra top padding */
.product_area.product_slider_area.pt-0 {
	padding-top: 0;
}

/* Shop archive — active category states */
/* Shop archive: sidebar visible on desktop; off-canvas + Filter button below 992px */
@media (min-width: 992px) {
	.parduatuve_area .col-lg-3 {
		display: block;
	}

	.parduatuve_area .sidebar {
		position: static;
		opacity: 1;
		pointer-events: auto;
		height: auto;
		overflow: visible;
		padding: 0;
		z-index: 1;
		width: 100%;
	}
}

.parduatuve_area .sidebar .links-list a.is-active {
	font-weight: 700;
	color: #000;
	background: #fafaf8;
}

.parduatuve_area .sub-header.is-active .sub-title {
	font-weight: 700;
	color: #000;
}

.parduatuve_area .sub-accordion.is-active-branch > .sub-header {
	background: #fafaf8;
}

.parduatuve_area .static-row .sub-title {
	display: block;
	width: 100%;
	font-size: 1.4rem;
	font-weight: 400;
	color: #000;
	text-decoration: none;
}

.parduatuve_area .static-row.is-active {
	background: #fafaf8;
}

.parduatuve_area .static-row.is-active .sub-title {
	font-weight: 700;
}

.parduatuve_area .static-row .sub-count {
	font-size: 1.4rem;
	color: var(--muted, #777);
	margin-left: 0.4rem;
}

/* Shop archive pagination — match template (WP page-numbers output) */
.parduatuve_area .pagination .page-numbers {
	width: 4rem;
	height: 4rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0.1rem solid #ddd;
	font-size: 1.4rem;
	font-weight: 500;
	border-radius: 0.5rem;
	transition: 0.35s ease;
	font-family: monospace;
	color: #000;
	text-decoration: none;
	box-sizing: border-box;
}

.parduatuve_area .pagination .page-numbers.current {
	background: #000;
	border-color: #000;
	color: #fff;
}

.parduatuve_area .pagination a.page-numbers:hover {
	background: #000;
	border-color: #000;
	color: #fff;
}

.parduatuve_area .pagination .page-numbers.dots {
	border: none;
	width: auto;
	min-width: 2rem;
}

.card .card_icons .vt-card-wishlist.icon_box {
	padding: 0;
	width: 4rem;
	min-width: 4rem;
	gap: 0;
	justify-content: center;
}

.card .card_icons .vt-card-wishlist {
	position: relative;
}

.card .card_icons .vt-card-wishlist .yith-wcwl-add-to-wishlist {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.card .card_icons .vt-card-wishlist .yith-wcwl-add-to-wishlist > div {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.card .card_icons .vt-card-wishlist a.yith-card-wishlist-link,
.card .card_icons .vt-card-wishlist .yith-wcwl-add-to-wishlist a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 4rem;
	text-decoration: none;
}

.card .card_icons .vt-card-wishlist .yith-wcwl-add-to-wishlist .feedback,
.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistaddedbrowse .feedback,
.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistexistsbrowse .feedback,
.card .card_icons .vt-card-wishlist .yith-wcwl-add-to-wishlist span:not(.yith-wcwl-icon) {
	display: none !important;
}

.card .card_icons .vt-card-wishlist .yith-wcwl-add-to-wishlist svg,
.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistaddedbrowse svg,
.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistexistsbrowse svg {
	display: none !important;
}

.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistaddedbrowse,
.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistexistsbrowse {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.card .card_icons .vt-card-wishlist .yith-wcwl-add-to-wishlist a::before,
.card .card_icons .vt-card-wishlist a.yith-card-wishlist-link::before,
.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistexistsbrowse a::before {
	content: "";
	display: block;
	width: 1.6rem;
	height: 1.6rem;
	background: url("../img/heart.png") center / contain no-repeat;
}

.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistaddedbrowse a,
.card .card_icons .vt-card-wishlist .yith-wcwl-wishlistexistsbrowse a {
	font-size: 0;
	line-height: 0;
	color: transparent;
	overflow: hidden;
}

.card .card_icons .vt-card-wishlist.active {
    background: #d75856;
    color: #fff;
}

.card .card_icons .vt-card-wishlist.active .yith-wcwl-add-to-wishlist a::before,
.card .card_icons .vt-card-wishlist.active .yith-wcwl-wishlistaddedbrowse a::before,
.card .card_icons .vt-card-wishlist.active .yith-wcwl-wishlistexistsbrowse a::before,
.card .card_icons .vt-card-wishlist.active a.yith-card-wishlist-link::before {
	filter: var(--white_img);
}

.card .card_icons .vt-card-wishlist .heart_icon {
	width: 1.6rem;
	height: 1.6rem;
}

.card .card_icons .icon_box1.active img,
.card .card_icons .vt-card-wishlist.active .heart_icon {
	filter: var(--white_img);
}

/* Quick view popup — reuse single product styles */
.product_popup .product-section p.price.price-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

.product_popup .product-section .qty-control .qty-suffix,
.product_popup .product-section .qty-control .qty-suffix-float {
	display: none !important;
}

body.vt-quick-view-open {
	overflow: hidden;
}

.product_popup .btn-cart.added,
.product_popup .single_add_to_cart_button.added {
	background: #2e7d32;
	border-color: #2e7d32;
}

.product_popup form.cart .vt-quick-view-cart-msg {
	display: block;
	margin-top: 1.2rem;
	font-size: 1.4rem;
	font-weight: 500;
	text-decoration: underline;
	color: #222;
}

.product_popup form.cart .vt-quick-view-cart-msg:hover {
	color: #000;
}

.product_popup #vtQuickViewContent .swiper-thumbs {
	padding-top: 1rem;
}

.parduatuve_area .woocommerce-info {
	padding: 2rem 0;
	font-size: 1.6rem;
}

/* Advanced Quantity: suffix belongs outside .qty-control (theme .qty-unit) */
.product-section .qty-control .qty-suffix,
.product-section .qty-control .qty-suffix-float {
	display: none !important;
}

.product-section .quantity-row > .qty-unit,
.product-section .quantity-row > .qty-suffix,
.product-section .quantity-row > .qty-suffix-float {
	font-size: 1.6rem;
	padding: 0 1rem;
	color: #555;
	flex-shrink: 0;
}

.product-section form.cart {
	margin: 0;
}

.woocommerce div.product form.cart div.quantity,
.product-section form.cart div.quantity {
	float: none !important;
	margin: 0 !important;
}

.product-section form.cart .stock {
	display: none;
}

.product-section .qty-control {
	display: flex;
	align-items: stretch;
}

.product-section .qty-control .quantity {
	display: flex;
	align-items: stretch;
	margin: 0;
	float: none;
}

.product-section .qty-control .quantity input.qty,
.product-section .qty-control .quantity select.qty,
.product-section .qty-control input.qty-input {
	width: 5.5rem;
	height: 4.5rem;
	min-height: 4.5rem;
	border: none;
	border-left: 0.1rem solid #ccc;
	border-right: 0.1rem solid #ccc;
	border-radius: 0;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 1.6rem;
	font-weight: 600;
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.product-section .qty-control .quantity input.qty::-webkit-outer-spin-button,
.product-section .qty-control .quantity input.qty::-webkit-inner-spin-button,
.product-section .qty-control input.qty-input::-webkit-outer-spin-button,
.product-section .qty-control input.qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-section .qty-control .quantity select.qty {
	padding: 0 0.25rem;
	cursor: pointer;
}

.product-section .qty-control .wqpmb_quantity,
.product-section .qty-control [class*="advanced-quantity"],
.product-section .qty-control [class*="wqp"] {
	display: flex;
	align-items: stretch;
}

.product-section .btn-cart.button,
.product-section .btn-cart.single_add_to_cart_button {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	background: #0a0a0a;
	color: #fff;
	border: none;
	padding: 0 2.5rem;
	height: 4.5rem;
	border-radius: 0;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
}

.product-section .btn-cart.button:hover,
.product-section .btn-cart.single_add_to_cart_button:hover {
	background: #292525;
	color: #fff;
}

.product-section .variations_form .variations {
	margin-bottom: 1.5rem;
}

.product-section .single_variation_wrap .woocommerce-variation-price {
	margin-bottom: 1rem;
}

/* YITH Wishlist in social row — match template .wishlist-link */
.product-section .social-row {
	flex-wrap: wrap;
}

.product-section .social-row .yith-wcwl-add-to-wishlist {
	margin: 0 0 0 auto;
}

.product-section .social-row .yith-wcwl-add-to-wishlist a,
.product-section .social-row a.wishlist-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	text-transform: uppercase;
	font-size: 1.4rem;
	font-weight: 400;
	letter-spacing: 0;
	color: #555;
	text-decoration: none;
	margin-left: auto;
}

.product-section .social-row .yith-wcwl-add-to-wishlist a:hover,
.product-section .social-row a.wishlist-link:hover {
	color: #222;
}

.product-section .social-row .yith-wcwl-add-to-wishlist .yith-wcwl-icon,
.product-section .social-row a.wishlist-link .heart-icon,
.product-section .social-row .yith-wcwl-add-to-wishlist a::before {
	color: #e74c3c;
	font-size: 3rem;
	line-height: 1;
}

.product-section .social-row .yith-wcwl-add-to-wishlist svg,
.product-section .social-row .yith-wcwl-add-to-wishlist svg#yith-wcwl-icon-heart-outline,
.product-section .social-row .yith-wcwl-add-to-wishlist svg path,
.product-section .social-row .yith-wcwl-add-to-wishlist svg use {
	color: #e74c3c !important;
	stroke: #e74c3c !important;
}

.product-section .social-row .share-linkedin {
	background: #0077b5;
}

.product-section .social-row .yith-wcwl-add-to-wishlist .yith-wcwl-icon {
	margin: 0;
	width: 3rem;
	height: 3rem;
}

.product-section .social-row .yith-wcwl-add-to-wishlist .feedback {
	display: none;
}

/* Spec list — WYSIWYG / editor typography (matches .desc) */
.product-section .spec-list.entry-content {
	font-size: 1.4rem;
	color: #444;
	line-height: 1.75;
	margin-bottom: 0.5rem;
}

.product-section .spec-list.entry-content > :first-child {
	margin-top: 0;
}

.product-section .spec-list.entry-content > :last-child {
	margin-bottom: 0;
}

.product-section .spec-list.entry-content p {
	margin-bottom: 0.5rem;
}

.product-section .spec-list.entry-content strong {
	font-weight: 700;
	color: #222;
}

.product-section .spec-list.entry-content h2,
.product-section .spec-list.entry-content h3,
.product-section .spec-list.entry-content h4 {
	margin: 1rem 0 0.5rem;
	font-weight: 700;
	color: #222;
	line-height: 1.3;
}

.product-section .spec-list.entry-content ul,
.product-section .spec-list.entry-content ol {
	margin: 0.25rem 0 0.75rem;
	padding-left: 1.5rem;
}

.product-section .spec-list.entry-content ul {
	list-style: disc;
}

.product-section .spec-list.entry-content ol {
	list-style: decimal;
}

.product-section .spec-list.entry-content li {
	margin-bottom: 0.35rem;
}

.product-section .spec-list.entry-content li > ul,
.product-section .spec-list.entry-content li > ol {
	margin-top: 0.35rem;
}

/* Product cards — both image layers stacked identically (fixes hover “smaller image” jump) */
.card .card_img {
	display: block;
	overflow: hidden;
}

.card .card_img .ps_img1,
.card .card_img .ps_img2 {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.card .card_img .ps_img1 {
	z-index: 2;
	transition: opacity 0.15s;
}

.card .card_img .ps_img2 {
	z-index: 1;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 1.5s ease;
}

.card .card_img:hover .ps_img1 {
	opacity: 0;
}

.card .card_img:hover .ps_img2 {
	transform: scale(1.25);
}
