/*Your custom css*/
#social-network{
	display:block;
	width:100%;
	text-align:right;
	margin-top:10px;
}

#social-network a{
	display: inline-block;
    width: 35px;
    height: 35px;
    border: 1px solid;
    text-align: center;
    font-size: 24px;
    background: #c4171d;
    color: #fff;
	transition:all .5s;
	*margin-left: 11px;
}

#social-network a:first-child{
	margin:0;
}

#social-network a.facebook{
	background: #3b5998;
}

#social-network a.twitter{
	background: #1da1f2;
}

#social-network a.google_plus{
	background: #307df3;
}


#social-network a.youtube{
	background: #f00;
}

#social-network a.instagram{
	background: #000;
}

#social-network a.pinterest{
	background: #e60023;
}

#social-network a.tiktok{
	background: #000;
	padding: 0;
	font-size: 0;
	line-height: 0;
	vertical-align: top;
}

#social-network a.tiktok img{
	display: block;
	width: 33px;
	height: 33px;
	object-fit: cover;
}

#social-network a.tiktok:hover{
	background: #fff;
}

#social-network a:hover{
	background: #fff;
    color: #c4171d;
}

#email-phone, #email-phone > _span{
	display:block;
	text-align:right;
}

#email-phone > span .fa{ margin-right:5px; }
#email-phone > span a{
	font-size:16px;
	color: #c4161c;
}
#email-phone > div a{
	font-size:16px;
	color: #c4161c;
}
#email-phone > span a:hover{
	text-decoration:none;
}

#search-form-head .search-form > label{
	display:none;
}
#search-form-head .search-form .search-submit .icon{ fill:#fff; }
#search-form-head .search-form .search-submit{
	bottom: 0;
    position: absolute;
    right: 0;
    border-radius: 0;
    background: #c4161c;
    top: 0;
}
#search-form-head .search-form .search-field{
	border-radius: 0;
}
#search-form-head .txt{
    text-align: left;
    margin-top: 6px;
    font-style: italic;
}

#w366-main-slider a[href*="tel"], #w366-main-slider a[href*="mail"]{
	background-repeat:no-repeat;
	display:block;
	width:100%;
	height:45px;
	box-shadow:none;
	text-align: left;
    color: #fff;
    font-size: 24px;
    padding-left: 49px;
    padding-top: 4px;
    letter-spacing: 4px;
	margin-top:5px;
}

#w366-main-slider a[href*="tel"]:hover, #w366-main-slider a[href*="mail"]:hover{
	text-decoration:none;
	color:#dddedc;
}

#w366-main-slider a[href*="tel"]{
	background:url(images/phone-bg.png);
	background-size: contain;
}

#w366-main-slider a[href*="mail"]{
	background:url(images/email-bg.png);
	background-size: contain;
}

#w366-main-slider .w-s-l .widget-title, .related.products > h2{ 
	position:relative;
	padding-left:20px;
	margin-bottom: 10px;
}
#w366-main-slider .w-s-l .widget-title:before, .related.products > h2:before{
	content: "";
    height: 15px;
	width:15px;
    background: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
	border-radius:50%;
	z-index:1;
	border:1px solid #9e1f28;
}

#w366-main-slider .w-s-l .widget-title:after, .related.products > h2:after{
	content: "";
    height: 7px;
    width: 7px;
    background: #9e1f28;
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 2;
}

.related.products > h2{ font-size:1.6em; margin-bottom:15px; }

.site-footer .widget-title{
	padding:0;
	margin:0;
	margin-bottom:15px;
}

.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{
	border-radius: 0;
    padding: 0 7px;
    top: 10px;
    right: 11px;
    line-height: 30px;
    background: #c4161c;
    min-width: auto;
    min-height: auto;
}

#top-menu.menu{
	border-top: 1px solid;
    border-bottom: 1px solid;
    padding-top: 9px;
    border-color: #ccc;
    text-align: center;
}

#top-menu.menu .current-menu-item a{
	border: solid 1px #c4161c;
	color:#c4161c;
}

.woocommerce div.product div.images .flex-control-thumbs{ margin:0 -5px; }
.woocommerce div.product div.images .flex-control-thumbs li{ padding:5px; }
.woocommerce div.product div.images .flex-control-thumbs li img{
	border:1px solid #ccc;
}

.woocommerce div.product .woocommerce-tabs .panel{
	padding:0 20px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
	padding:0 16px;
}
.woocommerce-Reviews #comments{ margin-top:20px !important; }
.woocommerce #reviews #comments h2{ margin:0; }
.woocommerce #review_form #respond{ margin-top:20px; }
.entry-summary a{ box-shadow:none; }
.entry-summary a:hover{ color:inherit; text-decoration:none;  }
.woocommerce .woocommerce-breadcrumb{ padding:20px 0; }
.woocommerce span.onsale{
	right:auto;
}
.wp-list-meta{ padding-left:20px; }
.woocommerce div.product .product_title{ font-size:2.1em; }

.woocommerce li.product div.images, .woocommerce ul.products li.product a img{
	margin-bottom:0;
}
.woocommerce div.product .wp-list-meta span.price{	color: #f10801; }
body:not(.home) .entry-content{ padding:0 30px !important; }

#secondary-theme{ padding-top:30px; }
#secondary-theme .widget .widget-title{
	margin:0;
}
.entry-title{ margin:0; }
#navi{ 
	border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: #ccc;
}
#navi .t{
	float: right;
    color: #f00;
	padding-top:3px;
}
.woocommerce .woocommerce-ordering{ margin-top:-30px; }

.read-more-out{ padding-top:10px; }
.btn-vm{ 
	background: #eb3136;
    color: #fff;
    padding: 6px 15px;
	transition:all .5s;
	border:1px solid;
}
.btn-vm:hover{
	background: #fff;
    color: #eb3136;
	text-decoration:none;
}
.info-new .entry-title{
	height:28px; 
	overflow:hidden;
}

/*
 * Nội dung trang / bài viết (#w366-main): theme gốc body 12px + tiêu đề 14px
 * khiến chữ quá nhỏ — scale lại toàn bộ typography trong vùng nội dung.
 */
body:not(.home):not(.twentyseventeen-front-page) #w366-main {
	font-size: 16px;
	line-height: 1.65;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .site-main article.hentry {
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	margin-bottom: 2rem;
	overflow: hidden;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-header {
	border: none;
	margin: 0;
	padding: 1.75rem 2rem 0;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-header .entry-title {
	color: #c4171d;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.35;
	margin: 0 0 0.25rem;
	text-transform: none;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content {
	border: none;
	color: #2a2a2a;
	font-size: 18px;
	line-height: 1.8;
	margin: 0;
	max-width: none;
	padding: 1rem 2rem 2.25rem !important;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content p,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content li,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content td,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content th,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content blockquote,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content figcaption {
	font-size: 18px;
	line-height: 1.8;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content p {
	margin: 0 0 1.25em;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content strong,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content b {
	font-weight: 700;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h1 {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 1.5em 0 0.75em;
	padding: 0;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h2 {
	color: #1a1a1a;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 1.75em 0 0.85em;
	padding: 0;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h3,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h4 {
	border-left: 4px solid #c4171d;
	color: #1a1a1a;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.45;
	margin: 2em 0 1em;
	padding: 0.4em 0 0.4em 0.85em;
	text-transform: uppercase;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h4 {
	font-size: 1.2rem;
	text-transform: none;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h3:first-of-type,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h2:first-of-type {
	margin-top: 1.25em;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content ul,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content ol {
	margin: 0 0 1.25em 1.25em;
	padding: 0;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content li {
	margin-bottom: 0.5em;
}

/* Ghi đè inline font-size từ editor (vd. 24pt, 12px…) */
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content p span,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content p font {
	/* font-size: inherit !important; */
	font-family: inherit !important;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:first-child {
	border-bottom: 1px solid #ececec;
	margin-bottom: 1.5em;
	padding-bottom: 1.25em;
	text-align: center;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:first-child,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:first-child span,
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:first-child strong {
	/* color: #800000 !important;
	font-size: 1.65rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important; */
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content img:not(.emoji) {
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	display: block;
	height: auto;
	margin: 1.25em auto 1.75em;
	max-width: 100%;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content img.emoji {
	border-radius: 0;
	box-shadow: none;
	display: inline;
	height: 1.2em;
	margin: 0 0.25em 0 0;
	vertical-align: -0.15em;
	width: 1.2em;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content a {
	border-bottom: 1px solid rgba(196, 23, 29, 0.35);
	box-shadow: none;
	color: #c4171d;
	text-decoration: none;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content a:hover {
	border-bottom-color: #c4171d;
	color: #9b1217;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content table {
	font-size: 17px;
	margin-bottom: 1.5em;
	width: 100%;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h3:last-of-type {
	margin-top: 2.5em;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h3:last-of-type + p {
	background: #f8f8f8;
	border: 1px solid #ececec;
	border-radius: 6px;
	font-size: 18px;
	line-height: 1.85;
	margin-bottom: 1.5em;
	padding: 1.35rem 1.5rem;
}

/* Lời kêu gọi cuối bài (đoạn chỉ có strong, không phải dòng tiêu đề đầu trang) */
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:has(> strong:only-child):not(:first-child) {
	background: #c4171d;
	border-radius: 6px;
	color: #fff;
	font-size: 19px;
	line-height: 1.65;
	margin-top: 1.5em;
	padding: 1.15rem 1.5rem;
	text-align: center;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:has(> strong:only-child):not(:first-child) strong {
	color: #fff;
	font-weight: 600;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:empty {
	display: none;
	margin: 0;
}

/* Đoạn có nền inline từ editor — ép chữ đủ lớn, dễ đọc */
body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content p[style*="background"] {
	font-size: 18px !important;
	line-height: 1.75 !important;
	padding: 1rem 1.35rem !important;
	border-radius: 6px;
}

body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-meta {
	font-size: 14px;
}

@media (max-width: 767px) {
	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-header,
	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content {
		padding-left: 1.15rem !important;
		padding-right: 1.15rem !important;
	}

	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-header .entry-title {
		font-size: 1.5rem;
	}

	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content,
	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content p,
	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content li {
		font-size: 17px;
	}

	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:first-child,
	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:first-child span,
	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content > p:first-child strong {
		font-size: 1.4rem !important;
	}

	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h3,
	body:not(.home):not(.twentyseventeen-front-page) #w366-main .entry-content h4 {
		font-size: 1.2rem;
	}
}