/* Paskyra, pranešimai, plaukiojantis krepšelis, greita peržiūra, padėkos puslapis. */

/* =========================================================
   1. WooCommerce pranešimai (info / sėkmė / klaida)
   ========================================================= */
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-thankyou-order-received) {
	--theme-text-color: #131313;
	--theme-link-initial-color: #033521;
	--theme-link-hover-color: #0a4a30;
	gap: 10px 20px;
	border: 1px solid #e1e8ed;
	border-radius: 10px;
	color: #131313;
	font-size: 15px;
	line-height: 1.55;
}
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-thankyou-order-received)::before {
	content: "";
	width: 20px;
	height: 20px;
	opacity: 1;
	font-family: inherit;
	background-color: currentColor;
	-webkit-mask: var(--dsp-notice-icon) center / 20px 20px no-repeat;
	mask: var(--dsp-notice-icon) center / 20px 20px no-repeat;
}
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-thankyou-order-received) {
	--dsp-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v5.5'/%3E%3Cpath d='M12 7.6v.1'/%3E%3C/svg%3E");
}
body :is(.woocommerce-message, .woocommerce-thankyou-order-received) {
	--dsp-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8 12.4 2.7 2.7L16.2 9.4'/%3E%3C/svg%3E");
}
body .woocommerce-error {
	--dsp-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M12 16.4v.1'/%3E%3C/svg%3E");
	justify-content: center;
}
body .woocommerce-error li {
	margin: 0;
}
body .woocommerce-error {
	row-gap: 4px;
}
/* tekstas + nuoroda (pvz. „Turite kuponą? Spustelėkite čia…“) – be didelio tarpo tarp jų */
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error):not(:has(.button, .restore-item)) {
	display: block;
	padding-block: 18px;
}
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error):not(:has(.button, .restore-item))::before {
	top: 20px;
}
body .woocommerce-error:not(:has(.button, .restore-item)) li + li {
	margin-top: 4px;
}
@media (max-width: 689.98px) {
	body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error):not(:has(.button, .restore-item)) {
		padding-block: 15px;
	}
	body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error):not(:has(.button, .restore-item))::before {
		top: 17px;
	}
}
body .woocommerce-error::after {
	content: none;
	display: none;
}
/* shop-base.css palieka WooCommerce numatytąjį tamsų viršutinį rėmelį – suvienodiname */
body .woocommerce :is(.woocommerce-message, .woocommerce-thankyou-order-received) {
	border-top-color: #c4e3d1;
}
body .woocommerce-info {
	--background-color: #f7faf9;
}
body .woocommerce-info::before {
	color: #033521;
}
body :is(.woocommerce-message, .woocommerce-thankyou-order-received) {
	--background-color: #ecf7f1;
	border-color: #c4e3d1;
}
body :is(.woocommerce-message, .woocommerce-thankyou-order-received)::before {
	color: #033521;
}
body .woocommerce-error {
	--background-color: #fdf3f2;
	--theme-text-color: #7a1d13;
	--theme-link-initial-color: #7a1d13;
	--theme-link-hover-color: #b42318;
	--theme-button-background-initial-color: #b42318;
	--theme-button-background-hover-color: #912018;
	border-color: #f3cdc8;
	color: #7a1d13;
}
body .woocommerce-error::before {
	color: #b42318;
}
body .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) :is(.button, .woocommerce-Button, .showlogin, .restore-item),
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) :is(.button, .showlogin, .restore-item) {
	min-height: 40px;
	padding: 0 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
@media (max-width: 689.98px) {
	body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) :is(.button, .showlogin, .restore-item) {
		min-height: 44px;
	}
}
body .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	margin-bottom: 16px;
}
body .woocommerce-message a:not(.button) {
	font-weight: 600;
}
.woocommerce-notices-wrapper:empty {
	display: none;
}

/* Kupono klaida po lauku (krepšelis / atsiskaitymas) */
.woocommerce .coupon-error-notice {
	margin: 6px 0 0;
	color: #b42318;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}
.woocommerce .coupon:has(> .coupon-error-notice) {
	flex-wrap: wrap;
	row-gap: 0;
}
.woocommerce .coupon > .coupon-error-notice {
	flex: 1 1 100%;
	order: 10;
	margin-top: 8px;
	text-align: start;
}
@media (max-width: 689.98px) {
	body.woocommerce-cart .woocommerce-cart-form__contents .coupon:has(> .coupon-error-notice) > .input-text {
		flex-basis: 0;
	}
}
.woocommerce-notices-wrapper > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error):not(:last-child) {
	margin-bottom: 12px;
}
.woocommerce input.input-text.has-error {
	border-color: #b42318;
}

/* Parduotuvės pranešimo juosta (demo_store) */
p.woocommerce-store-notice.demo_store {
	background: #033521;
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	padding: 12px 64px;
	text-align: center;
}
p.woocommerce-store-notice.demo_store a {
	color: #d5efe0;
}
p.woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link {
	background: rgba(255, 255, 255, 0.14);
}
p.woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link::before {
	color: #ffffff;
}

/* Reitingo žvaigždutės */
:is(.star-rating, .comment-form-rating .stars) {
	--star-rating-initial-color: #f5a524;
	--star-rating-inactive-color: #e3eae6;
}

/* =========================================================
   2. Mano paskyra
   ========================================================= */
body.woocommerce-account .woocommerce {
	--theme-form-field-height: 48px;
	--theme-form-field-border-radius: 6px;
	--theme-form-field-border-initial-color: #d3dde3;
	--theme-form-field-border-focus-color: #033521;
	--theme-form-field-padding: 0 14px;
}
body.woocommerce-account .woocommerce :is(input.input-text, select, textarea):focus {
	box-shadow: 0 0 0 3px rgba(3, 53, 33, 0.12);
	outline: none;
}

/* --- Navigacija --- */
body.woocommerce-account .ct-acount-nav {
	background: #ffffff;
	border: 1px solid #e1e8ed;
	border-radius: 12px;
	box-shadow: 0 4px 30px rgba(30, 30, 30, 0.03);
	padding: 8px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	height: 48px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	color: #131313;
	background: transparent;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
	width: 18px;
	margin-inline-end: 12px;
	color: #033521;
	text-align: center;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li:hover a {
	background: #ecf7f1;
	color: #033521;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background: #033521;
	color: #ffffff;
	font-weight: 600;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a::before {
	color: #ffffff;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus-visible {
	outline: 2px solid #033521;
	outline-offset: 2px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px !important;
	padding-top: 6px;
	border-top: 1px solid #e1e8ed;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: #5b6670;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
	color: inherit;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout:hover a {
	background: #fdf3f2;
	color: #b42318;
}

@media (min-width: 690px) {
	body.woocommerce-account .ct-woo-account {
		gap: 32px;
	}
	body.woocommerce-account .ct-acount-nav {
		flex: 0 0 230px;
		width: 230px;
		min-width: 0;
		margin-inline-end: 0;
	}
	body.woocommerce-account .woocommerce-MyAccount-content {
		flex: 1 1 0;
		min-width: 0;
	}
}
@media (min-width: 1000px) {
	body.woocommerce-account .ct-woo-account {
		gap: 48px;
	}
	body.woocommerce-account .ct-acount-nav {
		flex-basis: 270px;
		width: 270px;
	}
}

/* Mobilus: navigacija — kompaktiškas 2 stulpelių tinklelis vietoj ilgo sąrašo */
@media (max-width: 689.98px) {
	body.woocommerce-account .ct-acount-nav {
		margin-bottom: 28px;
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		overflow: visible;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
		display: flex;
		min-width: 0;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
		flex: 1 1 auto;
		min-width: 0;
		height: auto;
		min-height: 48px;
		padding: 8px 12px;
		border: 1px solid #e1e8ed;
		background: #ffffff;
		font-size: 14px;
		line-height: 1.3;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
		flex: 0 0 16px;
		margin-inline-end: 10px;
		font-size: 15px;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
		border-color: #033521;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 0 !important;
		padding-top: 0;
		border-top: 0;
	}
}

/* --- Turinys --- */
body.woocommerce-account .woocommerce-MyAccount-content {
	font-size: 15px;
	line-height: 1.65;
	color: #131313;
}
body.woocommerce-account .woocommerce-MyAccount-content > p a,
body.woocommerce-account .woocommerce-MyAccount-content address a,
body.woocommerce-account .woocommerce-LostPassword a {
	color: #033521;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(3, 53, 33, 0.35);
	text-underline-offset: 3px;
}
body.woocommerce-account .woocommerce-MyAccount-content > p a:hover,
body.woocommerce-account .woocommerce-LostPassword a:hover {
	text-decoration-color: currentColor;
}
body.woocommerce-account .woocommerce-MyAccount-content :is(h2, h3) {
	margin: 0 0 16px;
	color: #033521;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}
body.woocommerce-account .woocommerce-MyAccount-content > :last-child {
	margin-bottom: 0;
}

/* Skydelis: pasisveikinimas kortelėje */
body.woocommerce-dashboard .woocommerce-MyAccount-content > p:first-of-type {
	margin: 0 0 20px;
	padding: 20px 24px;
	background: #ecf7f1;
	border-radius: 12px;
	font-size: 17px;
	line-height: 1.5;
}
body.woocommerce-dashboard .woocommerce-MyAccount-content > p:first-of-type strong {
	color: #033521;
}
body.woocommerce-dashboard .woocommerce-MyAccount-content > p:first-of-type a {
	font-size: 15px;
}
body.woocommerce-dashboard .woocommerce-MyAccount-content > p:not(:first-of-type) {
	max-width: 70ch;
}

/* Adresai */
body.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 20px;
}
body.woocommerce-account .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-Addresses::after {
	content: none;
	display: none;
}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 22px 24px 24px;
	background: #ffffff;
	border: 1px solid #e1e8ed;
	border-radius: 12px;
	box-shadow: 0 4px 30px rgba(30, 30, 30, 0.03);
}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title {
	display: contents;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title :is(h2, h3) {
	order: 1;
	margin: 0 0 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eef2f4;
	font-size: 18px;
}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address > address {
	order: 2;
	flex: 1 0 auto;
	margin-bottom: 20px;
}
body.woocommerce-account .woocommerce-Address-title a.edit {
	order: 3;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid #c9ddd1;
	border-radius: 6px;
	background: #ffffff;
	color: #033521;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
body.woocommerce-account .woocommerce-Address-title a.edit:hover {
	background: #ecf7f1;
	border-color: #033521;
}
body.woocommerce-account .woocommerce-Address address {
	margin: 0;
	color: #4a5560;
	font-style: normal;
	line-height: 1.7;
}

/* Formos (paskyros duomenys, adresai, prisijungimas, slaptažodis) */
body.woocommerce-account .woocommerce-MyAccount-content :is(form.woocommerce-EditAccountForm, .woocommerce-address-fields) {
	max-width: 780px;
}
body.woocommerce-account .woocommerce form .form-row {
	margin-bottom: 18px;
}
@media (min-width: 690px) {
	body.woocommerce-account .woocommerce-address-fields__field-wrapper {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 20px;
	}
	body.woocommerce-account .woocommerce-address-fields__field-wrapper > .form-row {
		grid-column: 1 / -1;
		float: none;
		width: auto;
		margin-inline: 0;
	}
	body.woocommerce-account .woocommerce-address-fields__field-wrapper > :is(.form-row-first, .form-row-last, [id$="_city_field"], [id$="_state_field"], [id$="_postcode_field"], [id$="_phone_field"]) {
		grid-column: auto;
	}
}
body.woocommerce-account .woocommerce form .form-row label,
body.woocommerce-account .woocommerce form .woocommerce-form-row label {
	display: block;
	margin-bottom: 6px;
	color: #131313;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}
body.woocommerce-account .woocommerce form label.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 500;
	cursor: pointer;
}
body.woocommerce-account .woocommerce form .required {
	color: #b42318;
	text-decoration: none;
}
body.woocommerce-account .woocommerce form :is(input.input-text, select) {
	font-size: 15px;
	background-color: #ffffff;
}
body.woocommerce-account .woocommerce form #account_display_name_description,
body.woocommerce-account .woocommerce form .form-row em {
	display: block;
	margin-top: 6px;
	color: #5b6670;
	font-size: 13px;
	font-style: normal;
}
body.woocommerce-account .woocommerce form fieldset {
	margin: 28px 0 24px;
	padding: 6px 24px 8px;
	border: 1px solid #e1e8ed;
	border-radius: 12px;
}
body.woocommerce-account .woocommerce form fieldset legend {
	padding: 0 8px;
	margin-inline-start: -8px;
	color: #033521;
	font-size: 16px;
	font-weight: 600;
}
body.woocommerce-account .woocommerce-MyAccount-content form > h3:first-child,
body.woocommerce-account .woocommerce-MyAccount-content form > h2:first-child {
	margin-bottom: 20px;
}
body.woocommerce-account .woocommerce form :is(.button[type="submit"], .woocommerce-Button.button, .woocommerce-form-login__submit) {
	min-height: 48px;
	padding: 0 28px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
}
@media (max-width: 689.98px) {
	body.woocommerce-account .woocommerce form fieldset {
		padding: 4px 16px 4px;
	}
	body.woocommerce-account .woocommerce-MyAccount-content form .button[type="submit"] {
		width: 100%;
	}
}

/* Prisijungimas / registracija / slaptažodžio atkūrimas (neprisijungus) */
body.woocommerce-account .ct-woo-unauthorized {
	max-width: 480px;
	margin-inline: auto;
}
body.woocommerce-account .ct-woo-unauthorized:has(#customer_login) {
	max-width: 960px;
}
body.woocommerce-account .ct-woo-unauthorized > h2,
body.woocommerce-account #customer_login h2 {
	margin: 0 0 16px;
	color: #033521;
	font-size: 24px;
	font-weight: 600;
}
body.woocommerce-account :is(.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword) {
	margin: 0;
	padding: 28px;
	background: #ffffff;
	border: 1px solid #e1e8ed;
	border-radius: 12px;
	box-shadow: 0 4px 30px rgba(30, 30, 30, 0.03);
}
body.woocommerce-account .woocommerce-form-login > p.form-row:not(.form-row-wide) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
}
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit {
	order: 2;
	margin: 0;
	flex: 1 1 100%;
	width: 100%;
}
body.woocommerce-account .woocommerce-form-login .woocommerce-LostPassword {
	margin: 18px 0 0;
	text-align: center;
	font-size: 14px;
}
body.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
}
body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after {
	content: none;
	display: none;
}
body.woocommerce-account #customer_login > div {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
}
@media (max-width: 689.98px) {
	body.woocommerce-account :is(.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword) {
		padding: 20px;
	}
}

/* Lentelės: užsakymai, atsisiuntimai, užsakymo informacija */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-order-received .woocommerce-order table.shop_table {
	width: 100%;
	margin: 0 0 28px;
	border: 1px solid #e1e8ed;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
	font-size: 15px;
	background: #ffffff;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table :is(th, td),
body.woocommerce-order-received .woocommerce-order table.shop_table :is(th, td) {
	padding: 14px 18px;
	border: 0;
	border-top: 1px solid #e1e8ed;
	text-align: start;
	vertical-align: middle;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th,
body.woocommerce-order-received .woocommerce-order table.shop_table thead th {
	border-top: 0;
	background: #f4f8f6;
	color: #4a5560;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot :is(th, td),
body.woocommerce-order-received .woocommerce-order table.shop_table tfoot :is(th, td) {
	background: #fafcfb;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child :is(th, td),
body.woocommerce-order-received .woocommerce-order table.shop_table tfoot tr:last-child :is(th, td) {
	color: #033521;
	font-size: 17px;
	font-weight: 700;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	color: #033521;
	font-weight: 700;
	text-decoration: none;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-status {
	font-weight: 600;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
	text-align: end !important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th.woocommerce-orders-table__header-order-actions {
	text-align: end;
}
body.woocommerce-account table.shop_table td.woocommerce-orders-table__cell-order-actions :is(a.button, .woocommerce-button) {
	min-width: 100px;
	justify-content: center;
}
@media (min-width: 1200px) {
	body.woocommerce-account :is(.woocommerce-orders-table__cell-order-date, .woocommerce-orders-table__cell-order-actions) {
		white-space: nowrap;
	}
}
@media (min-width: 1000px) and (max-width: 1279.98px) {
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table :is(th, td) {
		padding: 12px;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th {
		letter-spacing: 0.03em;
	}
}
body.woocommerce-account table.shop_table td :is(a.button, .woocommerce-button) {
	--theme-button-min-height: 36px;
	width: auto;
	min-height: 36px;
	padding: 0 14px;
	margin: 2px 0 2px 6px;
	font-size: 13px;
}
body.woocommerce-account table.shop_table td :is(a.button, .woocommerce-button).view {
	background: #ffffff;
	color: #033521;
	box-shadow: inset 0 0 0 1px #033521;
}
body.woocommerce-account table.shop_table td :is(a.button, .woocommerce-button).view:hover {
	background: #ecf7f1;
}
body.woocommerce-account table.shop_table :is(th, td).woocommerce-orders-table__header-order-actions,
body.woocommerce-account table.shop_table th.download-file {
	width: auto;
}
body.woocommerce-account table.shop_table td :is(a.button, .woocommerce-button):first-child {
	margin-inline-start: 0;
}
body.woocommerce-account .woocommerce-pagination {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

/* Lentelė kortelėmis iki 1000px: planšetėje turinio stulpelis per siauras 5 stulpelių lentelei */
@media (max-width: 999.98px) {
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive {
		display: block;
		border: 0;
		border-radius: 0;
		overflow: visible;
		background: transparent;
	}
	body.woocommerce-account table.shop_table_responsive tbody {
		display: block;
	}
	body.woocommerce-account table.shop_table_responsive thead {
		display: none;
	}
	body.woocommerce-account table.shop_table_responsive tbody tr {
		display: block;
		margin-bottom: 12px;
		padding: 8px 0;
		border: 1px solid #e1e8ed;
		border-radius: 12px;
		background: #ffffff;
		box-shadow: 0 4px 30px rgba(30, 30, 30, 0.03);
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody :is(td, th) {
		--theme-table-border-width: 0;
		display: block;
		padding: 8px 16px;
		border: 0;
		text-align: end !important;
		line-height: 1.5;
	}
	body.woocommerce-account table.shop_table_responsive tbody :is(td, th)[data-title]::before {
		content: attr(data-title);
		float: left;
		margin-inline-end: 12px;
		color: #5b6670;
		font-size: 13px;
		line-height: 22px;
		font-weight: 600;
		text-align: start;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 4px;
		padding-top: 12px;
		border-top: 1px solid #eef2f4;
		white-space: normal;
	}
	body.woocommerce-account table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions::before {
		content: none;
		display: none;
	}
	body.woocommerce-account table.shop_table td.woocommerce-orders-table__cell-order-actions :is(a.button, .woocommerce-button) {
		flex: 1 1 0;
		justify-content: center;
		min-height: 44px;
		margin: 0;
	}
}

/* Užsakymo peržiūra + padėkos puslapis */
:is(body.woocommerce-account, body.woocommerce-order-received) .woocommerce mark {
	padding: 2px 8px;
	border-radius: 4px;
	background: #ecf7f1;
	color: #033521;
	font-weight: 600;
}
:is(body.woocommerce-account, body.woocommerce-order-received) :is(.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-order-downloads__title, .woocommerce-OrderUpdates-title) {
	margin: 32px 0 16px;
	color: #033521;
	font-size: 20px;
	font-weight: 600;
}
:is(body.woocommerce-account, body.woocommerce-order-received) .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}
:is(body.woocommerce-account, body.woocommerce-order-received) .woocommerce-columns--addresses::before,
:is(body.woocommerce-account, body.woocommerce-order-received) .woocommerce-columns--addresses::after {
	content: none;
	display: none;
}
:is(body.woocommerce-account, body.woocommerce-order-received) .woocommerce-columns--addresses .woocommerce-column {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
}
:is(body.woocommerce-account, body.woocommerce-order-received) .woocommerce-customer-details address {
	margin: 0;
	padding: 20px 24px;
	border: 1px solid #e1e8ed;
	border-radius: 12px;
	color: #4a5560;
	font-style: normal;
	line-height: 1.7;
}
:is(body.woocommerce-account, body.woocommerce-order-received) .woocommerce-customer-details address p {
	margin: 8px 0 0;
}
:is(body.woocommerce-account, body.woocommerce-order-received) .woocommerce-customer-details :is(.woocommerce-customer-details--phone, .woocommerce-customer-details--email) {
	word-break: break-word;
}
body.woocommerce-order-received .woocommerce-order {
	max-width: 900px;
	margin-inline: auto;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received {
	padding-block: 18px;
	font-size: 17px;
	font-weight: 600;
	color: #033521;
}
body.woocommerce-order-received ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	border: 1px solid #e1e8ed;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 4px 30px rgba(30, 30, 30, 0.03);
}
body.woocommerce-order-received ul.woocommerce-order-overview li {
	float: none;
	margin: 0;
	padding: 16px 20px;
	border: 0;
	border-inline-end: 1px solid #eef2f4;
	border-bottom: 1px solid #eef2f4;
	color: #5b6670;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.5;
}
body.woocommerce-order-received ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	color: #131313;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	word-break: break-word;
}
body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-notice) {
	font-size: 15px;
}

/* =========================================================
   3. Krepšelio panelis (header krepšelis / mini krepšelis)
   ========================================================= */
#woo-cart-panel .ct-panel-actions {
	padding: 22px 28px 18px;
	border-bottom: 1px solid #e1e8ed;
}
#woo-cart-panel .ct-panel-heading {
	color: #033521;
	font-size: 20px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}
#woo-cart-panel .ct-toggle-close {
	--toggle-button-size: 40px;
	--toggle-button-radius: 50%;
	--toggle-button-border-color: transparent;
	--outline-offset: 2px;
	transition: background-color 0.15s ease;
}
#woo-cart-panel .ct-toggle-close:hover {
	--toggle-button-background: #ecf7f1;
}
#woo-cart-panel .ct-panel-content-inner {
	padding: 4px 28px 24px;
}
#woo-cart-panel .woocommerce-mini-cart li.mini_cart_item {
	grid-template-columns: 76px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid #eef2f4;
}
#woo-cart-panel .woocommerce-mini-cart li.mini_cart_item .ct-media-container {
	width: 76px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #eef2f4;
}
#woo-cart-panel .woocommerce-mini-cart .product-data {
	padding-inline-end: 36px;
}
#woo-cart-panel .woocommerce-mini-cart .product-title {
	display: block;
	margin-bottom: 8px;
	color: #131313;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}
#woo-cart-panel .woocommerce-mini-cart .product-title:hover {
	color: #033521;
}
#woo-cart-panel .woocommerce-mini-cart .ct-product-actions {
	gap: 10px;
	font-weight: 600;
	color: #131313;
}
#woo-cart-panel .woocommerce-mini-cart .ct-product-multiply-symbol {
	color: #8a949c;
	font-weight: 400;
}
#woo-cart-panel .woocommerce-mini-cart .quantity {
	--quantity-height: 36px;
}
#woo-cart-panel .woocommerce-mini-cart .quantity input.qty {
	border-radius: 6px;
}
#woo-cart-panel .woocommerce-mini-cart a.remove {
	top: 18px;
	inset-inline-end: -6px;
	right: -6px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #8a949c;
	transition: background-color 0.15s ease, color 0.15s ease;
}
#woo-cart-panel .woocommerce-mini-cart a.remove:hover {
	background: #fdf3f2;
	color: #b42318;
}
#woo-cart-panel .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 0;
	padding-top: 20px;
	border-top: 1px solid #e1e8ed;
	font-size: 15px;
}
#woo-cart-panel .woocommerce-mini-cart__total strong {
	color: #131313;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}
#woo-cart-panel .woocommerce-mini-cart__total .amount {
	color: #033521;
	font-size: 20px;
	font-weight: 700;
}
#woo-cart-panel .woocommerce-mini-cart__buttons {
	gap: 10px;
	margin-bottom: 0;
	padding-top: 16px;
	border-top: 0;
}
#woo-cart-panel .woocommerce-mini-cart__buttons a.button {
	min-height: 50px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
}
#woo-cart-panel .woocommerce-mini-cart__buttons a.button:not(.checkout) {
	background: #ffffff;
	color: #033521;
	box-shadow: inset 0 0 0 1px #033521;
}
#woo-cart-panel .woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
	background: #ecf7f1;
	color: #033521;
}
#woo-cart-panel .woocommerce-mini-cart__empty-message {
	margin: 32px 0 0;
	padding: 28px 20px;
	border-radius: 12px;
	background: #ecf7f1;
	color: #033521;
	font-weight: 600;
	text-align: center;
}
@media (max-width: 689.98px) {
	#woo-cart-panel .ct-panel-actions {
		padding: 18px 20px 14px;
	}
	#woo-cart-panel .ct-panel-content-inner {
		padding: 0 20px 20px;
	}
	#woo-cart-panel .woocommerce-mini-cart li.mini_cart_item {
		grid-template-columns: 64px minmax(0, 1fr);
		column-gap: 14px;
	}
	#woo-cart-panel .woocommerce-mini-cart li.mini_cart_item .ct-media-container {
		width: 64px;
	}
	#woo-cart-panel .woocommerce-mini-cart__buttons {
		grid-template-columns: 1fr;
	}
	#woo-cart-panel .woocommerce-mini-cart__buttons a.checkout {
		order: -1;
	}
	#woo-cart-panel .woocommerce-mini-cart .quantity {
		--quantity-height: 40px;
	}
	#woo-cart-panel .woocommerce-mini-cart a.remove {
		width: 40px;
		height: 40px;
		top: 14px;
		right: -10px;
		inset-inline-end: -10px;
	}
}

/* =========================================================
   4. Greita peržiūra (quick view)
   ========================================================= */
.ct-quick-view-card {
	border-radius: 16px;
}
.ct-quick-view-card .ct-toggle-close {
	--toggle-button-size: 40px;
	--toggle-button-radius: 50%;
	--toggle-button-z-index: 3;
	--toggle-button-background: #ffffff;
	--toggle-button-shadow: 0 2px 10px rgba(19, 19, 19, 0.12);
	--theme-icon-color: #131313;
	--theme-icon-hover-color: #033521;
	--outline-offset: 2px;
	transition: background-color 0.15s ease;
}
.ct-quick-view-card .ct-toggle-close:hover {
	--toggle-button-background: #ecf7f1;
}
.ct-quick-view-card .entry-summary .product_title {
	margin-bottom: 12px;
	padding-inline-end: 32px;
	color: #033521;
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 600;
	line-height: 1.25;
}
.ct-quick-view-card .entry-summary .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 6px;
	color: #033521;
	font-size: 24px;
	font-weight: 700;
}
.ct-quick-view-card .entry-summary > .price {
	margin-bottom: 20px;
}
.ct-quick-view-card .entry-summary .price .sale-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}
.ct-quick-view-card .entry-summary .price del {
	order: 2;
	color: #8a949c;
	font-size: 16px;
	font-weight: 500;
}
.ct-quick-view-card .entry-summary .price ins {
	text-decoration: none;
}
.ct-quick-view-card .entry-summary .woocommerce-product-details__short-description {
	color: #3d4852;
	font-size: 15px;
	line-height: 1.65;
}
.ct-quick-view-card .entry-summary .stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}
.ct-quick-view-card .entry-summary .stock::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}
.ct-quick-view-card .entry-summary .stock.in-stock {
	background: #ecf7f1;
	color: #0b6b3a;
}
.ct-quick-view-card .entry-summary .stock.out-of-stock {
	background: #fdf3f2;
	color: #b42318;
}
.ct-quick-view-card .entry-summary .stock.available-on-backorder {
	background: #fff7e6;
	color: #8a5a00;
}
.ct-quick-view-card .ct-cart-actions {
	gap: 10px;
}
.ct-quick-view-card .ct-cart-actions .quantity {
	--quantity-height: 50px;
	height: 50px;
}
.ct-quick-view-card .ct-cart-actions .single_add_to_cart_button {
	min-height: 50px;
	font-size: 15px;
	font-weight: 600;
}
.ct-quick-view-card .ct-cart-actions a.added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 100%;
	min-height: 50px;
	padding: 0 20px;
	border-radius: 6px;
	background: #ffffff;
	color: #033521;
	box-shadow: inset 0 0 0 1px #033521;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.ct-quick-view-card .ct-cart-actions a.added_to_cart:hover {
	background: #ecf7f1;
}
.ct-quick-view-card .ct-cart-actions a.added_to_cart::after {
	content: "\2192";
	margin-inline-start: 8px;
}
.ct-quick-view-card .entry-summary .product_meta {
	color: #5b6670;
	font-size: 13px;
}
.ct-quick-view-card .entry-summary .product_meta a {
	color: #033521;
}
.ct-quick-view-card .entry-summary .ct-quick-more {
	--theme-button-text-initial-color: #033521;
	--theme-button-text-hover-color: #033521;
	--theme-button-background-initial-color: transparent;
	--theme-button-background-hover-color: #ecf7f1;
	min-height: 48px;
	border-radius: 6px;
	box-shadow: inset 0 0 0 1px #c9ddd1;
	font-weight: 600;
	text-decoration: none;
}
.ct-quick-view-card .entry-summary .ct-quick-more::after {
	content: "\2192";
	margin-inline-start: 8px;
}

/* Mobilieji: 16px laukai (iOS Safari nebeartina fokusuojant) */
@media (max-width: 999.98px) {
	body.woocommerce-account .woocommerce-MyAccount-content :is(input:not([type=checkbox]):not([type=radio]), select, textarea),
	body.woocommerce-account .woocommerce-MyAccount-content .select2-selection__rendered {
		font-size: 16px;
	}
}

/* Slaptažodžio rodymo mygtukas: 40x40 paspaudimo zona */
body form:is(.login, .register, .edit-account, .lost_reset_password) [class*=password-input] .show-password-input,
body form.woocommerce-form-login [class*=password-input] .show-password-input {
	inset-inline-end: 4px;
	top: 50%;
	width: 40px;
	height: 40px;
	transform: translateY(-50%);
	-webkit-mask-size: 16px;
	mask-size: 16px;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}
body form:is(.login, .register, .edit-account, .lost_reset_password) [class*=password-input] input,
body form.woocommerce-form-login [class*=password-input] input {
	padding-inline-end: 48px;
}

/* „(neprivaloma)“ — kaip atsiskaityme: prislopinta, ne paryškinta */
body.woocommerce-account .woocommerce-MyAccount-content label .optional {
	color: var(--dsp-muted, #5b6b63);
	font-weight: 400;
}
