/* HALINK C8 — Homepage sections */
.c8-homepage,
.c8-home { width: 100%; }

.c8-section { position: relative; }
.c8-section--pad-none { padding: 0; }
.c8-section--pad-sm { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.c8-section--pad-md { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.c8-section--pad-lg { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }

.c8-section__header { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.c8-section__subtitle {
  color: var(--c8-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.c8-section__title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--c8-text, #1f2937);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.c8-section__desc { color: #6b7280; margin: 0; }
.c8-section__actions { margin-top: 2rem; text-align: center; }

.c8-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(var(--c8-cols, 3), minmax(0, 1fr));
}

/* Hero */
.c8-hero { padding: 0; }
.c8-hero__slider { width: 100%; }
.c8-hero__img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 70vh; }
.c8-hero .swiper-pagination-bullet-active { background: var(--c8-primary); }

/* Policy */
.c8-policy { background: var(--c8-bg-light, #f7f8fa); }
.c8-policy__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c8-policy__item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--c8-border, #e5e7eb);
  border-radius: 12px; padding: 1.25rem;
}
.c8-policy__icon { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.c8-policy__title { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; }
.c8-policy__text { margin: 0; font-size: 0.875rem; color: #6b7280; }

/* About */
.c8-about__layout {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.c8-about__image { width: 100%; height: auto; border-radius: 16px; }
.c8-about__features {
  display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.5rem 0;
}
.c8-about__feature { display: flex; gap: 0.75rem; align-items: center; }
.c8-about__feature-icon { width: 40px; height: 40px; object-fit: contain; }
.c8-about__cta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Services / products cards */
.c8-product-card,
.c8-blog-card,
.c8-card {
  background: #fff;
  border: 1px solid var(--c8-border, #e5e7eb);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.c8-product-card:hover,
.c8-blog-card:hover,
.c8-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(3, 147, 124, 0.12);
}
.c8-product-card { position: relative; padding-bottom: 1rem; }
.c8-product-card__media,
.c8-blog-card__media { display: block; overflow: hidden; }
.c8-product-card__img,
.c8-blog-card__img { width: 100%; height: auto; display: block; }
.c8-product-card__body,
.c8-blog-card__body { padding: 1rem 1rem 0; }
.c8-product-card__title,
.c8-blog-card__title {
  font-size: 1rem; margin: 0 0 0.5rem; line-height: 1.4;
}
.c8-product-card__title a,
.c8-blog-card__title a { color: inherit; text-decoration: none; }
.c8-product-card__price { color: var(--c8-secondary); font-weight: 700; margin-bottom: 0.75rem; }
.c8-product-card__ph,
.c8-blog-card__ph {
  display: block; aspect-ratio: 1; background: var(--c8-bg-light, #f7f8fa);
}
.c8-badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  background: var(--c8-danger, #dc2626); color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 6px;
}

/* Flash sale — same card/slider shell as featured products */
.c8-flashsale { background: transparent; }
.c8-countdown {
  display: flex; gap: 0.75rem; justify-content: center; margin: 0 0 2rem;
}
.c8-countdown__item {
  min-width: 4.5rem; text-align: center; background: #fff;
  border: 1px solid var(--c8-border, #e5e7eb); border-radius: 10px; padding: 0.75rem;
}
.c8-countdown__num {
  display: block; font-size: 1.5rem; font-weight: 700; color: var(--c8-primary);
}
.c8-countdown__label { font-size: 0.75rem; color: #6b7280; }

/* Promo */
.c8-promo { padding: 0; }
.c8-promo__bg {
  position: relative;
  background-size: cover; background-position: center;
  min-height: 280px; display: flex; align-items: center;
}
.c8-promo__bg::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(3, 147, 124, var(--c8-overlay, 0.45));
}
.c8-promo__inner { position: relative; z-index: 1; color: #fff; text-align: center; padding: 3rem 1rem; }
.c8-promo .c8-section__title,
.c8-promo .c8-section__desc { color: #fff; }

/* Why */
.c8-why__card { padding: 1.75rem; text-align: center; }
.c8-why__dot {
  width: 12px; height: 12px; border-radius: 50%; display: inline-block;
  background: var(--c8-primary); margin-bottom: 1rem;
}
.c8-why__icon { width: 64px; height: 64px; margin: 0 auto 1rem; display: block; }
.c8-why__title { margin: 0 0 0.5rem; font-size: 1.125rem; }
.c8-why__desc { margin: 0; color: #6b7280; font-size: 0.9375rem; }

/* Process */
.c8-process__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.c8-process__item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--c8-border, #e5e7eb);
  border-radius: 14px; padding: 1.25rem;
}
.c8-process__num {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c8-primary); color: #fff; font-weight: 700;
}
.c8-process__title { margin: 0 0 0.35rem; font-size: 1rem; }
.c8-process__desc { margin: 0; color: #6b7280; font-size: 0.875rem; }

/* Gallery — styles in c8-spa-layout.css */
.c8-gallery { background: transparent; }

/* Instagram — styles in c8-spa-layout.css */
.c8-instagram { background: transparent; }

/* Reviews */
.c8-review { padding: 1.75rem; height: 100%; }
.c8-review__text { margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.6; color: #374151; }
.c8-review__meta { display: flex; gap: 0.75rem; align-items: center; }
.c8-review__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.c8-review__name { font-style: normal; font-weight: 700; display: block; }
.c8-review__role { font-size: 0.8125rem; color: #6b7280; }

/* Video — layout in c8-spa-layout.css */
.c8-video { background: transparent; }

/* Team */
/* Team — styles in c8-spa-layout.css */
.c8-team { background: transparent; }

/* Blog */
.c8-blog-card__date { font-size: 0.8125rem; color: #6b7280; }
.c8-blog-card__excerpt { color: #6b7280; font-size: 0.9375rem; }

/* FAQ — styles in c8-spa-layout.css */
.c8-faq { background: transparent; }

/* Booking — styles in c8-spa-layout.css */
.c8-booking { background: transparent; }

/* Partners — styles in c8-spa-layout.css */
.c8-partners { background: transparent; }

.c8-empty { text-align: center; color: #6b7280; padding: 2rem; }

/* Animations */
.c8-animate { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.c8-animate.is-inview { opacity: 1; transform: none; }
.c8-animate--fade-in { transform: none; }
.c8-animate--zoom-in { transform: scale(.96); }
.c8-animate--slide-left { transform: translateX(-20px); }
.c8-animate--slide-right { transform: translateX(20px); }

/* =========================================================
   Widget markup compat (halink_home_dola_* sections)
   ========================================================= */
.c8-hero-section,
.section_slider {
	padding: 0;
	overflow: hidden;
	background: var(--c8-bg-light, #f7f8fa);
}
.c8-hero-section .swiper-slide img {
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	min-height: 280px;
	max-height: 640px;
	display: block;
}
.c8-hero-section .swiper-pagination-bullet-active {
	background: var(--c8-primary);
	width: 28px;
	border-radius: 999px;
}

.c8-policy-strip,
.section_chinhsach {
	padding-block: 2rem;
	background: #fff;
	border-bottom: 1px solid var(--c8-border, #e5e7eb);
}
.c8-policy-strip .border.rounded-3 {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: var(--c8-bg-light, #f7f8fa);
	border: 1px solid var(--c8-border, #e5e7eb);
	border-radius: 12px;
	height: 100%;
	transition: border-color .28s ease, box-shadow .28s ease;
}
.c8-policy-strip .border.rounded-3:hover {
	border-color: var(--c8-primary);
	box-shadow: 0 2px 8px rgba(31, 41, 55, .06);
}

.c8-about-section,
.section_about { padding-block: clamp(2.5rem, 5vw, 4rem); }
.c8-about-section img.img-fluid {
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(31, 41, 55, .08);
}
.c8-about-section .call-about {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 1rem 1.25rem;
	background: var(--c8-primary-light, #e6f5f2);
	border-radius: 999px;
}

.c8-services-section,
.section_dichvu {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background: var(--c8-bg-light, #f7f8fa);
}
.c8-services-section .card {
	height: 100%;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 2px rgba(31, 41, 55, .04);
	transition: transform .28s ease, box-shadow .28s ease;
}
.c8-services-section .card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(3, 147, 124, .12);
}
.c8-services-section .card-img-top {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.c8-products-section,
.section_sanpham {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background: #fff;
}
.c8-products-section .card {
	text-align: center;
	border: 0;
	box-shadow: 0 1px 2px rgba(31, 41, 55, .04);
	transition: transform .28s ease, box-shadow .28s ease;
}
.c8-products-section .card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 20px rgba(31, 41, 55, .08);
}
.c8-products-section .price,
.c8-products-section .woocommerce-Price-amount {
	color: var(--c8-danger, #dc2626);
	font-weight: 600;
}

.c8-booking-section,
.section_booking {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background: linear-gradient(135deg, #027a67 0%, var(--c8-primary) 50%, #026b5c 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.c8-booking-section .card {
	border: 0;
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(3, 147, 124, .12);
}
.c8-booking-form .form-control {
	background: var(--c8-bg-light, #f7f8fa);
}
.c8-booking-form.is-loading button[type="submit"] {
	opacity: .7;
	pointer-events: none;
}
.c8-booking-message {
	margin-top: 1rem;
	padding: .75rem 1rem;
	border-radius: 10px;
	font-size: .875rem;
	display: none;
}
.c8-booking-message.is-success {
	display: block;
	background: #dcfce7;
	color: var(--c8-success, #16a34a);
}
.c8-booking-message.is-error {
	display: block;
	background: #fee2e2;
	color: var(--c8-danger, #dc2626);
}

.c8-flashsale-section {
	background: linear-gradient(135deg, #027a67 0%, var(--c8-primary) 55%, #04a88f 100%);
	color: #fff;
	padding-block: clamp(2.5rem, 5vw, 4rem);
}
.c8-flashsale-section .c8-countdown {
	display: flex;
	align-items: center;
	gap: .5rem;
}
.c8-flashsale-section .c8-countdown__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 56px;
	padding: .5rem .75rem;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 10px;
}
.c8-flashsale-section .c8-countdown__num {
	font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.c8-flashsale-section .c8-countdown__label {
	font-size: .65rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	opacity: .8;
}

@media (max-width: 991px) {
	.c8-hero-section .swiper-slide img {
		aspect-ratio: 16 / 9;
		max-height: 420px;
	}
	.c8-about-section .call-about {
		border-radius: 12px;
		flex-direction: column;
		text-align: center;
	}
}
@media (max-width: 767px) {
	.c8-hero-section .swiper-slide img {
		aspect-ratio: 4 / 3;
		min-height: 220px;
		max-height: 320px;
	}
}
