/* Gamtos kvapai – Kadence child: bendri stiliai */

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/fraunces-600-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/fraunces-600-latin.woff2) format("woff2");
	/* Be U+0304/0308/0329: kitaip Chrome (Windows) „ū“ dėlioja iš šio failo „u“ + atskiro brūkšnio, kuris užlipa ant kitos raidės */
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--gk-ink: #2B2330;
	--gk-text: #5C5160;
	--gk-muted: #6A5F6E;
	--gk-violet: #5E2D7A;
	--gk-violet-dark: #43205A;
	--gk-violet-soft: #E9DEF0;
	--gk-green: #466D1E;
	--gk-green-logo: #8DC63F;
	--gk-linen: #F6F1E8;
	--gk-linen-deep: #EDE5D8;
	--gk-surface: #FFFDF9;
	--gk-line: #E6DDD0;
	--gk-line-strong: #D9CFC0;
	--gk-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--gk-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--gk-wrap: 1240px;
	--global-heading-font-family: var(--gk-serif);
	--global-body-font-family: var(--gk-sans);
}

body {
	font-family: var(--gk-sans);
	color: var(--gk-ink);
	background: var(--gk-linen);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .product_title, .woocommerce-loop-product__title {
	font-family: var(--gk-serif);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--gk-ink);
}

a { color: var(--gk-violet); }
a:hover, a:focus { color: var(--gk-violet-dark); }
:focus-visible { outline: 2px solid var(--gk-violet); outline-offset: 2px; }

.gk-wrap {
	max-width: var(--gk-wrap);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.gk-icon { flex: 0 0 auto; }

/* ---------- Mygtukai ---------- */
.gk-btn,
.button, button.button, a.button, input[type="submit"],
.wp-block-button__link, .single_add_to_cart_button {
	font-family: var(--gk-sans);
	font-weight: 600;
	border-radius: 8px;
}
.gk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	text-decoration: none;
	font-size: 16px;
	line-height: 1.2;
	border: 1.5px solid transparent;
	transition: background-color .15s, color .15s, border-color .15s;
}
.gk-btn--primary { background: var(--gk-violet); color: #fff; }
.gk-btn--primary:hover, .gk-btn--primary:focus { background: var(--gk-violet-dark); color: #fff; }
.gk-btn--outline { border-color: var(--gk-ink); color: var(--gk-ink); }
.gk-btn--outline:hover, .gk-btn--outline:focus { background: var(--gk-ink); color: var(--gk-linen); }

/* ---------- Antraštė ---------- */
.gk-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 1000;
	background: var(--gk-ink); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.gk-skip:focus { left: 8px; color: #fff; }

.gk-topbar {
	background: var(--gk-ink);
	color: var(--gk-linen);
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	padding: 9px 20px;
}
a.gk-topbar { display: block; text-decoration: none; }
a.gk-topbar:hover, a.gk-topbar:focus { color: #fff; background: #3A2F40; }
.gk-topbar__cta {
	white-space: nowrap;
	font-weight: 600;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--gk-green-logo);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	margin-left: 6px;
}
a.gk-topbar:hover .gk-topbar__cta, a.gk-topbar:focus .gk-topbar__cta { text-decoration-color: #fff; }
a.gk-topbar:focus-visible { outline: 2px solid var(--gk-green-logo); outline-offset: -4px; }

/* Sticky antraštė (viršutinė juosta neprilimpa). Slėpimas slenkant žemyn – JS klasė .is-hidden. */
html { scroll-padding-top: 96px; }
.gk-header {
	background: var(--gk-linen);
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: transform .25s ease, box-shadow .2s ease, border-color .2s ease;
}
.admin-bar .gk-header { top: var(--wp-admin--admin-bar--height, 32px); }
.gk-header.is-stuck { border-bottom-color: var(--gk-line); box-shadow: 0 4px 16px rgba(43, 35, 48, .06); }
.gk-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.admin-bar .gk-header.is-hidden { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 32px))); }
@media (prefers-reduced-motion: reduce) { .gk-header { transition: none; } }
.gk-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 84px;
}
.gk-logo { display: block; flex: 0 0 auto; }
.gk-logo img { display: block; height: 60px; width: auto; mix-blend-mode: multiply; }

.gk-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
}
.gk-nav__list a {
	display: block;
	padding: 8px 0;
	color: var(--gk-ink);
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	border-bottom: 2px solid transparent;
}
.gk-nav__list a:hover,
.gk-nav__list .current-menu-item > a,
.gk-nav__list .current-menu-ancestor > a,
.blog .gk-nav__list .current_page_parent > a,
.single-post .gk-nav__list .current_page_parent > a,
.category .gk-nav__list .current_page_parent > a { border-bottom-color: var(--gk-green-logo); color: var(--gk-ink); }

.gk-header__actions { display: flex; align-items: center; gap: 8px; }
.gk-iconbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 22px;
	border: 1px solid var(--gk-line-strong);
	background: transparent;
	color: var(--gk-ink);
	padding: 0;
	cursor: pointer;
}
.gk-iconbtn:hover, .gk-iconbtn:focus { border-color: var(--gk-ink); color: var(--gk-ink); background: transparent; }
.gk-cart__count {
	position: absolute; top: -4px; right: -4px;
	min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box;
	border-radius: 10px; background: var(--gk-violet); color: #fff;
	font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.gk-cart__count[hidden] { display: none; }
.gk-menu-toggle { display: none; }
.gk-menu-toggle__close { display: none; }

@media (max-width: 960px) {
	.gk-header__inner { min-height: 68px; gap: 12px; }
	.gk-logo img { height: 48px; }
	.gk-menu-toggle { display: inline-flex; }
	.gk-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--gk-surface);
		border-top: 1px solid var(--gk-line);
		border-bottom: 1px solid var(--gk-line);
		box-shadow: 0 12px 24px rgba(43, 35, 48, .08);
		padding: 8px 24px 16px;
		max-height: calc(100vh - 68px);
		overflow-y: auto;
	}
	html { scroll-padding-top: 80px; }
	.gk-header.is-open .gk-nav { display: block; }
	.gk-header.is-open .gk-menu-toggle__open { display: none; }
	.gk-header.is-open .gk-menu-toggle__close { display: inline; }
	.gk-nav__list { flex-direction: column; gap: 0; }
	.gk-nav__list a { padding: 14px 0; border-bottom: 1px solid var(--gk-line); font-size: 18px; }
	.gk-nav__list li:last-child a { border-bottom: 0; }
	.gk-topbar { font-size: 13px; }
}

/* ---------- Poraštė ---------- */
.gk-footer { background: var(--gk-ink); color: #D9CFDC; font-size: 15px; margin-top: 0; }
.gk-footer a { color: #D9CFDC; text-decoration: none; }
.gk-footer a:hover, .gk-footer a:focus { color: #fff; text-decoration: underline; }
.gk-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	padding-top: 56px;
	padding-bottom: 32px;
}
.gk-footer__name { font-family: var(--gk-serif); font-size: 24px; color: #fff; margin-bottom: 8px; }
.gk-footer__brand p { margin: 0 0 12px; }
.gk-footer__title { font-family: var(--gk-sans); font-size: 15px; font-weight: 600; color: #fff; margin: 0 0 10px; letter-spacing: 0; }
.gk-footer__list { list-style: none; margin: 0; padding: 0; }
.gk-footer__list li { margin: 0 0 6px; }
.gk-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 24px; font-size: 14px; color: #B8AEBC; }

/* ---------- Bendri Kadence / WooCommerce akcentai ---------- */
/* gk-hide-shipping-destination (perkelta iš Salient Papildomo CSS): krepšelyje nerodyti pristatymo adreso – nemokamas pristatymas */
.woocommerce-cart .woocommerce-shipping-destination { display: none; }
.site-main .entry-hero-container-inner { background: transparent; }
.woocommerce .price, .woocommerce-Price-amount { color: var(--gk-ink); font-weight: 600; }
.woocommerce .price del, .woocommerce .price del .woocommerce-Price-amount { color: var(--gk-muted); font-weight: 400; }
.woocommerce .price ins { text-decoration: none; }
.woocommerce span.onsale { background: var(--gk-green); border-radius: 999px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 20px; }
.woocommerce div.product .product_title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }

/* Prekės puslapis: „Nemokamai“ blokas (GK Shop Tweaks) */
.single-product .gk-benefits {
	background: var(--gk-surface);
	border: 1px solid var(--gk-line);
	border-radius: 6px;
	padding: 16px 20px;
	margin: 0 0 20px;
}
.single-product .gk-benefits__title { font-weight: 600; margin: 0 0 8px; }
.single-product .gk-benefits__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px 20px; }
.single-product .gk-benefits__list li { display: flex; gap: 8px; align-items: center; }
.single-product .gk-benefits .gk-check { color: var(--gk-green); flex: 0 0 auto; }
.woocommerce div.product form.cart .button.single_add_to_cart_button { min-height: 48px; padding-left: 28px; padding-right: 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--gk-sans); }
.woocommerce-product-details__short-description blockquote:only-child { display: none; }
.gk-content-btn { margin: 24px 0; }
.gk-content-btn .gk-btn { text-decoration: none; }

/* ---------- Puslapio antraštės juosta (Kadence „above“) ---------- */
/* Žemesnė juosta (Kadence numatyta 200 px), kad naudingas turinys būtų aukščiau. */
.entry-hero .entry-hero-container-inner .entry-header { min-height: 112px; padding-top: 16px; padding-bottom: 16px; }
.entry-hero + #primary { margin-top: 32px; }
@media (max-width: 767px) {
	.entry-hero .entry-hero-container-inner .entry-header { min-height: 80px; padding-top: 12px; padding-bottom: 12px; }
	.entry-hero + #primary { margin-top: 24px; }
	.entry-hero .entry-title { font-size: 28px; }
}
/* Video mokymų sąrašas: pavadinimas juostoje, todėl gk-video-courses h1 nerodomas. */

.gk-has-courses-hero .gkvc-header > .gkvc-title { display: none; }
.gk-has-courses-hero .gkvc-header { margin-bottom: 16px; }

/* „Susiję video mokymai“ blogo įrašo pabaigoje (inc/related-courses.php) */
.gk-related { margin: 48px 0 8px; padding: 28px 0 0; border-top: 1px solid var(--gk-line); }
.gk-related__title { font-size: 26px; line-height: 1.2; margin: 0 0 6px; }
.gk-related__lead { color: var(--gk-text); margin: 0 0 20px; }
.gk-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gk-related__card { display: flex; flex-direction: column; background: var(--gk-surface); border: 1px solid var(--gk-line); border-radius: 6px; overflow: hidden; color: var(--gk-ink); text-decoration: none; transition: border-color .15s; }
.gk-related__card:hover, .gk-related__card:focus { color: var(--gk-ink); border-color: var(--gk-violet); }
.gk-related__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.gk-related__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.gk-related__name { font-size: 18px; line-height: 1.3; margin: 0; }
.gk-related__price { color: var(--gk-text); font-size: 15px; }
.gk-related__cta { margin-top: auto; padding-top: 8px; color: var(--gk-violet); font-weight: 600; font-size: 15px; }
.gk-related__card--bundle { background: var(--gk-violet); border-color: var(--gk-violet); color: var(--gk-linen); }
.gk-related__card--bundle:hover, .gk-related__card--bundle:focus { background: var(--gk-violet-dark); color: var(--gk-linen); }
.gk-related__card--bundle .gk-related__name, .gk-related__card--bundle .gk-related__price, .gk-related__card--bundle .gk-related__cta { color: var(--gk-linen); }
.gk-related__flag { align-self: flex-start; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; background: var(--gk-green-logo); color: var(--gk-ink); padding: 2px 8px; border-radius: 3px; }
@media (max-width: 700px) {
	.gk-related__grid { grid-template-columns: 1fr; }
	.gk-related__card { flex-direction: row; }
	.gk-related__img { width: 120px; aspect-ratio: 1; flex: none; }
}
