/*
Theme Name: Marinay Made
Theme URI: https://marinaymade.com
Description: Child theme of Twenty Twenty-Five for marinaymade.com, in the colors of the Marinay Made logo.
Author: Marinay Made
Template: twentytwentyfive
Version: 1.1.1
Requires at least: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: marinaymade
*/

/* Footer sits at the bottom of short pages and directly under the last section of long ones. */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}
.wp-site-blocks > footer {
	margin-block-start: auto;
}

/* Header */
.mm-header {
	position: relative;
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--accent-1) 10%, transparent);
}
.mm-header::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--wp--preset--gradient--brand);
}
.mm-logo img {
	display: block;
	width: auto;
	height: 60px;
}
.mm-header .wp-block-navigation a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.mm-header .wp-block-navigation a:hover,
.mm-header .wp-block-navigation a:focus-visible {
	color: var(--wp--preset--color--accent-3);
}
.mm-header .wp-block-woocommerce-customer-account a,
.mm-header .wc-block-mini-cart__button {
	color: var(--wp--preset--color--accent-1);
}

/* Buttons: navy fill, logo-gradient border. White text on the gradient itself would be unreadable at the green end. */
.wp-block-button.is-style-brand .wp-block-button__link {
	border: 2px solid transparent;
	background: linear-gradient(var(--wp--preset--color--accent-1), var(--wp--preset--color--accent-1)) padding-box, var(--wp--preset--gradient--brand) border-box;
	color: #fff;
	box-shadow: 0 12px 30px -16px rgba(255, 69, 255, 0.7);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wp-block-button.is-style-brand .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 34px -14px rgba(4, 250, 95, 0.55);
}
.wp-block-button.is-style-outline-light .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.75);
}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover {
	background: #fff;
	color: var(--wp--preset--color--accent-1);
}

/* Hero and Coming soon: light, so the logo's navy cat stays visible; the pour band sits at the bottom. */
.mm-hero,
.mm-soon {
	background:
		url("assets/images/pour-band.svg") 50% 100% / max(100%, 1100px) auto no-repeat,
		radial-gradient(55% 60% at 8% 12%, rgba(255, 69, 255, 0.13), transparent 70%),
		radial-gradient(45% 55% at 92% 28%, rgba(4, 250, 95, 0.12), transparent 70%),
		var(--wp--preset--color--base);
}
.mm-eyebrow {
	margin: 0;
	color: var(--wp--preset--color--accent-3);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.mm-hero__title {
	max-width: 13ch;
}
.mm-hero__lede {
	max-width: 34ch;
	color: var(--wp--preset--color--accent-4);
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
}
.mm-hero__art {
	text-align: center;
}
.mm-hero__logo {
	width: min(100%, 420px);
	height: auto;
	filter: drop-shadow(0 18px 30px rgba(0, 0, 128, 0.08));
}

/* Value strip */
.mm-values {
	background: var(--wp--preset--color--accent-2);
}
.mm-values h3 {
	margin-bottom: 0.4rem;
}
.mm-values h3::before {
	content: "";
	display: block;
	width: 32px;
	height: 3px;
	margin-bottom: 0.9rem;
	border-radius: 2px;
	background: var(--wp--preset--gradient--brand);
}
.mm-values p {
	margin-top: 0;
	color: var(--wp--preset--color--accent-4);
}

/* Product grids */
.mm-more a {
	font-weight: 600;
	text-decoration: none;
}
.mm-empty {
	padding: 3rem 0;
	color: var(--wp--preset--color--accent-4);
	font-style: italic;
}
.wc-block-product .wc-block-components-product-image img {
	border-radius: 14px;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.wc-block-product:hover .wc-block-components-product-image img {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px -22px rgba(0, 0, 128, 0.45);
}
.wc-block-product .wp-block-post-title {
	font-size: 1.25rem;
	font-weight: 600;
}
.wc-block-product .wp-block-post-title a {
	color: var(--wp--preset--color--accent-1);
	text-decoration: none;
}

/* Custom-work band */
.mm-band {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--gradient--night);
	color: #fff;
}
.mm-band::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--wp--preset--gradient--brand);
}
.mm-band::after {
	content: "";
	position: absolute;
	inset: -40% -10% auto auto;
	width: 60%;
	height: 160%;
	background: radial-gradient(closest-side, rgba(255, 69, 255, 0.18), transparent 70%);
	pointer-events: none;
}
.mm-band > * {
	position: relative;
	z-index: 1;
}
.mm-band h2 {
	color: #fff;
}
.mm-band p {
	color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.mm-footer {
	position: relative;
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
}
.mm-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--wp--preset--gradient--brand);
}
.mm-footer a {
	color: var(--wp--preset--color--accent-1);
	text-decoration: none;
}
.mm-footer a:hover {
	color: var(--wp--preset--color--accent-3);
}
.mm-footer-logo {
	display: block;
	width: 120px;
	height: auto;
}
.mm-footer-heading {
	color: var(--wp--preset--color--accent-3);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.mm-footer-links {
	padding: 0;
	list-style: none;
}
.mm-footer-links li {
	margin: 0.35rem 0;
}
.mm-muted {
	color: var(--wp--preset--color--accent-4);
}
.mm-footer-base {
	padding-top: 1.2rem;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--accent-1) 12%, transparent);
	color: var(--wp--preset--color--accent-4);
	font-size: 0.85rem;
}

/* Policy pages */
.mm-policy-updated {
	color: var(--wp--preset--color--accent-4);
	font-size: 0.9rem;
}

/* Coming soon */
.mm-soon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	padding: 3rem 1.5rem clamp(12rem, 22vw, 18rem);
	text-align: center;
}
.mm-soon__title {
	margin: 0 auto;
}
.mm-soon__title img {
	display: block;
	width: min(70vw, 300px);
	height: auto;
}
.mm-soon__lede {
	max-width: 32ch;
	margin-inline: auto;
	color: var(--wp--preset--color--accent-4);
	font-size: 1.2rem;
}
.mm-soon__contact a {
	color: var(--wp--preset--color--accent-1);
	font-weight: 600;
}

@media (max-width: 781px) {
	.mm-hero__logo {
		width: min(70%, 280px);
	}
}
@media (max-width: 600px) {
	.mm-logo img {
		height: 48px;
	}
}
