/* Flash Store design layer. Loads after the base theme styles. */
:root {
	--fp-brand: #D9480F;
	--fp-brand-dark: #B53A0A;
	--fp-ink: #14213D;
	--fp-muted: #5B6475;
	--fp-line: #E6E8EE;
	--fp-soft: #F6F7FA;
	--fp-radius: 12px;
	--fp-shadow: 0 6px 24px rgba(20, 33, 61, 0.08);
	--fp-shadow-hover: 0 14px 34px rgba(20, 33, 61, 0.16);
}

html { scroll-behavior: smooth; }

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-family: Montserrat, "Noto Sans Devanagari", "Noto Nastaliq Urdu", system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.7;
}

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

h1, h2, h3, h4, h5, h6 { color: var(--fp-ink); line-height: 1.3; font-weight: 700; }

a { transition: color .2s ease, background-color .2s ease; }

:focus-visible { outline: 3px solid var(--fp-brand); outline-offset: 2px; }

/* Announcement bar */
.fp-announcement {
	background: var(--fp-ink);
	color: #fff;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .2px;
	padding: 9px 0;
}
.fp-announcement a, .fp-announcement span { color: #fff; }
.fp-announcement a:hover { text-decoration: underline; }

/* Header */
.site-header {
	background: #fff;
	box-shadow: 0 2px 18px rgba(20, 33, 61, 0.07);
	position: relative;
	z-index: 50;
}
.header-top { background: var(--fp-soft); border-bottom: 1px solid var(--fp-line); }
.header-bottom { background: #fff; }
.main-navigation ul li a {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .3px;
}
.main-navigation ul ul {
	border-radius: 0 0 var(--fp-radius) var(--fp-radius);
	box-shadow: var(--fp-shadow);
	overflow: hidden;
}
.header-bottom .cart-wrap .flash-cart-views a span {
	background: var(--fp-brand);
	color: #fff;
	border-radius: 50%;
	font-weight: 700;
}

/* Trust strip */
.fp-trust { background: #fff; border-bottom: 1px solid var(--fp-line); }
.fp-trust ul {
	list-style: none;
	margin: 0;
	padding: 14px 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.fp-trust li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fp-ink);
}
.fp-trust i { color: var(--fp-brand); font-size: 20px; }

/* Page title strip */
.breadcrumb-trail.breadcrumbs {
	background: var(--fp-soft);
	border-bottom: 1px solid var(--fp-line);
	padding: 22px 0;
}
.breadcrumb-trail .trail-title { font-size: 26px; margin: 0; }

/* Buttons */
body button,
body input[type="button"],
body input[type="reset"],
body input[type="submit"],
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce #respond input#submit,
body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
body .woocommerce input.button.alt,
body .added_to_cart.wc-forward {
	border-radius: 10px;
	font-weight: 700;
	letter-spacing: .3px;
	padding: 12px 24px;
	border: 0;
	transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover,
body .woocommerce a.button.alt:hover,
body .woocommerce button.button.alt:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(217, 72, 15, 0.28);
}

/* Product grid */
.woocommerce ul.products { margin-left: -10px; margin-right: -10px; }
.woocommerce ul.products li.product {
	background: #fff;
	border: 1px solid var(--fp-line);
	border-radius: var(--fp-radius);
	padding: 12px 12px 18px;
	text-align: center;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-6px);
	box-shadow: var(--fp-shadow-hover);
	border-color: transparent;
}
.woocommerce ul.products li.product a img {
	border-radius: 8px;
	margin-bottom: 12px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--fp-ink);
	padding: 4px 6px;
	min-height: 2.6em;
}
.woocommerce ul.products li.product .price {
	color: var(--fp-brand);
	font-weight: 800;
	font-size: 17px;
	margin-bottom: 12px;
}
.woocommerce ul.products li.product .price del { color: var(--fp-muted); font-weight: 500; opacity: .8; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin-top: 4px; width: calc(100% - 12px); }
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	border-radius: 999px;
	font-weight: 700;
	padding: 0 12px;
	min-width: 0;
	min-height: 0;
	line-height: 28px;
	top: 12px;
	left: 12px;
	right: auto;
	margin: 0;
}
.woocommerce .star-rating span { color: #F5A623; }

/* Single product */
.woocommerce div.product .product_title { font-size: 30px; margin-bottom: 8px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--fp-brand);
	font-size: 28px;
	font-weight: 800;
}
.woocommerce div.product div.images img { border-radius: var(--fp-radius); }
.woocommerce div.product form.cart .single_add_to_cart_button {
	padding: 16px 36px;
	font-size: 16px;
}
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.woocommerce div.product form.cart .variations { width: 100%; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 10px 10px 0 0; }

.fp-wa-order {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #25D366;
	color: #fff !important;
	font-weight: 700;
	border-radius: 10px;
	padding: 16px 26px;
	transition: transform .15s ease, box-shadow .2s ease;
}
.fp-wa-order:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, .35); }
.fp-wa-order i { font-size: 20px; }

/* Cart and checkout */
.woocommerce table.shop_table { border-radius: var(--fp-radius); overflow: hidden; border-color: var(--fp-line); }
.woocommerce-checkout #payment { border-radius: var(--fp-radius); background: var(--fp-soft); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="search"], textarea, select {
	border: 1px solid var(--fp-line);
	border-radius: 10px;
	padding: 12px 14px;
}
input:focus, textarea:focus, select:focus {
	border-color: var(--fp-brand);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(217, 72, 15, .15);
}

/* Blog cards */
.hentry {
	border-radius: var(--fp-radius);
}
.entry-title a { color: var(--fp-ink); }
.entry-title a:hover { color: var(--fp-brand); }
.post-image img, .post-thumbnail img { border-radius: var(--fp-radius); }

/* Widgets and footer */
.widget-title { font-weight: 700; }
.footer-layout { background: var(--fp-ink); }
.footer-layout #top-footer { background: var(--fp-ink); }
.footer-layout #bottom-footer { background: #0E1730; }

/* Floating buttons */
.fp-whatsapp {
	position: fixed;
	right: 18px;
	bottom: 22px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
	z-index: 9990;
	animation: fp-pulse 2.4s infinite;
}
.fp-whatsapp:hover { color: #fff; transform: scale(1.07); }
@keyframes fp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
	70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
#scroll-up { border-radius: 50%; left: 18px; right: auto; bottom: 22px; }

/* Sticky add to cart (mobile) */
.fp-sticky-atc { display: none; }

@media (max-width: 768px) {
	.fp-trust ul { grid-template-columns: repeat(2, 1fr); padding: 10px 0; }
	.fp-trust li { justify-content: flex-start; font-size: 12px; }
	.breadcrumb-trail .trail-title { font-size: 21px; }
	.woocommerce ul.products li.product { width: 48% !important; margin: 0 1% 14px !important; float: left; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
	.woocommerce div.product .product_title { font-size: 23px; }

	.fp-sticky-atc {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9995;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid var(--fp-line);
		box-shadow: 0 -6px 20px rgba(20, 33, 61, .12);
		transform: translateY(110%);
		transition: transform .25s ease;
	}
	.fp-sticky-atc.is-visible { transform: translateY(0); }
	.fp-sticky-info { flex: 1; min-width: 0; line-height: 1.3; }
	.fp-sticky-info strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fp-ink); }
	.fp-sticky-info span { color: var(--fp-brand); font-weight: 800; font-size: 15px; }
	.fp-sticky-btn { background: var(--fp-brand); color: #fff; padding: 12px 22px !important; white-space: nowrap; }
	.single-product .fp-whatsapp { bottom: 84px; }
	.single-product #scroll-up { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
