/*
Theme Name: Phao Hoa Bo Cong An Info Portal
Theme URI: https://cuahangphaohoa.vn/
Author: Cua Hang Phao Hoa
Description: Giao dien cong thong tin va ho tro mua hang phao hoa, kem du lieu mau.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: phbca
*/

:root {
	--phbca-bg: #fff8ec;
	--phbca-white: #ffffff;
	--phbca-emerald-950: #450a0a;
	--phbca-emerald-900: #7f1d1d;
	--phbca-emerald-800: #991b1b;
	--phbca-emerald-700: #b91c1c;
	--phbca-emerald-600: #dc2626;
	--phbca-emerald-100: #fecaca;
	--phbca-emerald-50: #fff1f2;
	--phbca-yellow-600: #b45309;
	--phbca-yellow-500: #eab308;
	--phbca-yellow-400: #facc15;
	--phbca-yellow-300: #fde047;
	--phbca-yellow-100: #fff7b8;
	--phbca-slate-900: #1f1111;
	--phbca-slate-700: #4b2c2c;
	--phbca-slate-600: #725252;
	--phbca-shadow: 0 20px 35px rgba(69, 10, 10, 0.08);
	--phbca-container: 1280px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--phbca-bg);
	color: var(--phbca-slate-900);
	font-family: "Be Vietnam Pro", Arial, sans-serif;
}

body.admin-bar .phbca-header {
	top: 32px;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

button,
input {
	font: inherit;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--phbca-white);
	clip: auto !important;
	clip-path: none;
	color: var(--phbca-emerald-950);
	display: block;
	height: auto;
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.phbca-svg {
	display: inline-block;
	flex: 0 0 auto;
	height: 1.25rem;
	width: 1.25rem;
	vertical-align: middle;
}

.phbca-container {
	margin: 0 auto;
	max-width: var(--phbca-container);
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	width: 100%;
}

.phbca-header {
	background: rgba(69, 10, 10, 0.92);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 229, 179, 0.35);
	position: sticky;
	top: 0;
	z-index: 40;
}

.phbca-header__row {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 76px;
	gap: 1.5rem;
}

.phbca-brand {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	min-width: max-content;
}

.phbca-brand__mark {
	align-items: center;
	background: var(--phbca-yellow-400);
	border-radius: 1rem;
	box-shadow: 0 10px 24px rgba(250, 204, 21, 0.3);
	color: var(--phbca-emerald-950);
	display: flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.phbca-brand__mark .phbca-svg {
	height: 25px;
	width: 25px;
}

.phbca-brand__title,
.phbca-brand__subtitle {
	display: block;
	margin: 0;
}

.phbca-brand__title {
	color: var(--phbca-white);
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.35;
}

.phbca-brand__subtitle {
	color: #ffe8c4;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
}

.phbca-navigation {
	flex: 1;
}

.phbca-navigation ul {
	align-items: center;
	display: flex;
	gap: 1.75rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.phbca-navigation a {
	color: #ffe8c4;
	font-size: 0.875rem;
	font-weight: 600;
	transition: color 180ms ease;
}

.phbca-navigation a:hover,
.phbca-navigation a:focus-visible {
	color: var(--phbca-yellow-300);
}

.phbca-button {
	align-items: center;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 800;
	gap: 0.55rem;
	justify-content: center;
	line-height: 1.3;
	min-height: 52px;
	padding: 0.85rem 1.75rem;
	transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.phbca-button:hover {
	transform: translateY(-1px);
}

.phbca-button--primary {
	background: var(--phbca-yellow-400);
	color: var(--phbca-emerald-950);
}

.phbca-button--primary:hover,
.phbca-button--primary:focus-visible {
	background: var(--phbca-yellow-300);
}

.phbca-button--outline {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid #ffe8c4;
	color: #fff7ed;
}

.phbca-button--outline:hover,
.phbca-button--outline:focus-visible {
	background: var(--phbca-white);
	color: var(--phbca-emerald-950);
}

.phbca-header__cta {
	font-size: 0.875rem;
	font-weight: 700;
	min-height: 44px;
	padding: 0.65rem 1.25rem;
}

.phbca-nav-toggle {
	align-items: center;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	color: var(--phbca-white);
	display: none;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.phbca-mobile-menu {
	display: none;
}

.phbca-hero {
	background:
		radial-gradient(circle at 18% 25%, rgba(250, 204, 21, 0.16), transparent 30%),
		linear-gradient(135deg, #450a0a 0%, #7f1d1d 48%, #3b0707 100%);
	overflow: hidden;
	position: relative;
}

.phbca-hero::before,
.phbca-hero::after {
	border-radius: 999px;
	content: "";
	filter: blur(58px);
	position: absolute;
}

.phbca-hero::before {
	background: rgba(250, 204, 21, 0.24);
	height: 288px;
	left: -96px;
	top: 40px;
	width: 288px;
}

.phbca-hero::after {
	background: rgba(239, 68, 68, 0.24);
	bottom: 0;
	height: 384px;
	right: -96px;
	width: 384px;
}

.phbca-hero__grid {
	align-items: center;
	display: grid;
	gap: 3rem;
	grid-template-columns: 1.05fr 0.95fr;
	padding-bottom: 6rem;
	padding-top: 6rem;
	position: relative;
	z-index: 1;
}

.phbca-animate-up {
	animation: phbca-up 700ms ease both;
}

.phbca-animate-scale {
	animation: phbca-scale 700ms 100ms ease both;
}

@keyframes phbca-up {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes phbca-scale {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.phbca-badge {
	align-items: center;
	background: #fff5c2;
	border: 1px solid rgba(250, 204, 21, 0.75);
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	color: var(--phbca-emerald-950);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 600;
	gap: 0.5rem;
	padding: 0.55rem 1rem;
}

.phbca-hero h1 {
	color: var(--phbca-white);
	font-size: clamp(2.35rem, 4.5vw, 3.75rem);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1.16;
	margin: 1.7rem 0 0;
	max-width: 740px;
}

.phbca-hero__lead {
	color: rgba(255, 247, 237, 0.9);
	font-size: 1.08rem;
	line-height: 1.9;
	margin: 1.35rem 0 0;
	max-width: 680px;
}

.phbca-actions {
	display: flex;
	gap: 1rem;
	margin-top: 1.9rem;
}

.phbca-stats {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 2.5rem;
	max-width: 560px;
}

.phbca-stat {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 244, 199, 0.18);
	border-radius: 1.5rem;
	padding: 1rem;
}

.phbca-stat__number {
	color: var(--phbca-yellow-300);
	font-size: 1.5rem;
	font-weight: 900;
	margin: 0;
}

.phbca-stat__label {
	color: #ffe8c4;
	font-size: 0.875rem;
	font-weight: 500;
	margin: 0.25rem 0 0;
}

.phbca-quick-panel {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 244, 199, 0.2);
	border-radius: 2rem;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
	padding: 1.25rem;
}

.phbca-quick-panel__inner {
	background: #fffaf0;
	border-radius: 1.5rem;
	padding: 1.5rem;
}

.phbca-quick-panel__head {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.phbca-quick-panel__head .phbca-svg {
	color: var(--phbca-emerald-700);
	height: 40px;
	width: 40px;
}

.phbca-kicker {
	color: var(--phbca-yellow-600);
	font-size: 0.875rem;
	font-weight: 700;
	margin: 0;
}

.phbca-quick-panel h2 {
	color: var(--phbca-emerald-950);
	font-size: 1.45rem;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.25;
	margin: 0.28rem 0 0;
}

.phbca-search {
	background: var(--phbca-white);
	border: 1px solid var(--phbca-emerald-100);
	border-radius: 1rem;
	box-shadow: 0 1px 3px rgba(69, 10, 10, 0.06);
	margin-top: 1.5rem;
	padding: 0.75rem;
}

.phbca-search input {
	background: var(--phbca-emerald-50);
	border: 0;
	border-radius: 0.75rem;
	color: var(--phbca-slate-700);
	outline: none;
	padding: 1rem;
	width: 100%;
}

.phbca-search input:focus {
	box-shadow: inset 0 0 0 2px var(--phbca-emerald-600);
}

.phbca-quick-stores {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 1.25rem;
}

.phbca-quick-store {
	align-items: center;
	background: var(--phbca-white);
	border: 1px solid var(--phbca-emerald-100);
	border-radius: 1rem;
	box-shadow: 0 1px 3px rgba(69, 10, 10, 0.06);
	color: var(--phbca-emerald-950);
	display: flex;
	font-size: 0.875rem;
	font-weight: 700;
	gap: 0.5rem;
	min-height: 54px;
	padding: 0.9rem 1rem;
}

.phbca-quick-store .phbca-svg {
	color: var(--phbca-yellow-500);
	height: 17px;
	width: 17px;
}

.phbca-panel-cta {
	background: var(--phbca-emerald-950);
	border-radius: 1rem;
	color: var(--phbca-white);
	display: block;
	margin-top: 1.5rem;
	padding: 1.25rem;
}

.phbca-panel-cta__label {
	color: var(--phbca-yellow-300);
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
}

.phbca-panel-cta__text {
	display: block;
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.45;
	margin-top: 0.45rem;
}

.phbca-section {
	padding: 5rem 0;
}

.phbca-section--white {
	background: var(--phbca-white);
}

.phbca-section-title {
	margin: 0 auto 2.5rem;
	max-width: 768px;
	text-align: center;
}

.phbca-eyebrow {
	color: var(--phbca-yellow-600);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.phbca-section-title h2,
.phbca-store-copy h2,
.phbca-final-cta h2 {
	color: var(--phbca-emerald-950);
	font-size: clamp(1.85rem, 3.5vw, 2.25rem);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1.23;
	margin: 0;
}

.phbca-section-title__desc,
.phbca-store-copy__desc {
	color: var(--phbca-slate-600);
	font-size: 1rem;
	line-height: 1.75;
	margin: 1rem 0 0;
}

.phbca-news-grid,
.phbca-support-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phbca-card {
	background: var(--phbca-white);
	border-radius: 1.75rem;
	box-shadow: var(--phbca-shadow);
	overflow: hidden;
}

.phbca-news-card {
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.phbca-news-card:hover {
	box-shadow: 0 24px 40px rgba(69, 10, 10, 0.12);
	transform: translateY(-4px);
}

.phbca-news-card__art {
	background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 58%, #fde047 100%);
	display: flex;
	flex-direction: column;
	height: 176px;
	justify-content: space-between;
	padding: 1.5rem;
}

.phbca-news-card__tag {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	color: var(--phbca-emerald-950);
	font-size: 0.75rem;
	font-weight: 800;
	padding: 0.28rem 0.75rem;
	width: fit-content;
}

.phbca-news-card__art .phbca-svg {
	color: var(--phbca-white);
	height: 40px;
	width: 40px;
}

.phbca-news-card__body {
	padding: 1.5rem;
}

.phbca-news-card__date {
	color: var(--phbca-yellow-600);
	font-size: 0.875rem;
	font-weight: 700;
	margin: 0;
}

.phbca-news-card h3 {
	color: var(--phbca-emerald-950);
	font-size: 1.17rem;
	font-weight: 900;
	line-height: 1.42;
	margin: 0.75rem 0 0;
}

.phbca-news-card__excerpt {
	color: var(--phbca-slate-600);
	font-size: 0.875rem;
	line-height: 1.7;
	margin: 0.75rem 0 0;
}

.phbca-text-link {
	align-items: center;
	color: var(--phbca-emerald-700);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 800;
	gap: 0.45rem;
	margin-top: 1.25rem;
}

.phbca-text-link .phbca-svg {
	height: 16px;
	transition: transform 180ms ease;
	width: 16px;
}

.phbca-news-card:hover .phbca-text-link .phbca-svg {
	transform: translateX(4px);
}

.phbca-store-layout {
	align-items: center;
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 0.9fr 1.1fr;
}

.phbca-store-copy__points {
	display: grid;
	gap: 1rem;
	margin-top: 1.7rem;
}

.phbca-check-row {
	align-items: flex-start;
	background: var(--phbca-emerald-50);
	border-radius: 1rem;
	color: var(--phbca-emerald-950);
	display: flex;
	font-weight: 600;
	gap: 0.75rem;
	line-height: 1.55;
	padding: 1rem;
}

.phbca-check-row .phbca-svg {
	color: var(--phbca-emerald-700);
	margin-top: 2px;
}

.phbca-store-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phbca-store-card {
	background: #fffaf0;
	border: 1px solid var(--phbca-emerald-100);
	border-radius: 1.5rem;
	padding: 1.5rem;
	transition: opacity 180ms ease, transform 180ms ease;
}

.phbca-store-card[hidden] {
	display: none;
}

.phbca-store-card__top {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.phbca-store-card__icon {
	align-items: center;
	background: var(--phbca-emerald-950);
	border-radius: 1rem;
	color: var(--phbca-white);
	display: flex;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.phbca-store-card__badge {
	background: var(--phbca-yellow-300);
	border-radius: 999px;
	color: var(--phbca-emerald-950);
	font-size: 0.72rem;
	font-weight: 900;
	padding: 0.35rem 0.75rem;
}

.phbca-store-card h3 {
	color: var(--phbca-emerald-950);
	font-size: 1.18rem;
	font-weight: 900;
	margin: 0;
}

.phbca-store-card p {
	color: var(--phbca-slate-600);
	font-size: 0.875rem;
	line-height: 1.7;
	margin: 0.5rem 0 0;
}

.phbca-store-card__link {
	background: var(--phbca-emerald-950);
	border-radius: 999px;
	color: var(--phbca-yellow-300);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 900;
	margin-top: 1.25rem;
	padding: 0.55rem 1rem;
}

.phbca-no-results {
	color: var(--phbca-slate-600);
	display: none;
	font-weight: 600;
	grid-column: 1 / -1;
	margin: 0;
}

.phbca-no-results.is-visible {
	display: block;
}

.phbca-support-card {
	padding: 1.75rem;
}

.phbca-support-card__number {
	align-items: center;
	background: var(--phbca-yellow-300);
	border-radius: 1rem;
	color: var(--phbca-emerald-950);
	display: flex;
	font-size: 1.45rem;
	font-weight: 900;
	height: 56px;
	justify-content: center;
	margin-bottom: 1.25rem;
	width: 56px;
}

.phbca-support-card h3 {
	color: var(--phbca-emerald-950);
	font-size: 1.18rem;
	font-weight: 900;
	margin: 0;
}

.phbca-support-card__text {
	color: var(--phbca-slate-700);
	font-size: 1rem;
	line-height: 1.75;
	margin: 0.75rem 0 0;
}

.phbca-support-card__note {
	align-items: center;
	color: var(--phbca-slate-600);
	display: flex;
	font-size: 0.82rem;
	font-weight: 700;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.phbca-support-card__note-icon {
	align-items: center;
	background: var(--phbca-emerald-100);
	border-radius: 999px;
	color: var(--phbca-emerald-800);
	display: flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.phbca-cta-wrap {
	padding: 0 0 5rem;
}

.phbca-final-cta {
	align-items: center;
	background: var(--phbca-emerald-950);
	border-radius: 2rem;
	box-shadow: 0 25px 45px rgba(69, 10, 10, 0.22);
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr auto;
	overflow: hidden;
	padding: 3rem;
}

.phbca-final-cta .phbca-eyebrow {
	color: var(--phbca-yellow-300);
}

.phbca-final-cta h2 {
	color: var(--phbca-white);
}

.phbca-final-cta__desc {
	color: rgba(236, 253, 245, 0.85);
	line-height: 1.75;
	margin: 1rem 0 0;
	max-width: 700px;
}

.phbca-footer {
	background: var(--phbca-white);
	border-top: 1px solid var(--phbca-emerald-100);
	color: var(--phbca-slate-600);
	font-size: 0.875rem;
	padding: 2rem 0;
}

.phbca-footer__row {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.phbca-footer p {
	margin: 0;
}

.phbca-footer__copyright {
	font-weight: 600;
}

.phbca-footer strong {
	color: var(--phbca-emerald-800);
	font-weight: 900;
}

.phbca-content {
	margin: 0 auto;
	max-width: 860px;
	padding: 4rem 1.25rem;
}

.phbca-content__label {
	color: var(--phbca-yellow-600);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.phbca-content h1 {
	color: var(--phbca-emerald-950);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 900;
	line-height: 1.25;
}

.phbca-content__body {
	color: var(--phbca-slate-700);
	font-size: 1rem;
	line-height: 1.85;
}

.phbca-content__body a {
	color: var(--phbca-emerald-700);
	text-decoration: underline;
}

.phbca-detail-box {
	background: var(--phbca-white);
	border: 1px solid var(--phbca-emerald-100);
	border-radius: 1.5rem;
	display: grid;
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.5rem;
}

.phbca-detail-box__row {
	align-items: flex-start;
	display: flex;
	gap: 0.75rem;
}

.phbca-detail-box__row .phbca-svg {
	color: var(--phbca-emerald-700);
	margin-top: 0.15rem;
}

.phbca-detail-box__label {
	color: var(--phbca-yellow-600);
	display: block;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.phbca-detail-box__value {
	color: var(--phbca-emerald-950);
	display: block;
	font-weight: 700;
	margin-top: 0.2rem;
}

.phbca-loop {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 2.5rem;
}

.phbca-loop article {
	background: var(--phbca-white);
	border-radius: 1.25rem;
	padding: 1.5rem;
}

@media (max-width: 1023px) {
	.phbca-hero__grid,
	.phbca-store-layout {
		grid-template-columns: 1fr;
	}

	.phbca-hero__grid {
		padding-bottom: 4rem;
		padding-top: 4rem;
	}

	.phbca-navigation {
		display: none;
	}
}

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

@media (max-width: 767px) {
	.phbca-container {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.phbca-header__cta {
		display: none;
	}

	.phbca-nav-toggle {
		display: inline-flex;
	}

	.phbca-mobile-menu.is-open {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		display: block;
		padding: 0.75rem 1rem 1.25rem;
	}

	.phbca-mobile-menu ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.phbca-mobile-menu a {
		color: var(--phbca-white);
		display: block;
		font-size: 0.95rem;
		font-weight: 600;
		padding: 0.8rem 0;
	}

	.phbca-mobile-menu .phbca-button {
		margin-top: 0.5rem;
		width: 100%;
	}

	.phbca-hero h1 {
		font-size: 2.25rem;
	}

	.phbca-actions {
		flex-direction: column;
	}

	.phbca-news-grid,
	.phbca-support-grid,
	.phbca-store-grid,
	.phbca-loop {
		grid-template-columns: 1fr;
	}

	.phbca-section {
		padding: 4rem 0;
	}

	.phbca-final-cta {
		grid-template-columns: 1fr;
		padding: 2rem;
	}

	.phbca-final-cta .phbca-button {
		width: 100%;
	}

	.phbca-footer__row {
		flex-direction: column;
	}
}

@media (max-width: 420px) {
	.phbca-brand__subtitle {
		display: none;
	}

	.phbca-quick-stores {
		grid-template-columns: 1fr;
	}

	.phbca-stats {
		gap: 0.55rem;
	}

	.phbca-stat {
		padding: 0.8rem 0.65rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 1ms !important;
		scroll-behavior: auto !important;
		transition-duration: 1ms !important;
	}
}
