/* MDJ Premium. Logo JPEG reads ~#E88A54; the approved mockup uses #FF6500.
   Buttons with white text use #D64300 so the pair clears WCAG AA. */

@font-face {
	font-family: Manrope;
	src: url("../fonts/manrope-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Manrope;
	src: url("../fonts/manrope-800.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Inter;
	src: url("../fonts/inter-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Inter;
	src: url("../fonts/inter-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Inter;
	src: url("../fonts/inter-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

:root {
	--mdj-orange: #ff6500;
	--mdj-orange-hover: #e85b00;
	--mdj-orange-button: #d64300;
	--mdj-orange-button-hover: #b83800;
	--mdj-charcoal: #202124;
	--mdj-white: #ffffff;
	--mdj-bg: #f7f7f5;
	--mdj-text: #202124;
	--mdj-muted: #667085;
	--mdj-border: #e5e7eb;
	--mdj-sale: #e11d48;
	--mdj-ok: #067647;
	--mdj-radius: 16px;
	--mdj-radius-sm: 12px;
	--mdj-shadow: 0 10px 30px rgba(32, 33, 36, 0.08);
	--mdj-max: 1200px;
	--mdj-font: Inter, system-ui, sans-serif;
	--mdj-display: Manrope, Inter, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--mdj-font);
	color: var(--mdj-text);
	background: var(--mdj-bg);
	line-height: 1.5;
}

img { max-width: 100%; height: auto; }
button, input { font: inherit; }
a { color: inherit; }

.skip-link {
	position: absolute;
	left: 12px;
	top: -48px;
	background: var(--mdj-white);
	color: var(--mdj-text);
	padding: 8px 12px;
	z-index: 80;
	border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

:focus-visible {
	outline: 3px solid var(--mdj-orange);
	outline-offset: 2px;
}

.mdjp-wrap {
	width: min(calc(100% - 32px), var(--mdj-max));
	margin-inline: auto;
}

.mdjp-icon { display: block; }

.mdjp-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--mdj-white);
}
.mdjp-header.is-stuck {
	box-shadow: var(--mdj-shadow);
}
.admin-bar .mdjp-header { top: 32px; }
.mdjp-header.is-stuck .mdjp-topbar { display: none; }

.mdjp-topbar {
	background: var(--mdj-charcoal);
	color: #fff;
	font-size: 12px;
}
.mdjp-topbar-row,
.mdjp-topbar-meta,
.mdjp-topbar-links {
	display: flex;
	align-items: center;
	gap: 14px;
}
.mdjp-topbar-row {
	justify-content: space-between;
	min-height: 36px;
	padding: 6px 0;
}
.mdjp-topbar-meta {
	margin: 0;
	flex-wrap: wrap;
	color: #e8e8ea;
}
.mdjp-topbar-meta span,
.mdjp-topbar-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.mdjp-topbar a { color: #fff; text-decoration: none; }
.mdjp-topbar .mdjp-icon { width: 14px; height: 14px; }
.mdjp-topbar-sat { display: none; }

.mdjp-header-row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "logo tools tools" "search search search";
	gap: 12px;
	align-items: center;
	padding: 12px 0;
}
.mdjp-logo { grid-area: logo; }
.mdjp-logo img,
.mdjp-logo .custom-logo { height: 52px; width: auto; display: block; }
.mdjp-search { grid-area: search; position: relative; }
.mdjp-header-tools {
	grid-area: tools;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}

.mdjp-search input[type="search"] {
	width: 100%;
	height: 48px;
	border: 1px solid var(--mdj-border);
	border-radius: 12px;
	padding: 0 56px 0 16px;
	background: #fff;
}
.mdjp-search button {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: var(--mdj-orange-button);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.mdjp-search button:hover { background: var(--mdj-orange-button-hover); }

.mdjp-suggest {
	position: absolute;
	z-index: 5;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	background: #fff;
	border: 1px solid var(--mdj-border);
	border-radius: 12px;
	box-shadow: var(--mdj-shadow);
	padding: 6px;
}
.mdjp-suggest[hidden] { display: none; }
.mdjp-suggest-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none;
}
.mdjp-suggest-item:hover,
.mdjp-suggest-item:focus-visible { background: var(--mdj-bg); }
.mdjp-suggest-item small { color: var(--mdj-muted); }

.mdjp-account,
.mdjp-cart {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
}
.mdjp-account span:last-child,
.mdjp-cart-copy { display: none; }
.mdjp-icon-btn {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--mdj-bg);
}
.mdjp-cart { position: relative; }
.mdjp-cart-sum { color: var(--mdj-muted); font-weight: 500; font-size: 12px; }
.mdjp-count {
	position: absolute;
	top: -4px;
	left: 26px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--mdj-orange);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: grid;
	place-items: center;
}

.mdjp-burger {
	width: 44px;
	height: 44px;
	border: 1px solid var(--mdj-border);
	border-radius: 12px;
	background: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.mdjp-burger-close { display: none; }
.mdjp-burger[aria-expanded="true"] .mdjp-burger-open { display: none; }
.mdjp-burger[aria-expanded="true"] .mdjp-burger-close { display: grid; }

.mdjp-nav-wrap { display: none; background: var(--mdj-charcoal); }
.mdjp-nav-wrap.is-open { display: block; }
.mdjp-nav {
	list-style: none;
	margin: 0;
	padding: 8px 0 16px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.mdjp-nav a {
	color: #fff;
	text-decoration: none;
	font-family: var(--mdj-display);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 10px 12px;
	border-radius: 10px;
	display: inline-flex;
}
.mdjp-nav .is-current > a,
.mdjp-nav .current-menu-item > a { background: var(--mdj-orange); }
.mdjp-nav-item { display: flex; flex-wrap: wrap; align-items: center; }
.mdjp-nav-item > a { flex: 1; }
.mdjp-sub-toggle {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.mdjp-sub {
	display: none;
	flex-basis: 100%;
	list-style: none;
	margin: 0;
	padding: 0 0 8px 12px;
}
.mdjp-nav-item.is-open > .mdjp-sub { display: block; }
.mdjp-sub a { text-transform: none; letter-spacing: 0; font-weight: 600; }

.mdjp-hero {
	position: relative;
	min-height: 520px;
	display: grid;
	align-items: end;
	color: #fff;
	overflow: hidden;
	background: var(--mdj-charcoal);
}
.mdjp-hero-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.mdjp-hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(16, 16, 16, 0.88) 0%, rgba(16, 16, 16, 0.55) 48%, rgba(16, 16, 16, 0.15) 100%);
}
.mdjp-hero-copy {
	position: relative;
	z-index: 1;
	padding: 48px 0 88px;
	text-align: left;
	justify-self: start;
}
.mdjp-hero .mdjp-hero-copy {
	width: min(calc(100% - 32px), var(--mdj-max));
	max-width: none;
	margin-left: max(16px, calc((100% - var(--mdj-max)) / 2));
	margin-right: auto;
}
.mdjp-hero h1 { max-width: 640px; }
.mdjp-hero-lead { max-width: 36em; }
.mdjp-kicker {
	margin: 0 0 10px;
	color: var(--mdj-orange);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 13px;
}
.mdjp-hero h1 {
	margin: 0;
	font-family: var(--mdj-display);
	font-weight: 800;
	font-size: clamp(2.1rem, 6vw, 4.4rem);
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}
.mdjp-hero h1 span {
	display: block;
	color: var(--mdj-orange);
}
.mdjp-hero-lead {
	max-width: 46ch;
	font-size: 1.05rem;
	color: #f3f4f6;
}
.mdjp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mdjp-hero-badge {
	display: none;
}

.mdjp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 700;
}
.mdjp-btn-primary { background: var(--mdj-orange-button); color: #fff; }
.mdjp-btn-primary:hover { background: var(--mdj-orange-button-hover); }
.mdjp-btn-ghost {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.7);
}
.mdjp-btn .mdjp-icon { width: 18px; height: 18px; }

.mdjp-crumbs { margin: 16px 0; font-size: 14px; }
.mdjp-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.mdjp-crumbs a { color: inherit; }
.mdjp-crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; }

.mdjp-home { padding-bottom: 24px; }
.mdjp-benefits { margin-top: -42px; position: relative; z-index: 2; }
.mdjp-benefit-grid {
	list-style: none;
	margin: 0;
	padding: 8px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	background: #fff;
	border-radius: 20px;
	box-shadow: var(--mdj-shadow);
}
.mdjp-benefit-grid li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px;
}
.mdjp-benefit-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff1e8;
	color: var(--mdj-orange-button);
	display: grid;
	place-items: center;
	flex: none;
}
.mdjp-benefit-grid strong { display: block; font-family: var(--mdj-display); }
.mdjp-benefit-grid small { color: var(--mdj-muted); }

.mdjp-section { padding: 36px 0 8px; }
.mdjp-section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 16px;
}
.mdjp-section-head h2,
.mdjp-page h1,
.mdjp-promo h2 {
	font-family: var(--mdj-display);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0;
}
.mdjp-section-head a { color: var(--mdj-orange-button); font-weight: 700; text-decoration: none; }

.mdjp-cat-grid,
.mdjp-products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.mdjp-cat {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(32, 33, 36, 0.06);
	min-height: 100%;
}
.mdjp-cat-media {
	aspect-ratio: 4 / 3;
	background: #eceae6;
	display: block;
}
.mdjp-cat-media img { width: 100%; height: 100%; object-fit: cover; }
.mdjp-cat-label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 12px;
	font-weight: 700;
}
.mdjp-cat-label .mdjp-icon { transform: rotate(-90deg); color: var(--mdj-muted); }
.mdjp-cat:hover { transform: translateY(-2px); }

.mdjp-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(32, 33, 36, 0.06);
	display: flex;
	flex-direction: column;
}
.mdjp-card-media { position: relative; display: block; background: #f3f1ee; aspect-ratio: 1; }
.mdjp-card-media img { width: 100%; height: 100%; object-fit: contain; }
.mdjp-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--mdj-sale);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	border-radius: 999px;
	padding: 4px 8px;
}
.mdjp-card-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mdjp-card h3 { margin: 0; font-size: 0.95rem; line-height: 1.3; font-weight: 600; }
.mdjp-card h3 a { text-decoration: none; }
.mdjp-price { font-weight: 800; color: var(--mdj-orange-button); }
.mdjp-price del { color: var(--mdj-muted); font-weight: 500; margin-right: 6px; }
.mdjp-price ins { text-decoration: none; }
.mdjp-stock { margin: 0; font-size: 13px; color: var(--mdj-muted); }
.mdjp-stock.is-in { color: var(--mdj-ok); }
.mdjp-card .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	background: var(--mdj-orange-button);
	color: #fff !important;
	border: 0;
	text-decoration: none;
	font-weight: 700;
	cursor: pointer;
}
.mdjp-card .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--mdj-orange-button-hover); }

.mdjp-promo {
	margin-top: 28px;
	display: grid;
	background: var(--mdj-charcoal);
	color: #fff;
}
.mdjp-promo-copy { padding: 36px 20px; }
.mdjp-promo h2 { font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; max-width: 16ch; }
.mdjp-promo ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0; padding: 0; }
.mdjp-promo li {
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 14px;
}
.mdjp-promo-media { min-height: 240px; }
.mdjp-promo-media img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 80%; }

.mdjp-footer { background: var(--mdj-charcoal); color: #e7e7ea; padding: 40px 0 24px; }
.mdjp-footer a { color: #fff; text-decoration: none; }
.mdjp-footer-grid {
	display: grid;
	gap: 24px;
}
.mdjp-footer-brand,
.mdjp-footer-title {
	font-family: var(--mdj-display);
	font-weight: 800;
	color: #fff;
	margin: 0 0 8px;
}
.mdjp-footer ul { list-style: none; margin: 0; padding: 0; }
.mdjp-footer li { margin: 6px 0; }
.mdjp-social { display: flex; gap: 10px; }
.mdjp-social a {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	display: grid;
	place-items: center;
}
.mdjp-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.mdjp-pay span {
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	padding: 4px 8px;
	font-size: 13px;
}
.mdjp-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 24px;
	padding-top: 16px;
	font-size: 14px;
}
.mdjp-legal { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.mdjp-powered {
	order: 1;
	flex-basis: 100%;
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	color: rgba(231, 231, 234, 0.55);
}
.mdjp-footer .mdjp-powered a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: rgba(255, 255, 255, 0.35);
}
.mdjp-footer .mdjp-powered a:hover,
.mdjp-footer .mdjp-powered a:focus-visible { color: #fff; }

.mdjp-page { padding: 32px 0 72px; }
.mdjp-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.mdjp-content-body > *:first-child { margin-top: 0; }

.mdjp-tabbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	border-top: 1px solid var(--mdj-border);
	padding-bottom: env(safe-area-inset-bottom);
}
.mdjp-tabbar a {
	min-height: 58px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	text-decoration: none;
	font-size: 11px;
	font-weight: 600;
	color: var(--mdj-muted);
}
.mdjp-page-shell { padding-bottom: 74px; }

.mdjp-wa-float {
	position: fixed;
	right: 16px;
	bottom: 82px;
	z-index: 46;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #128c7e;
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	min-height: 48px;
	padding: 0 14px;
	font-weight: 700;
	box-shadow: var(--mdj-shadow);
}
.mdjp-wa-float .mdjp-icon { width: 20px; height: 20px; }

.woocommerce-main { padding-top: 28px; padding-bottom: 72px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--mdj-border);
	border-radius: 12px;
	padding: 10px 12px;
}

@media (min-width: 768px) {
	.mdjp-topbar-sat { display: inline; }
	.mdjp-benefit-grid { grid-template-columns: 1fr 1fr; }
	.mdjp-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.mdjp-products { grid-template-columns: repeat(3, 1fr); }
	.mdjp-footer-grid { grid-template-columns: 1fr 1fr; }
	.mdjp-hero-badge {
		display: block;
		position: absolute;
		right: 6vw;
		bottom: 18%;
		z-index: 1;
		margin: 0;
		font-family: var(--mdj-display);
		font-weight: 700;
		font-size: 1.4rem;
		max-width: 10ch;
		text-align: right;
	}
}

@media (min-width: 1024px) {
	.mdjp-header-row {
		grid-template-columns: auto minmax(280px, 1fr) auto;
		grid-template-areas: "logo search tools";
		padding: 16px 0;
	}
	.mdjp-account span:last-child,
	.mdjp-cart-copy { display: flex; flex-direction: column; }
	.mdjp-burger { display: none; }
	.mdjp-nav-wrap { display: block; }
	.mdjp-nav { flex-direction: row; align-items: center; padding: 8px 0; gap: 4px; }
	.mdjp-nav-item { position: relative; flex-wrap: nowrap; }
	.mdjp-sub {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		background: #fff;
		border-radius: 12px;
		padding: 8px;
		box-shadow: var(--mdj-shadow);
		flex-basis: auto;
	}
	.mdjp-sub a { color: var(--mdj-text); }
	.mdjp-nav-item:hover > .mdjp-sub,
	.mdjp-nav-item:focus-within > .mdjp-sub,
	.mdjp-nav-item.is-open > .mdjp-sub { display: block; }
	.mdjp-sub-toggle { color: #fff; }
	.mdjp-benefit-grid { grid-template-columns: repeat(4, 1fr); }
	.mdjp-products { grid-template-columns: repeat(4, 1fr); }
	.mdjp-cat-grid { grid-template-columns: repeat(6, 1fr); }
	.mdjp-promo { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
	.mdjp-promo-copy { padding: 64px; }
	.mdjp-promo-media { min-height: 420px; }
	.mdjp-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; }
	.mdjp-tabbar { display: none; }
	.mdjp-page-shell { padding-bottom: 0; }
	.mdjp-wa-float { bottom: 24px; }
	.mdjp-hero { min-height: 620px; align-items: center; }
}

@media (max-width: 782px) {
	.admin-bar .mdjp-header { top: 46px; }
}

@media (min-width: 1280px) {
	.mdjp-products { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.mdjp-reveal.is-in { animation: mdjp-rise 0.5s ease both; }
	.mdjp-cat { transition: transform 0.2s ease; }
}

@keyframes mdjp-rise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}
