/* Krepšelis, atsiskaitymas ir paskyra Blocksy temoje – pagal buvusią Fiorello išvaizdą. */

/* Krepšelio lentelė: stulpelių pavadinimai didžiosiomis raidėmis (nuotraukos dydį duoda Fiorello CSS – fiorello-woo.css). */
.woocommerce-cart table.shop_table thead th {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #1b1b1b;
}

.woocommerce-cart table.shop_table td.product-name a {
	color: #6d6a6a;
}

.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
	font-weight: 700;
	color: #1b1b1b;
}

/* Krepšelio skaičiavimas dešinėje, kaip anksčiau. */
.woocommerce-cart .cart-collaterals .cart_totals {
	margin-left: auto;
	max-width: 400px;
}

/* Blocksy formų laukams prideda po 15 px vidinio tarpo – mažame kiekio laukelyje skaičius dingdavo. */
.woocommerce-cart .quantity .dp-qty .qty,
.single-product form.cart .quantity input.qty {
	--theme-form-field-padding: 0;
	padding: 0;
}

/* Krepšelio skaičiavimo antraštė ir „Viso“ eilutė. */
.woocommerce-cart .cart_totals > h2 {
	--theme-font-size: 20px;
	text-align: center;
}

.woocommerce-cart .cart_totals table th {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

/* Telefone – švari kortelė be stulpelių etikečių (kaip Fiorello). */
@media (max-width: 767.98px) {
	.woocommerce-cart table.shop_table_responsive tr td::before {
		display: none;
	}

	.woocommerce-cart table.shop_table_responsive tr td {
		text-align: left;
		justify-content: flex-start;
	}

	.woocommerce-cart .cart_totals table.shop_table_responsive tr th {
		display: table-cell;
	}

	.woocommerce-cart .cart_totals table.shop_table_responsive tr:not(.woocommerce-shipping-totals) {
		display: table-row;
	}

	.woocommerce-cart .cart_totals table.shop_table_responsive tr td {
		display: table-cell;
		text-align: right;
	}
}

/* Atsiskaitymo viršuje „Registruotas pirkėjas?“ ir „Turite nuolaidos kodą?“ – paprastas tekstas be ikonos. */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	padding: 0;
	border: 0;
	background: none;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
	display: none;
}

/* Fiorello krepšelio eilutės linija #e8e8e8 – Fiorello stilius kraunamas po dp-cart-ui, todėl ten laimėdavo jis. */
body.mkdf-woocommerce-page table.cart tr.cart_item {
	border-bottom-color: #e8e8e8;
}

/* Blocksy WooCommerce lentelių nuorodoms deda 500 – Fiorello paveldi įprastą storį. */
html table.shop_table a {
	font-weight: inherit;
}

/* Paskyros kūrimas: Fiorello laukų float susiaurindavo jQuery slideDown
   matuojamą slaptažodžio bloką, todėl animacija ištempdavo visą formą. */
.woocommerce-checkout form.checkout .woocommerce-account-fields {
	clear: both;
	display: flow-root;
	max-width: var(--field-max, 600px);
}

.woocommerce-checkout form.checkout .woocommerce-account-fields .form-row {
	float: none;
	clear: both;
	width: 100%;
	max-width: none;
	margin-right: 0;
}

.woocommerce-checkout form.checkout .woocommerce-account-fields div.create-account {
	clear: both;
	width: 100%;
}

/* Greitai spaudžiant prisiminimo žymę neturi būti pažymimas jos tekstas.
   Atskiras inline-flex blokas taip pat nepaveldi mygtuko eilutės aukščio. */
.woocommerce-checkout form.woocommerce-form-login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 12px 0 0;
	line-height: 24px;
	vertical-align: middle;
	-webkit-user-select: none;
	user-select: none;
}

.woocommerce-checkout form.woocommerce-form-login .woocommerce-form-login__rememberme > input {
	margin: 0;
}
