/* =========================================================================
   FAREEDAS — Storefront child theme styles
   Ported from the React/Tailwind design (src/styles.css + components).
   Loaded after the Storefront parent stylesheet so it overrides cleanly.
   ========================================================================= */

/* ---------------------------------------------------------------- Tokens */
:root {
	--fa-bg: #f9f8f5;
	--fa-fg: #1a1e2e;
	--fa-card: #ffffff;
	--fa-primary: #1e3a8a;
	--fa-primary-fg: #ffffff;
	--fa-secondary: #f2f1ee;
	--fa-muted: #edece8;
	--fa-muted-fg: #6b7080;
	--fa-accent: #ece6da;
	--fa-sale: #ef4444;
	--fa-sale-fg: #ffffff;
	--fa-gold: #d4a24e;
	--fa-border: #e4e3e0;

	--fa-radius: 0.875rem;
	--fa-radius-lg: 1.125rem;
	--fa-radius-pill: 999px;

	--fa-font-display: "Playfair Display", Georgia, serif;
	--fa-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--fa-shadow-soft: 0 4px 24px -8px rgba(26, 30, 46, 0.10);
	--fa-shadow-elegant: 0 20px 50px -20px rgba(26, 30, 46, 0.22);

	--fa-container: 1400px;
}

/* ---------------------------------------------------------------- Base */
body.fareedas {
	background-color: var(--fa-bg);
	color: var(--fa-fg);
	font-family: var(--fa-font-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Guard against horizontal overflow (keeps the full-width header aligned to the
   viewport on mobile so the right-pinned actions stay on screen). overflow-x:clip
   does not create a scroll container, so the sticky header keeps working. */
body.fareedas,
.fareedas #page {
	overflow-x: clip;
	max-width: 100%;
}

body.fareedas h1,
body.fareedas h2,
body.fareedas h3,
.fareedas .fareedas-display {
	font-family: var(--fa-font-display);
	letter-spacing: -0.01em;
	font-weight: 600;
	color: var(--fa-fg);
}

body.fareedas a {
	color: var(--fa-fg);
}

/* Widen Storefront's container to the editorial width */
.fareedas .col-full {
	max-width: var(--fa-container);
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* No sidebar anywhere in this design — force full-width content */
.fareedas #secondary,
.fareedas .widget-area {
	display: none !important;
}
.fareedas .content-area {
	width: 100% !important;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.fareedas-container {
	max-width: var(--fa-container);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.fareedas-section {
	padding-block: clamp(3.5rem, 6vw, 7rem);
}

.fareedas-eyebrow {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: var(--fa-muted-fg);
	margin: 0 0 0.75rem;
}

.fareedas-display {
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.05;
	margin: 0;
}

/* ---------------------------------------------------------------- Buttons */
.fareedas-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: var(--fa-radius-pill);
	padding: 0.9rem 1.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	border: 1px solid transparent;
	transition: all 0.25s ease;
	cursor: pointer;
	text-decoration: none;
}
.fareedas-btn .fareedas-icon { width: 1rem; height: 1rem; }
.fareedas .fareedas-btn-primary { background: var(--fa-primary); color: var(--fa-primary-fg); }
.fareedas .fareedas-btn-primary:hover { background: #19306f; color: #fff; }
.fareedas .fareedas-btn-light { background: var(--fa-bg); color: var(--fa-fg); }
.fareedas .fareedas-btn-light:hover { background: #fff; color: var(--fa-fg); }
.fareedas .fareedas-btn-dark { background: var(--fa-fg); color: var(--fa-bg); }
.fareedas .fareedas-btn-dark:hover { opacity: 0.9; color: var(--fa-bg); }
.fareedas .fareedas-btn-outline-light { border-color: rgba(249, 248, 245, 0.6); color: var(--fa-bg); background: transparent; }
.fareedas .fareedas-btn-outline-light:hover { background: var(--fa-bg); color: var(--fa-fg); }
.fareedas-btn:hover .fareedas-icon { transform: translateX(2px); }

.btn-link-underline {
	position: relative;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.78rem;
	text-decoration: none;
}
.btn-link-underline::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	height: 1px; width: 100%;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s ease;
}
.btn-link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

.fareedas-icon { width: 1.15rem; height: 1.15rem; display: inline-block; vertical-align: middle; }

/* ---------------------------------------------------------------- Marquee */
.marquee {
	display: flex;
	overflow: hidden;
	user-select: none;
	gap: 3rem;
}
.marquee-track {
	display: flex;
	flex-shrink: 0;
	gap: 3rem;
	min-width: 100%;
	animation: fa-marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes fa-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-100%); }
}

.fareedas-marquee-bar {
	background: var(--fa-primary);
	color: var(--fa-primary-fg);
	font-size: 0.69rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding-block: 0.65rem;
}
.fareedas-marquee-bar .marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 3rem;
	white-space: nowrap;
}
.marquee-star { opacity: 0.5; }

/* ---------------------------------------------------------------- Animations */
.fade-up { animation: fa-fadeup 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes fa-fadeup {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   HEADER
   ========================================================================= */
.fareedas .site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(249, 248, 245, 0.85);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--fa-border);
	padding: 0;
	transition: transform 0.45s ease, box-shadow 0.3s ease;
}
.fareedas.fareedas-header-hidden .site-header { transform: translateY(-100%); }
.fareedas.fareedas-header-scrolled .site-header { box-shadow: var(--fa-shadow-soft); }

/* The announcement bar scrolls away; only the masthead sticks. */

.fareedas-header-inner {
	max-width: var(--fa-container);
	margin-inline: auto;
	padding: 0 1.5rem;
	height: 5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.fareedas-menu-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
	color: var(--fa-fg);
}

.fareedas-logo { display: flex; align-items: center; }
.fareedas-logo img { max-height: 44px; width: auto; }
.fareedas-wordmark {
	font-family: var(--fa-font-display);
	font-size: 1.5rem;
	letter-spacing: 0.18em;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--fa-fg);
}

.fareedas-nav { flex: 1; display: flex; justify-content: center; }
.fareedas-nav-menu {
	display: flex;
	align-items: center;
	gap: 2.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.fareedas-nav-menu a {
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
	color: rgba(26, 30, 46, 0.8);
	text-decoration: none;
	position: relative;
	padding-bottom: 2px;
	padding-right: 1rem;
	padding-left: 1rem;
	outline: none !important;
}
.fareedas-nav-menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	height: 1px; width: 100%;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s ease;
}
.fareedas-nav-menu a:hover { color: var(--fa-fg); }
.fareedas-nav-menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.fareedas-nav-menu .current-menu-item > a { color: var(--fa-fg); }
.fareedas-nav-menu .fareedas-sale-link > a { color: var(--fa-sale); }

.fareedas-header-actions { display: flex; align-items: center; gap: 0.25rem; }
.fareedas-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 0.55rem;
	border-radius: var(--fa-radius-pill);
	cursor: pointer;
	color: var(--fa-fg);
	transition: background 0.2s ease;
	position: relative;
	text-decoration: none;
}
.fareedas-action-btn:hover { background: var(--fa-muted); }
.fareedas-action-btn .fareedas-icon { width: 18px; height: 18px; }

.fareedas-cart { position: relative; }
.fareedas-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 16px; height: 16px;
	padding: 0 4px;
	background: var(--fa-primary);
	color: #fff;
	border-radius: var(--fa-radius-pill);
	font-size: 10px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fareedas-cart-dropdown {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 340px;
	max-width: 88vw;
	background: var(--fa-card);
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius);
	box-shadow: var(--fa-shadow-elegant);
	padding: 1.25rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.25s ease;
	z-index: 70;
}
.fareedas-cart:hover .fareedas-cart-dropdown,
.fareedas-cart:focus-within .fareedas-cart-dropdown {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.fareedas-cart-dropdown .widget_shopping_cart_content { font-size: 0.85rem; }
.fareedas-cart-dropdown ul.cart_list { margin: 0; padding: 0; list-style: none; }
.fareedas-cart-dropdown .woocommerce-mini-cart__total { margin: 0.75rem 0; padding-top: 0.75rem; border-top: 1px solid var(--fa-border); }
.fareedas-cart-dropdown .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; }

/* Mini-cart buttons — styled independently of the body.woocommerce class so
   they look right in the header dropdown on every page (incl. the homepage). */
.fareedas .fareedas-cart-dropdown .button,
.fareedas .widget_shopping_cart .button {
	display: block;
	width: 100%;
	text-align: center;
	background: transparent !important;
	color: var(--fa-fg) !important;
	border: 1px solid var(--fa-border) !important;
	border-radius: var(--fa-radius-pill);
	padding: 0.7rem 1rem;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	margin: 0;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.fareedas .fareedas-cart-dropdown .button:hover,
.fareedas .widget_shopping_cart .button:hover {
	background: var(--fa-muted) !important;
	color: var(--fa-fg) !important;
}
.fareedas .fareedas-cart-dropdown .button.checkout,
.fareedas .widget_shopping_cart .button.checkout {
	background: var(--fa-primary) !important;
	color: #fff !important;
	border-color: var(--fa-primary) !important;
}
.fareedas .fareedas-cart-dropdown .button.checkout:hover,
.fareedas .widget_shopping_cart .button.checkout:hover {
	background: #14254f !important;
	color: #fff !important;
	border-color: #14254f !important;
}

/* ---------------------------------------------------------------- Wishlist */
.fareedas-wishlist { position: relative; }
.fareedas-wishlist-toggle { position: relative; }
.fareedas-wishlist-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 16px; height: 16px;
	padding: 0 4px;
	background: var(--fa-sale);
	color: #fff;
	border-radius: var(--fa-radius-pill);
	font-size: 10px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fareedas-wishlist-count[hidden] { display: none; }
.fareedas-wishlist-toggle.is-active .fareedas-icon { fill: var(--fa-sale); color: var(--fa-sale); }

.fareedas-wishlist-dropdown {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 340px;
	max-width: 88vw;
	background: var(--fa-card);
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius);
	box-shadow: var(--fa-shadow-elegant);
	padding: 1.25rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.25s ease;
	z-index: 70;
}
.fareedas-wishlist:hover .fareedas-wishlist-dropdown,
.fareedas-wishlist:focus-within .fareedas-wishlist-dropdown {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.fareedas-wishlist-empty { margin: 0; font-size: 0.85rem; color: var(--fa-muted-fg); text-align: center; }
.fareedas-wishlist-list { list-style: none; margin: 0 0 1rem; padding: 0; max-height: 320px; overflow-y: auto; }
.fareedas-wishlist-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--fa-border);
}
.fareedas-wishlist-item-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 1 1 auto;
	min-width: 0;
	text-decoration: none;
}
.fareedas-wishlist-item-img img {
	width: 48px; height: 60px;
	object-fit: cover;
	border-radius: 0.4rem;
	display: block;
}
.fareedas-wishlist-item-info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.fareedas-wishlist-item-name {
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--fa-fg);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fareedas-wishlist-item-price { font-size: 0.8rem; color: var(--fa-muted-fg); }
.fareedas-wishlist-item-price .amount { color: var(--fa-fg); }
.fareedas-wishlist-item-price del { opacity: 0.6; margin-right: 0.3rem; }
.fareedas-wishlist-remove {
	flex: 0 0 auto;
	width: 1.9rem; height: 1.9rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	border-radius: var(--fa-radius-pill);
	cursor: pointer;
	color: var(--fa-muted-fg);
	transition: background 0.2s ease, color 0.2s ease;
}
.fareedas-wishlist-remove:hover { background: var(--fa-muted); color: var(--fa-sale); }
.fareedas-wishlist-remove .fareedas-icon { width: 14px; height: 14px; }
.fareedas .fareedas-wishlist-shop.button {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--fa-primary) !important;
	color: #fff !important;
	border: 1px solid var(--fa-primary) !important;
	border-radius: var(--fa-radius-pill);
	padding: 0.7rem 1rem;
	font-size: 0.78rem;
	font-weight: 500;
	text-decoration: none;
}
.fareedas .fareedas-wishlist-shop.button:hover { background: #14254f !important; border-color: #14254f !important; }

/* Product-card heart toggle — active = filled red */
.fareedas-card-wishlist.is-active .fareedas-icon { fill: var(--fa-sale); color: var(--fa-sale); }
[data-fareedas-wishlist].is-loading { opacity: 0.55; pointer-events: none; }

/* Search panel */
.fareedas-search-panel {
	border-top: 1px solid var(--fa-border);
	background: var(--fa-bg);
}
.fareedas-search-inner {
	max-width: var(--fa-container);
	margin-inline: auto;
	padding: 1.25rem 1.5rem;
}
.fareedas-search-inner form { display: flex; gap: 0.5rem; max-width: 640px; margin-inline: auto; }
.fareedas-search-inner input[type="search"] {
	flex: 1;
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius-pill);
	padding: 0.8rem 1.25rem;
	background: #fff;
}
.fareedas-search-inner button {
	border-radius: var(--fa-radius-pill);
	background: var(--fa-primary);
	color: #fff;
	border: 0;
	padding: 0 1.5rem;
	cursor: pointer;
}

/* Mobile drawer */
.fareedas-drawer { position: fixed; inset: 0; z-index: 100; }
.fareedas-drawer[hidden] { display: none; }
.fareedas-drawer-backdrop { position: absolute; inset: 0; background: rgba(26, 30, 46, 0.4); }
.fareedas-drawer-panel {
	position: absolute;
	left: 0; top: 0;
	height: 100%;
	width: 82%;
	max-width: 24rem;
	background: var(--fa-bg);
	box-shadow: var(--fa-shadow-elegant);
	transform: translateX(-100%);
	transition: transform 0.45s ease;
	display: flex;
	flex-direction: column;
}
.fareedas-drawer.is-open .fareedas-drawer-panel { transform: translateX(0); }
.fareedas-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem;
	border-bottom: 1px solid var(--fa-border);
}
.fareedas-drawer-close { background: none; border: 0; cursor: pointer; color: var(--fa-fg); }
/* Drawer menu — always vertical, even if it falls back to the nav-menu class. */
.fareedas-drawer-menu,
.fareedas-drawer .fareedas-nav-menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
}
.fareedas-drawer-menu a,
.fareedas-drawer .fareedas-nav-menu a {
	display: block;
	width: 100%;
	padding: 1rem;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: none;
	border-bottom: 1px solid var(--fa-border);
	text-decoration: none;
	color: var(--fa-fg);
}
.fareedas-drawer .fareedas-nav-menu a::after { display: none; }
.fareedas-drawer-menu .fareedas-sale-link > a,
.fareedas-drawer .fareedas-nav-menu .fareedas-sale-link > a { color: var(--fa-sale); font-weight: 500; }

/* =========================================================================
   HOMEPAGE
   ========================================================================= */
/* Let the homepage break out of Storefront's .col-full so sections go full-bleed */
body.home.fareedas #content > .col-full {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}
body.home.fareedas #content { padding: 0; }
.fareedas-front,
.fareedas-front #main,
.fareedas-front .site-main {
	overflow-x: hidden;
	max-width: none;
	margin: 0;
	padding: 0;
	width: 100%;
	float: none;
}

/* Hero */
.fareedas-hero {
	position: relative;
	height: 88vh;
	min-height: 600px;
	width: 100%;
	overflow: hidden;
}
.fareedas-hero-img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center 20%; }
.fareedas-hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to right, rgba(26, 30, 46, 0.55), rgba(26, 30, 46, 0.2) 50%, transparent);
}
.fareedas-hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.fareedas-hero-copy { max-width: 36rem; color: var(--fa-bg); }
.fareedas-hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; margin: 0 0 1.25rem; opacity: 0.9; }
.fareedas-hero-title { color: var(--fa-bg); font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1.02; margin: 0 0 1.5rem; }
.fareedas-hero-sub { font-size: 1.05rem; color: rgba(249, 248, 245, 0.85); margin: 0 0 2rem; max-width: 28rem; }
.fareedas-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Offers strip */
.fareedas-offers { border-block: 1px solid var(--fa-border); background: var(--fa-card); }
.fareedas-offers-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	padding-block: 1.5rem;
}
.fareedas-offer { display: flex; align-items: center; gap: 0.75rem; }
.fareedas-offer-icon {
	height: 2.75rem; width: 2.75rem;
	border-radius: var(--fa-radius-pill);
	background: var(--fa-secondary);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	color: var(--fa-primary);
}
.fareedas-offer-title { font-size: 0.875rem; font-weight: 500; margin: 0; line-height: 1.2; }
.fareedas-offer-sub { font-size: 0.75rem; color: var(--fa-muted-fg); margin: 0; }

/* Section header */
.fareedas-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2.5rem;
	flex-wrap: wrap;
}
.fareedas-section-head.is-dark, .fareedas-section-head.is-dark .fareedas-display, .fareedas-section-head.is-dark .fareedas-eyebrow { color: var(--fa-bg); }
.fareedas-section-head.is-dark .fareedas-eyebrow { opacity: 0.6; }
.fareedas-viewall { color: rgba(26, 30, 46, 0.8); }

/* Category grid */
.fareedas-cat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}
.fareedas-cat-card {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--fa-radius-lg);
	background: var(--fa-muted);
	display: block;
	text-decoration: none;
}
.fareedas-cat-card img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fareedas-cat-card:hover img { transform: scale(1.05); }
.fareedas-cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 30, 46, 0.7), rgba(26, 30, 46, 0.1) 50%, transparent); }
.fareedas-cat-meta { position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem; color: var(--fa-bg); }
.fareedas-cat-title { display: block; color: var(--fa-bg); font-size: clamp(1.5rem, 2.5vw, 1.875rem); margin-bottom: 0.25rem; }
.fareedas-cat-shop { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; display: inline-flex; align-items: center; gap: 0.35rem; }
.fareedas-cat-shop .fareedas-icon { width: 0.85rem; height: 0.85rem; }

/* Editorial */
.fareedas-editorial { background: var(--fa-accent); }
.fareedas-editorial-grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
	padding-block: clamp(3.5rem, 6vw, 7rem);
}
.fareedas-editorial-media { aspect-ratio: 4 / 5; border-radius: var(--fa-radius-lg); overflow: hidden; background: var(--fa-muted); }
.fareedas-editorial-media img { height: 100%; width: 100%; object-fit: cover; }
.fareedas-editorial-copy { max-width: 28rem; }
.fareedas-editorial-text { color: var(--fa-muted-fg); line-height: 1.7; margin: 1.25rem 0 1.75rem; }

/* Sale strip */
.fareedas-sale-strip { background: var(--fa-fg); color: var(--fa-bg); }
.fareedas-sale-strip > .fareedas-container { padding-block: clamp(3.5rem, 6vw, 7rem); }

/* Brands */
.fareedas-brands { border-block: 1px solid var(--fa-border); padding-block: 2.5rem; overflow: hidden; background: var(--fa-card); }
.fareedas-brand-item {
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	letter-spacing: 0.2em;
	color: rgba(107, 112, 128, 0.7);
	padding-inline: 2rem;
	white-space: nowrap;
}

/* Store */
.fareedas-store { display: grid; gap: 2.5rem; align-items: center; }
.fareedas-store-details { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; color: rgba(26, 30, 46, 0.8); }
.fareedas-store-details span { font-weight: 500; color: var(--fa-fg); }
.fareedas-store-map { aspect-ratio: 4 / 3; border-radius: var(--fa-radius-lg); overflow: hidden; border: 1px solid var(--fa-border); }
.fareedas-store-map iframe { width: 100%; height: 100%; border: 0; }

/* =========================================================================
   PRODUCT CARD + GRIDS
   ========================================================================= */
.fareedas-product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 1rem;
	row-gap: 2.5rem;
}
.fareedas-card { display: block; text-decoration: none; color: inherit; }
.fareedas-card-media {
	position: relative;
	overflow: hidden;
	border-radius: var(--fa-radius-lg);
	background: var(--fa-muted);
	aspect-ratio: 4 / 5;
}
.fareedas-card-media img,
.fareedas-card-img {
	height: 100%; width: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fareedas-card:hover .fareedas-card-img { transform: scale(1.06); }
.fareedas-card-badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; z-index: 2; }
.fareedas-badge {
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 0.25rem 0.6rem;
	border-radius: var(--fa-radius-pill);
	font-weight: 500;
}
.fareedas-badge.is-new { background: rgba(255, 255, 255, 0.95); color: var(--fa-fg); backdrop-filter: blur(4px); }
.fareedas-badge.is-sale { background: var(--fa-sale); color: var(--fa-sale-fg); }
.fareedas-badge.is-trending { background: var(--fa-fg); color: var(--fa-bg); }
.fareedas-card-wishlist {
	position: absolute; top: 0.75rem; right: 0.75rem;
	height: 2.25rem; width: 2.25rem;
	border-radius: var(--fa-radius-pill);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(4px);
	border: 0;
	cursor: pointer;
	color: var(--fa-fg);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; transform: translateY(-4px);
	transition: all 0.3s ease;
	z-index: 2;
}
.fareedas-card-wishlist:hover { background: #fff; }
.fareedas-card-wishlist .fareedas-icon { width: 1rem; height: 1rem; }
.fareedas-card:hover .fareedas-card-wishlist { opacity: 1; transform: translateY(0); }
.fareedas-card-stock {
	position: absolute; bottom: 0.75rem; left: 0.75rem;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(4px);
	padding: 0.25rem 0.6rem;
	border-radius: var(--fa-radius-pill);
	font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em;
}
.fareedas-card-body { padding-top: 1rem; }
.fareedas-card-brand { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fa-muted-fg); margin: 0 0 0.25rem; }
.fareedas-card-title { font-family: var(--fa-font-sans); font-size: 0.95rem; font-weight: 500; line-height: 1.35; margin: 0; }
.fareedas-card-price { margin-top: 0.4rem; font-weight: 600; display: flex; align-items: baseline; gap: 0.5rem; }
.fareedas-card-price del { color: var(--fa-muted-fg); font-weight: 400; font-size: 0.8rem; }
.fareedas-card-price.is-sale ins,
.fareedas-card-price.is-sale .amount { text-decoration: none; }
.fareedas-card-price.is-sale ins { color: var(--fa-sale); }

/* Dark grid (sale strip) */
.fareedas-product-grid.is-dark .fareedas-card { color: var(--fa-bg); }
.fareedas-product-grid.is-dark .fareedas-card-title,
.fareedas-product-grid.is-dark .fareedas-card-price { color: var(--fa-bg); }
.fareedas-product-grid.is-dark .fareedas-card-brand { color: rgba(249, 248, 245, 0.6); }
.fareedas-product-grid.is-dark .fareedas-card-price del { color: rgba(249, 248, 245, 0.5); }

/* =========================================================================
   WOOCOMMERCE — shop archive
   ========================================================================= */
.fareedas.woocommerce ul.products,
.fareedas.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 1rem;
	row-gap: 2.5rem;
	margin: 0;
	clear: both;
}
.fareedas.woocommerce ul.products::before,
.fareedas.woocommerce ul.products::after { content: none; display: none; }
.fareedas.woocommerce ul.products li.product,
.fareedas.woocommerce-page ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}

.fareedas-collection-header {
	max-width: 42rem;
	margin: 2.5rem 0 2rem;
}
.fareedas-collection-header .fareedas-display { font-size: clamp(2.5rem, 5vw, 3.75rem); margin: 0 0 1rem; }
.fareedas-collection-desc { color: var(--fa-muted-fg); line-height: 1.7; }

/* Toolbar — Storefront wraps count + ordering + pagination in .storefront-sorting
   and prints it both above and below the grid. Top: count (left) + sort (right),
   no pagination. Bottom: pagination only, centered. */
.fareedas.woocommerce .storefront-sorting,
.fareedas.woocommerce-page .storefront-sorting {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0 0 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--fa-border);
}
.fareedas.woocommerce .storefront-sorting .woocommerce-notices-wrapper {
	flex: 0 0 100%;
	order: -2;
}
.fareedas.woocommerce .woocommerce-result-count {
	color: var(--fa-muted-fg);
	font-size: 0.8rem;
	margin: 0;
	float: none;
	order: -1;
}
.fareedas.woocommerce .storefront-sorting .woocommerce-ordering { margin: 0; float: none; order: 1; }
.fareedas.woocommerce .woocommerce-ordering select {
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius-pill);
	padding: 0.5rem 2.25rem 0.5rem 1rem;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	background: transparent;
	cursor: pointer;
}
/* Hide pagination in the TOP bar */
.fareedas.woocommerce .storefront-sorting .woocommerce-pagination { display: none; }
/* BOTTOM bar (after the grid): show only the pagination, centered */
.fareedas.woocommerce ul.products ~ .storefront-sorting {
	border-bottom: 0;
	border-top: 1px solid var(--fa-border);
	margin: 2.5rem 0 0;
	padding: 2rem 0 0;
	justify-content: center;
}
.fareedas.woocommerce ul.products ~ .storefront-sorting .woocommerce-ordering,
.fareedas.woocommerce ul.products ~ .storefront-sorting .woocommerce-result-count { display: none; }
.fareedas.woocommerce ul.products ~ .storefront-sorting .woocommerce-pagination { display: block; }

/* =========================================================================
   WOOCOMMERCE — single product
   ========================================================================= */
.fareedas.woocommerce div.product { margin-top: 1.5rem; }
.fareedas.woocommerce div.product .woocommerce-product-gallery__wrapper img,
.fareedas.woocommerce div.product .woocommerce-product-gallery img { border-radius: var(--fa-radius-lg); }
.fareedas.woocommerce div.product .product_title {
	font-family: var(--fa-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	margin-bottom: 1rem;
}
.fareedas.woocommerce div.product p.price,
.fareedas.woocommerce div.product span.price { color: var(--fa-fg); font-weight: 600; }
.fareedas.woocommerce div.product p.price ins { color: var(--fa-sale); text-decoration: none; }
.fareedas.woocommerce div.product p.price del { color: var(--fa-muted-fg); opacity: 1; }

/* Variation pills (size / color) */
.fareedas.woocommerce .variations select {
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius-pill);
	padding: 0.65rem 1.25rem;
	background: transparent;
}
.fareedas.woocommerce .variations td, .fareedas.woocommerce .variations th { border: 0; padding: 0.4rem 0; }

/* =========================================================================
   ADD-TO-CART FORM — quantity stepper + WhatsApp/Add-to-cart row + wishlist
   Layout (both simple & variable products):
     row 1: quantity stepper pill
     row 2: [Order via WhatsApp] [Add to Cart]   (equal width)
     row 3: Add to Wishlist (full width)
   For variable products form.cart stacks (table.variations + single_variation_wrap)
   and the flex button layout lives on .woocommerce-variation-add-to-cart instead.
   ========================================================================= */
.fareedas.woocommerce div.product form.cart,
.fareedas.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}
/* Variable product: outer form stacks; inner div is the flex button container */
.fareedas.woocommerce div.product form.variations_form.cart {
	display: block;
}
.fareedas.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
	margin: 0;
	padding: 0;
}

/* --- Quantity stepper (own row, first) --- */
.fareedas.woocommerce div.product form.cart .quantity {
	flex: 0 0 100%;
	order: -2;
	margin: 0;
	float: none;
	display: flex;
	justify-content: flex-start;
}
.fareedas-qty-box {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius-pill);
	overflow: hidden;
	height: 3rem;
}
.fareedas-qty-btn {
	width: 2.75rem;
	height: 3rem;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 1.15rem;
	line-height: 1;
	color: var(--fa-fg);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}
.fareedas-qty-btn:hover { background: var(--fa-secondary); }
.fareedas.woocommerce div.product form.cart .quantity .qty {
	border: 0;
	background: none;
	height: 3rem;
	width: 3rem;
	padding: 0;
	text-align: center;
	font-size: 0.95rem;
	-moz-appearance: textfield;
	appearance: textfield;
}
.fareedas.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button,
.fareedas.woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* --- Action buttons row --- */
.fareedas.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 0;
	order: 0;
	margin: 0;
	min-height: 3.4rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1rem;
	white-space: nowrap;
	background: var(--fa-fg);
	color: #fff;
	border-radius: var(--fa-radius-pill);
}
.fareedas.woocommerce div.product form.cart .single_add_to_cart_button.button.alt { background: var(--fa-fg); color: #fff; }
.fareedas.woocommerce div.product form.cart .single_add_to_cart_button.button.alt:hover,
.fareedas.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: #2a2f4d; color: #fff; opacity: 1; }
.fareedas.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.fareedas.woocommerce div.product form.cart .single_add_to_cart_button:disabled { opacity: 0.4; cursor: not-allowed; }
.fareedas.woocommerce div.product form.cart .button,
.fareedas.woocommerce #respond input#submit,
.fareedas.woocommerce a.button,
.fareedas.woocommerce button.button,
.fareedas.woocommerce input.button,
.fareedas.woocommerce .button {
	background: var(--fa-fg);
	color: var(--fa-bg);
	border-radius: var(--fa-radius-pill);
	padding: 0.9rem 1.75rem;
	font-weight: 500;
	font-size: 0.85rem;
	border: 0;
	text-transform: none;
}
.fareedas.woocommerce a.button:hover,
.fareedas.woocommerce button.button:hover,
.fareedas.woocommerce .button:hover { opacity: 0.9; background: var(--fa-fg); color: var(--fa-bg); }
.fareedas.woocommerce .button.alt,
.fareedas.woocommerce div.product form.cart .button.alt {
	background: var(--fa-primary);
	color: #fff;
}

/* WhatsApp button — sits to the LEFT of Add to Cart (order:-1) */
.fareedas .fareedas-whatsapp-btn {
	flex: 1 1 0;
	order: -1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: #25d366;
	color: #fff;
	border-radius: var(--fa-radius-pill);
	min-height: 3.4rem;
	padding: 0.9rem 1rem;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	margin: 0;
	border: 0;
	cursor: pointer;
	transition: background 0.2s ease;
}
.fareedas-whatsapp-btn:hover { background: #1eb858; color: #fff; }
.fareedas-whatsapp-btn .fareedas-icon { width: 1.15rem; height: 1.15rem; }

/* Wishlist button — full width below the action row (order:1) */
.fareedas-wishlist-btn {
	flex: 1 1 100%;
	order: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3.2rem;
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius-pill);
	background: #fff;
	color: var(--fa-fg);
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}
.fareedas-wishlist-btn:hover { border-color: var(--fa-fg); }
.fareedas-wishlist-btn .fareedas-icon { width: 1.1rem; height: 1.1rem; transition: fill 0.2s ease; }
.fareedas-wishlist-btn.is-active { color: var(--fa-sale); border-color: var(--fa-sale); }
.fareedas-wishlist-btn.is-active .fareedas-icon { fill: var(--fa-sale); color: var(--fa-sale); }

/* =========================================================================
   VARIATION SWATCHES — size = circles, color/other = pills
   Native <select> is hidden once JS builds the swatch buttons.
   ========================================================================= */
.fareedas.woocommerce div.product form.variations_form table.variations {
	display: block;
	margin: 0 0 1.5rem;
	border: 0;
}
.fareedas.woocommerce div.product form.variations_form table.variations tbody { display: block; }
.fareedas.woocommerce div.product form.variations_form table.variations tr {
	display: block;
	margin-bottom: 1.25rem;
}
.fareedas.woocommerce div.product form.variations_form table.variations th.label,
.fareedas.woocommerce div.product form.variations_form table.variations td.value {
	display: block;
	width: auto;
	padding: 0;
	text-align: left;
}
.fareedas.woocommerce div.product form.variations_form table.variations th.label { margin-bottom: 0.6rem; }

.fareedas-has-swatches .variations td.value select { display: none; }

.fareedas-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.fareedas-swatch {
	cursor: pointer;
	border: 1px solid var(--fa-border);
	background: #fff;
	color: var(--fa-fg);
	font-size: 0.85rem;
	font-weight: 500;
	font-family: var(--fa-font-sans);
	line-height: 1;
	transition: all 0.2s ease;
}
/* Size → circular swatches */
.fareedas-swatches.is-size .fareedas-swatch {
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}
/* Color / other → pill swatches */
.fareedas-swatches:not(.is-size) .fareedas-swatch {
	border-radius: var(--fa-radius-pill);
	padding: 0.7rem 1.4rem;
}
.fareedas-swatch:hover { border-color: var(--fa-fg); }
.fareedas-swatches.is-size .fareedas-swatch.is-active {
	background: var(--fa-fg);
	color: #fff;
	border-color: var(--fa-fg);
}
.fareedas-swatches:not(.is-size) .fareedas-swatch.is-active {
	border-color: var(--fa-primary);
	color: var(--fa-primary);
}
.fareedas-swatch.is-disabled,
.fareedas-swatch:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* Trust badges */
.fareedas-trust-badges {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--fa-border);
}
.fareedas-trust-badge { text-align: center; }
.fareedas-trust-badge .fareedas-icon { width: 1.25rem; height: 1.25rem; color: var(--fa-primary); margin-bottom: 0.5rem; }
.fareedas-trust-title { font-weight: 500; font-size: 0.8rem; margin: 0; }
.fareedas-trust-sub { color: var(--fa-muted-fg); font-size: 0.75rem; margin: 0; }

/* Related products header */
.fareedas.woocommerce .related > h2,
.fareedas.woocommerce .up-sells > h2 {
	font-family: var(--fa-font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin-bottom: 2rem;
}
.fareedas.woocommerce .related,
.fareedas.woocommerce .up-sells { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--fa-border); }

/* =========================================================================
   WOOCOMMERCE — editorial polish (breadcrumb, summary, tabs, meta, notices)
   ========================================================================= */

/* Breadcrumb */
.fareedas.woocommerce .woocommerce-breadcrumb,
.fareedas .woocommerce-breadcrumb {
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fa-muted-fg);
	margin: 1.5rem 0 0;
	padding-bottom: 0;
}
.fareedas .woocommerce-breadcrumb a { color: var(--fa-muted-fg); text-decoration: none; }
.fareedas .woocommerce-breadcrumb a:hover { color: var(--fa-fg); }
.fareedas .woocommerce-breadcrumb .breadcrumb-separator,
.fareedas .woocommerce-breadcrumb .delimiter { opacity: 0.5; margin: 0 0.4rem; }

/* Summary: brand eyebrow look for meta, refined price + short description */
.fareedas.woocommerce div.product .summary.entry-summary > * { margin-bottom: 1.25rem; }
.fareedas.woocommerce div.product .price {
	font-size: 1.6rem;
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	font-family: var(--fa-font-sans);
}
.fareedas.woocommerce div.product .price del { font-size: 1.1rem; }
.fareedas.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--fa-fg);
	opacity: 0.82;
	line-height: 1.7;
}
.fareedas.woocommerce div.product .stock {
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	font-weight: 500;
}
.fareedas.woocommerce div.product .stock.in-stock { color: #2e9e5b; }
.fareedas.woocommerce div.product .stock.out-of-stock { color: var(--fa-sale); }

/* Variations — label rows + reset link */
.fareedas.woocommerce div.product form.variations_form .variations label {
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--fa-fg);
}
.fareedas.woocommerce .reset_variations {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fa-muted-fg);
}
.fareedas.woocommerce div.product .woocommerce-variation-price .price { font-size: 1.3rem; }

/* Product meta (SKU / categories / tags) */
.fareedas.woocommerce div.product .product_meta {
	font-size: 0.8rem;
	color: var(--fa-muted-fg);
	border-top: 1px solid var(--fa-border);
	padding-top: 1.25rem;
	margin-top: 1.75rem;
}
.fareedas.woocommerce div.product .product_meta > span { display: block; margin-bottom: 0.4rem; }
.fareedas.woocommerce div.product .product_meta a { color: var(--fa-fg); text-decoration: none; border-bottom: 1px solid var(--fa-border); }
.fareedas.woocommerce div.product .product_meta a:hover { border-color: var(--fa-fg); }

/* Tabs — minimal underlined nav */
.fareedas.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0 0 0.25rem;
	margin: 0 0 2rem;
	border-bottom: 1px solid var(--fa-border);
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}
.fareedas.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.fareedas.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
}
.fareedas.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.fareedas.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.fareedas.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--fa-muted-fg);
	padding: 0 0 0.75rem;
	display: inline-block;
	border-bottom: 2px solid transparent;
	margin-bottom: -0.5rem;
}
.fareedas.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.fareedas.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--fa-fg); }
.fareedas.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { border-bottom-color: var(--fa-fg); }
.fareedas.woocommerce div.product .woocommerce-tabs .panel { margin: 0; }
.fareedas.woocommerce div.product .woocommerce-tabs .panel h2 { font-family: var(--fa-font-display); font-size: 1.6rem; }

/* Reviews */
.fareedas.woocommerce #reviews .comment-form input[type="text"],
.fareedas.woocommerce #reviews .comment-form input[type="email"],
.fareedas.woocommerce #reviews .comment-form textarea {
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius);
	padding: 0.75rem 1rem;
	background: #fff;
}

/* Sale flash badge on single product image */
.fareedas.woocommerce span.onsale {
	background: var(--fa-sale);
	color: var(--fa-sale-fg);
	border-radius: var(--fa-radius-pill);
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 500;
	min-height: 0;
	min-width: 0;
	line-height: 1;
	padding: 0.35rem 0.7rem;
	right: auto;
	margin: 0;
}

/* Notices / messages */
.fareedas.woocommerce .woocommerce-message,
.fareedas.woocommerce .woocommerce-info,
.fareedas.woocommerce .woocommerce-error,
.fareedas.woocommerce-page .woocommerce-message,
.fareedas.woocommerce-page .woocommerce-info,
.fareedas.woocommerce-page .woocommerce-error {
	border-radius: var(--fa-radius);
	border-top: 0;
	border-left: 4px solid var(--fa-primary);
	background: var(--fa-card);
	box-shadow: var(--fa-shadow-soft);
	padding: 1rem 1.25rem;
	font-size: 0.9rem;
	color:var(--fa-color);
}
.fareedas.woocommerce .woocommerce-message::before,
.fareedas.woocommerce .woocommerce-info::before { color: var(--fa-primary); }
.fareedas.woocommerce .woocommerce-error { border-left-color: var(--fa-sale); }

/* Pagination */
.fareedas.woocommerce nav.woocommerce-pagination ul { border: 0; gap: 0.4rem; display: flex; justify-content: center; }
.fareedas.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; }
.fareedas.woocommerce nav.woocommerce-pagination ul li a,
.fareedas.woocommerce nav.woocommerce-pagination ul li span {
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius-pill);
	min-width: 2.5rem;
	height: 2.5rem;
	line-height: 2.5rem;
	padding: 0;
}
.fareedas.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--fa-fg);
	color: var(--fa-bg);
	border-color: var(--fa-fg);
}

/* Cart / Checkout blocks — theme accent + fonts */
.fareedas .wc-block-components-button:not(.is-link),
.fareedas .wp-block-button__link,
.fareedas a.wc-block-cart__submit-button,
.fareedas .wc-block-cart__submit-button {
	background: var(--fa-primary) !important;
	color: #fff !important;
	border-radius: var(--fa-radius-pill) !important;
	font-weight: 500;
	text-decoration: none !important;
	transition: background 0.2s ease !important;
}
.fareedas .wc-block-components-button:not(.is-link):hover,
.fareedas .wp-block-button__link:hover,
.fareedas a.wc-block-cart__submit-button:hover,
.fareedas .wc-block-cart__submit-button:hover {
	background: #14254f !important;
	color: #fff !important;
	text-decoration: none !important;
}
.fareedas .wc-block-components-button__text { text-decoration: none !important; }
.fareedas .wc-block-components-totals-item__value,
.fareedas .wc-block-cart-item__total-price-and-sale-badge-wrapper { font-weight: 600; }
.fareedas .wc-block-components-text-input input,
.fareedas .wc-block-components-address-form input,
.fareedas .wc-block-checkout__form input[type="text"],
.fareedas .wc-block-checkout__form input[type="email"] {
	border-radius: var(--fa-radius) !important;
}
.fareedas .wc-block-cart,
.fareedas .wc-block-checkout { font-family: var(--fa-font-sans); }
.fareedas .wp-block-woocommerce-cart h1,
.fareedas .wp-block-woocommerce-checkout h1,
.fareedas .wc-block-components-title { font-family: var(--fa-font-display); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.fareedas .site-footer {
	background: var(--fa-fg);
	color: var(--fa-bg);
	margin-top: 6rem;
	padding: 0;
}
.fareedas .site-footer .col-full { max-width: var(--fa-container); }
.fareedas-footer-inner { padding: 4rem 0; }
.fareedas-footer-top { display: grid; gap: 3rem; }
.fareedas-footer-news h3 { color: var(--fa-bg); font-size: 1.875rem; margin: 0 0 0.75rem; }
.fareedas-footer-news p { color: rgba(249, 248, 245, 0.6); max-width: 28rem; margin: 0 0 1.5rem; }
.fareedas-news-form { display: flex; gap: 0.5rem; max-width: 28rem; }
.fareedas-news-form input {
	flex: 1;
	background: transparent;
	border: 1px solid rgba(249, 248, 245, 0.3);
	border-radius: var(--fa-radius-pill);
	padding: 0.8rem 1.25rem;
	color: var(--fa-bg);
}
.fareedas-news-form input::placeholder { color: rgba(249, 248, 245, 0.4); }
.fareedas-news-form button {
	background: var(--fa-bg);
	color: var(--fa-fg);
	border: 0;
	border-radius: var(--fa-radius-pill);
	padding: 0 1.5rem;
	font-weight: 500;
	cursor: pointer;
}
.fareedas-footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.fareedas-footer-col h4 { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(249, 248, 245, 0.5); margin: 0 0 1rem; font-family: var(--fa-font-sans); }
.fareedas-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.fareedas-footer-menu a { color: rgba(249, 248, 245, 0.8) !important; font-size: 0.875rem; text-decoration: none; }
.fareedas-footer-menu a:hover { color: var(--fa-bg); }
.fareedas-footer-bottom {
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(249, 248, 245, 0.1);
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: center;
	justify-content: space-between;
}
.fareedas-footer-copy { font-size: 0.75rem; color: rgba(249, 248, 245, 0.5); margin: 0; }
.fareedas-footer-social { display: flex; gap: 0.75rem; }
.fareedas .fareedas-social-link {
	height: 2.25rem; width: 2.25rem;
	border-radius: var(--fa-radius-pill);
	border: 1px solid rgba(249, 248, 245, 0.2);
	display: flex; align-items: center; justify-content: center;
	color: #fff;
	transition: all 0.2s ease;
}
.fareedas .fareedas-social-link:hover { background: var(--fa-bg); color: var(--fa-fg); }
.fareedas-social-link .fareedas-icon { width: 1rem; height: 1rem; }

/* =========================================================================
   FLOATING ACTIONS
   ========================================================================= */
.fareedas-fab {
	position: fixed;
	bottom: 1.5rem; right: 1.5rem;
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.75rem;
}
.fareedas-fab-items { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; }
.fareedas .fareedas-fab-item {
	height: 2.75rem; width: 2.75rem;
	border-radius: var(--fa-radius-pill);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--fa-shadow-elegant);
	color: #fff;
	opacity: 0; transform: translateY(1rem);
	pointer-events: none;
	transition: all 0.3s ease;
}
.fareedas-fab.is-open .fareedas-fab-item { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fareedas-fab-item:hover { color: #fff; transform: scale(1.08); }
.fareedas-fab-item.is-whatsapp { background: #25d366; }
.fareedas-fab-item.is-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.fareedas-fab-item.is-facebook { background: #1877f2; }
.fareedas-fab-item.is-tiktok { background: var(--fa-fg); }
.fareedas-fab-item .fareedas-icon { width: 1.25rem; height: 1.25rem; }
.fareedas-fab-toggle {
	height: 3.25rem; width: 3.25rem;
	border-radius: var(--fa-radius-pill);
	background: var(--fa-primary);
	color: #fff;
	border: 0;
	box-shadow: var(--fa-shadow-elegant);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease;
}
.fareedas-fab-toggle:hover { transform: scale(1.05); }
.fareedas-fab-icon-close { display: none; }
.fareedas-fab.is-open .fareedas-fab-icon-open { display: none; }
.fareedas-fab.is-open .fareedas-fab-icon-close { display: inline-flex; }

/* =========================================================================
   TOASTS (AJAX add-to-cart feedback)
   ========================================================================= */
.fareedas-toasts {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 200;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	pointer-events: none;
	width: max-content;
	max-width: 90vw;
}
.fareedas-toast {
	background: var(--fa-fg);
	color: var(--fa-bg);
	padding: 0.85rem 1.4rem;
	border-radius: var(--fa-radius-pill);
	font-size: 0.85rem;
	box-shadow: var(--fa-shadow-elegant);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
	pointer-events: auto;
}
.fareedas-toast.is-visible { opacity: 1; transform: translateY(0); }
.fareedas-toast.is-success { border-left: 3px solid #25d366; }
.fareedas-toast a { color: #fff; text-decoration: underline; text-underline-offset: 2px; margin-left: 0.4rem; }

/* Add-to-cart button states */
.fareedas.woocommerce div.product form.cart .single_add_to_cart_button.loading { opacity: 0.65; cursor: default; }
.fareedas.woocommerce div.product form.cart .single_add_to_cart_button.added::after { display: none; }

/* "View cart" link shown after a successful add — outline pill, matches design */
.fareedas.woocommerce a.added_to_cart,
.fareedas.woocommerce a.added_to_cart.wc-forward {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: transparent;
	color: var(--fa-fg);
	border: 1px solid var(--fa-border);
	border-radius: var(--fa-radius-pill);
	padding: 0.85rem 1.6rem;
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.fareedas.woocommerce a.added_to_cart:hover,
.fareedas.woocommerce a.added_to_cart.wc-forward:hover {
	background: var(--fa-fg);
	color: var(--fa-bg);
	border-color: var(--fa-fg);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (min-width: 768px) {
	.fareedas-product-grid,
	.fareedas.woocommerce ul.products,
	.fareedas.woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); }
	.fareedas-offers-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
	.fareedas-footer-top { grid-template-columns: 5fr 7fr; }
	.fareedas-footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
	.fareedas-product-grid,
	.fareedas.woocommerce ul.products,
	.fareedas.woocommerce-page ul.products { grid-template-columns: repeat(4, 1fr); column-gap: 1.5rem; row-gap: 3rem; }
	.fareedas-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
	.fareedas-editorial-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
	.fareedas-store { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile header — flex row: [hamburger][logo flex-centred][actions]
   Hamburger and actions are flex:none so they never get squeezed.
   Logo fills the gap between them with overflow:hidden so long names can't push icons off. */
@media (max-width: 1023px) {
	.fareedas-nav { display: none !important; }
	.fareedas-menu-toggle { display: inline-flex !important; }

	.fareedas-header-inner {
		display: flex !important;
		align-items: center;
		height: 4rem;
		padding: 0 0.5rem;
		gap: 0;
	}

	/* Hamburger: never shrinks */
	.fareedas-menu-toggle {
		flex: 0 0 auto;
		padding: 0.4rem;
	}

	/* Logo: grows to fill middle, centres its content, cannot overflow */
	.fareedas-logo {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		display: flex !important;
		justify-content: center;
		align-items: center;
		overflow: hidden;
	}
	.fareedas-logo img,
	.fareedas-logo .custom-logo-link,
	.fareedas-logo .custom-logo-link img {
		max-height: 32px !important;
		max-width: 120px !important;
		width: auto !important;
		height: auto !important;
		display: block;
	}
	.fareedas-logo .fareedas-wordmark {
		font-size: 1rem;
		letter-spacing: 0.1em;
		white-space: nowrap;
	}

	/* Actions: never shrinks; stays right */
	.fareedas-header-actions {
		flex: 0 0 auto !important;
		display: flex;
		align-items: center;
		gap: 0;
	}
	.fareedas-action-btn { padding: 0.38rem; }
	.fareedas-action-btn .fareedas-icon { width: 18px; height: 18px; }
}

/* Mobile: stack the add-to-cart actions full width (WhatsApp, Add to cart,
   Wishlist), compact heights and tighter gaps. */
@media (max-width: 767px) {
	.fareedas.woocommerce div.product form.cart,
	.fareedas.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
		gap: 0.6rem;
	}
	.fareedas.woocommerce div.product form.cart .single_add_to_cart_button,
	.fareedas .fareedas-whatsapp-btn,
	.fareedas-wishlist-btn {
		flex: 0 0 100%;
		width: 100%;
		min-height: 3.1rem;
	}
	.fareedas.woocommerce a.added_to_cart,
	.fareedas.woocommerce a.added_to_cart.wc-forward {
		flex: 0 0 100%;
		width: 100%;
		justify-content: center;
		white-space: normal;
	}
}

@media (min-width: 1024px) {
	.fareedas-drawer { display: none !important; }
}

/* ================================================================
   3-LEVEL DROPDOWN NAVIGATION (desktop)
   Walker outputs: li > .fareedas-dropdown > ul.fareedas-l2-list > li > ul.fareedas-l3-list
   Hover chain (pure CSS):
     .fareedas-nav-menu > li:hover > .fareedas-dropdown  → display:flex
     .fareedas-l2-list  > li:hover > .fareedas-l3-list   → display:block
   ================================================================ */

/* L1: give each top-level item a positioning context */
.fareedas-nav-menu > li {
	position: relative;
}

/* ---- L2 dropdown wrapper (positioning context for the L3 flyout) ---- */
.fareedas-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border: 1px solid var(--fa-border);
	border-top: 2px solid var(--fa-primary);
	box-shadow: 0 12px 32px rgba(26, 30, 46, 0.13);
	z-index: 500;
}

.fareedas-nav-menu > li:hover > .fareedas-dropdown {
	display: block;
}

/* ---- L2 list (left column) ---- */
.fareedas-l2-list {
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 230px;
}

/* No position:relative here — so the L3 flyout anchors to the whole
   .fareedas-dropdown (top of the panel), not to the hovered row. */
.fareedas-l2-list > li + li > a {
	border-top: 1px solid var(--fa-border);
}

.fareedas-l2-list > li > a {
	display: flex;
	align-items: center;
	padding: 0.85rem 1.25rem;
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--fa-fg);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s, background 0.2s;
}

/* Suppress the underline-slide ::after on sub-menu links */
.fareedas-l2-list a::after,
.fareedas-l3-list a::after {
	display: none !important;
}

/* Arrow for L2 items that have L3 children */
.fareedas-l2-list > li.menu-item-has-children > a::after {
	display: inline-block !important;
	content: '›';
	position: static;
	height: auto;
	width: auto;
	background: none;
	transform: none;
	margin-left: auto;
	padding-left: 0.6rem;
	font-size: 1.1rem;
	line-height: 1;
	font-weight: 300;
	opacity: 0.4;
}

.fareedas-l2-list > li:hover > a {
	color: var(--fa-primary);
	background: var(--fa-secondary);
}

/* ---- L3 flyout — anchored to the TOP of the dropdown, opens to the right ---- */
.fareedas-l3-list {
	display: none;
	position: absolute;
	top: -2px;          /* align L3's blue top accent with the dropdown's */
	left: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--fa-border);
	border-top: 2px solid var(--fa-primary);
	box-shadow: 0 12px 32px rgba(26, 30, 46, 0.13);
	z-index: 501;
}

.fareedas-l2-list > li:hover > .fareedas-l3-list {
	display: block;
}

.fareedas-l3-list > li + li > a {
	border-top: 1px solid var(--fa-border);
}

.fareedas-l3-list > li > a {
	display: block;
	padding: 0.85rem 1.25rem;
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--fa-muted-fg);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s, background 0.2s;
}

.fareedas-l3-list > li:hover > a {
	color: var(--fa-primary);
	background: var(--fa-secondary);
}

/* ---- Drawer (mobile): collapsible accordion. Sub-menus hidden until the
   caret toggle is tapped (JS adds .is-expanded to the parent <li>). ---- */
.fareedas-drawer-menu .sub-menu,
.fareedas-drawer .fareedas-nav-menu .sub-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	background: rgba(26, 30, 46, 0.025);
}

.fareedas-drawer-menu .menu-item-has-children.is-expanded > .sub-menu,
.fareedas-drawer .fareedas-nav-menu .menu-item-has-children.is-expanded > .sub-menu {
	display: block;
}

/* Parent items get a positioning context for the caret + room for it. */
.fareedas-drawer-menu .menu-item,
.fareedas-drawer .fareedas-nav-menu .menu-item { position: relative; }

.fareedas-drawer-menu .menu-item-has-children > a,
.fareedas-drawer .fareedas-nav-menu .menu-item-has-children > a {
	padding-right: 3.5rem;
}

/* Indentation per level */
.fareedas-drawer-menu .sub-menu a {
	padding-left: 2rem;
	font-size: 0.92rem;
	color: var(--fa-muted-fg);
	letter-spacing: 0.04em;
}
.fareedas-drawer-menu .sub-menu .sub-menu a {
	padding-left: 3rem;
	font-size: 0.85rem;
}

/* Caret toggle button (injected by JS) */
.fareedas-drawer-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 3.4rem;
	height: 3.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--fa-border);
	cursor: pointer;
	color: var(--fa-muted-fg);
	padding: 0;
	z-index: 1;
}
.fareedas-drawer-toggle svg {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}
.fareedas-drawer-menu .is-expanded > .fareedas-drawer-toggle svg {
	transform: rotate(180deg);
	color: var(--fa-primary);
}

/* Make the drawer scroll if the menu is tall */
.fareedas-drawer-panel { overflow: hidden; }
.fareedas-drawer-menu { flex: 1 1 auto; overflow-y: auto; }