/*
 * Oxcon brand tokens and overrides.
 * Colors and fonts pulled directly from the live oxcon.id landing page (CLAUDE.md
 * "reuse the existing copy" / PLAN.md Phase 1 "brand tokens pulled from the existing
 * landing page"), so Botiga's default styling matches the established brand exactly.
 */

:root {
	--oxc-ink: #16191c;
	--oxc-paper: #f2f1ee;
	--oxc-accent: #55707f;
	--oxc-surface: #e7e6e3;
	--oxc-hairline: rgba(22, 25, 28, 0.18);
}

@font-face {
	font-family: 'Myriad Light Condensed';
	src: url('../fonts/Myriad-VF-Light-Condensed.ttf') format('truetype');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Myriad Light Condensed';
	src: url('../fonts/Myriad-VF-Light-Condensed-Italic.ttf') format('truetype');
	font-weight: 200;
	font-style: italic;
	font-display: swap;
}

body {
	background-color: var(--oxc-paper);
	color: var(--oxc-ink);
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

/* Matches Botiga's own selector list (styles.min.css) so specificity ties and
   source order (this file loads after) decides — avoids needing !important. */
h1, h2, h3, h4, h5, h6, .site-title {
	font-family: 'Myriad Light Condensed', sans-serif;
	font-weight: 200;
	color: var(--oxc-ink);
}

/* Primary buttons: dark fill, white text, full pill — matches oxcon.id's CTAs.
   Includes `.wp-block-button .wp-block-button__link:not(.has-background)` to
   match Botiga's own rule specificity exactly (styles.min.css) — `:not()`
   counts toward specificity, so a bare `.wp-block-button__link` alone loses. */
.button,
.wp-block-button__link,
.wp-block-button .wp-block-button__link:not(.has-background),
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
input[type="submit"] {
	background-color: var(--oxc-ink);
	color: #fff;
	border-radius: 999px;
	border: none;
}

.button:hover,
.wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:not(.has-background):hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
input[type="submit"]:hover {
	background-color: var(--oxc-accent);
	color: #fff;
}

/* Star ratings and accent details, matching the landing page's muted slate blue. */
.woocommerce .star-rating span,
.woocommerce-product-rating .star-rating span {
	color: var(--oxc-accent);
}

/* Secondary surfaces (cards, product tiles) */
.woocommerce ul.products li.product,
.product-card,
.card {
	background-color: var(--oxc-surface);
}

/* Hide the default page title on the homepage ("Beranda") — the hero
   section's own heading already serves that role. Other pages keep theirs. */
.page-id-528 .entry-header {
	display: none;
}
