/* ============================================================
   FLIX SKIN — light storefront, navy accent
   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(30, 58, 138, 0.12);
}
.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, #8d0000, #001f98) !important;
	color: #fff !important;
}
.store-topbar__text,
.store-topbar__close {
	color: #fff !important;
}

/* ============================================================
   STATS STRIP — heading over a filled navy band
   ============================================================ */
.asr-flix-stats {
	max-width: 1200px;
	margin: 34px auto;
	padding: 0 18px;
}
.asr-flix-stats__panel {
	background: var(--store-surface-2);
	border: 1px solid var(--store-border);
	border-radius: 18px;
	padding: 22px;
}
.asr-flix-stats__title {
	margin: 0 0 18px;
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--store-accent);
	position: relative;
	display: inline-block;
	padding-bottom: 8px;
}
.asr-flix-stats__title::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 42%;
	height: 3px;
	border-radius: 3px;
	background: var(--store-accent);
}
.asr-flix-stats__band {
	background: var(--store-accent);
	border-radius: 16px;
	padding: 24px 18px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
@media (max-width: 780px) {
	.asr-flix-stats__band {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px 12px;
	}
}
.asr-flix-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	text-align: center;
}
.asr-flix-stat__icon {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	margin-bottom: 2px;
}
.asr-flix-stat__icon svg {
	width: 18px;
	height: 18px;
	display: block;
}
.asr-flix-stat__value {
	font-size: 1.32rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
	direction: ltr;
}
.asr-flix-stat__label {
	font-size: 0.82rem;
	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
   ============================================================ */
.asr-flix-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 16px;
}
@media (max-width: 520px) {
	.asr-flix-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

.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, #8d0000, #001f98) !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.4fr 1fr 1fr 1.2fr;
	gap: 30px;
	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;
	}
}
