/**
 * Gift Footer Blocks - Scoped Frontend Stylesheet
 * Colors sampled from supplied mockup & design tokens
 */

:root {
	--gf-teal: #1F958F;
	--gf-teal-dark: #197B76;
	--gf-pink: #fa1667;
	--gf-pink-end: #e00d59;
	--gf-bow-pink: #ffaec9;
	--gf-cream: #FFF8EF;
	--gf-ink: #3B102A;
	--gf-gold: #B89159;
	--gf-gold-light: rgba(184, 145, 89, 0.35);
	--gf-button: linear-gradient(135deg, #fa1667 0%, #e00d59 100%);
}

/* Master Footer Container Scope */
.gftr-footer-wrapper,
.gftr-footer {
	font-family: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
	position: relative;
	box-sizing: border-box;
	clear: both;
}

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

/* Common Container - Matches site content width (--wd-container-w: 1480px) */
.gftr-hero__container,
.gftr-benefits__container,
.gftr-bow-divider__container,
.gftr-main__container,
.gftr-legal__container {
	width: 100%;
	max-width: var(--wd-container-w, 1480px) !important;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

/* ==========================================================================
   1. HERO BANNER ("GÓI GHÉM YÊU THƯƠNG")
   ========================================================================== */
.gftr-hero {
	background-color: var(--gf-cream);
	color: var(--gf-ink);
	position: relative;
	overflow: hidden;
	padding: 48px 0 36px 0;
	border-bottom: 1px solid rgba(59, 16, 42, 0.08);
}

.gftr-hero__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.gftr-hero__content {
	flex: 1 1 55%;
	max-width: 620px;
}

.gftr-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--gf-pink, #fa1667) !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.gftr-hero__eyebrow-line {
	display: inline-block;
	width: 32px;
	height: 1.5px;
	background-color: var(--gf-pink, #fa1667) !important;
}

.gftr-hero__title {
	font-family: 'Noto Serif', Georgia, serif;
	font-size: 42px;
	line-height: 1.25;
	font-weight: 600;
	color: var(--gf-ink);
	margin: 0 0 16px 0;
	letter-spacing: -0.5px;
}

.gftr-hero__desc {
	font-size: 17px;
	line-height: 1.6;
	color: var(--gf-ink);
	opacity: 0.88;
	margin: 0 0 28px 0;
	max-width: 480px;
}

.gftr-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

/* Pill Gradient Button */
.gftr-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--gf-button);
	color: #FFFFFF !important;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	padding: 14px 28px;
	border-radius: 999px;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(250, 22, 103, 0.28);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	min-height: 46px;
	border: none;
	cursor: pointer;
}

.gftr-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(250, 22, 103, 0.4);
	color: #FFFFFF !important;
}

.gftr-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
}

.gftr-button:hover .gftr-button__icon {
	transform: translateX(4px);
}

.gftr-button__icon svg {
	width: 16px;
	height: 16px;
	stroke: #FFFFFF;
}

/* Secondary Text Link */
.gftr-button-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gf-pink) !important;
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 4px;
	transition: all 0.2s ease;
	min-height: 44px;
	padding: 4px 0;
}

.gftr-button-link:hover {
	color: var(--gf-pink-end) !important;
	opacity: 0.9;
}

.gftr-button-link__icon {
	display: inline-flex;
	align-items: center;
	transition: transform 0.2s ease;
}

.gftr-button-link:hover .gftr-button-link__icon {
	transform: translate(2px, -2px);
}

.gftr-button-link__icon svg {
	width: 14px;
	height: 14px;
	stroke: var(--gf-pink);
}

/* Hero Media Image */
.gftr-hero__media {
	flex: 1 1 45%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.gftr-hero__image {
	max-width: 100%;
	width: auto;
	max-height: 380px;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 10px 24px rgba(59, 16, 42, 0.08));
}

/* ==========================================================================
   2. BENEFIT LIST (DẢI 4 LỢI ÍCH)
   ========================================================================== */
.gftr-benefits {
	background-color: var(--gf-cream);
	color: var(--gf-ink);
	padding: 24px 0;
}

.gftr-benefits__grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.gftr-benefits__item {
	flex: 1 1 25%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 10px 16px;
	text-decoration: none !important;
	color: var(--gf-ink) !important;
	position: relative;
	transition: transform 0.2s ease;
}

.gftr-benefits__item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 15%;
	height: 70%;
	width: 1px;
	background-color: rgba(59, 16, 42, 0.12);
}

.gftr-benefits__icon-circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1.5px solid var(--gf-pink);
	background-color: var(--gf-cream);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.25s ease;
}

.gftr-benefits__item:hover .gftr-benefits__icon-circle {
	transform: scale(1.06);
	background-color: #FFFFFF;
	box-shadow: 0 4px 12px rgba(250, 22, 103, 0.18);
}

.gftr-benefits__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gftr-benefits__icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--gf-pink);
}

.gftr-benefits__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--gf-ink);
	letter-spacing: -0.2px;
	white-space: nowrap;
}

/* ==========================================================================
   3. BOW DIVIDER (NƠ HỒNG PHÂN CÁCH)
   ========================================================================== */
.gftr-bow-divider {
	background-color: var(--gf-teal);
	padding: 16px 0 10px 0 !important;
}

.gftr-bow-divider__container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.gftr-bow-divider__line {
	flex: 1 1 auto;
	height: 1.5px;
	background: #ffaec9 !important;
	opacity: 0.95;
}

.gftr-bow-divider__line--left {
	background: linear-gradient(90deg, rgba(255, 174, 201, 0.15) 0%, rgba(255, 174, 201, 0.7) 30%, #ffaec9 100%) !important;
}

.gftr-bow-divider__line--right {
	background: linear-gradient(90deg, #ffaec9 0%, rgba(255, 174, 201, 0.7) 70%, rgba(255, 174, 201, 0.15) 100%) !important;
}

.gftr-bow-divider__bow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	flex-shrink: 0;
	color: #ffaec9 !important;
}

.gftr-bow-divider__bow svg {
	width: 100%;
	height: auto;
	stroke: #ffaec9 !important;
	color: #ffaec9 !important;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.16));
}

/* ==========================================================================
   4. MAIN FOOTER (4 CỘT XANH TEAL #1F958F)
   ========================================================================== */
.gftr-main {
	background-color: var(--gf-teal);
	color: #FFFFFF;
	padding: 10px 0 48px 0 !important;
}

.gftr-main a {
	color: #FFFFFF !important;
}

.gftr-main__grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr 1fr;
	gap: 40px;
	position: relative;
}

/* Column 1: Brand & Contact */
.gftr-brand-contact {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.gftr-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.gftr-brand__logo-wrap {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	margin-bottom: 16px;
}

.gftr-brand__logo {
	width: 100% !important;
	max-width: 330px !important;
	height: auto;
	object-fit: contain;
	display: block;
	filter: brightness(1) contrast(1.05);
}

.gftr-brand__bow {
	display: none !important;
}

.gftr-brand__title {
	font-family: 'Noto Serif', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #FFFFFF;
	margin: 0 0 8px 0;
	text-transform: uppercase;
}

.gftr-brand__accent-line {
	display: block;
	width: 42px;
	height: 2px;
	background-color: var(--gf-bow-pink, #ffaec9);
	margin-bottom: 14px;
}

.gftr-brand__tagline {
	font-size: 16px !important;
	font-style: italic !important;
	line-height: 1.5 !important;
	color: #ffaec9 !important;
	opacity: 0.95 !important;
	margin: 0 0 16px 0 !important;
}

/* Contact Details */
.gftr-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gftr-contact__row {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.4;
	color: #FFFFFF;
}

.gftr-contact__icon-badge {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--gf-cream);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.gftr-contact__icon-badge svg {
	width: 15px;
	height: 15px;
	stroke: var(--gf-pink);
}

.gftr-contact__link {
	color: #FFFFFF !important;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}

.gftr-contact__link:hover {
	opacity: 0.85;
	text-decoration: underline !important;
}

/* Social Icon Badges */
.gftr-social {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 6px;
}

.gftr-social__item {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: var(--gf-cream);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	transition: all 0.25s ease;
	flex-shrink: 0;
}

.gftr-social__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	background-color: #FFFFFF;
}

.gftr-social__item svg {
	width: 18px;
	height: 18px;
	stroke: var(--gf-pink, #fa1667) !important;
	fill: none;
}

.gftr-social__item svg polygon,
.gftr-social__item--youtube svg polygon {
	fill: var(--gf-pink, #fa1667) !important;
	stroke: none !important;
}

/* Columns 2, 3, 4: Footer Menu */
.gftr-menu {
	display: flex;
	flex-direction: column;
	position: relative !important;
	z-index: 10 !important;
	width: 100% !important;
}

/* Thin vertical column separators on desktop */
.gftr-menu::before {
	content: '';
	position: absolute;
	left: -20px;
	top: 0;
	bottom: 0;
	width: 1px;
	background-color: rgba(255, 255, 255, 0.15);
	pointer-events: none !important;
}

.gftr-menu__header {
	margin-bottom: 20px;
	position: relative;
	z-index: 2;
}

.gftr-menu__title {
	font-family: 'Noto Serif', Georgia, serif;
	font-size: 17px;
	font-weight: 600;
	color: #FFFFFF;
	margin: 0 0 8px 0;
	letter-spacing: -0.2px;
}

.gftr-menu__accent-line {
	display: block;
	width: 36px;
	height: 2px;
	background-color: var(--gf-gold);
}

.gftr-menu__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100% !important;
}

.gftr-menu__item {
	margin: 0 !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 2 !important;
	width: 100% !important;
}

.gftr-menu__link {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	color: #FFFFFF !important;
	font-size: 14.5px;
	line-height: 1.4;
	text-decoration: none !important;
	padding: 6px 0 !important;
	transition: all 0.2s ease;
	min-height: 32px;
	position: relative !important;
	z-index: 3 !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	box-sizing: border-box !important;
}

.gftr-menu__link:hover {
	color: #FFE0ED !important;
	transform: translateX(3px);
}

.gftr-menu__text {
	position: relative !important;
	z-index: 4 !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	flex: 1 1 auto !important;
	display: inline-block !important;
}

.gftr-menu__chevron {
	position: relative !important;
	z-index: 4 !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	display: inline-flex;
	align-items: center;
	opacity: 0.75;
	transition: transform 0.2s ease, opacity 0.2s ease;
	flex-shrink: 0 !important;
}

.gftr-menu__link:hover .gftr-menu__chevron {
	opacity: 1;
	transform: translateX(2px);
}

.gftr-menu__chevron svg {
	width: 12px;
	height: 12px;
	stroke: #FFFFFF;
}

/* ==========================================================================
   5. LEGAL BAR (THANH BẢN QUYỀN & PHÁP LÝ)
   ========================================================================== */
.gftr-legal {
	background-color: var(--gf-teal);
	color: rgba(255, 255, 255, 0.88);
	padding: 20px 0;
}

.gftr-legal--has-border {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.gftr-legal__text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.gftr-legal__sep {
	margin: 0 4px;
	opacity: 0.6;
}

.gftr-legal__bullet {
	margin: 0 4px;
	opacity: 0.6;
}

/* Accessibility Focus States */
.gftr-footer a:focus-visible,
.gftr-footer button:focus-visible {
	outline: 3px solid #FFFFFF;
	outline-offset: 4px;
}

.gftr-hero a:focus-visible {
	outline-color: var(--gf-ink);
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS (Desktop 1280, Tablet 768, Mobile 360-480)
   ========================================================================== */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
	.gftr-hero__title {
		font-size: 34px;
	}
	.gftr-main__grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.gftr-menu::before {
		display: none;
	}
}

/* Mobile landscape / small tablet (<= 768px) */
@media (max-width: 768px) {
	.gftr-hero {
		padding: 36px 0 28px 0;
	}
	.gftr-hero__container {
		flex-direction: column;
		text-align: center;
		gap: 28px;
	}
	.gftr-hero__content {
		max-width: 100%;
	}
	.gftr-hero__eyebrow {
		justify-content: center;
	}
	.gftr-hero__desc {
		margin-left: auto;
		margin-right: auto;
	}
	.gftr-hero__actions {
		justify-content: center;
	}
	.gftr-hero__media {
		justify-content: center;
		width: 100%;
	}
	.gftr-hero__image {
		max-height: 260px;
	}

	/* Benefits: 2x2 grid */
	.gftr-benefits__grid {
		flex-wrap: wrap;
	}
	.gftr-benefits__item {
		flex: 1 1 50%;
		max-width: 50%;
		justify-content: flex-start;
		padding: 12px 10px;
	}
	.gftr-benefits__item:nth-child(2)::after {
		display: none;
	}
	.gftr-benefits__item:nth-child(even)::after {
		display: none;
	}

	/* Main Footer: 1 column stack */
	.gftr-main__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.gftr-brand {
		align-items: flex-start;
	}
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
	.gftr-hero__title {
		font-size: 28px;
	}
	.gftr-hero__actions {
		flex-direction: column;
		width: 100%;
	}
	.gftr-button {
		width: 100%;
	}
	.gftr-benefits__title {
		font-size: 13.5px;
		white-space: normal;
	}
	.gftr-benefits__icon-circle {
		width: 42px;
		height: 42px;
	}
	.gftr-benefits__icon svg {
		width: 20px;
		height: 20px;
	}
	.gftr-legal__text {
		font-size: 12px;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.gftr-legal__sep,
	.gftr-legal__bullet {
		display: none;
	}
}

/* ==========================================================================
   7. ELEMENTOR CONTAINER LAYOUT OVERRIDES (4 Columns Row)
   ========================================================================== */
.elementor-element-gftr_con_row_main > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	gap: 36px !important;
	width: 100% !important;
	max-width: var(--wd-container-w, 1480px) !important;
	margin: 0 auto !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

.elementor-element-gftr_col_1 {
	flex: 1 1 31% !important;
	max-width: 32% !important;
	min-width: 0 !important;
	overflow: hidden !important;
	position: relative !important;
	z-index: 1 !important;
}

.elementor-element-gftr_col_2,
.elementor-element-gftr_col_3,
.elementor-element-gftr_col_4 {
	flex: 1 1 23% !important;
	max-width: 23% !important;
	min-width: 0 !important;
	position: relative !important;
	z-index: 5 !important;
}

@media (max-width: 1024px) {
	.elementor-element-gftr_con_row_main > .e-con-inner {
		flex-wrap: wrap !important;
		gap: 28px !important;
	}
	.elementor-element-gftr_col_1,
	.elementor-element-gftr_col_2,
	.elementor-element-gftr_col_3,
	.elementor-element-gftr_col_4 {
		flex: 1 1 calc(50% - 14px) !important;
		max-width: calc(50% - 14px) !important;
	}
}

@media (max-width: 768px) {
	.elementor-element-gftr_con_row_main > .e-con-inner {
		flex-direction: column !important;
		gap: 24px !important;
	}
	.elementor-element-gftr_col_1,
	.elementor-element-gftr_col_2,
	.elementor-element-gftr_col_3,
	.elementor-element-gftr_col_4 {
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}
}

