/* ============================================================
   FAYIE SKIN — violet storefront (dark by default)
   Loads after style.css.
   ============================================================ */

html,
body {
	background: var(--store-bg);
	color: var(--store-text);
}

/* ============================================================
   HEADER — brand / wide search / tools + category nav
   ============================================================ */
.flix-hdr {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(246, 247, 249, 0.94);
	border-bottom: 1px solid var(--store-border);
	backdrop-filter: blur(10px);
}
body.admin-bar .flix-hdr {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar .flix-hdr {
		top: 46px;
	}
}

.flix-hdr__bar {
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
}

/* Brand */
.flix-hdr__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.flix-hdr__logo {
	display: block;
	line-height: 0;
}
.flix-hdr__logo img {
	height: 44px;
	width: auto;
	max-width: 130px;
	object-fit: contain;
	background: transparent;
	display: block;
	border-radius: 8px;
}
.flix-hdr__name {
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--store-text);
	letter-spacing: 0.02em;
	white-space: nowrap;
}
@media (max-width: 900px) {
	.flix-hdr__name {
		display: none;
	}
}

/* Search */
.flix-search {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	background: var(--store-surface);
	border: 1px solid var(--store-border);
	border-radius: var(--store-pill);
	padding: 3px 4px 3px 3px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.flix-search:focus-within {
	border-color: var(--store-accent);
	box-shadow: 0 0 0 3px rgba(84, 0, 219, 0.18);
}
.flix-search__input {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent !important;
	border: 0 !important;
	outline: none !important;
	color: var(--store-text) !important;
	font: inherit;
	font-size: 0.9rem;
	padding: 9px 16px;
}
.flix-search__input::placeholder {
	color: #9aa1ad !important;
}
.flix-search__input:focus {
	outline: none !important;
	box-shadow: none !important;
}
.flix-search__btn {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var(--store-accent);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
}
.flix-search__btn:hover {
	background: var(--store-accent-soft);
}

/* Tools */
.flix-hdr__tools {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}
.flix-tool {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 40px;
	padding: 0 15px;
	border-radius: var(--store-pill);
	background: var(--store-surface);
	border: 1px solid var(--store-border);
	color: var(--store-text) !important;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.flix-tool:hover {
	background: var(--store-accent);
	border-color: var(--store-accent);
	color: #fff !important;
}
.flix-tool--menu {
	width: 40px;
	padding: 0;
}
@media (max-width: 1000px) {
	.flix-tool__label {
		display: none;
	}
	.flix-tool {
		width: 40px;
		padding: 0;
	}
}

@media (max-width: 640px) {
	.flix-hdr__bar {
		flex-wrap: wrap;
		gap: 10px;
		padding: 10px 14px;
	}
	.flix-hdr__brand {
		order: 1;
	}
	.flix-hdr__tools {
		order: 2;
		margin-inline-start: auto;
	}
	.flix-search {
		order: 3;
		flex-basis: 100%;
	}
	.flix-hdr__logo img {
		height: 36px;
	}
}

/* Category nav */
.flix-nav {
	border-top: 1px solid var(--store-border);
	background: var(--store-surface);
}
.flix-nav__list {
	max-width: 1240px;
	margin: 0 auto;
	padding: 8px 18px;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 6px;
}
.flix-nav__list li {
	list-style: none;
	margin: 0;
}
.flix-nav__link {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #4b5563 !important;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}
.flix-nav__link:hover {
	background: var(--store-surface-2);
	color: var(--store-accent) !important;
}
.flix-nav__link.is-active {
	color: var(--store-accent) !important;
	position: relative;
}
.flix-nav__link.is-active::after {
	content: "";
	position: absolute;
	inset-inline: 12px;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--store-accent);
}
@media (max-width: 640px) {
	.flix-nav__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		scrollbar-width: none;
		padding: 8px 14px;
	}
	.flix-nav__list::-webkit-scrollbar {
		display: none;
	}
}

/* ============================================================
   ANNOUNCEMENT BAR — crimson to navy sweep
   ============================================================ */
.store-topbar {
	background: linear-gradient(120deg, #2d0072, #5400db 55%, #7b2bff) !important;
	color: #fff !important;
}
.store-topbar__text,
.store-topbar__close {
	color: #fff !important;
}

/* ============================================================
   STATS — light strip (under banner) + filled band (above footer)
   ============================================================ */
.flix-stats {
	margin: 0;
}
.flix-stats__heading {
	margin: 0 0 18px;
	font-size: 1.12rem;
	font-weight: 800;
	color: var(--store-accent);
	position: relative;
	display: inline-block;
	padding-bottom: 8px;
}
.flix-stats__heading::after {
	content: "";
	position: absolute;
	inset-inline-start: 50%;
	transform: translateX(50%);
	bottom: 0;
	width: 34px;
	height: 3px;
	border-radius: 3px;
	background: var(--store-accent);
}
.flix-stats__heading--start {
	display: block;
	text-align: start;
}
.flix-stats__heading--start::after {
	inset-inline-start: 0;
	transform: none;
	width: 46px;
}

.flix-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}
.flix-stat__icon {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--store-accent);
}
.flix-stat__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}
.flix-stat__value {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--store-accent);
	line-height: 1.3;
}
.flix-stat__label {
	font-size: 0.82rem;
	color: var(--store-muted);
}

/* --- Light strip, full-width band under the banner --- */
.flix-stats--light {
	background: var(--store-surface-2);
	border-block: 1px solid var(--store-border);
	padding: 30px 18px 34px;
	text-align: center;
	margin: 26px 0;
}
.flix-stats--light .flix-stats__items {
	max-width: 1000px;
	margin: 8px auto 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px 18px;
}
.flix-stats--light .flix-stats__items[data-count="2"] {
	grid-template-columns: repeat(2, 1fr);
}
.flix-stats--light .flix-stats__items[data-count="1"] {
	grid-template-columns: 1fr;
}
@media (max-width: 620px) {
	.flix-stats--light .flix-stats__items {
		grid-template-columns: repeat(3, 1fr);
		gap: 18px 8px;
	}
	.flix-stats--light .flix-stat__value {
		font-size: 0.92rem;
	}
	.flix-stats--light .flix-stat__label {
		font-size: 0.72rem;
	}
}

/* --- Filled navy band above the footer --- */
.flix-stats--band {
	max-width: 1200px;
	margin: 40px auto 46px;
	padding: 0 18px;
}
.flix-stats--band .flix-stats__panel {
	background: var(--store-surface-2);
	border: 1px solid var(--store-border);
	border-radius: 18px;
	padding: 22px;
}
.flix-stats__band {
	background: var(--store-accent);
	border-radius: 16px;
	padding: 26px 18px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.flix-stats__band[data-count="3"] {
	grid-template-columns: repeat(3, 1fr);
}
.flix-stats__band[data-count="2"] {
	grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 780px) {
	.flix-stats__band,
	.flix-stats__band[data-count="3"] {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 12px;
	}
}

/* Items sitting on the filled band */
.flix-stat--on-fill .flix-stat__icon {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	color: #fff;
	width: 38px;
	height: 38px;
	margin-bottom: 2px;
}
.flix-stat--on-fill .flix-stat__icon svg {
	width: 18px;
	height: 18px;
}
.flix-stat--on-fill .flix-stat__value {
	color: #fff;
	font-size: 1.3rem;
	direction: ltr;
}
.flix-stat--on-fill .flix-stat__label {
	color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   CATEGORY ROWS
   ============================================================ */
.asr-flix-row {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 18px;
}
.asr-flix-row__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--store-border);
	padding-bottom: 10px;
}
.asr-flix-row__title {
	margin: 0;
	font-size: 1.2rem;
	color: var(--store-text);
	position: relative;
	padding-inline-start: 12px;
}
.asr-flix-row__title::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 20px;
	border-radius: 3px;
	background: var(--store-accent);
}
.asr-flix-row__more {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--store-muted) !important;
	text-decoration: none;
	white-space: nowrap;
	padding: 6px 14px;
	border: 1px solid var(--store-border);
	border-radius: 8px;
	background: var(--store-surface);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.asr-flix-row__more:hover {
	background: var(--store-accent);
	border-color: var(--store-accent);
	color: #fff !important;
}

/* ============================================================
   PRODUCT GRID + CARD
   ============================================================ */
/* Horizontal carousel instead of a wrapping grid */
.asr-flix-grid {
	list-style: none;
	margin: 0;
	padding: 4px 0 10px;
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scroll-padding-inline: 2px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.asr-flix-grid::-webkit-scrollbar {
	display: none;
}
.asr-flix-grid > .asr-flix-card {
	flex: 0 0 200px;
	width: 200px;
	scroll-snap-align: start;
}
@media (max-width: 760px) {
	.asr-flix-grid {
		gap: 12px;
	}
	.asr-flix-grid > .asr-flix-card {
		flex-basis: 170px;
		width: 170px;
	}
}
@media (max-width: 420px) {
	.asr-flix-grid > .asr-flix-card {
		flex-basis: 152px;
		width: 152px;
	}
}

/* Arrow controls */
.asr-flix-row__tools {
	display: flex;
	align-items: center;
	gap: 8px;
}
.asr-flix-nav {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--store-surface);
	border: 1px solid var(--store-border);
	color: var(--store-text);
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.asr-flix-nav svg {
	width: 16px;
	height: 16px;
	display: block;
}
.asr-flix-nav:hover:not(:disabled) {
	background: var(--store-accent);
	border-color: var(--store-accent);
	color: #fff;
}
.asr-flix-nav:disabled {
	opacity: 0.35;
	cursor: default;
}
/* The arrows point in reading order, so flip them for RTL */
[dir="rtl"] .asr-flix-nav svg {
	transform: scaleX(-1);
}
@media (max-width: 520px) {
	.asr-flix-nav {
		display: none;
	}
}

.asr-flix-card {
	list-style: none;
	background: var(--store-surface);
	border: 1px solid var(--store-border);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 0 0 14px;
	transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.asr-flix-card:hover {
	border-color: var(--store-accent);
	transform: translateY(-4px);
	box-shadow: var(--store-shadow);
}
.asr-flix-card__link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.asr-flix-card__thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--store-surface-2);
	overflow: hidden;
}
.asr-flix-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.asr-flix-card:hover .asr-flix-card__thumb img {
	transform: scale(1.05);
}
.asr-flix-card__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef0f4, #e2e6ec);
}

.asr-flix-badge {
	position: absolute;
	inset-inline-start: 8px;
	top: 8px;
	font-size: 0.68rem;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: var(--store-pill);
	color: #fff;
	line-height: 1.4;
	white-space: nowrap;
}
.asr-flix-badge--sale {
	background: #b91c1c;
}
.asr-flix-badge--new {
	background: var(--store-accent);
}
.asr-flix-badge--instant {
	background: rgba(15, 23, 42, 0.82);
}

.asr-flix-card__title {
	margin: 12px 12px 8px;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.6;
	color: var(--store-text);
	/* keep every card the same height */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.75em;
}

.asr-flix-card__prices {
	margin: 0 12px 6px;
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}
.asr-flix-card__price,
.asr-flix-card__price .amount,
.asr-flix-card__price bdi {
	color: var(--store-text) !important;
	font-weight: 800;
	font-size: 1.02rem;
}
.asr-flix-card__was,
.asr-flix-card__was .amount,
.asr-flix-card__was bdi {
	color: #9aa1ad !important;
	font-size: 0.8rem;
	text-decoration: line-through;
}
.asr-flix-card__sold {
	margin: 0 12px 10px;
	font-size: 0.74rem;
	color: var(--store-muted);
}

.asr-flix-card__buy {
	margin: auto 12px 0;
	display: block;
	text-align: center;
	background: var(--store-accent);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 10px 12px;
	border-radius: var(--store-pill);
	transition: background 0.2s ease;
}
.asr-flix-card__buy:hover {
	background: var(--store-accent-soft);
	color: #fff !important;
}
.asr-flix-card__buy.is-out {
	background: var(--store-accent-muted);
	color: #fff !important;
	cursor: not-allowed;
}

/* ============================================================
   SHARED SURFACES
   ============================================================ */
.store-hero__overlay {
	pointer-events: none;
}
.store-section-heading,
.store-banner-section__title {
	color: var(--store-text);
}
.store-category-list a:hover {
	border-color: var(--store-accent) !important;
	color: var(--store-accent) !important;
}

/* Pill buttons everywhere, matching the reference */
.store-product-card__buy,
.store-single__buy,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--store-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--store-pill) !important;
}
.store-product-card__buy:hover,
.store-single__buy:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: var(--store-accent-soft) !important;
	color: #fff !important;
}

/* Prices in navy-dark text, sale price stays dark like the reference */
.woocommerce div.product p.price,
.woocommerce ul.products li.product .price,
.store-product-card__price {
	color: var(--store-text) !important;
	font-weight: 800;
}

/* Stars */
.asr-star.is-full,
.woocommerce p.stars a,
.store-demo-comment__stars {
	color: var(--store-gold) !important;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper::before {
	background: linear-gradient(90deg, #2d0072, #5400db 55%, #7b2bff) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	background: var(--store-accent) !important;
	border-color: var(--store-accent) !important;
	color: #fff !important;
	box-shadow: none !important;
}

/* Footer */
.store-site-footer,
.store-footer-bottom {
	background: var(--store-surface) !important;
	border-top: 1px solid var(--store-border) !important;
	color: var(--store-text) !important;
}
.store-site-footer a:hover {
	color: var(--store-accent) !important;
}
.store-contact-icon {
	background: var(--store-surface-2) !important;
	border: 1px solid var(--store-border) !important;
	color: var(--store-text) !important;
}
.store-contact-icon svg {
	fill: currentColor !important;
}
.store-contact-icon:hover {
	background: var(--store-accent) !important;
	border-color: var(--store-accent) !important;
	color: #fff !important;
}

/* ============================================================
   FOOTER — 4 columns, payment row, bottom bar
   ============================================================ */
.store-site-footer {
	background: var(--store-surface) !important;
	border-top: 1px solid var(--store-border) !important;
	color: var(--store-text) !important;
	padding: 0 !important;
}

.flix-foot {
	max-width: 1240px;
	margin: 0 auto;
	padding: 46px 18px 34px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.2fr;
	gap: 34px;
	align-items: start;
}
@media (max-width: 900px) {
	.flix-foot {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
	}
}
@media (max-width: 560px) {
	.flix-foot {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 26px;
	}
}

.flix-foot__col {
	min-width: 0;
}
.flix-foot__title {
	margin: 0 0 14px;
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--store-text) !important;
}
.flix-foot__tag {
	margin: 0 0 12px;
	font-size: 0.84rem;
	line-height: 1.9;
	color: var(--store-muted) !important;
}

/* Brand column */
.flix-foot__logo {
	display: inline-block;
	line-height: 0;
	margin-bottom: 14px;
}
.flix-foot__logo img {
	width: 118px;
	height: 118px;
	object-fit: contain;
	border-radius: 14px;
	background: transparent;
	display: block;
}
@media (max-width: 560px) {
	.flix-foot__logo img {
		margin: 0 auto;
	}
}

/* Link lists */
.flix-foot__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 11px;
}
.flix-foot__list li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.flix-foot__list li::marker,
.flix-foot__list li::before {
	content: none !important;
	display: none !important;
}
.flix-foot__list a {
	font-size: 0.84rem;
	color: var(--store-muted) !important;
	text-decoration: none;
	transition: color 0.2s ease;
}
.flix-foot__list a:hover {
	color: var(--store-accent) !important;
}

/* Contact chips */
.flix-foot__chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--store-text) !important;
	text-decoration: none;
	width: 100%;
}
@media (max-width: 560px) {
	.flix-foot__chip {
		justify-content: center;
	}
}
.flix-foot__chip-ico {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #e8edf8;
	color: var(--store-accent);
	transition: background 0.2s ease, color 0.2s ease;
}
.flix-foot__chip-ico svg {
	width: 16px;
	height: 16px;
	display: block;
}
.flix-foot__chip:hover .flix-foot__chip-ico {
	background: var(--store-accent);
	color: #fff;
}

/* Payment row */
.flix-pay {
	border-top: 1px solid var(--store-border);
}
.flix-pay__row {
	max-width: 1240px;
	margin: 0 auto;
	padding: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
.flix-pay__label {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--store-muted);
}
.flix-pay__list {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.flix-pay__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	height: 32px;
	padding: 0 11px;
	border-radius: 7px;
	background: var(--store-surface);
	border: 1px solid var(--store-border);
	font-size: 0.72rem;
	font-weight: 800;
	color: #3a4252;
	white-space: nowrap;
	letter-spacing: 0.02em;
}
.flix-pay__badge[data-pay="visa"] {
	color: #1a1f71;
	font-style: italic;
}
.flix-pay__badge[data-pay="mc"] {
	color: #b8501a;
}
.flix-pay__badge[data-pay="mada"] {
	color: #1a7a5e;
}
.flix-pay__badge[data-pay="apple"] {
	color: #111;
}
.flix-pay__badge[data-pay="bank"] {
	color: var(--store-accent);
}
@media (max-width: 560px) {
	.flix-pay__row {
		justify-content: center;
	}
}

/* Bottom bar */
.flix-bottom {
	border-top: 1px solid var(--store-border);
	max-width: 1240px;
	margin: 0 auto;
	padding: 16px 18px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.flix-bottom__copy {
	margin: 0;
	font-size: 0.78rem;
	color: var(--store-muted) !important;
}
.flix-bottom__link {
	font-size: 0.78rem;
	color: var(--store-muted) !important;
	text-decoration: none;
}
.flix-bottom__link:hover {
	color: var(--store-accent) !important;
}
@media (max-width: 560px) {
	.flix-bottom {
		justify-content: center;
		text-align: center;
	}
}

/* ============================================================
   STATIC PAGES / POSTS — readable content card
   ============================================================ */

/* The header is sticky and two rows tall, so anchored jumps and
   headings need room to clear it. */
html {
	scroll-padding-top: 150px;
}
.flix-page h1,
.flix-page h2,
.flix-page h3,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
	scroll-margin-top: 150px;
}

.flix-page,
body.page:not(.home) .entry-content,
body.single-post .entry-content {
	max-width: 900px;
	margin: 34px auto 60px;
	padding: 34px 34px 40px;
	background: var(--store-surface);
	border: 1px solid var(--store-border);
	border-radius: 16px;
	color: var(--store-text);
	line-height: 2.05;
	font-size: 1rem;
}
@media (max-width: 700px) {
	.flix-page,
	body.page:not(.home) .entry-content,
	body.single-post .entry-content {
		margin: 20px 14px 40px;
		padding: 22px 18px 26px;
		line-height: 1.95;
	}
}

/* Page title */
.flix-page__title,
body.page:not(.home) .entry-title,
body.single-post .entry-title {
	max-width: 900px;
	margin: 30px auto 0;
	padding: 0 34px;
	font-size: 1.6rem;
	line-height: 1.6;
	color: var(--store-text);
	text-align: start;
}
@media (max-width: 700px) {
	.flix-page__title,
	body.page:not(.home) .entry-title,
	body.single-post .entry-title {
		padding: 0 18px;
		font-size: 1.25rem;
	}
}

/* Headings inside the content */
.flix-page h2,
.entry-content h2 {
	font-size: 1.22rem;
	margin: 30px 0 12px;
	padding-inline-start: 12px;
	position: relative;
	color: var(--store-text);
}
.flix-page h2::before,
.entry-content h2::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 20px;
	border-radius: 3px;
	background: var(--store-accent);
}
.flix-page h3,
.entry-content h3 {
	font-size: 1.05rem;
	margin: 24px 0 10px;
	color: var(--store-accent);
}

.flix-page p,
.entry-content p {
	margin: 0 0 16px;
	color: #3a4252;
}

/* Lists */
.flix-page ul,
.flix-page ol,
.entry-content ul,
.entry-content ol {
	margin: 0 0 18px;
	padding-inline-start: 22px;
}
.flix-page li,
.entry-content li {
	margin-bottom: 9px;
	color: #3a4252;
}
.flix-page ul li::marker,
.entry-content ul li::marker {
	color: var(--store-accent);
}

/* Blocks the editor produces (the boxed paragraphs in the policy pages) */
.entry-content .wp-block-group,
.entry-content blockquote {
	background: var(--store-surface-2);
	border: 1px solid var(--store-border);
	border-inline-start: 4px solid var(--store-accent);
	border-radius: 10px;
	padding: 16px 18px;
	margin: 0 0 18px;
}
.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.flix-page a,
.entry-content a {
	color: var(--store-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.flix-page a:hover,
.entry-content a:hover {
	color: var(--store-accent-soft);
}

/* Tables and images inside content */
.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 18px;
	font-size: 0.92rem;
}
.entry-content table th,
.entry-content table td {
	border: 1px solid var(--store-border);
	padding: 10px 12px;
	text-align: start;
}
.entry-content table th {
	background: var(--store-surface-2);
	font-weight: 700;
}

/* ============================================================
   STATIC PAGE FIX — the theme uses .store-single__*, not .entry-title
   The title had zero top spacing, so it sat flush under the
   two-row sticky header. Give the whole block real breathing room.
   ============================================================ */
.store-single {
	padding-top: 34px !important;
}
@media (max-width: 700px) {
	.store-single {
		padding-top: 22px !important;
	}
}

.store-single__title {
	margin: 0 0 18px !important;
	padding: 0 0 14px;
	font-size: clamp(1.35rem, 3.4vw, 1.85rem);
	line-height: 1.55;
	letter-spacing: normal;
	color: var(--store-text);
	border-bottom: 1px solid var(--store-border);
	scroll-margin-top: 160px;
}

/* The content div carries both classes, so match the real one too. */
.store-single__content {
	background: var(--store-surface);
	border: 1px solid var(--store-border);
	border-radius: 16px;
	padding: 30px 30px 34px;
	line-height: 2.05;
	color: var(--store-text);
}
@media (max-width: 700px) {
	.store-single__content {
		padding: 20px 18px 24px;
		line-height: 1.95;
	}
}

/* Undo the earlier .entry-content card so the two don't stack. */
body.page:not(.home) .entry-content,
body.single-post .entry-content {
	max-width: none;
	margin: 0;
}

/* ============================================================
   DARK MODE
   Applied via html[data-theme="dark"], set before paint by an
   inline script so there is no flash of the light theme.
   ============================================================ */
html[data-theme="dark"] {
	--store-bg: #0a0a0f;
	/* Cards are translucent white over the dark ground, not solid fills. */
	--store-surface: rgba(255, 255, 255, 0.04);
	--store-surface-2: rgba(255, 255, 255, 0.07);
	--store-solid: #16161d;
	--store-text: #e4e4e7;
	/* Historical variable names kept so existing rules pick up the accent. */
	--store-purple: #5400db;
	--store-purple-dark: #4400b0;
	--store-accent: #5400db;
	--store-accent-soft: #6b1aff;
	--store-accent-muted: #3d2a63;
	--store-danger: #f87171;
	--store-muted: #a1a1aa;
	--store-border: rgba(255, 255, 255, 0.08);
	--store-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
	--store-glow: 0 6px 20px rgba(84, 0, 219, 0.35);
	color-scheme: dark;
}

/* --- Header --- */
html[data-theme="dark"] .flix-hdr {
	background: rgba(10, 10, 15, 0.8);
	backdrop-filter: blur(20px);
}
html[data-theme="dark"] .flix-search__input::placeholder {
	color: #6b7078 !important;
}
html[data-theme="dark"] .flix-search:focus-within {
	box-shadow: 0 0 0 3px rgba(84, 0, 219, 0.25);
}
html[data-theme="dark"] .flix-nav__link {
	color: #9a9fa9 !important;
}

/* --- Cards & content --- */
html[data-theme="dark"] .asr-flix-card__ph,
html[data-theme="dark"] .store-product-card__placeholder {
	background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)) !important;
}
html[data-theme="dark"] .asr-flix-card__was,
html[data-theme="dark"] .asr-flix-card__was .amount,
html[data-theme="dark"] .asr-flix-card__was bdi {
	color: #767b85 !important;
}
html[data-theme="dark"] .asr-flix-badge--instant {
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.16);
}
html[data-theme="dark"] .flix-page p,
html[data-theme="dark"] .entry-content p,
html[data-theme="dark"] .flix-page li,
html[data-theme="dark"] .entry-content li {
	color: #c8ccd3 !important;
}

/* --- Footer --- */
html[data-theme="dark"] .flix-foot__chip-ico {
	background: rgba(84, 0, 219, 0.16);
	color: var(--store-accent);
}
html[data-theme="dark"] .flix-pay__badge {
	color: #b9c0cd;
}
html[data-theme="dark"] .flix-pay__badge[data-pay="visa"] {
	color: #a98bff;
}
html[data-theme="dark"] .flix-pay__badge[data-pay="mc"] {
	color: #e0975f;
}
html[data-theme="dark"] .flix-pay__badge[data-pay="mada"] {
	color: #5fc9a5;
}
html[data-theme="dark"] .flix-pay__badge[data-pay="apple"],
html[data-theme="dark"] .flix-pay__badge[data-pay="bank"] {
	color: #d6dbe4;
}

/* --- WooCommerce chrome --- */
html[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs,
html[data-theme="dark"] ul.wc-tabs {
	background: #101017 !important;
}
html[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li a {
	background: var(--store-surface-2) !important;
	color: #9a9fa9 !important;
}
html[data-theme="dark"] .woocommerce-breadcrumb,
html[data-theme="dark"] .woocommerce-breadcrumb a {
	color: var(--store-muted) !important;
}

/* --- Anything still painted white --- */
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .store-banner-card,
html[data-theme="dark"] .store-product-card,
html[data-theme="dark"] .store-footer-trust-wrap,
html[data-theme="dark"] .store-wc-archive-controls,
html[data-theme="dark"] .woocommerce ul.products li.product,
html[data-theme="dark"] li.store-product-card,
html[data-theme="dark"] .store-side-menu__content,
html[data-theme="dark"] .store-side-menu__header,
html[data-theme="dark"] .store-live-search-form,
html[data-theme="dark"] .woocommerce div.product .summary,
html[data-theme="dark"] .woocommerce div.product div.images,
html[data-theme="dark"] .woocommerce .woocommerce-tabs .panel {
	background: var(--store-surface) !important;
	border-color: var(--store-border) !important;
	color: var(--store-text) !important;
}
html[data-theme="dark"] .store-search-modal {
	background: rgba(6, 8, 12, 0.93) !important;
}
html[data-theme="dark"] img.woocommerce-placeholder {
	filter: invert(1) hue-rotate(180deg) brightness(0.86);
}

/* --- Theme toggle button --- */
.flix-tool--theme .flix-ico-sun {
	display: none;
}
html[data-theme="dark"] .flix-tool--theme .flix-ico-sun {
	display: block;
}
html[data-theme="dark"] .flix-tool--theme .flix-ico-moon {
	display: none;
}

/* ============================================================
   DARK MODE — side menu (categories drawer)
   The base rule paints these cards #fff, which left the drawer
   unreadable on a dark ground.
   ============================================================ */
html[data-theme="dark"] .store-side-menu__content,
html[data-theme="dark"] .store-side-menu__header,
html[data-theme="dark"] .store-side-menu__nav {
	background: #101017 !important;
	border-color: var(--store-border) !important;
}
html[data-theme="dark"] .store-side-menu__backdrop {
	background: rgba(0, 0, 0, 0.72) !important;
}
html[data-theme="dark"] .store-side-menu__title {
	color: var(--store-accent) !important;
}
html[data-theme="dark"] .store-side-menu__close {
	background: var(--store-surface-2) !important;
	border: 1px solid var(--store-border) !important;
	color: var(--store-text) !important;
}
html[data-theme="dark"] .store-side-menu__close:hover {
	background: var(--store-accent) !important;
	border-color: var(--store-accent) !important;
	color: #fff !important;
}

/* The category cards themselves */
html[data-theme="dark"] .store-category-list a {
	background: var(--store-surface) !important;
	border-color: var(--store-border) !important;
	color: var(--store-text) !important;
	box-shadow: none !important;
}
html[data-theme="dark"] .store-category-list a:hover,
html[data-theme="dark"] .store-category-list a:focus {
	background: var(--store-surface-2) !important;
	border-color: var(--store-accent) !important;
	color: #fff !important;
}

/* Light mode: the muted grey text was too faint to read as well. */
.store-category-list a {
	color: var(--store-text);
}
.store-category-list a:hover {
	background: var(--store-surface-2);
}

/* ============================================================
   DARK MODE — remaining light surfaces from the base stylesheet
   ============================================================ */
html[data-theme="dark"] .store-search-toggle,
html[data-theme="dark"] .store-menu-toggle,
html[data-theme="dark"] .store-live-search__input,
html[data-theme="dark"] .store-live-search__input:focus,
html[data-theme="dark"] .store-live-search-results,
html[data-theme="dark"] .comment-respond,
html[data-theme="dark"] .comment-form textarea,
html[data-theme="dark"] .navigation.pagination .page-numbers,
html[data-theme="dark"] .woocommerce .quantity .qty,
html[data-theme="dark"] .woocommerce div.product form.cart .variations select,
html[data-theme="dark"] .woocommerce-ordering select.orderby,
html[data-theme="dark"] .woocommerce-ordering select.orderby:hover,
html[data-theme="dark"] .store-footer-trust-wrap,
html[data-theme="dark"] .store-wc-archive-controls,
html[data-theme="dark"] .asr-sp-review {
	background: var(--store-surface-2) !important;
	background-color: var(--store-surface-2) !important;
	border-color: var(--store-border) !important;
	color: var(--store-text) !important;
	box-shadow: none !important;
}

html[data-theme="dark"] .store-live-search__input::placeholder {
	color: #6b7078 !important;
}
html[data-theme="dark"] .store-live-search__input:focus {
	border-color: var(--store-accent) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(84, 0, 219, 0.25) !important;
}
html[data-theme="dark"] .store-live-search-results a,
html[data-theme="dark"] .store-live-search-results li {
	color: var(--store-text) !important;
}
html[data-theme="dark"] .store-live-search-results a:hover {
	background: var(--store-surface) !important;
}

html[data-theme="dark"] .navigation.pagination .page-numbers.current,
html[data-theme="dark"] .navigation.pagination .page-numbers:hover {
	background: var(--store-accent) !important;
	border-color: var(--store-accent) !important;
	color: #fff !important;
}

/* Footer sits a shade below the page so the sections separate */
html[data-theme="dark"] .store-site-footer,
html[data-theme="dark"] .flix-pay,
html[data-theme="dark"] .flix-bottom {
	background: rgba(255, 255, 255, 0.02) !important;
	border-color: var(--store-border) !important;
	color: var(--store-text) !important;
}
html[data-theme="dark"] .store-footer-trust-minimal {
	background: rgba(255, 255, 255, 0.02) !important;
}

/* Social-proof reviews */
html[data-theme="dark"] .asr-sp-review__name,
html[data-theme="dark"] .asr-sp-avg {
	color: var(--store-text) !important;
}
html[data-theme="dark"] .asr-sp-review__text {
	color: #c8ccd3 !important;
}
html[data-theme="dark"] .asr-sp-review__date,
html[data-theme="dark"] .asr-sp-count,
html[data-theme="dark"] .asr-sp-summary {
	color: var(--store-muted) !important;
}
html[data-theme="dark"] .asr-star {
	color: #3a3e47 !important;
}
html[data-theme="dark"] .asr-sp-review__avatar {
	background: var(--store-accent) !important;
}
html[data-theme="dark"] .asr-sp-review__verified {
	background: rgba(74, 222, 128, 0.14) !important;
	color: #6ee7a0 !important;
}

/* Front-page review cards */
html[data-theme="dark"] .store-demo-comment__panel {
	background: var(--store-surface) !important;
	border-color: var(--store-border) !important;
}
html[data-theme="dark"] .store-demo-comment__text,
html[data-theme="dark"] .store-demo-comment__text p {
	color: #c8ccd3 !important;
}
html[data-theme="dark"] .store-demo-comment__author {
	color: var(--store-muted) !important;
}

/* Product page card + gallery */
html[data-theme="dark"] .store-single__content,
html[data-theme="dark"] .woocommerce div.product .woocommerce-product-gallery {
	background: var(--store-surface) !important;
	border-color: var(--store-border) !important;
}
html[data-theme="dark"] .store-single__title {
	color: var(--store-text) !important;
	border-bottom-color: var(--store-border) !important;
}
html[data-theme="dark"] .woocommerce div.product .product_meta {
	background: var(--store-surface-2) !important;
	border-color: var(--store-border) !important;
}
html[data-theme="dark"] .entry-content .wp-block-group,
html[data-theme="dark"] .entry-content blockquote {
	background: var(--store-surface-2) !important;
	border-color: var(--store-border) !important;
	border-inline-start-color: var(--store-accent) !important;
}
html[data-theme="dark"] .entry-content table th {
	background: var(--store-surface-2) !important;
}
html[data-theme="dark"] .entry-content table th,
html[data-theme="dark"] .entry-content table td {
	border-color: var(--store-border) !important;
}

/* Scrollbar */
html[data-theme="dark"] ::-webkit-scrollbar-track {
	background: #0d0d13;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
	background: #2b2b36;
	border-radius: 6px;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
	background: var(--store-accent);
}

/* ============================================================
   CAROUSEL — phone tuning
   Let the track bleed to the screen edges so cards scroll off
   naturally instead of being clipped at the container padding.
   ============================================================ */
@media (max-width: 760px) {
	.asr-flix-row {
		padding-inline: 0;
	}
	.asr-flix-row__head {
		padding-inline: 14px;
	}
	.asr-flix-grid {
		padding-inline: 14px;
		scroll-padding-inline: 14px;
	}
}

/* Smoother momentum + no accidental vertical drag while swiping */
.asr-flix-grid {
	touch-action: pan-x pan-y;
}

/* A card being dragged shouldn't try to open the link */
.asr-flix-grid img {
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
}

/* Keep the row header readable when the title is long on a phone */
@media (max-width: 520px) {
	.asr-flix-row__head {
		gap: 8px;
	}
	.asr-flix-row__title {
		font-size: 1.02rem;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.asr-flix-row__more {
		padding: 5px 11px;
		font-size: 0.78rem;
	}
}

/* ============================================================
   FAYIE — glassy cards on the dark ground
   Surfaces are translucent white rather than solid fills, which
   is what gives this design its depth over the near-black page.
   ============================================================ */
html[data-theme="dark"] .asr-flix-card,
html[data-theme="dark"] .flix-stat,
html[data-theme="dark"] .asr-sp-review,
html[data-theme="dark"] .store-side-menu .store-category-list a {
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	backdrop-filter: blur(6px);
}
html[data-theme="dark"] .asr-flix-card:hover {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(84, 0, 219, 0.7) !important;
	box-shadow: 0 10px 30px rgba(84, 0, 219, 0.22) !important;
}

/* Product thumbnails sit in a rounded well */
.asr-flix-card__thumb {
	border-radius: 16px;
	overflow: hidden;
	margin: 8px 8px 0;
	aspect-ratio: 1 / 1;
}
html[data-theme="dark"] .asr-flix-card__thumb {
	background: rgba(255, 255, 255, 0.03);
}
.asr-flix-card__title {
	font-size: 0.84rem;
	font-weight: 600;
}

/* Out of stock reads as a warning, not a button */
.asr-flix-card__buy.is-out {
	background: transparent !important;
	border: 1px solid var(--store-border) !important;
	color: var(--store-danger, #f87171) !important;
	font-weight: 600;
}

/* Header: translucent + heavy blur, like the reference */
html[data-theme="dark"] .flix-hdr {
	background: rgba(10, 10, 15, 0.8) !important;
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .flix-nav {
	background: transparent !important;
	border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* Footer sits a touch above the page ground */
html[data-theme="dark"] .store-site-footer,
html[data-theme="dark"] .flix-pay,
html[data-theme="dark"] .flix-bottom {
	background: rgba(255, 255, 255, 0.02) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Feature strip: no boxed panel, just the three items */
.flix-stats--light {
	background: transparent;
	border-block: 1px solid var(--store-border);
}
.flix-stats--light .flix-stat {
	padding: 4px 8px;
}
.flix-stat__value {
	font-size: 1rem;
}
.flix-stat__icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(84, 0, 219, 0.14);
	margin-bottom: 4px;
}
html[data-theme="dark"] .flix-stat {
	background: transparent !important;
	border: 0 !important;
	backdrop-filter: none;
}
html[data-theme="dark"] .flix-stat:hover {
	transform: none;
	box-shadow: none;
}

/* Buttons keep the violet, slightly softer corners than pills */
.asr-flix-card__buy,
.store-single__buy,
.woocommerce a.button,
.woocommerce button.button {
	border-radius: 12px !important;
}
