/*
Theme Name: MA Japan Theme
Theme URI: https://example.com
Author: MA Japan
Author URI: https://example.com
Description: A custom block theme (Full Site Editing) for MA Japan.
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Version: 0.1.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ma-japan-theme
*/

/* ==========================================================================
   Shared section header (eyebrow + heading)
   Used across Featured Inventory, Product Collections, Shop by Brand, and
   the About/Contact pages — kept here (loaded on every page) rather than in
   a block-specific stylesheet, since plain pages that use these classes
   don't include any of those blocks and would otherwise get no styling.
   ========================================================================== */

.ma-featured-inventory__header {
	position: relative;
	text-align: center;
	max-width: 1200px;
	margin: 0 auto 40px;
}

.ma-featured-inventory__eyebrow {
	color: #D2232A;
	font-weight: 600;
	margin: 0 0 4px;
}

.ma-featured-inventory__heading {
	color: #3d3636;
	font-size: 2.5rem;
	font-weight: 800;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.ma-featured-inventory__heading-icon {
	display: inline-flex;
	color: inherit;
	flex-shrink: 0;
}

.ma-featured-inventory__heading-icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	display: block;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
	position: sticky;
	top: 0;
	z-index: 100;
}

/* WordPress adds a default block-gap margin below the header template part
   (mirroring the margin-block-start:0 fix already applied to the footer
   below), which otherwise shows up as a visible white strip between the
   black nav bar and the section right after it. */
header.wp-block-template-part {
	margin-block-end: 0;
}

/*
 * WordPress core sets `overflow-x: clip` on .wp-site-blocks to stop
 * alignfull blocks causing horizontal scroll. Per the CSS overflow spec,
 * that forces overflow-y to compute as `auto` on the same element, which
 * breaks `position: sticky` for everything inside it. Undo it here so the
 * sticky nav below actually sticks.
 */
.wp-site-blocks {
	overflow-x: visible;
}

/* Core applies a default 24px margin-block-start to every non-first direct
   child of .wp-site-blocks — since <header> is the actual first child, that
   default margin lands on <main> instead, showing up as a white gap between
   the black header and the section right below it. */
.wp-site-blocks > main {
	margin-block-start: 0;
}

.ma-mainnav-wrap {
	background: #0D0D0D;
}

.ma-mainnav {
	max-width: 1400px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ma-mainnav .wp-block-site-logo img {
	max-height: 60px;
	width: auto;
}

/* Core WP boosts .wp-block-navigation-item__content's specificity with a
   doubled class selector (color:inherit) specifically so themes can't beat
   it with a plain descendant selector — matching that trick here (plus
   !important as a hard guarantee) is the only reliable way to keep the nav
   text white instead of falling back to the site's default dark text color. */
.ma-mainnav__nav a,
.ma-mainnav__nav .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: #ffffff !important;
	font-family: var(--wp--preset--font-family--oswald);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.ma-mainnav__nav a:hover,
.ma-mainnav__nav .current-menu-item > a,
.ma-mainnav__nav .wp-block-navigation-item.current-menu-item > a,
.ma-mainnav__nav .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	color: #D2232A !important;
	border-color: #D2232A;
}

.ma-mainnav__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #D2232A;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--oswald);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 10px 20px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.ma-mainnav__phone:hover {
	background: #A81B22;
	color: #ffffff;
}

.ma-mainnav__phone svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Below lg (1024px): force the nav into hamburger/overlay mode, overriding
   core's own default breakpoint (600px) for the Navigation block. Logo and
   phone button share the first row (both left at the default flex order);
   the hamburger — all that's left of .ma-mainnav__nav at this width — is
   pushed onto its own full-width, centered row below. */
@media (max-width: 1023px) {
	.ma-mainnav {
		flex-wrap: wrap;
	}

	.ma-mainnav__nav {
		order: 3;
		flex-basis: 100%;
		display: flex;
		justify-content: center;
	}

	.ma-mainnav__nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.ma-mainnav__nav .wp-block-navigation__responsive-container-open {
		display: flex !important;
		color: #ffffff;
	}

	/* WP core hard-codes a white background + black text as the default
	   overlay style (.is-menu-open:not(.disable-default-overlay) —
	   background-color:#fff; color:#000), which otherwise beats a plain
	   `background` shorthand here on source order. !important forces ours
	   to win instead of silently losing to core's default. */
	.ma-mainnav__nav .wp-block-navigation__responsive-container.is-menu-open {
		background-color: #0D0D0D !important;
		color: #ffffff !important;
	}

	.ma-mainnav__nav .wp-block-navigation__responsive-container-close {
		color: #ffffff;
	}

	/* SVG icons default to a black fill unless told otherwise — invisible
	   against this dark navbar/overlay, which made the hamburger (and the
	   close button inside the opened menu) look broken even though it was
	   clickable the whole time. */
	.ma-mainnav__nav .wp-block-navigation__responsive-container-open svg,
	.ma-mainnav__nav .wp-block-navigation__responsive-container-close svg {
		fill: currentColor;
	}

	/* Core's icon is only two bars, not a standard three-line hamburger —
	   hide it and draw our own with a single pseudo-element (one box plus
	   two box-shadow copies offset above/below make three evenly-spaced
	   bars) instead of trying to reshape an SVG we don't control the markup
	   of (it's rendered by WordPress core, not this theme). */
	.ma-mainnav__nav .wp-block-navigation__responsive-container-open svg {
		display: none;
	}

	.ma-mainnav__nav .wp-block-navigation__responsive-container-open {
		position: relative;
		width: 24px;
		height: 24px;
	}

	.ma-mainnav__nav .wp-block-navigation__responsive-container-open::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 20px;
		height: 2px;
		background: currentColor;
		box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
	}
}

/* From lg (1024px) up: hide the hamburger, show the nav inline as normal. */
@media (min-width: 1024px) {
	.ma-mainnav__nav .wp-block-navigation__responsive-container-open {
		display: none !important;
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */

/* Full-bleed sections should sit flush against each other — each one
   manages its own top/bottom padding, so the default block-gap margin
   WordPress adds between top-level blocks would otherwise leave an
   unstyled gap showing the page background between sections. */
.ma-hero,
.ma-featured-inventory,
.ma-brands,
.ma-info-blocks,
.ma-how-it-works {
	margin-top: 0;
	margin-bottom: 0;
}

.ma-hero {
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 24px;
	position: relative;
	background-color: #0D0D0D;
	background-size: cover;
	background-position: center;
	text-align: center;
}

.ma-hero.has-background::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.ma-hero > * {
	position: relative;
	z-index: 1;
}

.ma-hero__content {
	max-width: 760px;
	margin: 0 auto;
}

.ma-hero__content > * {
	margin-block-start: 20px;
}

.ma-hero__content > *:first-child {
	margin-block-start: 0;
}

.ma-hero h1 {
	color: #ffffff;
	line-height: 1.15;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 2.5rem;
}

.ma-hero__accent {
	color: #D2232A;
	font-style: normal;
	display: block;
}

.ma-hero p {
	color: rgba(255, 255, 255, 0.85);
}

.ma-hero .wp-block-buttons {
	justify-content: center;
}

.ma-hero .wp-block-button__link {
	background: #D2232A;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--oswald);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	padding: 14px 32px;
	border-radius: 999px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.ma-hero .wp-block-button__link:hover,
.ma-hero .wp-block-button__link:focus {
	background: #A81B22;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.ma-hero .is-style-outline .wp-block-button__link {
	background: transparent;
	color: #ffffff;
	border: 1.5px solid #ffffff;
	box-shadow: none;
}

.ma-hero .is-style-outline .wp-block-button__link:hover {
	background: #ffffff;
	color: #1a1a1a;
	transform: translateY(-2px);
}

.ma-hero__trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.85rem;
}

.ma-hero__stars {
	color: #FBBF24;
	letter-spacing: 2px;
}

@media (min-width: 1024px) {
	.ma-hero h1 {
		font-size: 3.5rem;
	}
}

/* On mobile, skip straight past the hero and the three info blocks so the
   site opens directly on Available Stock — those two sections are still
   fully present for tablet/desktop, just hidden below this breakpoint. */
@media (max-width: 767px) {
	.ma-hero,
	.ma-info-blocks {
		display: none;
	}
}

/* ==========================================================================
   Three info blocks (Available Stock / Incoming Inventory / Request)
   ========================================================================== */

.ma-info-blocks {
	position: relative;
	z-index: 2;
	margin-top: -90px !important;
	padding: 0 24px 24px;
}

.ma-info-blocks__grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Same WP-core block-gap issue as .ma-info-block below, one level up: the
   2nd and 3rd cards (each a "flow" layout child) get margin-block-start
   injected, nudging them lower than the 1st card despite all three sharing
   the same grid row. */
.ma-info-blocks__grid > * {
	margin-block-start: 0;
}

.ma-info-block {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 28px 24px;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ma-info-block:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
}

/* WP core adds margin-block-start to every non-first child of a "flow"
   layout group (here, the text div that follows the icon image) — visible
   as extra space pushing the heading down even though the icon and text
   are flex siblings meant to sit flush with the card's top edge. */
.ma-info-block > * {
	margin-block-start: 0;
}

.ma-info-block__icon-image {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	margin: 0;
}

.ma-info-block__icon-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ma-info-block h3 {
	color: #1a1a1a;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 6px;
	line-height: 1.3;
}

.ma-info-block p {
	color: #5a5a5a;
	font-size: 0.9rem;
	margin: 0 0 10px;
	line-height: 1.5;
}

.ma-info-block__link {
	color: #D2232A;
	font-weight: 700;
	font-size: 0.85rem;
}

@media (max-width: 900px) {
	.ma-info-blocks__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.ma-how-it-works {
	padding: 70px 24px;
	background-color: #f7f5f2;
	text-align: center;
}

.ma-how-it-works__heading {
	color: #1a1a1a;
	font-size: 1.1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin: 0 0 48px;
}

.ma-how-it-works__grid {
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.ma-how-it-works__step {
	flex: 1 1 180px;
	max-width: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ma-how-it-works__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #D2232A;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 12px;
}

.ma-how-it-works__icon {
	color: #D2232A;
	margin-bottom: 10px;
}

.ma-how-it-works__step h4 {
	color: #1a1a1a;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 6px;
}

.ma-how-it-works__step p {
	color: #5a5a5a;
	font-size: 0.85rem;
	line-height: 1.5;
	margin: 0;
}

.ma-how-it-works__arrow {
	color: #d5d5d5;
	font-size: 1.5rem;
	align-self: center;
	margin-top: 20px;
}

@media (max-width: 900px) {
	.ma-how-it-works__arrow {
		display: none;
	}
}

/* ==========================================================================
   Testimonials + FAQ (Home)
   ========================================================================== */

.ma-testimonials-faq {
	padding: 70px 24px;
	background-color: #ffffff;
}

.ma-page-section__heading.ma-testimonials-faq__faq-heading {
	margin-top: 64px;
}

.ma-testimonial {
	background: #f7f5f2;
	border-radius: 12px;
	padding: 24px;
	height: 100%;
	box-sizing: border-box;
}

.ma-testimonial__stars {
	color: #FBBF24;
	letter-spacing: 2px;
	margin: 0 0 10px;
}

.ma-testimonial__quote {
	color: #3d3636;
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0 0 16px;
}

.ma-testimonial__image {
	margin: 0 0 12px;
}

.ma-testimonial__image img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.ma-testimonial__name {
	color: #1a1a1a;
	font-weight: 700;
	font-size: 0.85rem;
	margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer.wp-block-template-part {
	margin-block-start: 0;
}

.ma-footer {
	background-color: #1a1a1a;
	color: rgba(255, 255, 255, 0.75);
	padding: 64px 24px 0;
}

.ma-footer__columns {
	max-width: 1400px;
	margin: 0 auto;
	gap: 40px;
}

.ma-footer__brand .wp-block-site-logo img {
	max-height: 68px;
	width: auto;
}

.ma-footer__brand p {
	margin-top: 12px;
	line-height: 1.6;
	font-size: 0.95rem;
}

.ma-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.ma-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.ma-footer__social svg {
	width: 15px;
	height: 15px;
}

.ma-footer__social a:hover {
	background: #D2232A;
}

.ma-footer__heading {
	color: #ffffff;
	font-size: 1.05rem;
	margin: 0 0 16px;
}

.ma-footer__list,
.ma-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ma-footer__list li {
	margin-bottom: 10px;
}

.ma-footer__list a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	font-size: 0.95rem;
}

.ma-footer__list a:hover {
	color: #D2232A;
}

.ma-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 0.9rem;
	line-height: 1.5;
}

.ma-footer__contact a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.ma-footer__contact a:hover {
	color: #D2232A;
}

.ma-footer__contact svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #D2232A;
}

.ma-footer__bottom {
	margin-top: 48px;
	padding: 20px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.ma-footer__bottom p {
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 781px) {
	.ma-footer__columns {
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   Page hero (About / Contact)
   ========================================================================== */

.ma-page-hero {
	min-height: 60vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 80px 24px;
	background-color: #0D0D0D;
	background-size: cover;
	background-position: center;
	position: relative;
	margin-top: 0;
	margin-bottom: 0;
}

.ma-page-hero.has-background::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.ma-page-hero > * {
	position: relative;
	z-index: 1;
}

.ma-page-hero__heading {
	color: #ffffff;
	font-size: 2.75rem;
	margin: 0 0 16px;
}

.ma-page-hero__subtext {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.ma-page-hero__heading {
		font-size: 3.5rem;
	}
}

/* ==========================================================================
   Generic page sections (About)
   ========================================================================== */

.ma-page-section {
	padding: 64px 24px;
	background-color: #ffffff;
	margin-top: 0;
	margin-bottom: 0;
}

.ma-page-section--alt {
	background-color: #f7f5f2;
}

.ma-page-section__heading {
	color: #3d3636;
	font-size: 2.5rem;
	font-weight: 800;
	margin: 8px 0 20px;
}

.ma-page-section__image img {
	width: 100%;
	height: 100%;
	min-height: 380px;
	object-fit: cover;
	display: block;
	border-radius: 12px;
}

.ma-page-section--dark {
	background-color: #0D0D0D;
	background-size: cover;
	background-position: center;
	position: relative;
	color: #ffffff;
}

.ma-page-section--dark.has-background::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.ma-page-section--dark > * {
	position: relative;
	z-index: 1;
}

.ma-page-section--dark .ma-page-section__heading {
	color: #ffffff;
}

.ma-page-section--dark .ma-featured-inventory__eyebrow {
	color: #D2232A;
}

/* Export process steps (About, section 2) */

.ma-process-steps {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 24px;
}

.ma-process-step {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.ma-process-step__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #D2232A;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ma-process-step h4 {
	margin: 0 0 6px;
	color: #3d3636;
	font-size: 1.05rem;
	font-family: var(--wp--preset--font-family--playfair-display);
}

.ma-process-step p {
	margin: 0;
	color: #5a5a5a;
	font-size: 0.92rem;
	line-height: 1.6;
}

/* Why Choose Us (About, section 3) — text + feature list on the left,
   an uploadable photo on the right, matching the Vehicle Request layout. */

.ma-why-choose-us__columns {
	align-items: center;
}

.ma-why-choose-us__features {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 28px;
}

.ma-why-choose-us__feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.ma-why-choose-us__feature-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: #D2232A;
}

.ma-why-choose-us__feature h4 {
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 6px;
}

.ma-why-choose-us__feature p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0;
}

.ma-why-choose-us__image-column {
	position: relative;
}

.ma-why-choose-us__image img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

@media (max-width: 767px) {
	.ma-why-choose-us__image-column {
		margin-top: 32px;
	}

	.ma-why-choose-us__image img {
		min-height: 220px;
	}
}

@media (max-width: 599px) {
	.ma-page-section .wp-block-columns {
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   Contact page info card
   ========================================================================== */

.ma-contact-info {
	background: #f7f5f2;
	border-radius: 12px;
	padding: 32px;
}

.ma-contact-info__heading {
	color: #3d3636 !important;
}

.ma-contact-info__list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.ma-contact-info__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 16px;
	color: #5a5a5a;
	font-size: 0.92rem;
	line-height: 1.5;
}

.ma-contact-info__list svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #D2232A;
}

.ma-contact-info__list a {
	color: inherit;
	text-decoration: none;
}

.ma-contact-info__list a:hover {
	color: #D2232A;
}

.ma-contact-info .ma-footer__social {
	margin-bottom: 24px;
}

.ma-contact-info .ma-footer__social a {
	background: rgba(0, 0, 0, 0.06);
	color: #3d3636;
}

.ma-contact-info .ma-footer__social a:hover {
	background: #D2232A;
	color: #fff;
}

/* ==========================================================================
   Single product page — Overview (product description)
   ========================================================================== */

.ma-vehicle-overview {
	max-width: 1400px;
	margin: 0 auto 60px;
	padding: 32px 24px;
	border: 1px solid #e5e5e5;
	border-radius: 14px;
}

.ma-vehicle-overview__heading {
	color: #3d3636;
	font-weight: 800;
	margin: 0 0 12px;
}

.ma-vehicle-overview__content {
	color: #5a5a5a;
	line-height: 1.7;
}

/* ==========================================================================
   Shared CTA section (Home, About, Contact — before the footer)
   ========================================================================== */

.ma-cta {
	background-color: #0D0D0D;
	position: relative;
	overflow: hidden;
	padding: 56px 24px;
	margin-top: 0;
	margin-bottom: 0;
}

.ma-cta__columns {
	max-width: 1200px;
	margin: 0 auto;
}

.ma-cta__heading {
	color: #ffffff;
	font-size: 2rem;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.25;
	margin: 0 0 12px;
}

.ma-cta__accent {
	color: #D2232A;
	font-style: normal;
}

.ma-cta__text {
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 16px;
}

.ma-cta__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--oswald);
	font-weight: 600;
	font-size: 1.3rem;
	text-decoration: none;
	margin-bottom: 20px;
}

.ma-cta__phone svg {
	color: #D2232A;
	flex-shrink: 0;
}

.ma-cta__call-button .wp-block-button__link {
	background-color: transparent;
	color: #ffffff;
	border: 1.5px solid #ffffff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
	padding: 13px 28px;
	border-radius: 999px;
}

.ma-cta__call-button .wp-block-button__link:hover {
	background-color: #ffffff;
	color: #0D0D0D;
}

.ma-cta__button .wp-block-button__link {
	background-color: #D2232A;
	color: #ffffff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
	padding: 14px 28px;
	border-radius: 999px;
	transition: background-color 0.2s ease;
}

.ma-cta__button .wp-block-button__link:hover,
.ma-cta__button .wp-block-button__link:focus {
	background-color: #A81B22;
	color: #ffffff;
}

.ma-cta__image-column {
	position: relative;
}

.ma-cta__image {
	margin: 0;
}

.ma-cta__image img {
	width: 100%;
	height: 100%;
	max-height: 280px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

@media (max-width: 767px) {
	.ma-cta__image-column {
		margin-top: 28px;
	}

	.ma-cta__image img {
		max-height: 200px;
	}

	.ma-cta__heading {
		font-size: 1.6rem;
	}
}

/* ==========================================================================
   FAQ section (About page)
   ========================================================================== */

.ma-faq__list {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Same WP-core block-gap issue fixed elsewhere in this file (.ma-info-block,
   .ma-info-blocks__grid): a "constrained" layout group still gets
   margin-block-start injected on every child after the first, stacking on
   top of the flex gap above and pushing each FAQ item apart. */
.ma-faq__list > * {
	margin-block-start: 0;
}

.ma-faq__item.wp-block-details {
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 18px 22px;
}

.ma-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: #3d3636;
	font-weight: 700;
	font-size: 1.05rem;
	cursor: pointer;
	list-style: none;
}

.ma-faq__item summary::-webkit-details-marker {
	display: none;
}

.ma-faq__item summary::after {
	content: "+";
	color: #D2232A;
	font-weight: 700;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.ma-faq__item[open] summary::after {
	content: "−";
}

.ma-faq__item p {
	color: #5a5a5a;
	line-height: 1.6;
	margin: 12px 0 0;
}

/* ==========================================================================
   Account pages (Login, Register, My Account) — all real WooCommerce forms,
   styled to match the site instead of WooCommerce's plain defaults.
   ========================================================================== */

.ma-account-page {
	max-width: 640px;
	margin: 0 auto;
	padding: 60px 24px 80px;
}

.ma-account-page .woocommerce-notices-wrapper:empty {
	display: none;
}

.ma-account-page .woocommerce-message,
.ma-account-page .woocommerce-error,
.ma-account-page .woocommerce-info {
	list-style: none;
	background: #f7f5f2;
	border-left: 4px solid #D2232A;
	padding: 16px 20px;
	border-radius: 8px;
	margin: 0 0 24px;
	color: #3d3636;
}

.ma-account-page h2 {
	color: #3d3636;
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 20px;
}

.ma-account-page #customer_login.col2-set {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}

.ma-account-page .u-column1.col-1,
.ma-account-page .u-column2.col-2 {
	flex: 1 1 260px;
	float: none !important;
	width: auto !important;
}

.ma-login-only .u-column2.col-2 {
	display: none;
}

.ma-register-only .u-column1.col-1 {
	display: none;
}

.ma-account-page .woocommerce-form-row {
	margin: 0 0 18px;
}

.ma-account-page .woocommerce-form-row label {
	display: block;
	color: #3d3636;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 6px;
}

.ma-account-page input.woocommerce-Input,
.ma-account-page input[type="text"],
.ma-account-page input[type="email"],
.ma-account-page input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.95rem;
	box-sizing: border-box;
}

.ma-account-page .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	color: #5a5a5a;
	font-weight: 400;
	margin-bottom: 16px;
}

.ma-account-page button.woocommerce-button,
.ma-account-page button.woocommerce-Button {
	display: inline-block;
	background: #D2232A;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 14px 32px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ma-account-page button.woocommerce-button:hover,
.ma-account-page button.woocommerce-Button:hover {
	background: #A81B22;
	transform: translateY(-1px);
}

.ma-account-page .lost_password a,
.ma-account-page .woocommerce-LostPassword a,
.ma-account-page .woocommerce-privacy-policy-text a {
	color: #D2232A;
	text-decoration: underline;
}

.ma-account-page .woocommerce-privacy-policy-text {
	font-size: 0.8rem;
	color: #9a9a9a;
	margin: 12px 0;
}

/* My Account dashboard (logged-in state) */

.ma-account-page .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0 0 32px;
	padding: 0 0 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border-bottom: 1px solid #e5e5e5;
}

.ma-account-page .woocommerce-MyAccount-navigation-link a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: #f7f5f2;
	color: #3d3636;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
}

.ma-account-page .woocommerce-MyAccount-navigation-link a:hover {
	background: #eadfdf;
}

.ma-account-page .woocommerce-MyAccount-navigation-link.is-active a {
	background: #D2232A;
	color: #ffffff;
}

.ma-account-page .woocommerce-MyAccount-navigation-link.is-active a:hover {
	background: #A81B22;
}

.ma-account-page table.woocommerce-orders-table,
.ma-account-page table.shop_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}

.ma-account-page table.woocommerce-orders-table th,
.ma-account-page table.shop_table th {
	text-align: left;
	padding: 12px;
	background: #f7f5f2;
	color: #3d3636;
	font-size: 0.85rem;
}

.ma-account-page table.woocommerce-orders-table td,
.ma-account-page table.shop_table td {
	padding: 12px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 0.9rem;
	color: #5a5a5a;
}

.ma-account-page .woocommerce-MyAccount-content .button,
.ma-account-page .woocommerce-MyAccount-content a.button {
	display: inline-block;
	background: #D2232A;
	color: #ffffff;
	border-radius: 999px;
	padding: 8px 20px;
	font-weight: 600;
	font-size: 0.85rem;
	text-decoration: none;
}

.ma-account-page address {
	font-style: normal;
	color: #5a5a5a;
	line-height: 1.6;
}

@media (max-width: 640px) {
	.ma-account-page #customer_login.col2-set {
		flex-direction: column;
	}
}
