/*
Theme Name: Astra Child - AetherGlow
Theme URI: https://aetherglowhome.com
Description: AetherGlow 品牌子主题。承载商品叙事页样式，不修改 Astra 本体。
Author: AetherGlow
Template: astra
Version: 1.1.0
Text Domain: astra-child-ag
*/

/* 全局 Logo：Cormorant Garamond 典雅法式古董体 + 奢华拉丝金色 */
.site-title,
.site-title a,
.ast-site-title-wrap .site-title a {
	font-family: 'Cormorant Garamond', Garamond, Georgia, serif !important;
	font-style: italic !important;
	font-weight: 700 !important;
	font-size: 35px !important; /* 加大 2 号，视觉更显贵气大气 */
	letter-spacing: 0.03em !important;
	color: #d4af37 !important;
	background: linear-gradient(135deg, #fdf1d6 0%, #d4af37 45%, #9e7a17 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none !important;
	display: inline-block;
	transition: filter 200ms ease;
}

@media (max-width: 768px) {
	.site-title,
	.site-title a,
	.ast-site-title-wrap .site-title a {
		font-size: 27px !important;
	}
}

.site-title a:hover,
.ast-site-title-wrap .site-title a:hover {
	filter: brightness(1.2);
}

/* 隐藏首页冗余的默认页面标题（去掉 Home 标题） */
body.home .entry-header,
body.home .entry-title,
body.home header.entry-header,
body.page-id-101 .entry-header,
body.page-id-101 .entry-title {
	display: none !important;
}

/* ==========================================================================
   顶部导航：两个主营入口做成胶囊按钮，其余保持文字
   Custom Studio = 香槟金；Shop = 品牌深蓝
   ========================================================================== */

.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item {
	margin: 0 2px;
}

.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.055em;
	transition: color 200ms ease, background-color 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item:not(.menu-item-195):not(.menu-item-111) > .menu-link:hover,
.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item:not(.menu-item-195):not(.menu-item-111):hover > .menu-link {
	color: #b8935a;
}

/* 香槟金：Custom Studio */
.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item-195 > .menu-link {
	margin-left: 10px;
	padding: 0 22px;
	color: #1d1408 !important;
	background: linear-gradient(135deg, #ecd6a6 0%, #cba963 48%, #a07a36 100%);
	box-shadow: 0 8px 20px -10px rgba(120, 88, 34, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item-195 > .menu-link:hover {
	color: #1d1408 !important;
	filter: brightness(1.06);
	box-shadow: 0 10px 24px -10px rgba(120, 88, 34, 1), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* 品牌深蓝：Shop All */
.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item-111 > .menu-link {
	margin-left: 8px;
	padding: 0 22px;
	color: #ffffff !important;
	background: #002f6c;
	box-shadow: 0 7px 18px -9px rgba(0, 47, 108, 0.7);
}

.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item-111 > .menu-link:hover {
	color: #ffffff !important;
	background: #00418f;
	box-shadow: 0 9px 22px -9px rgba(0, 47, 108, 0.85);
}

/* 手机折叠菜单里同样呈现为胶囊 */
@media (max-width: 921px) {
	#ast-hf-mobile-menu > .menu-item-195 > .menu-link,
	#ast-hf-mobile-menu > .menu-item-111 > .menu-link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: 38px;
		padding: 0 22px;
		width: auto !important;
		margin: 8px 20px;
		border-radius: 999px;
		font-size: 13.5px;
		font-weight: 600;
		letter-spacing: 0.055em;
	}

	#ast-hf-mobile-menu > .menu-item-195 > .menu-link {
		color: #1d1408 !important;
		background: linear-gradient(135deg, #ecd6a6 0%, #cba963 48%, #a07a36 100%);
		box-shadow: 0 8px 20px -10px rgba(120, 88, 34, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55);
	}

	#ast-hf-mobile-menu > .menu-item-111 > .menu-link {
		color: #ffffff !important;
		background: #002f6c;
		box-shadow: 0 7px 18px -9px rgba(0, 47, 108, 0.7);
	}
}

/* ==========================================================================
   Home 项：细线小房子，房身内嵌 HOME
   ========================================================================== */

.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item-106 > .menu-link,
#ast-hf-mobile-menu > .menu-item-106 > .menu-link {
	position: relative;
	display: inline-flex;
	align-items: flex-start;
	justify-content: center;
	box-sizing: border-box;
	width: 64px;
	height: 42px;
	padding: 25px 0 0 0;
	border-radius: 0;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 42' fill='none' stroke='%23b8935a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20 L32 2 L61 20'/%3E%3Crect x='10' y='20' width='44' height='19.5' rx='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 64px 42px;
	color: #7d5c28 !important;
	font-size: 10px !important;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
	transition: color 200ms ease, filter 200ms ease;
}

.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item-106 > .menu-link:hover,
.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item-106:hover > .menu-link,
#ast-hf-mobile-menu > .menu-item-106 > .menu-link:hover {
	color: #b8935a !important;
	filter: drop-shadow(0 0 5px rgba(184, 147, 90, 0.6));
}

@media (max-width: 921px) {
	#ast-hf-mobile-menu > .menu-item-106 {
		border-bottom: none !important;
		background: transparent !important;
	}

	#ast-hf-mobile-menu > .menu-item-106 > .menu-link {
		margin: 6px 0 6px 20px;
	}
}

