/**
 * Trang Help Center, Membership (Sell on SMT-Mall), Shipping Policy — inc/site-pages.php
 */

.smt-sp {
	--sp-navy: #0b2550;
	--sp-navy-2: #1a4f93;
	--sp-accent: #26b4e9;
	--sp-text: #1f2a44;
	--sp-muted: #5b6475;
	--sp-border: #e3e8f0;
	--sp-soft: #f6f8fb;
	color: var(--sp-text);
	margin-bottom: 40px;
}

/* Hero */
.smt-sp-hero {
	margin: 0 0 28px;
	padding: 44px 40px;
	border-radius: 16px;
	background: radial-gradient(120% 140% at 100% 0%, rgba(38, 180, 233, 0.28) 0%, transparent 55%), linear-gradient(120deg, var(--sp-navy) 0%, var(--sp-navy-2) 100%);
	color: #fff;
}

.smt-sp-hero__eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8fd8f5;
}

.smt-sp-hero__title {
	margin: 0 0 10px;
	font-size: 34px;
	line-height: 1.2;
	color: #fff;
}

.smt-sp-hero__lead {
	max-width: 640px;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

/* Khối nội dung */
.smt-sp-block {
	margin: 28px 0 0;
	padding: 28px 30px;
	border: 1px solid var(--sp-border);
	border-radius: 14px;
	background: #fff;
}

.smt-sp-block h2 {
	margin: 0 0 16px;
	font-size: 22px;
}

.smt-sp-block h3 {
	margin: 0 0 6px;
	font-size: 16px;
}

.smt-sp-note {
	margin: 18px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--sp-soft);
	font-size: 14px;
	color: var(--sp-muted);
}

.smt-sp .smt-sp-btn {
	margin: 0;
	border-radius: 10px;
	text-transform: none;
	letter-spacing: 0;
}

/* Help Center — thẻ chủ đề */
.smt-help__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.smt-help__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	border: 1px solid var(--sp-border);
	border-radius: 14px;
	background: #fff;
	color: var(--sp-text);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.smt-help__card:hover {
	border-color: var(--sp-accent);
	box-shadow: 0 10px 26px rgba(11, 37, 80, 0.1);
	transform: translateY(-2px);
	color: var(--sp-text);
}

.smt-help__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #e8f6fd;
	color: #1e8fd8;
}

.smt-help__title {
	font-size: 17px;
	font-weight: 700;
}

.smt-help__text {
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sp-muted);
}

.smt-help__link {
	font-size: 14px;
	font-weight: 700;
	color: #1e73be;
}

.smt-help__pay,
.smt-help__contact {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.smt-help__pay p,
.smt-help__contact p {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sp-muted);
}

.smt-help__support > p:last-child {
	margin: 20px 0 0;
}

/* Membership — 3 hạng */
.smt-plans__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.smt-plans__card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 26px 24px;
	border: 1px solid var(--sp-border);
	border-top: 4px solid var(--tier, #78716c);
	border-radius: 14px;
	background: #fff;
}

.smt-plans__card.is-featured {
	box-shadow: 0 14px 34px rgba(24, 95, 165, 0.16);
}

.smt-plans__card.is-current {
	background: var(--tier-bg, #f6f8fb);
}

.smt-plans__badge {
	position: absolute;
	top: -13px;
	right: 18px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--tier, #185fa5);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.smt-plans__stars {
	font-size: 18px;
	letter-spacing: 2px;
	color: var(--tier, #78716c);
}

.smt-plans__name {
	margin: 6px 0 2px;
	font-size: 24px;
	color: var(--tier, #1f2a44);
}

.smt-plans__sub {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--sp-muted);
}

.smt-plans__summary {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--tier-bg, #f6f8fb);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.smt-plans__list {
	flex: 1 1 auto;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.smt-plans__list li {
	display: flex;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
}

.smt-plans__list svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: var(--tier, #1e8fd8);
}

.smt-plans__btn {
	width: 100%;
	background: var(--tier, #1e73be) !important;
	color: #fff !important;
}

.smt-plans__current {
	display: block;
	padding: 10px;
	border-radius: 10px;
	border: 1px dashed var(--tier, #78716c);
	text-align: center;
	font-weight: 700;
	color: var(--tier, #78716c);
}

.smt-plans__partner {
	display: flex;
	align-items: center;
	gap: 20px;
}

.smt-plans__partner h2 {
	margin-bottom: 6px;
}

.smt-plans__partner p {
	margin: 0;
	color: var(--sp-muted);
}

.smt-plans__partner .smt-sp-btn {
	flex: 0 0 auto;
}

/* Shipping policy (nội dung trang thường) */
.smt-ship h2 {
	margin-top: 28px;
	font-size: 22px;
}

.smt-ship table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.smt-ship th,
.smt-ship td {
	padding: 10px 12px;
	border: 1px solid var(--sp-border, #e3e8f0);
	text-align: left;
	vertical-align: top;
}

.smt-ship th {
	background: #f6f8fb;
}

@media (max-width: 849px) {
	.smt-help__grid,
	.smt-plans__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.smt-help__pay,
	.smt-help__contact {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 549px) {
	.smt-sp-hero {
		padding: 30px 20px;
	}

	.smt-sp-hero__title {
		font-size: 26px;
	}

	.smt-help__grid,
	.smt-plans__grid {
		grid-template-columns: 1fr;
	}

	.smt-sp-block {
		padding: 20px 18px;
	}

	.smt-plans__partner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Verified Suppliers */
.smt-sup__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.smt-sup__card {
	display: flex;
	flex-direction: column;
	padding: 20px;
	border: 1px solid var(--sp-border);
	border-radius: 14px;
	background: #fff;
}

.smt-sup__top {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

.smt-sup__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, #0b2550, #1a4f93);
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.smt-sup__name {
	margin: 0;
	font-size: 18px;
}

.smt-sup__lines {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--sp-muted);
}

.smt-sup__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	padding: 4px 9px;
	border-radius: 999px;
	background: #e8f8ef;
	color: #15803d;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.smt-sup__badge svg {
	width: 14px;
	height: 14px;
}

.smt-sup__products {
	flex: 1 1 auto;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.smt-sup__products li {
	margin: 0 0 6px;
	padding-left: 14px;
	position: relative;
	font-size: 14px;
	line-height: 1.45;
}

.smt-sup__products li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 8px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--sp-accent);
}

.smt-sup__products a {
	color: var(--sp-text);
}

.smt-sup__products a:hover,
.smt-sup__more {
	color: #1e73be;
}

.smt-sup__more {
	font-size: 14px;
	font-weight: 700;
}

/* Request a Quote */
.smt-rfq__layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.smt-rfq__layout > .smt-sp-block,
.smt-rfq__aside .smt-sp-block {
	margin-top: 0;
}

.smt-rfq__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.smt-rfq__form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--sp-text);
}

.smt-rfq__form label span {
	color: #dc2626;
}

.smt-rfq__form input,
.smt-rfq__form textarea {
	margin: 0;
	border: 1px solid #dbe3ee;
	border-radius: 10px;
	background: #f8fafc;
	box-shadow: none;
	font-weight: 400;
}

.smt-rfq__form input:focus,
.smt-rfq__form textarea:focus {
	border-color: #26b4e9;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(38, 180, 233, 0.16);
}

.smt-rfq__full,
.smt-rfq__form .smt-quote-msg {
	grid-column: 1 / -1;
}

.smt-rfq__form > p {
	margin: 0;
}

.smt-rfq__hp {
	position: absolute !important;
	left: -9999px !important;
}

.smt-rfq__steps {
	margin: 0 0 0 18px;
	padding: 0;
}

.smt-rfq__steps li {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sp-muted);
}

@media (max-width: 849px) {
	.smt-sup__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.smt-rfq__layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 549px) {
	.smt-sup__grid,
	.smt-rfq__form {
		grid-template-columns: 1fr;
	}
}

/* RFQ: nhãn + dấu * cùng một dòng */
.smt-rfq__form label {
	display: block;
}

.smt-rfq__form label input,
.smt-rfq__form label textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
}
