/*
 * GIRUPIS.LT – temos papildomi stiliai.
 * Perkelta iš Customizer → „Papildomas CSS“ (2026-11-15) ir išvalyta:
 * pašalinti seni meniu punktai (#mega-menu-item-4317, -4107), Revolution Slider taisyklė,
 * užkomentuoti blokai ir dubliai. Naujo meniu juostos stiliai – includes/shop/menu.php.
 * Keisti čia (girupis-core), ne Customizer'yje.
 */

html { scroll-behavior: smooth; }
body { background: #262626; }

/* ---------- Antraštė, logotipas, paieška ---------- */
.site-logo img { max-width: 200px; }
.page-title { color: #99c003 !important; }

@media screen and (min-width: 768px) {
	.blog .site-sidebar { padding-top: 4em; }
	.archive:not(.woocommerce) .site-sidebar { padding-top: 65px; }
	.primary-nav-wrapper { height: 50px; }
	.site-branding .hgroup-sidebar .widget.widget_search { width: 600px; max-width: 100%; }
}
@media screen and (min-width: 801px) {
	.logo-pos-left .site-branding .hgroup-sidebar .widget.widget_search { width: 600px; }
}

.site .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-input,
.site .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-input:hover,
.site .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-input:focus { border-color: #fff; }
.dgwt-wcas-search-submit { margin: -11px -13px !important; }
.dgwt-wcas-search-input { padding-right: 0 !important; }

#trp-floater-ls { z-index: 10; }

/* ---------- Meniu (Max Mega Menu) ---------- */
.mega-menu-description { display: none !important; }
.mega-menu-title { display: inline !important; }

/* Ikonėlės prie kategorijų (pagrindinėje juostoje kompiuteryje jos slepiamos – menu.php) */
.mega-menu-link .girupis-menu-icon,
.mega-menu-item > a .girupis-menu-icon {
	width: 38px !important; height: 38px !important; object-fit: contain;
	margin-right: 12px !important; margin-left: 2px !important;
	vertical-align: middle !important; display: inline-block !important;
}
.mega-sub-menu .girupis-menu-icon {
	width: 30px !important; height: 30px !important;
	margin-right: 10px !important; margin-left: 2px !important;
	vertical-align: middle !important; display: inline-block !important;
}
.mega-menu-link,
.mega-menu-item > a,
.mega-sub-menu a { display: flex !important; align-items: center !important; line-height: 1.3 !important; }

@media (max-width: 768px) {
	li.mega-menu-item.mega-current-menu-item > a.mega-menu-link { border-top: 6px solid #fff !important; display: block !important; }

	/* „MENIU“ užrašas kairėje, „mėsainis“ dešinėje */
	.mega-menu-toggle { position: relative; }
	.mega-menu-toggle::before {
		content: "MENIU"; color: #fff; font-size: 15px; font-weight: 600;
		position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
	}
	.mega-toggle-animated-box { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }

	/* Ikonėlės telefone */
	.mobile-menu .girupis-menu-icon,
	.mega-menu .girupis-menu-icon {
		width: 36px !important; height: 36px !important;
		margin-right: 14px !important; margin-left: 2px !important;
		object-fit: contain; vertical-align: middle !important; display: inline-block !important;
	}
	.mobile-menu a,
	.mega-menu a { display: flex !important; align-items: center !important; line-height: 1.3 !important; padding: 10px 0 !important; }
}

/* ---------- Šoninė juosta ir filtrai (telefone) ---------- */
div.tz-categories-menu ul li { display: block; }
input.filter { height: 30px; line-height: 30px; }
.ui-slider-handle.ui-corner-all.ui-state-default { box-shadow: 0 0 3px 0 #000 !important; }

@media screen and (max-width: 768px) {
	section.widget.widget_tz_hot_offers,
	section.widget.woocommerce.widget_products,
	section.widget.woocommerce.widget_recently_viewed_products,
	section.widget_tz_categories,
	.widget_tz_categories,
	.widget_price_filter,
	.woocommerce.widget_price_filter,
	.term-description { display: none !important; }

	.girupis-filter-toggle {
		background: #99c003; color: #fff; text-align: center; padding: 12px; margin: 15px 0;
		border-radius: 4px; font-weight: 600; cursor: pointer;
	}
}

/* ---------- Prekės ir kainos ---------- */
small.woocommerce-price-suffix { display: block; }
div.summary p.price { width: 100%; margin-bottom: 0 !important; }
div.summary span.stock { margin-left: 0 !important; }
div.product .stock.out-of-stock { color: #e98100; margin: 0; }
.reviews-wrapper { display: none !important; }
#tab-additional_information h2 { display: none; }
div.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description.panel.entry-content.wc-tab h2:first-of-type { display: none; }
#tab-description table tbody { display: table; width: 100%; }
#tab-description th, td { word-break: break-word; }
section.related-products { order: 5; }
section.up-sells.upsells.products { order: 4; }
ul.page-numbers li { vertical-align: bottom; }
ul.page-numbers li a.next { text-align: center; }
.loading-spinner { display: none !important; }

/* ---------- Krepšelis, atsiskaitymas, paskyra ---------- */
tr.woocommerce-shipping-totals.shipping th { width: 30%; align-content: center; }
tr.woocommerce-shipping-totals.shipping td { width: 70%; }
.woocommerce form .form-row .optional { display: none; }
label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox { font-weight: bold; }
.cbx {
	width: 16px !important; height: 16px !important;
	box-shadow: inset 0 0 0 1px #dbdbdb !important; transition: box-shadow .3s ease-out;
	cursor: pointer; margin-bottom: 20px;
}
a.woocommerce-button.button.custom_button { margin-left: 10px; }
.woocommerce-orders-table__header.woocommerce-orders-table__header-order-number { width: 100px; }
.woocommerce-orders-table__header.woocommerce-orders-table__header-order-date { width: 150px; }
.woocommerce-orders-table__header.woocommerce-orders-table__header-order-status { width: 100px; }
.woocommerce-orders-table__header.woocommerce-orders-table__header-order-total { width: 150px; }
.woocommerce-orders-table__header.woocommerce-orders-table__header-order-actions { width: 240px; text-align: center; }

/* ---------- Elementor, formos, slapukai ---------- */
.elementor-widget-icon-list .elementor-widget-container ul li { list-style: none; }
.elementor-1961 .elementor-element.elementor-element-01e8704 iframe { max-height: 450px; }
.b24-form-sign { display: none !important; }
@media only screen and (max-width: 600px) {
	.cky-btn-revisit-wrapper { display: none !important; }
}

/* ---------- „Sekite mus“ (poraštė) ---------- */
div.follow-links ul { display: flex; position: absolute; transform: translate(-25%, -50%); }
div.follow-links ul li { list-style: none; }
div.follow-links ul li a {
	width: 25px; height: 25px; background-color: #fff; text-align: center; font-size: 16px;
	margin: 0 10px; display: block; border-radius: 50%; position: relative; overflow: hidden;
	border: 1px solid #fff; z-index: 1;
}
div.follow-links ul li a .icon { position: relative; color: #262626; transition: .5s; z-index: 3; }
div.follow-links ul li a:hover .icon { color: #fff; transform: rotateY(360deg); }
div.follow-links ul li a:before {
	content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 100%;
	background: #f00; transition: .5s; z-index: 2;
}
div.follow-links ul li a:hover:before { top: 0; }
div.follow-links ul li:nth-child(1) a:before { background: #3b5999; }
div.follow-links ul li:nth-child(2) a:before { background: #55acee; }
div.follow-links ul li:nth-child(3) a:before { background: #0077b5; }
div.follow-links ul li:nth-child(4) a:before { background: #dd4b39; }
i.fab.fa-facebook-f.icon { padding-top: 3px; }

/* ---------- Kategorijos aprašymas su serijų palyginimu (.gcat-compare), 2026-11-15 ---------- */
.term-description .gcat-lead { font-size: 15px; margin: 0 0 14px; }
.term-description .gcat-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 14px; }
.term-description .gcat-compare > div { background: #f6f8f0; border-left: 4px solid #99c003; border-radius: 4px; padding: 12px 16px; }
.term-description .gcat-compare h3 { font-size: 16px; margin: 0 0 6px; text-transform: none; }
.term-description .gcat-compare p { margin: 0; }
.term-description .gcat-common { font-size: 13px; color: #666; margin: 0; }
@media screen and (max-width: 768px) {
	.term-description:has(.gcat-compare) { display: block !important; }
	.term-description .gcat-compare { grid-template-columns: 1fr; }
	.term-description .gcat-common { display: none; }
}
