/*
Theme Name:   Focallure Child
Theme URI:    https://www.focallurepakistan.com/
Description:  Lightweight redesign for Focallure Pakistan, built on Astra. Replaces the Elementor homepage with a fast native template.
Author:       Focallure Pakistan
Template:     astra
Version:      1.0.1
Requires PHP: 7.4
Text Domain:  focallure-child
*/

/* ---------- Design tokens ---------- */
body {
	--fc-ink: #1F1418;
	--fc-text: #3B2830;
	--fc-muted: #5E4B52;
	--fc-berry: #A3164B;
	--fc-berry-dark: #7A0F37;
	--fc-blush: #FCEEF1;
	--fc-soft: #FCF6F7;
	--fc-pink: #F4B6C7;
	--fc-line: #EAD9DE;
	--fc-radius: 20px;
	--fc-display: 'Outfit', system-ui, sans-serif;
	--fc-body: 'Manrope', system-ui, sans-serif;

	/* Astra global palette */
	--ast-global-color-0: #A3164B;
	--ast-global-color-1: #7A0F37;
	--ast-global-color-2: #1F1418;
	--ast-global-color-3: #3B2830;

	font-family: var(--fc-body);
	color: var(--fc-text);
	background: #FFFFFF;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .woocommerce-loop-product__title, .product_title {
	font-family: var(--fc-display);
	color: var(--fc-ink);
	letter-spacing: -0.01em;
}

a { color: var(--fc-ink); }
a:hover, a:focus { color: var(--fc-berry); }
:focus-visible { outline: 3px solid var(--fc-berry); outline-offset: 2px; }

/* ---------- Header ---------- */
.ast-above-header-bar, .ast-above-header {
	background: var(--fc-ink) !important;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 600;
}
.ast-above-header-bar a, .ast-above-header a { color: #FFFFFF; }
.site-header .ast-primary-header-bar, .main-header-bar {
	border-bottom: 1px solid var(--fc-line);
	background: #FFFFFF;
}
/* Menu row: white with readable links (the old setup used a black bar) */
.ast-below-header-bar, .ast-below-header, .ast-below-header-wrap .ast-below-header-bar {
	background: #FFFFFF !important;
	border-bottom: 1px solid var(--fc-line);
}
.main-header-menu .menu-link, .ast-builder-menu .menu-item > .menu-link {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fc-ink);
}
.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .current-menu-item > .menu-link { color: var(--fc-berry); }
.ast-header-search .search-field, .site-header .search-field {
	border-radius: 22px;
	border: 1px solid var(--fc-line);
	background: var(--fc-soft);
	min-height: 44px;
	padding: 0 18px;
}
.ast-site-header-cart .count, .ast-site-header-cart .ast-count-text {
	background: var(--fc-berry);
	color: #FFFFFF;
}

/* ---------- Buttons ---------- */
.button, button.button, a.button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button,
.woocommerce button.single_add_to_cart_button,
.wc-block-components-button, .ast-button {
	background: var(--fc-ink) !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: 999px !important;
	font-family: var(--fc-body);
	font-weight: 700 !important;
	min-height: 44px;
	padding: 12px 24px !important;
	transition: background .15s ease;
}
.button:hover, a.button:hover, button.button:hover, input[type="submit"]:hover,
.woocommerce button.single_add_to_cart_button:hover {
	background: var(--fc-berry) !important;
	color: #FFFFFF !important;
}

/* ---------- Product cards (shop, categories, homepage) ---------- */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 28px 20px;
	margin: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	text-align: left;
}
.woocommerce ul.products li.product img {
	border-radius: var(--fc-radius);
	background: var(--fc-soft);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 12px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--fc-body);
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1.35;
	color: var(--fc-ink);
	padding: 0 !important;
}
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price {
	color: var(--fc-berry) !important;
	font-weight: 700;
	font-size: 17px;
}
.woocommerce ul.products li.product .price del, .woocommerce div.product p.price del {
	color: #6E5A62;
	font-weight: 500;
	font-size: 13px;
	opacity: 1;
}
.woocommerce ul.products li.product .price ins, .woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
	margin-top: auto !important;
	width: 100%;
	text-align: center;
}
.woocommerce span.onsale, .ast-onsale-card, .woocommerce ul.products li.product .onsale {
	background: var(--fc-berry) !important;
	color: #FFFFFF !important;
	border-radius: 999px !important;
	min-height: 0 !important;
	min-width: 0 !important;
	line-height: 1 !important;
	padding: 6px 10px !important;
	font-size: 12px !important;
	font-weight: 700;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	margin: 0 !important;
}

/* ---------- Single product ---------- */
.woocommerce div.product .product_title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }
.woocommerce div.product div.images img { border-radius: 24px; }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 12px; }
.woocommerce div.product form.cart .quantity .qty {
	min-height: 48px;
	border-radius: 999px;
	border: 1px solid var(--fc-line);
}
.woocommerce div.product form.cart .button { min-height: 52px; padding: 14px 32px !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-weight: 700; }
.fc-ship-note {
	background: var(--fc-blush);
	color: var(--fc-ink);
	border-radius: 14px;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 600;
	margin: 12px 0 16px;
}
.fc-trust {
	list-style: none;
	margin: 16px 0 0;
	padding: 16px 20px;
	background: var(--fc-soft);
	border-radius: var(--fc-radius);
	display: grid;
	gap: 10px;
	font-size: 14px;
}
.fc-trust li { margin: 0; color: var(--fc-muted); }
.fc-trust strong { color: var(--fc-ink); }
.fc-wa-order {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 12px;
	border: 1px solid var(--fc-ink);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

/* ---------- Homepage ---------- */
.fc-home { --wrap: 1240px; }
.fc-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.fc-home section { margin: 0; }
.fc-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fc-berry);
	margin: 0 0 16px;
}
.fc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none !important;
	border: 1px solid var(--fc-ink);
}
.fc-btn--dark { background: var(--fc-ink); color: #FFFFFF !important; }
.fc-btn--dark:hover { background: var(--fc-berry); border-color: var(--fc-berry); }
.fc-btn--light { background: #FFFFFF; color: var(--fc-ink) !important; }
.fc-btn--light:hover { background: var(--fc-ink); color: #FFFFFF !important; }

.fc-hero { background: var(--fc-blush); }
.fc-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
	padding-top: 64px;
	padding-bottom: 64px;
}
.fc-hero__text { flex: 1 1 420px; }
.fc-hero__text h1 {
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.05;
	font-weight: 700;
	margin: 0 0 20px;
}
.fc-hero__text p { font-size: 18px; line-height: 1.6; color: var(--fc-muted); max-width: 520px; margin: 0 0 28px; }
.fc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fc-hero__media { flex: 1 1 420px; }
.fc-hero__media img, .fc-hero__placeholder {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: 24px;
	display: block;
}
.fc-hero__placeholder { background: #E9C3CD; }

.fc-perks { border-bottom: 1px solid var(--fc-line); }
.fc-perks ul {
	list-style: none;
	margin: 0 auto;
	padding: 24px;
	max-width: var(--wrap);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}
.fc-perks li { display: flex; flex-direction: column; gap: 2px; margin: 0; padding-left: 18px; border-left: 3px solid var(--fc-pink); }
.fc-perks strong { color: var(--fc-ink); font-size: 15px; }
.fc-perks span { color: var(--fc-muted); font-size: 13px; }

.fc-section { padding: 72px 0 0; }
.fc-section:last-of-type { padding-bottom: 72px; }
.fc-section__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 28px;
}
.fc-section__head h2 { font-size: clamp(28px, 3vw, 36px); margin: 0; }
.fc-section__head p { margin: 8px 0 0; color: var(--fc-muted); }
.fc-section__head a { font-weight: 700; text-decoration: underline; }

.fc-cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}
.fc-cats li { margin: 0; }
.fc-cats a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.fc-cats img, .fc-cats .fc-cats__ph {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--fc-radius);
	background: var(--fc-soft);
	display: block;
}
.fc-cats .fc-cats__ph { background: #F4DCE2; }
.fc-cats__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fc-cats__meta strong { color: var(--fc-ink); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.fc-cats__meta span { color: var(--fc-muted); font-size: 13px; }

.fc-brands {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}
.fc-brand {
	border-radius: 24px;
	padding: 40px;
	min-height: 240px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	text-decoration: none !important;
}
.fc-brand strong { font-family: var(--fc-display); font-size: 34px; }
.fc-brand span { font-size: 15px; line-height: 1.6; }
.fc-brand em { font-style: normal; font-weight: 700; text-decoration: underline; }
.fc-brand--dark { background: var(--fc-ink); color: #EBDDE1 !important; }
.fc-brand--dark strong, .fc-brand--dark em { color: #FFFFFF; }
.fc-brand--pink { background: var(--fc-pink); color: var(--fc-text) !important; }
.fc-brand--pink strong, .fc-brand--pink em { color: var(--fc-ink); }

.fc-help { background: var(--fc-blush); margin-top: 72px !important; }
.fc-help__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 56px;
	padding-bottom: 56px;
}
.fc-help h2 { font-size: 30px; margin: 0 0 8px; }
.fc-help p { margin: 0; color: var(--fc-muted); font-size: 16px; }

/* Astra adds padding around page content; remove it on the custom homepage */
.home .site-content > .ast-container { max-width: 100%; padding: 0; display: block; }
.home #primary { margin: 0; padding: 0; width: 100%; }
.home #secondary { display: none; }

/* ---------- Footer ---------- */
.site-footer, .site-primary-footer-wrap, .site-below-footer-wrap {
	background: var(--fc-ink) !important;
	color: #EBDDE1;
}
.site-footer a { color: #EBDDE1; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer .widget-title, .site-footer h2, .site-footer h3 { color: #FFFFFF; }

@media (max-width: 600px) {
	.fc-hero__inner { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
	.fc-section { padding-top: 48px; }
	.fc-brand { padding: 28px; min-height: 200px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}
