/*
Theme Name: phanbon
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.sheetaz-blog-category,
.sheetaz-single-post {
	position: relative;
	color: #17324d;
	background:
		radial-gradient(circle at top right, rgba(19, 180, 102, 0.12), transparent 26%),
		radial-gradient(circle at top left, rgba(84, 168, 255, 0.08), transparent 22%),
		linear-gradient(180deg, #fbfffd 0%, #ffffff 16%, #ffffff 100%);
}

.sheetaz-blog-category *,
.sheetaz-blog-category *::before,
.sheetaz-blog-category *::after,
.sheetaz-single-post *,
.sheetaz-single-post *::before,
.sheetaz-single-post *::after {
	box-sizing: border-box;
}

.sheetaz-blog-category__hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 32px;
	background: linear-gradient(180deg, rgba(242, 251, 247, 0.95), rgba(255, 255, 255, 0.98));
	border-bottom: 1px solid rgba(18, 78, 52, 0.08);
}

.sheetaz-blog-category__hero-bg {
	position: absolute;
	border-radius: 999px;
	filter: blur(8px);
	pointer-events: none;
}

.sheetaz-blog-category__hero-bg--one {
	top: -120px;
	right: -80px;
	width: 340px;
	height: 340px;
	background: radial-gradient(circle, rgba(33, 191, 115, 0.22), transparent 72%);
}

.sheetaz-blog-category__hero-bg--two {
	left: -120px;
	bottom: -120px;
	width: 260px;
	height: 260px;
	background: radial-gradient(circle, rgba(71, 138, 255, 0.14), transparent 74%);
}

.sheetaz-blog-category__hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
	gap: 32px;
	align-items: center;
}

.sheetaz-blog-category__hero-copy,
.sheetaz-blog-category__hero-tools,
.sheetaz-blog-category__tabs,
.sheetaz-blog-category__section-heading,
.sheetaz-blog-card,
.sheetaz-sidebar-card {
	position: relative;
	z-index: 1;
}

.sheetaz-blog-category__eyebrow,
.sheetaz-single-post__category {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	background: rgba(19, 180, 102, 0.11);
	color: #0f9c5a;
	font-size: 13px;
	font-weight: 700;
}

.sheetaz-blog-category__eyebrow {
	padding: 8px 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.sheetaz-blog-category__title,
.sheetaz-single-post__title {
	color: #132744;
	font-weight: 700;
}

.sheetaz-blog-category__title {
	margin: 16px 0 12px;
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.08;
}

.sheetaz-blog-category__description,
.sheetaz-single-post__excerpt {
	color: #58728d;
	font-size: 17px;
	line-height: 1.85;
}

.sheetaz-blog-category__description {
	max-width: 640px;
}

.sheetaz-blog-category__description p {
	margin-bottom: 0;
}

.sheetaz-blog-category__hero-tools,
.sheetaz-blog-card,
.sheetaz-sidebar-card,
.sheetaz-single-post__author-card,
.sheetaz-single-post__sidebar-card,
.sheetaz-single-post__comments,
.sheetaz-single-post__related-card {
	border: 1px solid rgba(16, 38, 61, 0.08);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 40px rgba(17, 35, 55, 0.06);
}

.sheetaz-blog-category__hero-tools {
	padding: 22px;
	backdrop-filter: blur(14px);
}

.sheetaz-blog-category__search {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 16px 18px;
	border: 1px solid rgba(19, 71, 50, 0.08);
	border-radius: 18px;
	background: #fff;
}

.sheetaz-blog-category__search-icon {
	display: inline-flex;
	width: 22px;
	height: 22px;
	color: #8ca1b6;
	flex-shrink: 0;
}

.sheetaz-blog-category__search-input {
	width: 100%;
	min-width: 0;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #17324d;
}

.sheetaz-blog-category__search-note,
.sheetaz-blog-category__meta,
.sheetaz-sidebar-card small,
.sheetaz-single-post__meta-text,
.sheetaz-single-post__related-meta {
	color: #7b90a6;
	font-size: 13px;
	line-height: 1.6;
}

.sheetaz-blog-category__search-note {
	margin: 14px 2px 0;
}

.sheetaz-blog-category__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.sheetaz-blog-category__tab,
.sheetaz-blog-category__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(19, 71, 50, 0.08);
	background: #fff;
	color: #24425f;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(17, 35, 55, 0.05);
}

.sheetaz-blog-category__tab {
	gap: 10px;
	padding: 10px 20px;
	border-radius: 15px;
	font-size: 14px;
}

.sheetaz-blog-category__tab.is-active,
.sheetaz-blog-category__pagination .page-numbers.current,
.sheetaz-blog-category__pagination .page-numbers:hover {
	background: linear-gradient(135deg, #13b466, #17c778);
	color: #fff;
	border-color: transparent;
}

.sheetaz-blog-category__tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(16, 38, 61, 0.06);
	font-size: 12px;
}

.sheetaz-blog-category__content {
	padding: 34px 0 72px;
}

.sheetaz-blog-category__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
}

.sheetaz-blog-category__section-heading {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: end;
	margin-bottom: 24px;
}

.sheetaz-blog-category__section-kicker {
	display: inline-block;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 3px solid #13b466;
	color: #143f62;
	font-size: 14px;
	font-weight: 700;
}

.sheetaz-blog-category__section-title {
	margin: 0;
	color: #10263d;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
}

.sheetaz-blog-category__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px 20px;
}

.sheetaz-blog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-width: 0;
}

.sheetaz-blog-card__thumb,
.sheetaz-single-post__latest-thumb,
.sheetaz-single-post__related-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 1.5 / 1;
	background: linear-gradient(135deg, #e7fff3, #f5fbff);
}

.sheetaz-featured-post__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: linear-gradient(135deg, #eefaf4, #f6fbff);
}

.sheetaz-blog-card__thumb img,
.sheetaz-featured-post__thumb img,
.sheetaz-single-post__latest-thumb img,
.sheetaz-single-post__related-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sheetaz-blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
}

.sheetaz-blog-card__title {
	min-height: calc(1.38em * 2);
	margin: 0;
	font-size: 22px;
	line-height: 1.38;
}

.sheetaz-blog-card__title a,
.sheetaz-featured-post__content h4 a,
.sheetaz-single-post__latest-content h4 a,
.sheetaz-single-post__related-body h3 a {
	color: #10263d;
	text-decoration: none;
}

.sheetaz-blog-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	min-height: calc(1.75em * 4);
	color: #627b93;
	font-size: 14px;
	line-height: 1.75;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.sheetaz-blog-card__meta,
.sheetaz-featured-post__meta,
.sheetaz-single-post__related-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(16, 38, 61, 0.08);
}

.sheetaz-blog-category__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 36px;
}

.sheetaz-blog-category__pagination .page-numbers {
	min-width: 48px;
	height: 48px;
	padding: 0 16px;
	border-radius: 16px;
}

.sheetaz-blog-category__sidebar .is-sticky-column,
.sheetaz-single-post__sidebar-col .is-sticky-column {
	position: sticky;
	top: 30px;
}

.sheetaz-single-post__sidebar-fallback {
	position: sticky;
	top: 30px;
}

.sheetaz-blog-category__sidebar .is-sticky-column__inner,
.sheetaz-blog-category__sidebar-stack,
.sheetaz-single-post__sidebar-col .is-sticky-column__inner,
.sheetaz-single-post__sidebar-stack {
	display: grid;
	gap: 22px;
}

.sheetaz-sidebar-card__head,
.sheetaz-sidebar-card__body {
	padding: 22px;
}

.sheetaz-sidebar-card__head h3,
.sheetaz-single-post__sidebar-card h3 {
	margin: 0;
	color: #10263d;
	font-size: 24px;
	line-height: 1.2;
}

.sheetaz-sidebar-category,
.sheetaz-single-post__toc-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 16px;
	background: #f8fbfd;
	color: #38526d;
	text-decoration: none;
}

.sheetaz-sidebar-category + .sheetaz-sidebar-category {
	margin-top: 10px;
}

.sheetaz-single-post .container {
	max-width: 1320px;
}

.sheetaz-single-post__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.sheetaz-single-post__main-col {
	flex: 0 0 66.666667%;
	max-width: 66.666667%;
}

.sheetaz-single-post__sidebar-col {
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
}

.sheetaz-single-post__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding: 26px 0 10px;
	color: #8ca0b5;
	font-size: 13px;
}

.sheetaz-single-post__breadcrumb a {
	color: #6e849a;
	text-decoration: none;
}

.sheetaz-single-post__category {
	padding: 8px 16px;
}

.sheetaz-single-post__title {
	margin: 18px 0 14px;
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.18;
}

.sheetaz-single-post__meta-share {
	display: flex;
	justify-content: space-between;
	gap: 18px 28px;
	align-items: center;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid rgba(16, 38, 61, 0.08);
}

.sheetaz-single-post__meta,
.sheetaz-single-post__share,
.sheetaz-single-post__author-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.sheetaz-single-post__author-badge,
.sheetaz-single-post__author-avatar span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, #12b566, #1fd986);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	flex-shrink: 0;
}

.sheetaz-single-post__share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(16, 38, 61, 0.08);
	border-radius: 14px;
	background: #fff;
	color: #27435f;
	text-decoration: none;
}

.sheetaz-single-post__share-btn .sheetaz-icon,
.sheetaz-single-post__author-socials .sheetaz-icon,
.sheetaz-single-post__social-links .sheetaz-icon {
	display: block;
	width: 18px;
	height: 18px;
}

.sheetaz-single-post__hero {
	overflow: hidden;
	margin-bottom: 28px;
	border-radius: 28px;
	background: linear-gradient(135deg, #effdf4, #f8fbff);
	box-shadow: 0 24px 60px rgba(17, 35, 55, 0.08);
}

.sheetaz-single-post__hero img {
	display: block;
	width: 100%;
	height: auto;
}

.sheetaz-single-post__content {
	color: #35506a;
	font-size: 16px;
	line-height: 1.9;
}

.sheetaz-single-post__content h2,
.sheetaz-single-post__content h3 {
	scroll-margin-top: 120px;
	color: #17324d;
	font-weight: 700;
}

.sheetaz-single-post__content h2 {
	margin: 32px 0 14px;
	font-size: clamp(26px, 3vw, 34px);
}

.sheetaz-single-post__content h3 {
	margin: 24px 0 12px;
	font-size: clamp(20px, 2.4vw, 26px);
}

.sheetaz-single-post__content p,
.sheetaz-single-post__content ul,
.sheetaz-single-post__content ol,
.sheetaz-single-post__content blockquote {
	margin-bottom: 18px;
}

.sheetaz-single-post__content img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 22px;
	box-shadow: 0 16px 36px rgba(17, 35, 55, 0.08);
}

.sheetaz-single-post__author-card {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto;
	gap: 22px;
	align-items: center;
	margin-top: 34px;
	padding: 26px;
}

.sheetaz-single-post__author-avatar {
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 50%;
}

.sheetaz-single-post__author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sheetaz-single-post__author-content h3 {
	margin: 0 0 8px;
	color: #17324d;
	font-size: 24px;
}

.sheetaz-single-post__author-content p {
	margin: 0;
	color: #678097;
	line-height: 1.8;
}

.sheetaz-single-post__sidebar-card {
	padding: 15px;
}

.sheetaz-single-post__toc {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.sheetaz-single-post__toc-link:hover,
.sheetaz-sidebar-category:hover,
.sheetaz-single-post__toc-link.is-active {
	background: rgba(19, 180, 102, 0.12);
	color: #0f9c5a;
}

.sheetaz-single-post__toc-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: rgba(18, 181, 102, 0.1);
	color: #11a05c;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.sheetaz-single-post__latest-list {
	display: grid;
	gap: 16px;
	margin-top: 18px;
}

.sheetaz-single-post__latest-item {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
}

.sheetaz-single-post__related {
	margin-top: 40px;
	padding-bottom: 36px;
}

.sheetaz-single-post__related-head h2 {
	color: #17324d;
	font-size: clamp(28px, 3vw, 38px);
}

.sheetaz-single-post__related-body {
	padding: 20px;
}

.sheetaz-blog-category [data-reveal],
.sheetaz-single-post [data-reveal] {
	opacity: 1 !important;
	transform: translateY(0) !important;
	transition: opacity 0.72s ease, transform 0.72s ease;
}

.sheetaz-blog-category [data-reveal].is-visible,
.sheetaz-single-post [data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

.sheetaz-blog-category__results.is-loading [data-archive-posts],
.sheetaz-blog-category__results.is-loading [data-archive-pagination],
.sheetaz-blog-category__results.is-loading [data-featured-posts] {
	opacity: 0.38;
	pointer-events: none;
	filter: blur(1px);
}

@media only screen and (max-width: 1100px) {
	.sheetaz-blog-category__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.sheetaz-blog-category__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sheetaz-blog-category__sidebar .is-sticky-column,
	.sheetaz-single-post__sidebar-col .is-sticky-column {
		position: static;
	}

	.sheetaz-single-post__sidebar-fallback {
		position: static;
	}

	.sheetaz-single-post__meta-share {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media only screen and (max-width: 849px) {
	.sheetaz-blog-category__hero {
		padding: 42px 0 24px;
	}

	.sheetaz-blog-category__hero-grid,
	.sheetaz-blog-category__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sheetaz-blog-category__section-heading {
		flex-direction: column;
		align-items: flex-start;
	}

	.sheetaz-single-post__title {
		font-size: 32px;
	}

	.sheetaz-single-post__author-card {
		grid-template-columns: 78px minmax(0, 1fr);
	}

	.sheetaz-single-post__main-col,
	.sheetaz-single-post__sidebar-col {
		flex-basis: 100%;
		max-width: 100%;
	}

	.sheetaz-single-post__author-socials {
		grid-column: 1 / -1;
	}
}

@media only screen and (max-width: 549px) {
	.sheetaz-blog-category__title {
		font-size: 30px;
	}

	.sheetaz-blog-category__tab {
		width: 100%;
		justify-content: space-between;
	}

	.sheetaz-blog-card__body,
	.sheetaz-sidebar-card__body,
	.sheetaz-single-post__author-card,
	.sheetaz-single-post__sidebar-card {
		padding: 18px;
	}

	.sheetaz-single-post__author-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.sheetaz-single-post__author-socials {
		grid-column: auto;
	}

	.sheetaz-single-post__latest-item {
		grid-template-columns: 76px minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sheetaz-blog-category [data-reveal],
	.sheetaz-single-post [data-reveal],
	.sheetaz-blog-card,
	.sheetaz-blog-card__thumb img,
	.sheetaz-blog-category__tab,
	.sheetaz-single-post__share-btn {
		transition: none !important;
		animation: none !important;
	}
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* Danh mục sản phẩm */
.dmsp-grid .box-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
}

.dmsp-grid .box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dmsp-grid .box-text {
    padding: 8px 3px 0;
    text-align: center;
}

.dmsp-grid .box-text h1,
.dmsp-grid .box-text h2,
.dmsp-grid .box-text h3,
.dmsp-grid .box-text h4,
.dmsp-grid .box-text h5,
.dmsp-grid .box-text h6 {
    margin: 0;
    line-height: 1.25;
}

/* Chỉ áp dụng trên điện thoại */
@media screen and (max-width: 549px) {
    .dmsp-grid > .col {
        flex-basis: 50% !important;
        max-width: 50% !important;
        padding: 0 6px 15px !important;
    }

    .dmsp-grid .box-text h1,
    .dmsp-grid .box-text h2,
    .dmsp-grid .box-text h3,
    .dmsp-grid .box-text h4,
    .dmsp-grid .box-text h5,
    .dmsp-grid .box-text h6 {
        font-size: 13px !important;
    }
}