/* Frosted Bloom homepage — scoped under .gfd-glass-home so it never touches shop/category archive pages. */

.gfd-glass-home {
	position: relative;
	overflow: hidden;
	font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
	background: linear-gradient(160deg, #ffe3ec 0%, #ffd9e8 18%, #e8f7ee 55%, #fef6e7 100%);
	color: #3a3a4a;
	padding-bottom: 10px;
}

.gfd-swoosh {
	position: absolute;
	top: -80px;
	left: -220px;
	width: 1400px;
	height: 680px;
	background: linear-gradient(120deg, rgba(255,179,207,0.35), rgba(189,240,210,0.3));
	transform: rotate(-6deg);
	filter: blur(45px);
	z-index: 0;
	border-radius: 50%;
	pointer-events: none;
}
.gfd-glass-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: .5;
	z-index: 0;
	pointer-events: none;
}
.gfd-glass-blob--2 { width: 300px; height: 300px; background: #ffe29a; top: 950px; left: 62%; }

/* Frosted-glass navbar — replaces the theme's default header on this template only */
body.page-template-template-frosted-bloom-home-php .mkdf-page-header,
body.page-template-template-frosted-bloom-home-php .mkdf-mobile-header,
body.page-template-template-frosted-bloom-home-php .mkdf-side-area {
	display: none !important;
}
.gfd-nav {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 64px;
	background: #fff0f5;
	border-bottom: 1px solid rgba(214,68,122,0.12);
	box-shadow: 0 2px 12px rgba(214,68,122,0.06);
	flex-wrap: nowrap;
}
.gfd-logo {
	display: block;
	flex-shrink: 0;
}
.gfd-logo img {
	height: 48px;
	width: auto;
	display: block;
}
.gfd-navlinks {
	display: flex;
	gap: 4px;
	font-size: 14px;
	font-weight: 500;
	flex: 1 1 auto;
	justify-content: center;
	flex-wrap: wrap;
}
.gfd-navitem { position: relative; flex-shrink: 0; }
.gfd-navitem > a {
	display: block;
	color: #4a4a5a;
	text-decoration: none;
	padding: 10px 12px;
	border-radius: 20px;
	white-space: nowrap;
}
.gfd-navitem > a:hover { color: #d6447a; background: rgba(255,255,255,0.5); }
.gfd-caret { font-size: 10px; opacity: .6; }
.gfd-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	padding: 10px;
	/* No margin-top: a gap here is dead space outside any hoverable box —
	   moving the mouse through it drops :hover before reaching the dropdown. */
	background: rgba(255,255,255,0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255,255,255,0.9);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(0,0,0,0.12);
	flex-direction: column;
}
.gfd-has-dropdown:hover .gfd-dropdown,
.gfd-has-dropdown:focus-within .gfd-dropdown {
	display: flex;
}
.gfd-dropdown a {
	display: block;
	padding: 8px 12px;
	border-radius: 10px;
	color: #4a4a5a;
	text-decoration: none;
	font-size: 13px;
	white-space: nowrap;
}
.gfd-dropdown a:hover { background: rgba(214,68,122,0.1); color: #d6447a; }

/* Hero — asymmetric overlapping panels, rotating between multiple slides.
   Inactive slides are display:none (not just hidden) so layout height
   always matches whichever slide is showing — no guessed fixed height
   needed, and it stays responsive the same way the single-slide version
   was. */
.gfd-hero {
	position: relative;
	z-index: 5;
	padding: 10px 64px 40px;
}
.gfd-hero-slide {
	display: none;
	align-items: flex-start;
	animation: gfd-hero-fade .6s ease;
}
.gfd-hero-slide--active { display: flex; }
@keyframes gfd-hero-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
.gfd-hero-dots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 6;
}
.gfd-hero-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(214,68,122,0.25);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all .2s ease;
}
.gfd-hero-dot:hover { background: rgba(214,68,122,0.5); }
.gfd-hero-dot--active {
	background: #d6447a;
	width: 24px;
	border-radius: 5px;
}
.gfd-hero-glass {
	width: 560px;
	max-width: 90%;
	background: rgba(255,255,255,0.58);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(255,255,255,0.9);
	border-radius: 30px;
	padding: 54px;
	margin-top: 40px;
	position: relative;
	z-index: 3;
	box-shadow: 0 28px 60px rgba(214,68,122,0.18);
}
.gfd-eyebrow {
	color: #d6447a;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.gfd-hero-glass h1 {
	font-size: 44px;
	line-height: 1.2;
	font-weight: 700;
	color: #2e2e3a;
	margin: 0 0 18px;
}
.gfd-hero-glass p {
	font-size: 16px;
	color: #5a5a6a;
	line-height: 1.6;
	margin: 0 0 28px;
}
.gfd-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.gfd-btn-primary,
.gfd-btn-glass {
	display: inline-block;
	border-radius: 30px;
	padding: 16px 30px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1;
}
.gfd-btn-primary {
	background: #d6447a;
	color: #fff;
	box-shadow: 0 12px 24px rgba(214,68,122,0.35);
}
.gfd-btn-primary:hover { background: #c43a6c; color: #fff; }
.gfd-btn-glass {
	background: rgba(255,255,255,0.5);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.9);
	color: #3a3a4a;
}
.gfd-btn-glass:hover { background: rgba(255,255,255,0.7); color: #3a3a4a; }

.gfd-hero-photo {
	flex: 1;
	height: 380px;
	margin-left: -60px;
	border-radius: 34px;
	position: relative;
	z-index: 2;
	overflow: hidden;
	background-color: #ffc2d8;
	background-image: linear-gradient(150deg, #ffc2d8, #ffe8c2 60%, #c7f0d4);
	background-size: cover;
	background-position: center;
	box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.gfd-hero-floatcard {
	position: absolute;
	bottom: 24px;
	right: 24px;
	background: rgba(255,255,255,0.7);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: 18px;
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #3a3a4a;
	box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Section headings */
.gfd-section { position: relative; z-index: 5; padding: 30px 64px; }
.gfd-section h2 {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 26px;
	color: #2e2e3a;
}

/* Shop by Category / Check Availability — custom cards, not the WooCommerce
   [product_categories] shortcode (the theme hides its title behind a hover
   overlay that doesn't work in this layout, so we render our own markup). */
.gfd-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.gfd-cat-card {
	flex: 1 1 160px;
	text-align: center;
	background: rgba(255,255,255,0.5);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,0.8);
	border-radius: 24px;
	box-shadow: 0 12px 30px rgba(0,0,0,0.06);
	padding: 24px 12px;
	text-decoration: none;
	color: inherit;
	display: block;
}
.gfd-cat-card:hover {
	box-shadow: 0 16px 36px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}
.gfd-cat-img {
	width: 64px;
	height: 64px;
	background-size: cover;
	background-position: center;
	border-radius: 50%;
	margin: 0 auto 12px;
}
.gfd-cat-img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	background: rgba(214,68,122,0.1);
}
.gfd-cat-name {
	font-weight: 600;
	font-size: 14px;
	color: #3a3a4a;
}

/* Best Sellers — styles WooCommerce's [best_selling_products] shortcode output (content-product.php) */
.gfd-products ul.products {
	display: flex !important;
	flex-wrap: wrap;
	gap: 22px;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}
.gfd-products ul.products li.product {
	flex: 1 1 220px;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	background: rgba(255,255,255,0.55);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,0.8);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 14px 30px rgba(0,0,0,0.08);
	padding: 18px 20px 20px;
	text-align: center;
}
.gfd-products ul.products li.product a.woocommerce-loop-product__link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.gfd-products ul.products li.product img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	border-radius: 16px;
	margin-bottom: 14px;
}
.gfd-products ul.products li.product .woocommerce-loop-product__title {
	font-weight: 600;
	font-size: 15px;
	margin: 0 0 6px;
	color: #3a3a4a;
}
.gfd-products ul.products li.product .price {
	color: #d6447a;
	font-weight: 700;
	font-size: 15px;
	display: block;
	margin-bottom: 14px;
}
.gfd-products ul.products li.product .button.add_to_cart_button {
	display: inline-block;
	width: 100%;
	background: rgba(214,68,122,0.12);
	color: #d6447a;
	border: 1px solid rgba(214,68,122,0.3);
	padding: 10px;
	border-radius: 14px;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
}
.gfd-products ul.products li.product .button.add_to_cart_button:hover {
	background: rgba(214,68,122,0.2);
}

/* Promo banner */
.gfd-promo {
	position: relative;
	z-index: 5;
	margin: 20px 64px 0;
	padding: 40px 56px;
	border-radius: 28px;
	background: rgba(255,255,255,0.45);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255,255,255,0.8);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}
.gfd-promo-text h3 { font-size: 22px; margin: 0 0 6px; color: #2e2e3a; }
.gfd-promo-text p { margin: 0; color: #5a5a6a; font-size: 14px; }

@media (max-width: 900px) {
	.gfd-nav { padding: 14px 20px; flex-wrap: wrap; }
	.gfd-logo { order: 1; }
	.gfd-navlinks { order: 2; width: 100%; justify-content: flex-start; gap: 2px; }
	/* No hover on touch — dropdowns become tap-to-open accordions instead */
	.gfd-dropdown {
		position: static;
		display: none;
		margin-top: 0;
		box-shadow: none;
		background: rgba(255,255,255,0.4);
	}
	.gfd-has-dropdown.gfd-dropdown-open .gfd-dropdown { display: flex; }
	.gfd-hero { padding: 40px 24px 56px; }
	.gfd-hero-slide { flex-direction: column; }
	.gfd-hero-glass { width: 100%; margin-top: 0; padding: 32px; }
	.gfd-hero-photo { width: 100%; margin-left: 0; margin-top: 24px; height: 260px; }
	.gfd-section, .gfd-promo { padding-left: 24px; padding-right: 24px; margin-left: 24px; margin-right: 24px; }
}
