/**
 * FshPay marketing shell — home (design/home.jpeg), about, contact.
 * Typography: Anton (hero display), Montserrat (headings / UI), Public Sans + Noto Sans JP (body).
 */

/* -------------------------------------------------------------------------
   Base reset (home, about, contact)
-------------------------------------------------------------------------- */
body.fshpay-marketing {
	--fsh-font-display: "Anton", ui-sans-serif, sans-serif;
	--fsh-font-heading: "Montserrat", ui-sans-serif, sans-serif;
	--fsh-font-body: "Public Sans", "Noto Sans JP", ui-sans-serif, system-ui, sans-serif;
	position: relative;
	margin: 0;
	font-family: var(--fsh-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	color: #475569;
	/* Same wash as .fshpay-hero__bg (design homepage) — full viewport */
	background:
		radial-gradient(ellipse 80% 60% at 85% 20%, rgba(59, 102, 245, 0.12), transparent 55%),
		radial-gradient(ellipse 70% 50% at 10% 80%, rgba(59, 102, 245, 0.08), transparent 50%),
		linear-gradient(180deg, #f8fafc 0%, #ffffff 45%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}

body.fshpay-marketing::before,
body.fshpay-marketing::after {
	content: "";
	position: fixed;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.35;
	pointer-events: none;
	z-index: 0;
}

body.fshpay-marketing::before {
	width: min(420px, 90vw);
	height: min(320px, 70vw);
	background: #93c5fd;
	right: max(-80px, -10vw);
	top: 10%;
}

body.fshpay-marketing::after {
	width: min(300px, 80vw);
	height: min(300px, 80vw);
	background: #bfdbfe;
	left: max(-60px, -8vw);
	bottom: 5%;
}

body.fshpay-marketing #fshpay-root {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body.fshpay-marketing #fshpay-main {
	flex: 1;
}

body.fshpay-marketing a {
	text-decoration: none;
}

body.fshpay-marketing img {
	max-width: 100%;
	height: auto;
	display: block;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#fshpay-root {
	--fsh-blue: #3b66f5;
	--fsh-blue-hover: #2d52d1;
	--fsh-blue-soft: rgba(59, 102, 245, 0.08);
	--fsh-navy: #1e293b;
	--fsh-nav-muted: #555555;
	--fsh-gray: #64748b;
	--fsh-border: #e2e8f0;
	--fsh-shadow: 0 10px 40px rgba(59, 102, 245, 0.1);
	--fsh-radius: 8px;
}

/**
 * Mobile: full width, 20px side padding.
 * Desktop (≥992px): content band = 3/5 viewport (1/5 margin each side).
 */
.fshpay-container {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

@media (min-width: 992px) {
	.fshpay-container {
		width: 60%;
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}
}

/* -------------------------------------------------------------------------
   Header + nav (current state)
-------------------------------------------------------------------------- */
.fshpay-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.fshpay-logo img {
	max-height: 44px;
	width: auto;
}

.fshpay-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.fshpay-nav__link {
	font-family: var(--fsh-font-heading);
	font-weight: 500;
	font-size: 0.9375rem;
	letter-spacing: 0.01em;
	color: var(--fsh-nav-muted);
	transition: color 0.2s, font-weight 0.2s;
}

.fshpay-nav__link:hover {
	color: var(--fsh-blue);
}

.fshpay-nav__link--current {
	color: var(--fsh-blue);
	font-weight: 600;
}

.fshpay-nav__cta.fshpay-btn--primary {
	font-weight: 600;
}

.fshpay-nav__cta.fshpay-btn--outline {
	font-weight: 600;
	border-color: #d4dbe8;
	color: var(--fsh-blue);
	background: rgba(255, 255, 255, 0.6);
}

.fshpay-nav__cta.fshpay-btn--outline:hover {
	background: var(--fsh-blue-soft);
	border-color: rgba(59, 102, 245, 0.35);
	color: var(--fsh-blue-hover);
}

/* -------------------------------------------------------------------------
   Buttons
-------------------------------------------------------------------------- */
.fshpay-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--fsh-font-heading);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	border-radius: var(--fsh-radius);
	padding: 10px 20px;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
	cursor: pointer;
	border: 2px solid transparent;
	box-sizing: border-box;
}

.fshpay-btn--lg {
	padding: 7px 18px;
	font-size: 1rem;
}

.fshpay-btn--primary {
	background: var(--fsh-blue);
	color: #fff;
	border-color: var(--fsh-blue);
}

.fshpay-btn--primary:hover {
	background: var(--fsh-blue-hover);
	border-color: var(--fsh-blue-hover);
	color: #fff;
}

.fshpay-btn--outline {
	background: rgba(255, 255, 255, 0.85);
	color: var(--fsh-blue);
	border-color: #d4dbe8;
}

.fshpay-btn--outline:hover {
	background: var(--fsh-blue-soft);
	border-color: rgba(59, 102, 245, 0.4);
	color: var(--fsh-blue-hover);
}

.fshpay-nav__cta {
	padding: 7px 18px;
}

.fshpay-btn--pill {
	border-radius: 999px;
	padding: 14px 32px;
	font-size: 1rem;
}

.fshpay-icon-arrow,
.fshpay-icon-arrow-img {
	flex-shrink: 0;
	display: block;
}

.fshpay-btn .fshpay-icon-arrow-img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

/* -------------------------------------------------------------------------
   Inner pages — background (same language as homepage hero wash)
-------------------------------------------------------------------------- */
.fshpay-page-bg {
	position: relative;
	padding: 48px 0 80px;
	overflow: hidden;
	background: transparent;
}

/* -------------------------------------------------------------------------
   Homepage hero
-------------------------------------------------------------------------- */
.fshpay-hero {
	position: relative;
	padding: 48px 0 72px;
	overflow: hidden;
}

/* Decorative wash lives on body.fshpay-marketing — keep node for structure / a11y */
.fshpay-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: none;
}

.fshpay-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 32px;
	align-items: center;
}

.fshpay-hero__title {
	font-family: var(--fsh-font-heading);
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--fsh-navy);
}

.fshpay-hero__lead {
	margin: 0 0 28px;
	font-family: var(--fsh-font-body);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.55;
	color: #2d3748;
	max-width: 32rem;
}

.fshpay-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 36px;
}

.fshpay-hero__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fshpay-hero__features li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--fsh-font-body);
	font-weight: 500;
	color: var(--fsh-navy);
	font-size: 0.875rem;
	line-height: 1.45;
}

.fshpay-hero__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	flex-shrink: 0;
}

.fshpay-hero__icon img {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.fshpay-hero__visual {
	display: flex;
	justify-content: center;
	align-items: center;
}

.fshpay-hero__visual img {
	width: 100%;
	max-width: 520px;
	margin-left: auto;
	filter: drop-shadow(0 20px 50px rgba(59, 102, 245, 0.15));
}

/* -------------------------------------------------------------------------
   Homepage — feature cards
-------------------------------------------------------------------------- */
.fshpay-features {
	padding: 24px 0 64px;
}

.fshpay-features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.fshpay-card {
	--fsh-card-radius: 28px;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: none;
	border-radius: var(--fsh-card-radius);
	overflow: hidden;
	text-align: center;
	box-shadow:
		0 10px 40px rgba(59, 102, 245, 0.07),
		0 4px 16px rgba(15, 23, 42, 0.04);
	transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.fshpay-card:hover {
	box-shadow:
		0 16px 48px rgba(59, 102, 245, 0.1),
		0 8px 24px rgba(15, 23, 42, 0.06);
	transform: translateY(-3px);
}

/* Vùng minh họa: nền xanh nhạt, bo trên trùng card (overflow card đã clip) */
.fshpay-card__art {
	flex-shrink: 0;
	margin: 0;
	border-radius: var(--fsh-card-radius) var(--fsh-card-radius) 0 0;
	overflow: hidden;
}

.fshpay-card__art img {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.fshpay-card__body {
	flex: 1 1 auto;
	padding: 25px;
	box-sizing: border-box;
}

.fshpay-card__title {
	margin: 0 0 10px;
	font-family: var(--fsh-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--fsh-navy);
	padding: 0;
}

.fshpay-card__text {
	margin: 0;
	font-family: var(--fsh-font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	color: var(--fsh-gray);
	line-height: 1.55;
	padding: 0;
}

/* -------------------------------------------------------------------------
   Homepage — payments
-------------------------------------------------------------------------- */
.fshpay-payments {
	padding: 48px 0 72px;
	background: transparent;
}

.fshpay-payments__inner {
	text-align: center;
}

.fshpay-payments__title {
	margin: 0 0 14px;
	font-family: var(--fsh-font-heading);
	font-size: clamp(1.75rem, 3.2vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--fsh-navy);
}

.fshpay-payments__subtitle {
	margin: 0 auto 32px;
	max-width: 36rem;
	font-family: var(--fsh-font-body);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.55;
	color: #64748b;
}

/* Thanh logo: nền trắng, bo góc, shadow nổi nhẹ */
.fshpay-payments__logos {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 100%;
	margin: 0 auto 32px;
	padding: 22px 28px;
	box-sizing: border-box;
	background: #fff;
	border-radius: 16px;
	box-shadow:
		0 4px 24px rgba(15, 23, 42, 0.06),
		0 12px 40px rgba(59, 102, 245, 0.06);
}

.fshpay-payments__logos img {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.fshpay-trust-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 16px 28px;
}

.fshpay-trust-list__item {
	display: flex;
	align-items: center;
	gap: 8px;
	text-align: left;
}

.fshpay-trust-list__ico {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
}

.fshpay-trust-list__img {
	display: block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	object-fit: contain;
}

.fshpay-trust-list__text {
	font-family: var(--fsh-font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: #64748b;
	line-height: 1.3;
	letter-spacing: 0.01em;
}

/* -------------------------------------------------------------------------
   About page (design/about.jpeg) — primary blue matches mockup
-------------------------------------------------------------------------- */
body.fshpay-page-about #fshpay-root {
	--fsh-blue: #3b66f5;
	--fsh-blue-hover: #2d52d1;
}

.fshpay-about-hero {
	padding-bottom: 56px;
}

.fshpay-about-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px 40px;
	align-items: center;
}

.fshpay-about-hero__img {
	width: 100%;
	border-radius: 24px;
	object-fit: cover;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.fshpay-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-family: var(--fsh-font-heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fsh-blue);
}

.fshpay-kicker__mark {
	width: 12px;
	height: 12px;
	background: var(--fsh-blue);
	border-radius: 2px;
	flex-shrink: 0;
}

.fshpay-about-hero__title {
	margin: 0 0 20px;
	font-family: var(--fsh-font-heading);
	font-size: clamp(1.65rem, 3.5vw, 2.25rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--fsh-navy);
}

.fshpay-about-hero__lead {
	margin: 0 0 28px;
	font-family: var(--fsh-font-body);
	font-weight: 400;
	color: var(--fsh-gray);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.fshpay-about-card {
	background: #fff;
	border-radius: 16px;
	padding: 22px 22px 8px;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
	border: 1px solid var(--fsh-border);
}

.fshpay-about-card__row {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid var(--fsh-border);
}

.fshpay-about-card__row:last-child {
	border-bottom: none;
	padding-bottom: 8px;
}

.fshpay-about-card__icon {
	flex-shrink: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fshpay-about-card__icon img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.fshpay-about-card__strong {
	margin: 0 0 4px;
	font-family: var(--fsh-font-heading);
	font-weight: 700;
	color: var(--fsh-navy);
	font-size: 1rem;
	letter-spacing: -0.01em;
}

.fshpay-about-card__muted {
	margin: 0;
	font-family: var(--fsh-font-body);
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--fsh-gray);
	line-height: 1.5;
}

.fshpay-about-card__muted a {
	color: var(--fsh-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fshpay-about-card__label {
	margin: 0 0 6px;
	font-family: var(--fsh-font-heading);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--fsh-gray);
	text-transform: none;
	letter-spacing: 0;
}

.fshpay-about-card__email {
	margin: 0;
	font-family: var(--fsh-font-heading);
	font-size: 1rem;
	font-weight: 700;
	color: var(--fsh-navy);
	line-height: 1.4;
}

.fshpay-about-card__email a {
	color: inherit;
	text-decoration: none;
}

.fshpay-about-card__email a:hover {
	color: var(--fsh-blue);
	text-decoration: underline;
}

.fshpay-about-target {
	padding: 32px 0 64px;
}

.fshpay-about-target__title {
	margin: 0 0 20px;
	font-family: var(--fsh-font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--fsh-navy);
	text-transform: none;
}

.fshpay-about-target__body {
	margin: 0 0 28px;
	max-width: 52rem;
	font-family: var(--fsh-font-body);
	font-weight: 400;
	color: var(--fsh-gray);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.fshpay-about-target__body p {
	margin: 0;
}

/* -------------------------------------------------------------------------
   Contact page (design/contact.jpeg)
-------------------------------------------------------------------------- */
.fshpay-contact__title {
	margin: 0 0 40px;
	font-family: var(--fsh-font-heading);
	font-size: clamp(1.85rem, 4vw, 2.5rem);
	font-weight: 800;
	color: var(--fsh-navy);
	letter-spacing: -0.03em;
}

.fshpay-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px 48px;
	align-items: start;
}

.fshpay-contact-aside__inner {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 28px 24px 28px;
	box-shadow: 10px 10px 0 var(--fsh-blue);
}

/* Wordmark: green “Fsh” + blue “Pay” + check (design/contact.jpeg) */
.fshpay-contact-wordmark {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	margin-bottom: 20px;
	text-decoration: none;
	color: inherit;
}

.fshpay-contact-wordmark__tick {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin: 0 0 2px 0.85em;
	color: #16a34a;
}

.fshpay-contact-wordmark__text {
	font-family: var(--fsh-font-heading);
	font-size: 1.85rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}

.fshpay-contact-wordmark__fsh {
	color: #16a34a;
}

.fshpay-contact-wordmark__pay {
	color: var(--fsh-blue);
}

.fshpay-contact-wordmark:hover .fshpay-contact-wordmark__text {
	opacity: 0.92;
}

.fshpay-contact-aside__text {
	margin: 0 0 24px;
	font-family: var(--fsh-font-body);
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--fsh-gray);
}

.fshpay-contact-aside__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.fshpay-contact-aside__meta li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-family: var(--fsh-font-body);
	font-size: 0.95rem;
	font-weight: 400;
	color: var(--fsh-navy);
	line-height: 1.5;
}

.fshpay-contact-aside__meta a {
	color: var(--fsh-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fshpay-contact-aside__ico {
	flex-shrink: 0;
	color: var(--fsh-blue);
	margin-top: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fshpay-contact-aside__ico img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.fshpay-contact-form__intro {
	margin: 0 0 24px;
	font-family: var(--fsh-font-body);
	font-size: 1rem;
	font-weight: 400;
	color: var(--fsh-gray);
	line-height: 1.6;
}

.fshpay-contact-form__notice {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: var(--fsh-radius);
	font-family: var(--fsh-font-body);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.fshpay-contact-form__notice--success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.fshpay-contact-form__notice--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.fshpay-contact-form {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.fshpay-field--honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: 0;
}

.fshpay-field__label {
	display: block;
	font-family: var(--fsh-font-heading);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--fsh-navy);
	margin-bottom: 8px;
}

.fshpay-req {
	color: #dc2626;
	text-decoration: none;
	border: 0;
}

.fshpay-field__input {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	font-size: 1rem;
	font-family: var(--fsh-font-body);
	border: 1px solid var(--fsh-border);
	border-radius: var(--fsh-radius);
	background: #f1f5f9;
	color: var(--fsh-navy);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.fshpay-field__input:focus {
	outline: none;
	border-color: var(--fsh-blue);
	box-shadow: 0 0 0 3px rgba(59, 102, 245, 0.2);
}

.fshpay-field__textarea {
	min-height: 140px;
	resize: vertical;
}

/* Submit in contact form: same sizing as header CTA; keep left-aligned in flex form */
.fshpay-contact-form .fshpay-nav__cta[type="submit"] {
	align-self: flex-start;
}

/* -------------------------------------------------------------------------
   Footer (design: logo + social one row left, badges right; pale lavender)
-------------------------------------------------------------------------- */
.fshpay-footer {
	font-family: var(--fsh-font-body);
	padding: 36px 0 24px;
	margin-top: auto;
}

.fshpay-footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	flex-wrap: wrap;
	padding-bottom: 10px;
	border-top: 1px solid var(--fsh-border);
	padding-top: 20px;
}

.fshpay-footer__brand {
	flex: 1 1 auto;
	min-width: 0;
}

/* Ảnh 1: logo và social cùng một hàng, social bên phải logo */
.fshpay-footer__brand-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 24px;
}

.fshpay-footer__logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}

.fshpay-footer__logo img {
	max-height: 44px;
	width: auto;
	height: auto;
	display: block;
}

.fshpay-social {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.fshpay-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s, color 0.2s;
}

.fshpay-social__link:hover {
	background: rgba(59, 102, 245, 0.18);
	color: var(--fsh-blue);
}

.fshpay-social__link img {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.fshpay-footer__badges {
	margin-left: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 14px 20px;
}

.fshpay-footer__badges img {
	width: auto;
	height: auto;
	max-width: min(38vw, 220px);
	max-height: 34px;
	object-fit: contain;
	opacity: 0.92;
	filter: saturate(0.85);
}

.fshpay-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding-top: 5px;
	font-size: 0.8125rem;
	font-weight: 400;
	color: #64748b;
}

.fshpay-footer__copy {
	margin: 0;
	font-weight: 400;
}

.fshpay-footer__legal {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	margin-left: auto;
}

.fshpay-footer__legal a {
	color: inherit;
	text-decoration: none;
}

.fshpay-footer__legal a:hover {
	color: var(--fsh-blue);
}

.fshpay-chevron {
	font-size: 0.65em;
	opacity: 0.65;
	margin-left: 3px;
	vertical-align: middle;
}

/* -------------------------------------------------------------------------
   Responsive
-------------------------------------------------------------------------- */
@media (max-width: 992px) {
	/* Nội dung trong container: căn giữa (form contact giữ trái) */
	.fshpay-container {
		text-align: center;
	}

	.fshpay-header__inner,
	.fshpay-contact-form-wrap,
	.fshpay-contact-form,
	.fshpay-contact-aside__inner {
		text-align: left;
	}

	.fshpay-field__label,
	.fshpay-field__input,
	.fshpay-field__textarea {
		text-align: left;
	}

	/* Header mobile: logo 50% trái, nav 50% phải */
	.fshpay-header__inner {
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
	}

	.fshpay-logo {
		flex: 0 0 50%;
		width: 50%;
		max-width: 50%;
		display: flex;
		justify-content: flex-start;
		align-items: center;
		min-width: 0;
	}

	.fshpay-nav {
		flex: 0 0 50%;
		width: 50%;
		max-width: 50%;
		justify-content: flex-end;
		align-items: center;
		gap: 15px;
		flex-wrap: nowrap;
		min-width: 0;
	}

	.fshpay-nav__link {
		font-size: 0.8125rem;
		white-space: nowrap;
	}

	.fshpay-nav__cta {
		padding: 8px 12px;
		font-size: 0.75rem;
		white-space: nowrap;
	}

	.fshpay-hero__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.fshpay-hero__content {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.fshpay-hero__lead {
		margin-left: auto;
		margin-right: auto;
	}

	.fshpay-hero__features {
		align-items: center;
		width: 100%;
		max-width: 22rem;
		margin-left: auto;
		margin-right: auto;
	}

	.fshpay-hero__features li {
		justify-content: center;
		text-align: left;
	}

	/* Hai nút hero một hàng, chia đều */
	.fshpay-hero__actions {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: stretch;
		width: 100%;
		max-width: 100%;
		gap: 10px;
	}

	.fshpay-hero__actions .fshpay-btn {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
	}

	.fshpay-hero__visual {
		order: -1;
	}

	.fshpay-features__grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}

	.fshpay-card__body {
		padding: 22px 24px 40px;
	}

	.fshpay-about-hero__grid {
		grid-template-columns: 1fr;
	}

	.fshpay-about-hero__media {
		order: -1;
	}

	.fshpay-about-hero__content {
		text-align: center;
	}

	.fshpay-about-card {
		text-align: left;
	}

	.fshpay-about-target {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 20px;
	}

	.fshpay-about-target__body {
		margin-left: auto;
		margin-right: auto;
		text-align: left;
		width: 100%;
	}

	.fshpay-contact__title {
		text-align: center;
	}

	.fshpay-contact__grid {
		grid-template-columns: 1fr;
	}

	.fshpay-trust-list__item {
		justify-content: center;
	}

	.fshpay-payments__logos {
		padding: 18px 16px;
		border-radius: 14px;
	}

	/* Footer: toàn bộ căn giữa */
	.fshpay-footer {
		text-align: center;
	}

	.fshpay-footer__top {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 20px;
	}

	.fshpay-footer__brand {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.fshpay-footer__brand-row {
		justify-content: center;
		text-align: center;
	}

	.fshpay-footer__badges {
		margin-left: 0;
		width: 100%;
		justify-content: center;
	}

	.fshpay-footer__bottom {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 12px;
	}

	.fshpay-footer__copy {
		text-align: center;
	}

	.fshpay-footer__legal {
		margin-left: 0;
		justify-content: center;
	}

}

@media (max-width: 600px) {
	.fshpay-header__inner {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.fshpay-hero {
		padding-top: 32px;
		padding-bottom: 48px;
	}

	.fshpay-page-bg {
		padding-top: 32px;
		padding-bottom: 56px;
	}

	.fshpay-contact-aside__inner {
		box-shadow: 5px 5px 0 var(--fsh-navy);
	}

	.fshpay-footer__bottom {
		flex-direction: column;
		align-items: center;
	}

	.fshpay-footer__legal {
		margin-left: 0;
		justify-content: center;
	}
}

/* -------------------------------------------------------------------------
   Checkout / shop / default WP: Shoptimizer #content inside FshPay header+footer
-------------------------------------------------------------------------- */
body.fshpay-wp-shell .fshpay-wp-shell__page {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.fshpay-wp-shell .fshpay-wp-shell__content {
	flex: 1;
}

/* -------------------------------------------------------------------------
   Woo / Shoptimizer: same content band as .fshpay-container (not 1170px)
-------------------------------------------------------------------------- */
body.fshpay-marketing .col-full,
body.fshpay-marketing .site-content .shoptimizer-sticky-add-to-cart .col-full,
body.fshpay-marketing .single-product .site-content .shoptimizer-sticky-add-to-cart .col-full,
body.fshpay-marketing .single-product .site-content .commercekit-sticky-add-to-cart .col-full {
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

/* Same band as .col-full when Shoptimizer targets notices with max-width: 1170px */
body.fshpay-marketing .woocommerce-message,
body.fshpay-marketing .woocommerce-error,
body.fshpay-marketing .woocommerce-info {
	max-width: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

/* Notices inside .col-full: fill the band (avoid 60% × 60%) */
body.fshpay-marketing .col-full .woocommerce-message,
body.fshpay-marketing .col-full .woocommerce-error,
body.fshpay-marketing .col-full .woocommerce-info {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

@media (min-width: 992px) {
	body.fshpay-marketing .col-full,
	body.fshpay-marketing .site-content .shoptimizer-sticky-add-to-cart .col-full,
	body.fshpay-marketing .single-product .site-content .shoptimizer-sticky-add-to-cart .col-full,
	body.fshpay-marketing .single-product .site-content .commercekit-sticky-add-to-cart .col-full {
		width: 60%;
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	body.fshpay-marketing .woocommerce-message,
	body.fshpay-marketing .woocommerce-error,
	body.fshpay-marketing .woocommerce-info {
		width: 60%;
		padding-left: 0;
		padding-right: 0;
	}

	body.fshpay-marketing .col-full .woocommerce-message,
	body.fshpay-marketing .col-full .woocommerce-error,
	body.fshpay-marketing .col-full .woocommerce-info {
		width: 100%;
	}
}

/* Beat Shoptimizer single-product @1070px (.col-full { max-width: inherit; padding: 0 }) */
@media only screen and (min-width: 1070px) {
	body.fshpay-marketing.single-product .site-content .col-full {
		width: 60%;
		max-width: none;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
	}
}

.single-product .site-content .col-full {
    margin: 0 auto;
}

.product-template-default div#page {
    margin: unset;
}

.page-template-template-fullwidth div#page,
.page-template-default div#page {
    margin: unset;
}

#order_review .woocommerce-privacy-policy-text {
    display: none;
}

#order_review .cart-custom-field .textwidget p {
    display: none;
}

#order_review .cart-custom-field .textwidget h4 {
    font-size: 0;
}