/* Top Enzymes — WordPress integration overrides
 * Loaded after homepage.css. Adjusts the design for real WP/Woo content.
 */

/* WP admin bar adjustment */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .header { top: 46px; }
}

/* Body class added by WP */
body { margin: 0; padding: 0; }

/* When a real logo image is uploaded via Customizer */
.brand .brand-logo {
	max-height: 44px;
	width: auto;
	display: block;
}

/* Real product images replace the .product-bottle placeholder */
.product-visual .product-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.product-card:hover .product-visual .product-photo {
	transform: scale(1.05);
}
.product-visual a {
	display: block;
	width: 100%;
	height: 100%;
}

/* WooCommerce price markup uses .woocommerce-Price-amount, ins, del */
.product-price ins { background: transparent; text-decoration: none; }
.product-price del {
	opacity: 0.6;
	font-weight: 400;
	margin-right: 8px;
	font-size: 0.85em;
}
.product-price .woocommerce-Price-amount { font-weight: 700; }
.product-price .woocommerce-Price-currencySymbol { font-weight: 600; margin-right: 1px; }

/* Product name link inherits styling */
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--green); }

/* Standard page layout (about, contact, blog post) */
.standard-page {
	max-width: 800px;
	margin: 0 auto;
	padding: 60px 28px 100px;
}
.standard-page .entry-header { margin-bottom: 40px; }
.standard-page .entry-title {
	font-family: 'Instrument Serif', serif;
	font-size: 56px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.05;
	color: var(--ink);
}
.standard-page .entry-meta {
	font-size: 14px;
	color: var(--ink-muted);
	margin-top: 12px;
}
.standard-page .entry-content {
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-soft);
}
.standard-page .entry-content h2,
.standard-page .entry-content h3 {
	font-family: 'Instrument Serif', serif;
	font-weight: 400;
	margin-top: 1.8em;
	margin-bottom: 0.6em;
	letter-spacing: -0.01em;
}
.standard-page .entry-content h2 { font-size: 32px; }
.standard-page .entry-content h3 { font-size: 24px; }
.standard-page .entry-content p { margin-bottom: 1.2em; }
.standard-page .entry-content a {
	color: var(--green);
	border-bottom: 1px solid var(--line);
}
.standard-page .entry-content a:hover { border-bottom-color: var(--green); }
.standard-page .entry-content ul,
.standard-page .entry-content ol { margin: 1em 0 1.4em 1.5em; }
.standard-page .entry-content li { margin-bottom: 0.4em; }
.standard-page .entry-thumbnail {
	margin: 30px 0;
	border-radius: 16px;
	overflow: hidden;
}
.standard-page .entry-thumbnail img { width: 100%; height: auto; display: block; }

/* Mobile nav toggle — only shows when JS adds .nav-toggle */
.nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 8px 10px;
	cursor: pointer;
	color: var(--ink);
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.nav.is-open {
		display: flex !important;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--surface);
		border-top: 1px solid var(--line);
		padding: 16px 28px;
		gap: 14px;
		box-shadow: var(--shadow-md);
	}
}

/* Cart count span needs the live update from Woo fragments */
.cart-count { font-weight: 600; }

/* Strip default WP gallery / block alignments inside our content */
.entry-content .alignwide,
.entry-content .alignfull {
	margin-left: 0;
	margin-right: 0;
}

/* Hide the "Comments" link on pages by default (we don't use it) */
.entry-meta .comments-link { display: none; }
