/* GardenGox — main stylesheet */

:root {
	--gg-cream: #F6F1E7;
	--gg-cream-2: #FBF8F2;
	--gg-charcoal: #2B241D;
	--gg-terracotta: #BE5B3B;
	--gg-terracotta-dark: #9C4830;
	--gg-taupe: #DCD0BE;
	--gg-sage: #7C8363;
	--gg-font-serif: Georgia, Cambria, "Times New Roman", serif;
	--gg-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--gg-cream);
	color: var(--gg-charcoal);
	font-family: var(--gg-font-sans);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gg-terracotta); text-decoration: none; }
a:hover { color: var(--gg-terracotta-dark); }

h1, h2, h3, h4 {
	font-family: var(--gg-font-serif);
	font-weight: 400;
	color: var(--gg-charcoal);
	line-height: 1.2;
	margin: 0 0 0.6em;
}

.gg-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.gg-narrow { max-width: 760px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px;
	width: auto; height: auto; clip: auto;
	background: var(--gg-charcoal); color: var(--gg-cream);
	padding: 10px 16px; border-radius: 4px; z-index: 1000;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 13px 28px;
	border-radius: 2px;
	font-family: var(--gg-font-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary,
a.button, button.button,
.woocommerce #respond input#submit,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #payment #place_order {
	background: var(--gg-terracotta);
	color: #fff !important;
	border-color: var(--gg-terracotta);
}
.btn-primary:hover,
a.button:hover, button.button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #payment #place_order:hover {
	background: var(--gg-terracotta-dark);
	border-color: var(--gg-terracotta-dark);
}

.link-arrow { font-weight: 600; }

/* Header */
.site-header {
	background: var(--gg-cream-2);
	border-bottom: 1px solid var(--gg-taupe);
	position: sticky;
	top: 0;
	z-index: 100;
}
.gg-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	padding-bottom: 16px;
	gap: 20px;
}
.site-logo img { display: block; }

.primary-nav-list {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
}
.primary-nav-list a {
	color: var(--gg-charcoal);
	font-weight: 600;
	font-size: 15px;
}
.primary-nav-list a:hover { color: var(--gg-terracotta); }

.header-actions { display: flex; align-items: center; }
.header-cart {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--gg-charcoal);
}
.cart-count {
	background: var(--gg-terracotta);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--gg-charcoal);
	position: relative;
}
.nav-toggle-bars::before { content: ""; position: absolute; top: -7px; width: 22px; height: 2px; background: var(--gg-charcoal); }
.nav-toggle-bars::after { content: ""; position: absolute; top: 7px; width: 22px; height: 2px; background: var(--gg-charcoal); }

/* Hero */
.hero {
	background: linear-gradient(135deg, var(--gg-cream-2) 0%, var(--gg-taupe) 100%);
	padding: 84px 0;
	text-align: center;
}
.hero-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 13px;
	font-weight: 700;
	color: var(--gg-terracotta);
	margin: 0 0 14px;
}
.hero-title {
	font-size: 42px;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
.hero-sub {
	max-width: 560px;
	margin: 0 auto 30px;
	color: #55493d;
	font-size: 17px;
}

/* Sections */
.section { padding: 64px 0; }
.section-title { font-size: 28px; margin-bottom: 32px; }

.about-teaser { background: var(--gg-cream-2); }
.about-teaser p { max-width: 620px; color: #55493d; }

/* Product grid (WooCommerce loop) */
ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.products li.product {
	background: var(--gg-cream-2);
	border: 1px solid var(--gg-taupe);
	border-radius: 4px;
	padding: 18px 18px 24px;
	text-align: left;
}
ul.products li.product img { border-radius: 2px; margin-bottom: 14px; aspect-ratio: 1 / 1; object-fit: cover; }
ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--gg-font-serif);
	font-size: 18px;
	margin: 0 0 6px;
	color: var(--gg-charcoal);
}
ul.products li.product .price {
	color: var(--gg-terracotta);
	font-weight: 700;
}
ul.products li.product .price del { color: #9a8f80; font-weight: 400; }
ul.products li.product .button {
	margin-top: 14px;
	display: inline-block;
}

/* Single product */
.woocommerce div.product .woocommerce-Price-amount { color: var(--gg-terracotta); font-weight: 700; font-size: 22px; }
.woocommerce div.product p.price { margin-bottom: 18px; }
.woocommerce-tabs { margin-top: 40px; border-top: 1px solid var(--gg-taupe); padding-top: 20px; }

/* Forms / tables (cart, checkout) */
.woocommerce table.shop_table { border-color: var(--gg-taupe); }
.woocommerce table.shop_table th { background: var(--gg-cream-2); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--gg-terracotta) !important;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--gg-terracotta) !important; }

/* Generic page content */
.page-title { font-size: 34px; margin-top: 48px; }
.entry-content { padding-bottom: 40px; }
.entry-content h2 { margin-top: 1.6em; font-size: 24px; }
.entry-content ul { padding-left: 1.2em; }

/* Contact page */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 48px;
	padding: 20px 0 60px;
	border-top: 1px solid var(--gg-taupe);
	margin-top: 20px;
}
.contact-info h2 { font-size: 20px; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { margin-bottom: 10px; }

.gg-contact-form { display: flex; flex-direction: column; gap: 6px; }
.gg-contact-form label { font-weight: 600; font-size: 14px; margin-top: 10px; }
.gg-contact-form input,
.gg-contact-form textarea {
	font-family: inherit;
	font-size: 15px;
	padding: 11px 12px;
	border: 1px solid var(--gg-taupe);
	border-radius: 3px;
	background: #fff;
	color: var(--gg-charcoal);
}
.gg-contact-form button { margin-top: 18px; align-self: flex-start; }

.form-notice {
	padding: 12px 16px;
	border-radius: 3px;
	margin-bottom: 20px;
	font-size: 14px;
}
.form-notice-success { background: #e7ede1; color: #3f4d33; }
.form-notice-error { background: #f4e1da; color: #7a3420; }

/* Trust badges */
.trust-badges {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	padding: 28px 0;
	border-bottom: 1px solid rgba(255,255,255,0.12);
	margin-bottom: 36px;
}
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gg-cream); }
.trust-badge-icon { font-size: 16px; }

/* Footer */
.site-footer {
	background: var(--gg-charcoal);
	color: var(--gg-cream);
	padding: 44px 0 30px;
	margin-top: 60px;
}
.footer-tagline { color: #cfc4b3; font-size: 14px; max-width: 240px; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 28px;
	padding-bottom: 30px;
}
.footer-col h3 { color: var(--gg-cream); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #cfc4b3; }
.footer-col a:hover { color: var(--gg-cream); }

.brand-disclaimer {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding-top: 20px;
	font-size: 12.5px;
	color: #a89a86;
	line-height: 1.6;
}
.footer-bottom { font-size: 12.5px; color: #a89a86; margin-top: 14px; margin-bottom: 0; }

/* Responsive */
@media (max-width: 900px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	ul.products { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
	.nav-toggle { display: block; }
	.primary-nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		background: var(--gg-cream-2);
		border-bottom: 1px solid var(--gg-taupe);
		padding: 10px 24px 20px;
	}
	body.nav-open .primary-nav { display: block; }
	.primary-nav-list { flex-direction: column; gap: 16px; }
	.hero-title { font-size: 30px; }
	ul.products { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.gg-header-inner { position: relative; }
}
