/* ==========================================================================
   ORTOTO.LT – poraštė
   Vieta: wp-content/themes/ortoto-child/assets/footer.css
   Spalvos ir tarpai iš tokens.css. Mobile-first.
   ========================================================================== */

.oto-footer {
	background-color: var(--ortoto-ink);
	color: var(--ortoto-white);
	font-size: var(--ortoto-small);
	line-height: 1.7;
}

.oto-footer__vidus {
	max-width: 1200px;
	margin-inline: auto;
	padding: var(--ortoto-space-12) var(--ortoto-space-4) var(--ortoto-space-8);
}

/* ------------------------------------------------------------ Stulpeliai - */

.oto-footer__tinklelis {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ortoto-space-8);
}

@media (min-width: 600px) {
	.oto-footer__tinklelis { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.oto-footer__tinklelis { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.oto-footer__antraste {
	margin: 0 0 var(--ortoto-space-4);
	font-family: var(--ortoto-font-body);
	font-weight: 500;
	font-size: var(--ortoto-body);
	color: var(--ortoto-yellow);
	letter-spacing: 0.01em;
}

.oto-footer__rekvizitai {
	margin: 0 0 var(--ortoto-space-4);
	font-style: normal;
	opacity: 0.88;
}

.oto-footer__kontaktai { margin: 0; }

.oto-footer__smulkiai {
	font-size: 0.8125rem;
	opacity: 0.7;
}

.oto-footer__oficiali {
	margin: var(--ortoto-space-4) 0 0;
	padding-top: var(--ortoto-space-3);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* -------------------------------------------------------------- Sąrašai --- */

.oto-footer__sarasas {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oto-footer__sarasas li { margin-bottom: var(--ortoto-space-2); }

.oto-footer a {
	color: var(--ortoto-white);
	text-decoration: none;
	opacity: 0.88;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.oto-footer a:hover {
	color: var(--ortoto-yellow);
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.oto-footer a:focus-visible {
	outline: 2px solid var(--ortoto-yellow);
	outline-offset: 2px;
}

/* ------------------------------------------------------- Apatinė juosta --- */

.oto-footer__apacia {
	margin-top: var(--ortoto-space-12);
	padding-top: var(--ortoto-space-6);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.oto-footer__zenkleliai {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ortoto-space-2);
	margin-bottom: var(--ortoto-space-4);
}

.oto-footer__zenkleliu-etikete {
	min-width: 6.5rem;
	font-size: 0.8125rem;
	opacity: 0.6;
}

.oto-zenklelis {
	padding: 0.25rem 0.625rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--ortoto-radius-sm);
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	opacity: 0.85;
	white-space: nowrap;
}

.oto-footer__teises {
	margin: var(--ortoto-space-6) 0 0;
	font-size: 0.8125rem;
	opacity: 0.6;
}

@media (max-width: 599px) {
	.oto-footer__zenkleliu-etikete {
		min-width: 100%;
		margin-bottom: var(--ortoto-space-1);
	}
}

/* ==========================================================================
   KREPŠELIO PANELĖ
   Blocksy fonui naudoja paletės spalvą, o tokings.css paletę perrašė –
   todėl fonas tapdavo tamsus. Čia fiksuojam konkrečiomis reikšmėmis.
   ========================================================================== */

.ct-cart-content,
.ct-header-cart .ct-cart-content,
.ct-panel-content .ct-cart-content {
	background-color: var(--ortoto-white) !important;
	color: var(--ortoto-ink) !important;
	border-radius: var(--ortoto-radius);
	box-shadow: 0 8px 32px rgba(87, 70, 79, 0.18);
}

.ct-cart-content *,
.ct-cart-content .ct-cart-item-name,
.ct-cart-content .quantity,
.ct-cart-content .ct-subtotal,
.ct-cart-content .woocommerce-mini-cart__total {
	color: var(--ortoto-ink) !important;
}

.ct-cart-content a:not(.button):not(.checkout) {
	color: var(--ortoto-ink) !important;
	text-decoration: none;
}

.ct-cart-content a:not(.button):not(.checkout):hover {
	color: var(--ortoto-teal) !important;
}

.ct-cart-content li,
.ct-cart-content .ct-cart-item,
.ct-cart-content .woocommerce-mini-cart__total {
	border-color: var(--ortoto-neutral) !important;
}

/* Apmokėjimas – pagrindinis veiksmas, geltonas. Krepšelis – antrinis. */
.ct-cart-content .checkout,
.ct-cart-content a.checkout.wc-forward,
.widget_shopping_cart .buttons a.checkout {
	background-color: var(--ortoto-yellow) !important;
	color: var(--ortoto-ink) !important;
	border: none !important;
}

.ct-cart-content .checkout:hover,
.widget_shopping_cart .buttons a.checkout:hover {
	background-color: var(--ortoto-yellow-dark) !important;
}

.ct-cart-content .button:not(.checkout),
.widget_shopping_cart .buttons a:not(.checkout) {
	background-color: transparent !important;
	color: var(--ortoto-ink) !important;
	border: 1px solid var(--ortoto-neutral) !important;
}

.ct-cart-content .button:not(.checkout):hover,
.widget_shopping_cart .buttons a:not(.checkout):hover {
	border-color: var(--ortoto-teal) !important;
	color: var(--ortoto-teal) !important;
}

/* Šiukšliadėžės ikona – matoma */
.ct-cart-content .remove,
.ct-cart-content .ct-cart-item .remove {
	color: var(--ortoto-ink-soft) !important;
	opacity: 0.7;
}

.ct-cart-content .remove:hover {
	color: var(--ortoto-coral) !important;
	opacity: 1;
}
