/*
 * Reetal — main stylesheet (LTR-first; logical properties where useful).
 */

:root {
	/* LOTOMENA-inspired: brand red + yellow highlights + charcoal + clean cards */
	--color-bg: #f5f4f3;
	--color-surface: #ffffff;
	--color-text: #1c1c1c;
	--color-muted: #5c5c5c;
	--color-border: #e6e4e2;
	--color-nav: #1a1a1a;
	--color-nav-hover: #2c2c2c;
	--color-brand: #c32121;
	--color-brand-mid: #a61c1c;
	--color-brand-soft: #fceeee;
	--color-accent: #c32121;
	--color-accent-dark: #9a1a1a;
	--color-accent-soft: rgba(195, 33, 33, 0.1);
	/* Category band + nav emphasis (LOTOMENA yellow) */
	--color-loto-yellow: #fbc02d;
	--color-loto-yellow-dark: #f9a825;
	--color-success: #2e7d57;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 12px 32px rgba(0, 0, 0, 0.1);
	--shadow-card: 0 2px 14px rgba(0, 0, 0, 0.07);
	--radius: 14px;
	--radius-sm: 8px;
	--radius-pill: 999px;
	--container: min(1180px, 100% - 2rem);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-ar: "Noto Sans Arabic", var(--font);
	--header-height: 72px;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
}

body.nav-open {
	overflow: hidden;
}

#page.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1 0 auto;
}

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

a {
	color: var(--color-brand);
	text-decoration: none;
}

a:hover {
	color: var(--color-brand-mid);
	text-decoration: underline;
}

.section-link,
.woocommerce .woocommerce-breadcrumb a {
	color: var(--color-accent);
}

.section-link:hover,
.woocommerce .woocommerce-breadcrumb a:hover {
	color: var(--color-accent-dark);
}

.site-container {
	width: var(--container);
	margin-inline: auto;
}

.site-container--narrow {
	width: min(760px, 100% - 2rem);
	margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
	background: var(--color-surface);
	box-shadow: 0 1px 0 rgba(22, 40, 33, 0.06);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-top {
	background: var(--color-nav);
	color: #e8edf2;
	font-size: 0.8125rem;
}

.header-top__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding-block: 0.35rem;
}

.header-top__inner--nav-only {
	justify-content: flex-end;
}

.header-tagline {
	margin: 0;
	opacity: 0.9;
}

.header-top-menu,
.header-top-nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.header-top-menu > li,
.header-top-nav > ul > li {
	flex: 0 0 auto;
}

.header-top-menu a,
.header-top-nav a {
	color: inherit;
	text-decoration: none;
}

.header-top-menu a:hover,
.header-top-nav a:hover {
	text-decoration: underline;
}

.header-main__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem 1.5rem;
	padding-block: 0.85rem;
}

.site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-branding .custom-logo {
	max-height: 48px;
	width: auto;
}

.site-title-link {
	color: var(--color-text);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
}

.site-title-link:hover {
	color: var(--color-brand-mid);
	text-decoration: none;
}

/* Search — pill bar like industrial storefronts */
.search-form {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	overflow: hidden;
	background: var(--color-brand-soft);
	max-width: 560px;
	margin-inline: auto;
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.search-field {
	flex: 1;
	border: 0;
	padding: 0.7rem 1.1rem;
	font: inherit;
	background: transparent;
	min-width: 0;
}

.search-field:focus {
	outline: 2px solid var(--color-brand-mid);
	outline-offset: 0;
	border-radius: var(--radius-pill);
}

.search-submit {
	border: 0;
	background: var(--color-brand);
	color: #fff;
	padding-inline: 1.1rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
}

.search-submit:hover {
	background: var(--color-nav);
}

/* Header actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.header-action {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.5rem;
	border-radius: var(--radius-sm);
	color: var(--color-text);
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 600;
	position: relative;
	z-index: 1;
	min-height: 44px;
	min-width: 44px;
	justify-content: center;
}

/* Clicks always hit the <a>; avoids rare cases where nested SVG/label steal the click */
.header-action__icon,
.header-action__label,
.header-action .reetal-cart-count {
	pointer-events: none;
}

.header-action:hover {
	background: var(--color-brand-soft);
	text-decoration: none;
	color: var(--color-brand);
}

.header-action__icon {
	display: flex;
	color: var(--color-brand);
}

.header-action--cart {
	position: relative;
	padding-inline-end: 0.85rem;
}

.reetal-cart-count {
	position: absolute;
	inset-block-start: 2px;
	inset-inline-end: 4px;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0 4px;
	font-size: 0.65rem;
	line-height: 1.1rem;
	text-align: center;
	background: var(--color-accent);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 0.5rem;
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.menu-toggle__bar {
	width: 22px;
	height: 2px;
	background: var(--color-brand);
	border-radius: 1px;
}

/* Primary nav — dark strip only for legacy markup (not Lotomena .reetal-sub-nav third tier). */
.header-nav-wrap:not(.reetal-sub-nav) {
	background: linear-gradient(180deg, #2a2a2a 0%, var(--color-nav) 100%);
	border-block-start: 1px solid rgba(255, 255, 255, 0.05);
}

.main-navigation .nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 0.15rem 1.75rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.main-navigation .nav-menu > li {
	flex: 0 0 auto;
}

.header-nav-wrap:not(.reetal-sub-nav) .main-navigation .nav-menu > li > a {
	display: block;
	padding: 0.85rem 0;
	color: #f1f5f9;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border-block-end: 2px solid transparent;
}

.header-nav-wrap:not(.reetal-sub-nav) .main-navigation .nav-menu > li > a:hover,
.header-nav-wrap:not(.reetal-sub-nav) .main-navigation .nav-menu > li.current-menu-item > a {
	color: #fff;
	border-color: var(--color-loto-yellow);
	text-decoration: none;
}

/* Lotomena header: row layout for top-level links (colors come from design-override.css). */
.site-header.reetal-site-header .reetal-sub-nav .main-navigation .nav-menu > li > a {
	display: block;
	padding: 0.85rem 0;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border-block-end: 2px solid transparent;
}

.main-navigation .sub-menu {
	display: none;
}

/* ——— Hero ——— LOTOMENA-style deep brand band */
.hero {
	background: linear-gradient(118deg, #1c0c0c 0%, #3d1515 36%, #8b1e1e 78%, #c32121 100%);
	color: #fff8f6;
	padding-block: clamp(2.75rem, 7vw, 5rem);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
		radial-gradient(ellipse 60% 50% at 90% 80%, rgba(0, 0, 0, 0.12), transparent 50%);
	pointer-events: none;
}

.hero--home {
	background-image: linear-gradient(105deg, rgba(18, 8, 8, 0.94) 0%, rgba(50, 16, 16, 0.88) 45%, rgba(195, 33, 33, 0.78) 100%), var(--hero-bg, none);
	background-size: cover;
	background-position: center;
}

.hero__inner {
	position: relative;
	z-index: 1;
}

.hero__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

.hero__subtitle {
	margin: 0 0 1.65rem;
	max-width: 38ch;
	font-size: clamp(1rem, 2vw, 1.15rem);
	line-height: 1.65;
	opacity: 0.95;
	font-weight: 500;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.35rem;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.button--primary {
	background: var(--color-accent);
	color: #fff;
	border-color: var(--color-accent);
	box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35);
}

.button--primary:hover {
	background: var(--color-accent-dark);
	border-color: var(--color-accent-dark);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(198, 40, 40, 0.4);
}

.button--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(4px);
}

.button--ghost:hover {
	background: rgba(255, 255, 255, 0.18);
	text-decoration: none;
	color: #fff;
}

/* ——— Sections ——— */
.section {
	padding-block: clamp(2.75rem, 5vw, 4rem);
}

.section--categories {
	background: linear-gradient(180deg, #f5f0f0 0%, var(--color-surface) 55%);
	border-block: 1px solid var(--color-border);
}

.section--products {
	background: var(--color-surface);
}

.section-header {
	margin-bottom: 2rem;
	text-align: center;
	max-width: 720px;
	margin-inline: auto;
}

.section-header--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	max-width: none;
	text-align: start;
	flex-wrap: wrap;
}

.section-header--row .section-title {
	margin-bottom: 0;
}

.section-kicker {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-brand-mid);
}

.section-kicker--inline {
	margin-bottom: 0.2rem;
}

.section-title {
	margin: 0 0 0.5rem;
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--color-text);
}

.section-title--display {
	font-size: clamp(1.65rem, 3vw, 2.15rem);
	font-weight: 800;
}

.section-lead {
	margin: 0;
	color: var(--color-muted);
	font-size: 1.02rem;
	line-height: 1.65;
	max-width: 52ch;
	margin-inline: auto;
}

.section-header--row .section-lead {
	margin-inline: 0;
}

.section-link {
	font-weight: 700;
	font-size: 0.95rem;
	white-space: nowrap;
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}

.section-link:hover {
	text-decoration: none;
	opacity: 0.88;
}

.section-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--color-muted);
}

/* Category grid — LOTOMENA-style tiles */
.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
	gap: 1.1rem;
}

@media (min-width: 900px) {
	.category-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.category-card {
	background: var(--color-surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
	border: 1px solid rgba(195, 33, 33, 0.12);
}

.category-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
	border-color: rgba(195, 33, 33, 0.35);
	text-decoration: none;
	color: inherit;
}

.category-card__media {
	aspect-ratio: 1;
	background: linear-gradient(160deg, #faf6f6 0%, #f0e6e6 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.category-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.category-card__placeholder {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: conic-gradient(from 210deg, var(--color-brand-mid), #f0c4c4, var(--color-brand-mid));
	opacity: 0.55;
}

.category-card__title {
	margin: 0;
	padding: 0.85rem 0.75rem 1rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.4;
	color: var(--color-text);
	text-transform: none;
	letter-spacing: 0.01em;
}

/* Feature grid */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
}

.feature-card {
	background: var(--color-surface);
	padding: 1.5rem 1.35rem;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-card);
	border-inline-start: 4px solid var(--color-brand-mid);
}

.feature-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.08rem;
	font-weight: 800;
	color: var(--color-brand);
}

.feature-card p {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.9rem;
}

/* Post cards */
.post-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
}

.post-card {
	background: var(--color-surface);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
}

.post-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post-card__body {
	padding: 1.1rem 1.2rem 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.post-card__date {
	font-size: 0.8rem;
	color: var(--color-muted);
}

.post-card__title {
	margin: 0.35rem 0;
	font-size: 1.1rem;
	line-height: 1.3;
}

.post-card__title a {
	color: var(--color-text);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--color-accent);
}

.post-card__excerpt {
	margin: 0 0 0.75rem;
	color: var(--color-muted);
	font-size: 0.9rem;
	flex: 1;
}

.read-more {
	font-weight: 600;
	font-size: 0.875rem;
}

/* ——— Blog / archive entries ——— */
.site-main {
	padding-block: 2rem 3rem;
}

.page-header {
	margin-bottom: 2rem;
}

.page-title {
	margin: 0;
	font-size: 1.75rem;
}

.archive-description {
	color: var(--color-muted);
	margin-top: 0.5rem;
}

.entry {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--color-border);
}

.entry-title {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
}

.entry-meta {
	font-size: 0.85rem;
	color: var(--color-muted);
}

.entry-media {
	margin: 1rem 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

/* ——— Footer ——— */
.site-footer {
	background: linear-gradient(180deg, #141414 0%, var(--color-nav) 100%);
	color: #cfcfcf;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	padding-block: 2.75rem;
}

.footer-site-title a {
	color: #fff;
	font-weight: 700;
	font-size: 1.15rem;
	text-decoration: none;
}

.footer-desc {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	opacity: 0.85;
}

.footer-widget-title {
	color: #fff;
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 700;
}

.footer-menu,
.footer-legal {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li,
.footer-legal li {
	margin-bottom: 0.4rem;
}

.footer-menu a,
.footer-legal a {
	color: #e2e8f0;
	text-decoration: none;
}

.footer-menu a:hover,
.footer-legal a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-block: 1rem;
	font-size: 0.85rem;
}

.footer-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.copyright {
	margin: 0;
}

.copyright a {
	color: #fff;
	font-weight: 600;
}

/* ——— WooCommerce layout ——— */
.reetal-shop-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: flex-start;
}

.reetal-shop-wrap .woocommerce-main {
	flex: 1;
	min-width: 0;
}

.shop-sidebar {
	flex: 0 0 280px;
	max-width: 100%;
}

/* Shop filters (LOTOMENA-style: card blocks in the left column) */
.shop-sidebar .widget {
	margin: 0 0 1.15rem;
	padding: 1rem 1.1rem 1.1rem;
	background: var(--color-surface);
	border: 1px solid rgba(195, 33, 33, 0.1);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.shop-sidebar .widget:last-child {
	margin-bottom: 0;
}

.shop-sidebar .widget-title {
	margin: 0 0 1rem;
	padding: 0 0 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--color-text);
	border-bottom: none;
	border-left: 4px solid var(--color-brand);
}

/* Product categories list: shop archive overrides in woocommerce-overrides.css (bullets + spacing). */
.shop-sidebar .widget_product_categories ul.product-categories,
.shop-sidebar .widget_product_categories ul.list-categories,
.shop-sidebar .widget_product_categories > ul {
	list-style: disc outside;
	margin: 0;
	padding: 0.5rem 0 0 1.15rem;
}

.shop-sidebar .widget_product_categories ul.product-categories li,
.shop-sidebar .widget_product_categories ul.list-categories li,
.shop-sidebar .widget_product_categories > ul > li {
	margin: 0.15rem 0;
	padding: 0.25rem 0;
	border-bottom: none;
	line-height: 1.45;
}

.shop-sidebar .widget_product_categories ul.product-categories a,
.shop-sidebar .widget_product_categories ul.list-categories a,
.shop-sidebar .widget_product_categories > ul a {
	display: block;
	padding: 0.35rem 0.35rem 0.35rem 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: #2d3a4d;
	text-decoration: none;
	transition: color 0.15s, background 0.15s;
}

.shop-sidebar .widget_product_categories ul.product-categories a:hover,
.shop-sidebar .widget_product_categories ul.list-categories a:hover,
.shop-sidebar .widget_product_categories > ul a:hover {
	color: var(--color-brand);
	background: rgba(195, 33, 33, 0.06);
}

.shop-sidebar .widget_price_filter .price_slider_wrapper {
	margin-top: 0.35rem;
}

.shop-sidebar .widget_price_filter .price_slider_amount {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-top: 0.65rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-muted);
}

.shop-sidebar .widget_price_filter .button {
	font-size: 0.75rem;
	padding: 0.4rem 0.85rem;
	border-radius: var(--radius-sm);
}

.shop-sidebar .reetal-price-filter-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin: 0 0 0.75rem;
}

.shop-sidebar .reetal-price-filter-fields input[type="number"] {
	width: 5.5rem;
	max-width: 100%;
	padding: 0.4rem 0.5rem;
	font-size: 0.875rem;
	border: 1px solid rgba(195, 33, 33, 0.2);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
}

.shop-sidebar .reetal-price-sep {
	color: var(--color-muted);
	font-weight: 600;
}

.shop-sidebar .reetal-price-filter-form .button {
	margin-top: 0.15rem;
}

.woocommerce .woocommerce-breadcrumb {
	font-size: 0.85rem;
	color: var(--color-muted);
	margin-bottom: 1rem;
}

/* Category / tag archive: yellow band (LOTOMENA-style) + hide duplicate WC header */
body.reetal-shop-has-cat-hero .woocommerce-products-header {
	display: none !important;
}

.reetal-cat-hero {
	margin: 0 0 1.5rem;
	border-radius: var(--radius);
	background: linear-gradient(100deg, var(--color-loto-yellow) 0%, var(--color-loto-yellow-dark) 100%);
	box-shadow: 0 8px 24px rgba(249, 168, 37, 0.25);
}

.reetal-cat-hero__inner {
	padding: 1.1rem 1.25rem 1.2rem;
}

.reetal-cat-hero__title {
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.reetal-cat-hero__desc {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
}

.reetal-cat-hero__desc p {
	margin: 0 0 0.4rem;
}

/* Shop listing toolbar (result count + sort — similar role to Woodmart shop controls) */
.reetal-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin-bottom: 1.25rem;
	padding: 0.7rem 1rem;
	background: var(--color-surface);
	border: 1px solid rgba(195, 33, 33, 0.12);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
}

.reetal-shop-toolbar .woocommerce-result-count {
	margin: 0 !important;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-muted);
}

.reetal-shop-toolbar .woocommerce-ordering {
	margin: 0 !important;
}

.reetal-shop-toolbar .woocommerce-ordering select {
	padding: 0.4rem 2rem 0.4rem 0.65rem;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(195, 33, 33, 0.2);
	background-color: var(--color-surface);
	color: var(--color-text);
}

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 1.35rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

@media (min-width: 1024px) {
	.section--products .woocommerce ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* Shop grid: 3 cols standard / 4 dense — see woocommerce-overrides.css for !important rules */
	body.woocommerce-page:not(.single-product) .reetal-shop-wrap .woocommerce-main ul.products.reetal-shop-view--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	body.woocommerce-page:not(.single-product) .reetal-shop-wrap .woocommerce-main ul.products.reetal-shop-view--dense {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
}

.woocommerce ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--color-surface);
	border: 1px solid rgba(195, 33, 33, 0.1);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
	display: flex;
	flex-direction: column;
}

.woocommerce ul.products li.product:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
	border-color: rgba(249, 168, 37, 0.55);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	text-decoration: none;
	display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0.85rem 1rem 0;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--color-text);
	min-height: 3.1em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
	color: var(--color-brand-mid);
}

.woocommerce ul.products li.product .price {
	padding: 0.4rem 1rem 0.85rem;
	display: block;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	color: var(--color-brand);
}

.woocommerce ul.products li.product .price del {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-muted);
	opacity: 0.85;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--color-accent);
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
	margin: 0 1rem 1rem !important;
	width: calc(100% - 2rem) !important;
	text-align: center;
	justify-content: center;
	border-radius: var(--radius-sm) !important;
	font-weight: 700 !important;
	font-size: 0.8125rem !important;
	padding: 0.65rem 0.75rem !important;
	background: var(--color-brand) !important;
	color: #fff !important;
	border: 1px solid var(--color-brand) !important;
	transition: background 0.15s, border-color 0.15s, transform 0.15s !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
	background: var(--color-nav) !important;
	border-color: var(--color-nav) !important;
	color: #fff !important;
	text-decoration: none !important;
}

.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	padding: 0.75rem;
	background: linear-gradient(180deg, #fafcfb 0%, #f0f6f3 100%);
}

.woocommerce span.onsale {
	background: var(--color-accent);
	color: #fff;
	border-radius: var(--radius-sm);
	min-height: auto;
	line-height: 1.2;
	padding: 0.25rem 0.55rem;
	font-weight: 700;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: var(--color-brand);
	border-color: var(--color-brand);
	border-radius: var(--radius-sm);
	font-weight: 700;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
	background: var(--color-nav);
	border-color: var(--color-nav);
	color: #fff;
}

.woocommerce table.shop_table {
	border-radius: var(--radius);
	overflow: hidden;
}

/* Shop loop: category line */
.woocommerce ul.products li.product p.reetal-loop-product-cat {
	margin: 0.15rem 1rem 0;
	padding: 0;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.3;
}

.woocommerce ul.products li.product p.reetal-loop-product-cat a {
	color: var(--color-brand-mid);
	text-decoration: none;
}

.woocommerce ul.products li.product p.reetal-loop-product-cat a:hover {
	color: var(--color-brand);
	text-decoration: underline;
}

/* ——— Utilities ——— */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto !important;
	height: auto;
	width: auto;
	left: 0.5rem;
	top: 0.5rem;
	z-index: 99999;
	padding: 0.5rem 1rem;
	background: #000;
	color: #fff;
	text-decoration: none;
}

/* ——— Mobile nav ——— */
@media (max-width: 900px) {
	.header-main__inner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"brand actions"
			"search search";
	}

	.site-branding {
		grid-area: brand;
	}

	.header-actions {
		grid-area: actions;
	}

	.header-search {
		grid-area: search;
	}

	.search-form {
		max-width: none;
	}

	.menu-toggle {
		display: flex;
	}

	.header-nav-wrap {
		position: fixed;
		inset: 0;
		top: 0;
		background: rgba(18, 33, 42, 0.98);
		padding: 5rem 1.25rem 2rem;
		transform: translateX(-100%);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
		z-index: 90;
		overflow-y: auto;
		border: 0;
	}

	html[dir="rtl"] .header-nav-wrap {
		transform: translateX(100%);
	}

	body.nav-open .header-nav-wrap {
		transform: translateX(0);
		opacity: 1;
		visibility: visible;
	}

	.main-navigation .nav-menu {
		flex-direction: column;
		gap: 0;
	}

	.main-navigation .nav-menu > li > a {
		padding: 0.9rem 0;
		border-color: transparent;
		border-block-end: 1px solid rgba(255, 255, 255, 0.08);
		font-size: 1rem;
	}

	.header-action__label {
		display: none;
	}
}

@media (max-width: 900px) {
	.shop-sidebar {
		flex: 1 1 100%;
		order: 2;
	}
}

/* ——— Hero slider ——— */
.hero-slider {
	position: relative;
	color: #fff8f6;
	background: #1a0a0a;
}

.hero-slider__viewport {
	overflow: hidden;
}

.hero-slider__track {
	display: flex;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.hero-slider__slide {
	position: relative;
	flex-shrink: 0;
	min-height: min(72vw, 520px);
	max-height: 640px;
	background-size: cover;
	background-position: center;
	background-image: linear-gradient(118deg, rgba(18, 8, 8, 0.94), rgba(50, 16, 16, 0.88)), var(--slide-bg, none);
}

.hero-slider__slide--tone-b {
	background-image: linear-gradient(105deg, rgba(32, 12, 12, 0.92), rgba(80, 25, 25, 0.88)), var(--slide-bg, none);
}

.hero-slider__slide--tone-c {
	background-image: linear-gradient(120deg, rgba(14, 6, 6, 0.93), rgba(195, 33, 33, 0.82)), var(--slide-bg, none);
}

.hero-slider__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 55%);
	pointer-events: none;
}

.hero-slider__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	min-height: min(72vw, 520px);
	max-height: 640px;
	padding-block: clamp(2.5rem, 8vw, 4.5rem);
}

.hero-slider__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.75rem, 4vw, 2.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.12;
	max-width: 18ch;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-slider__subtitle {
	margin: 0 0 1.25rem;
	max-width: 40ch;
	font-size: clamp(0.95rem, 2vw, 1.12rem);
	line-height: 1.6;
	opacity: 0.95;
	font-weight: 500;
}

.hero-slider__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero-slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, border-color 0.15s;
}

.hero-slider__btn:hover {
	background: rgba(255, 255, 255, 0.22);
	border-color: #fff;
}

.hero-slider__btn--prev {
	left: max(0.75rem, calc(50% - min(590px, 50vw)));
}

.hero-slider__btn--next {
	right: max(0.75rem, calc(50% - min(590px, 50vw)));
}

.hero-slider__dots {
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 0.45rem;
}

.hero-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.55);
	background: transparent;
	padding: 0;
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
}

.hero-slider__dot.is-active {
	background: #fff;
	transform: scale(1.15);
}

/* Product tabs (best sellers) */
.product-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1.25rem;
	margin: 0 0 1.25rem;
	padding: 0;
	border-bottom: 1px solid var(--color-border);
}

.product-tabs__link {
	display: inline-block;
	padding: 0.5rem 0 0.85rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-muted);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}

.product-tabs__link:hover,
.product-tabs__link.is-active {
	color: var(--color-brand);
	border-bottom-color: var(--color-brand-mid);
	text-decoration: none;
}

/* Browse by groups */
.section--groups {
	background: #fafcfb;
}

.group-banners {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
}

.group-banner {
	display: block;
	background: var(--color-surface);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	border: 1px solid rgba(201, 162, 39, 0.35);
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, box-shadow 0.2s;
}

.group-banner:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	text-decoration: none;
	color: inherit;
}

.group-banner__media {
	aspect-ratio: 16 / 10;
	background: linear-gradient(145deg, #f5f0f0, #e8e0e0);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.group-banner__media--pattern {
	background: repeating-linear-gradient(
			-12deg,
			#fceeee,
			#fceeee 12px,
			#e8dede 12px,
			#e8dede 24px
		),
		linear-gradient(160deg, #faf6f6, #efe4e4);
}

.group-banner__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.group-banner__label {
	display: block;
	padding: 1rem 1.1rem 1.15rem;
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--color-text);
}

/* Special offers band */
.section--special {
	background: linear-gradient(180deg, #fff 0%, #f3f7f5 100%);
	border-block: 1px solid var(--color-border);
}

/* Importance grid (5 cards) */
.section--importance {
	background: var(--color-surface);
}

.loto-value-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

@media (min-width: 1100px) {
	.loto-value-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.loto-value-card {
	border: 2px dashed rgba(198, 40, 40, 0.45);
	border-radius: var(--radius);
	padding: 1.25rem 1.1rem;
	background: #fffefc;
	text-align: center;
}

.loto-value-card__icon {
	color: var(--color-accent);
	margin-bottom: 0.75rem;
	display: flex;
	justify-content: center;
}

.loto-value-card__icon svg {
	display: block;
}

.loto-value-card__title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.35;
	color: var(--color-text);
}

.loto-value-card p {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--color-muted);
	text-align: start;
	hyphens: auto;
}

.section--features-compact {
	padding-block: 2rem 2.5rem;
}

.feature-grid--tight {
	gap: 1rem;
}

.post-cards--four {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 1024px) {
	.post-cards--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.hero-slider__btn--prev,
	.hero-slider__btn--next {
		display: none;
	}
}
