/**
 * Minimal theme CSS — Elementor handles most layout.
 * Brand tokens match stedrinowear.com
 */

:root {
	--stedrino-navy: #0d3973;
	--stedrino-pink: #d92387;
	--stedrino-sky: #3098d9;
	--stedrino-bg: #f5f8fb;
	--stedrino-text: #1a2d42;
	--stedrino-muted: #5a6d82;
	--stedrino-border: #dde5ee;
	--stedrino-container: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Cairo', sans-serif;
	background: var(--stedrino-bg);
	color: var(--stedrino-text);
	line-height: 1.6;
}

body.stedrino-ltr {
	font-family: 'Nunito', sans-serif;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--stedrino-sky);
}

.container {
	width: min(100% - 2rem, var(--stedrino-container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 0.5rem;
	inset-inline-start: 0.5rem;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	background: var(--stedrino-pink);
	color: #fff;
	clip: auto;
}

/* Fallback header */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--stedrino-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 72px;
}

.site-title {
	font-weight: 700;
	color: var(--stedrino-navy);
	text-decoration: none;
	font-size: 1.25rem;
}

.site-nav__list {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	color: var(--stedrino-text);
	text-decoration: none;
	font-weight: 600;
}

.site-nav__list a:hover {
	color: var(--stedrino-pink);
}

.site-header__cart {
	color: var(--stedrino-navy);
	text-decoration: none;
	font-weight: 600;
}

.cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	margin-inline-start: 0.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: var(--stedrino-pink);
	color: #fff;
	font-size: 0.75rem;
}

/* Fallback footer */
.site-footer {
	background: var(--stedrino-navy);
	color: rgba(255, 255, 255, 0.85);
	margin-top: 3rem;
	padding: 2.5rem 0 1.5rem;
}

.site-footer__inner {
	display: grid;
	gap: 1.5rem;
}

.site-footer a {
	color: #fff;
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-footer__copy {
	margin: 0;
	font-size: 0.85rem;
	opacity: 0.8;
}

/* Page content fallback */
.site-main--page .entry-header,
.site-main--archive .container,
.site-main--single .container,
.site-main--404 .container {
	padding-block: 2rem;
}

.entry-title {
	color: var(--stedrino-navy);
}

.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: var(--stedrino-pink);
	color: #fff;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
}

/* WooCommerce minimal */
.stedrino-shop .woocommerce-products-header {
	margin-bottom: 1.5rem;
}

.stedrino-shop ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.stedrino-shop ul.products::before,
.stedrino-shop ul.products::after {
	display: none;
}

.stedrino-shop ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

.stedrino-shop .price {
	color: var(--stedrino-pink);
	font-weight: 700;
}

.stedrino-shop .button,
.stedrino-shop .button.alt {
	background: var(--stedrino-pink) !important;
	border-radius: 999px;
}

@media (max-width: 1024px) {
	.stedrino-shop ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.site-nav {
		display: none;
	}

	.stedrino-shop ul.products {
		grid-template-columns: 1fr;
	}
}

/* Elementor full-width pages */
.site-main--full-width,
.site-main--canvas {
	padding: 0;
}

.stedrino-canvas {
	margin: 0;
}
