/* -------------------------------------------------------------------------
   Ze Hong Studio — refinement layer (ui-ux-pro-max)
   Keeps white-base luxury; adds warm-gold accents, Cormorant display type,
   complete footer, tighter shop header, and fixes from the critique.
   Loaded after d2o-jewelry/style.css.
   ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
	--zh-ink: #1C1917;
	--zh-ink-2: #292524;
	--zh-gold: #A16207;
	--zh-gold-2: #C29A4B;
	--zh-ivory: #FAFAF9;
	--zh-card: #FFFFFF;
	--zh-stone: #57534E;
	--zh-stone-2: #A8A29E;
	--zh-line: #E7E5E4;
	--zh-font-d: 'Cormorant', Georgia, 'Times New Roman', serif;
	--zh-font-b: 'Montserrat', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ---------- Typography hierarchy ---------- */
body {
	font-family: var(--zh-font-b);
	color: var(--zh-ink);
}

h1, h2, h3, h4,
.page-title,
.entry-title,
.product_title,
.woocommerce-loop-product__title,
.ct-header [data-id="logo"] .site-title,
.d2o-landing h1,
.d2o-landing h2,
.d2o-landing h3 {
	font-family: var(--zh-font-d);
	color: var(--zh-ink);
	letter-spacing: .01em;
}

h1, .page-title, .entry-title {
	font-weight: 500;
}

.d2o-landing .d2o-section__head h2 {
	font-size: clamp(1.8rem, 3.2vw, 2.5rem);
	font-weight: 500;
	letter-spacing: .01em;
}

/* Kickers — small gold labels */
.d2o-landing .d2o-section__head p,
.d2o-trust__item h3,
.d2o-cat-card span {
	letter-spacing: .06em;
}

/* ---------- Accent: warm gold ---------- */
/* Hero copy + CTA injected above carousel */
.zh-hero-copy {
	max-width: 820px;
	margin: 0 auto 34px;
	text-align: center;
	padding: 0 20px;
}
.zh-kicker {
	font-size: 11px;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--zh-gold);
	font-weight: 600;
	margin: 0 0 16px;
}
.zh-hero-copy h1 {
	font-family: var(--zh-font-d);
	font-size: clamp(2.2rem, 4.6vw, 3.3rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: .005em;
	margin: 0 0 18px;
}
.zh-lead {
	font-size: 15px;
	color: var(--zh-stone);
	max-width: 560px;
	margin: 0 auto 28px;
	line-height: 1.8;
}
.zh-hero-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}
.d2o-btn--outline {
	background: transparent;
	color: var(--zh-ink) !important;
	border: 1px solid var(--zh-ink);
}
.d2o-btn--outline:hover {
	background: var(--zh-ink);
	color: #fff !important;
}
.zh-hero-trust {
	display: flex;
	justify-content: center;
	gap: 22px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}
.zh-hero-trust li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--zh-stone);
}
.zh-hero-trust svg {
	width: 15px;
	height: 15px;
	color: var(--zh-gold);
}

.d2o-btn--primary,
.single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: var(--zh-ink) !important;
}
.d2o-btn--primary:hover,
.single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover {
	background: var(--zh-gold) !important;
}

.d2o-landing .d2o-btn--primary {
	background: var(--zh-ink);
	border-color: var(--zh-ink);
}
.d2o-landing .d2o-btn--primary:hover {
	background: var(--zh-gold);
	border-color: var(--zh-gold);
}

a, .ct-footer a, .d2o-landing a {
	transition: color .2s ease;
}
a:hover { color: var(--zh-gold); }

/* ---------- Trust icons: deepen ---------- */
.d2o-trust__icon {
	color: var(--zh-gold) !important;
	font-weight: 600;
}

/* ---------- Category cards ---------- */
.d2o-cat-card {
	transition: border-color .25s, box-shadow .25s, transform .25s, background .25s;
}
.d2o-cat-card:hover {
	border-color: var(--zh-gold);
	background: #FBF7F0;
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -18px rgba(28,25,23,.28);
}
.d2o-cat-card span {
	color: var(--zh-ink);
	font-family: var(--zh-font-d);
	font-size: 1.2rem;
	font-weight: 600;
}
.d2o-cat-card small {
	color: var(--zh-stone);
}

/* ---------- Product cards ---------- */
.woocommerce ul.products li.product a.ct-media-container,
.woocommerce ul.products li.product .ct-media-container {
	border-color: var(--zh-line);
	transition: border-color .25s, box-shadow .25s;
}
.woocommerce ul.products li.product:hover a.ct-media-container,
.woocommerce ul.products li.product:hover .ct-media-container {
	border-color: var(--zh-gold-2);
	box-shadow: 0 18px 36px -22px rgba(28,25,23,.3);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: .95rem;
	font-weight: 600;
	color: var(--zh-ink);
}

/* ---------- Buttons: uppercase, spaced ---------- */
.d2o-btn,
.wp-element-button,
.button,
.single_add_to_cart_button {
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .78rem;
	font-weight: 500;
	border-radius: 2px;
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.ct-toggle:focus-visible {
	outline: 2px solid var(--zh-gold);
	outline-offset: 2px;
}

/* ---------- Header: tighter, no truncation ---------- */
[data-header*="type-1"] .ct-header [data-id="logo"] .site-title {
	font-size: 1.35rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
	font-size: .7rem;
	letter-spacing: .12em;
	white-space: nowrap;
}
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover {
	color: var(--zh-gold);
}

/* ---------- Shop page: compress duplicate hero band ---------- */
.woocommerce-page article .entry-content > .wp-block-group > h1.wp-block-heading,
.woocommerce-page .woocommerce-products-header h1.wp-block-heading {
	display: none !important;
}
.woocommerce-page .hero-section[data-type="type-2"] {
	background: var(--zh-card) !important;
	padding: 18px 24px 12px !important;
	border-bottom: 1px solid var(--zh-line);
	margin-bottom: 14px;
	min-height: 0 !important;
}
.woocommerce-page .hero-section[data-type="type-2"] .page-title {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 500;
	text-align: left;
	margin: 0;
}
.woocommerce-page .woocommerce-products-header {
	margin-bottom: 6px;
}

/* Split / story band: keep outline button readable */
.d2o-split .d2o-btn--primary {
	background: transparent !important;
	color: var(--zh-ink) !important;
	border: 1px solid var(--zh-ink);
}
.d2o-split .d2o-btn--primary:hover {
	background: var(--zh-ink) !important;
	color: #fff !important;
}

/* ---------- Shortcuts bar: mobile only ---------- */
.ct-shortcuts-bar {
	display: none !important;
}
@media (max-width: 689.98px) {
	.ct-shortcuts-bar {
		display: flex !important;
	}
}

/* ---------- Footer: richer bottom row ---------- */
.d2o-footer-meta {
	display: none !important;
}
.zh-footer-wrap {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 28px;
	text-align: left;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}
.zh-footer-wrap h4 {
	font-family: var(--zh-font-d);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .06em;
	margin: 0 0 12px;
	color: var(--zh-ink);
}
.zh-footer-wrap p,
.zh-footer-wrap a,
.zh-footer-wrap li {
	font-size: 13px;
	color: var(--zh-stone);
	line-height: 1.9;
}
.zh-footer-wrap ul { list-style: none; padding: 0; margin: 0; }
.zh-footer-wrap a:hover { color: var(--zh-gold); }
.zh-footer-socials { display: flex; gap: 10px; margin-top: 12px; }
.zh-footer-socials a {
	width: 34px; height: 34px; border: 1px solid var(--zh-line);
	border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: #fff; font-size: 15px; color: var(--zh-ink);
}
.zh-footer-socials a:hover { border-color: var(--zh-gold); color: var(--zh-gold); }
.zh-footer-bottom {
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
	gap: 10px; margin: 24px auto 0; max-width: 1280px; padding: 16px 24px 0;
	border-top: 1px solid var(--zh-line);
	font-size: 12px; color: var(--zh-stone-2);
}
.zh-pay-badges { display: flex; gap: 8px; }
.zh-pay-badges span {
	border: 1px solid var(--zh-line); background: #fff; border-radius: 4px;
	padding: 4px 10px; font-size: 10px; letter-spacing: .08em; color: var(--zh-stone);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.zh-footer-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.zh-footer-wrap { grid-template-columns: 1fr; }
	.zh-footer-bottom { flex-direction: column; align-items: flex-start; }
}
