/*
	Theme Name: HHT
	Description: Themes hỗ trợ Genesis Theme v2.7.3 and Wordpress v5.0 trở lên
	Template: genesis
*/

/* Defaults
------------------------------------------------------------ */
body {
  overflow-x: hidden !important;
}

html {
  scroll-behavior: smooth;
}

/* Reset cơ bản */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6,
p,
select,
textarea {
  color: #333;
  font-family: "Google Sans", sans-serif !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

blockquote,
input,
select,
textarea,
.author-box,
.sticky,
.taxonomy-description {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
}

input,
label,
select,
textarea {
  color: #333;
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

li,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol li {
  list-style-type: decimal;
}

strong,
b {
  font-weight: 700;
}

/* Hyperlinks
------------------------------------------------------------ */

a,
a:visited {
  color: #333;
  /* color: #1e1e1e; */
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a img {
  border: none;
}

/* Body
------------------------------------------------------------ */

body {
  /* background-color: #eeeeee9e; */
  background-color: #FFF;
}

::-moz-selection {
  background-color: #0d72c7;
  color: #fff;
}

::selection {
  background-color: #0d72c7;
  color: #fff;
}

/* Wrap
------------------------------------------------------------ */

.site-container {
  margin: 0 auto;
  width: 100%;
  padding: 0;
}

.wrap {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0;
}

/* Header
------------------------------------------------------------ */

.site-header {
  margin: 0 auto;
  height: 90px;
  width: 100%;
  background-color: #fff;
  position: fixed;
  top: 0;
  /* box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); */
  z-index: 1000;
  float: left;
}

.site-header .textwidget p {
  position: absolute;
  top: 2px;
  right: -270px;
  cursor: poGoogle Sans;
  background: #e10531;
  color: #fff;
  height: 45px;
  display: table;
  line-height: 45px;
  padding: 0 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.title-area {
  float: left;
  overflow: hidden;
  padding: 0;
  width: 270px;
  margin-left: -12px;
  height: 85px;
  margin-top: 10px;
}

.site-title {
  font-family: "Google Sans", Arial, sans-serif;
  font-size: 36px;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
  float: left;
  width: 100%;
  height: 100%;
}

.site-title a,
.site-title a:hover {
  color: #333;
  padding: 0;
  text-decoration: none;
  float: left;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
  background: url(images/loghht.png) no-repeat top left;
  background-size: 90px;
  margin-top: -5px;
}

.site-description {
  font-size: 13px;
  padding: 0;
  display: none;
}

.site-header .widget-area {
  /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header / Primary / Secondary Navigation
------------------------------------------------------------ */

.nav-primary {
  float: left;
  width: 100%;
  height: 50px;
  background: #333;
}

.menu-primary,
.menu-secondary,
.site-header .menu {
  clear: both;
  color: #333;
  font-size: 13px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}

.menu-primary ul,
.menu-secondary ul,
.site-header .menu ul {
  float: left;
  width: 100%;
}

.menu-primary li,
.menu-secondary li,
.site-header .menu li {
  float: left;
  list-style-type: none;
}

.menu-secondary a,
.site-header .menu a {
  color: #3f3f3f;
  display: block;
  padding: 12px 20px;
  position: relative;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.4s ease;
}

.menu-primary li a:active,
.menu-primary li a:hover,
.menu-primary .current_page_item a,
.menu-primary .current-cat a,
.menu-primary .current-menu-item a,
.menu-secondary li a:active,
.menu-secondary li a:hover,
.menu-secondary .current_page_item a,
.menu-secondary .current-cat a,
.menu-secondary .current-menu-item a,
.site-header .menu li a:active,
.site-header .menu li a:hover,
.site-header .menu .current_page_item a,
.site-header .menu .current-cat a,
.site-header .menu .current-menu-item a {
  color: #171616;
}

.menu-primary li li a,
.menu-primary li li a:link,
.menu-primary li li a:visited,
.menu-secondary li li a,
.menu-secondary li li a:link,
.menu-secondary li li a:visited,
.site-header .menu li li a,
.site-header .menu li li a:link,
.site-header .menu li li a:visited {
  background: none;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  color: #333;
  font-size: 16px;
  padding: 10px;
  position: relative;
  text-transform: none;
  width: 230px;
}

.menu-primary li li a:active,
.menu-primary li li a:hover,
.menu-secondary li li a:active,
.menu-secondary li li a:hover,
.site-header .menu li li a:active,
.site-header .menu li li a:hover {
  background-color: #171616;
  color: #fff;
}

.menu-primary li ul,
.menu-secondary li ul,
.site-header .menu li ul {
  height: auto;
  left: -9999px;
  margin: 0 0 0 -1px;
  position: absolute;
  width: 160px;
  z-index: 9999;
  padding-top: 18px;
}

.menu-primary li ul a,
.menu-secondary li ul a,
.site-header .menu li ul a {
  width: 140px;
}

/* .menu-primary li ul ul,
.menu-secondary li ul ul,
.site-header .menu li ul ul {
    margin: -36px 0 0 159px;
} */

.menu-primary li ul ul,
.menu-secondary li ul ul,
.site-header .menu li ul ul {
  margin: -64px 0 0 232px;
}

.menu li:hover ul ul,
.menu li.sfHover ul ul {
  left: -9999px;
}

.menu li:hover,
.menu li.sfHover {
  position: static;
}

ul.menu li:hover > ul,
ul.menu li.sfHover ul,
.site-header .menu li:hover > ul,
.site-header .menu li.sfHover ul {
  left: auto;
}

.menu-primary li a.sf-with-ul,
.menu-secondary li a.sf-with-ul,
.site-header .menu li a.sf-with-ul {
  padding-right: 25px;
}

.menu li a .sf-sub-indicator,
.menu li li a .sf-sub-indicator,
.menu li li li a .sf-sub-indicator {
  background: url(images/icon-plus.png) no-repeat;
  height: 16px;
  position: absolute;
  right: 8px;
  text-indent: -9999px;
  top: 10px;
  width: 16px;
}

#wpadminbar li:hover ul ul {
  left: 0;
}

/* Inner
------------------------------------------------------------ */

.site-inner {
  margin: 0 auto;
  overflow: visible;
  padding: 140px 0 40px;
  width: 1200px;
  box-sizing: border-box;
}

/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb {
  float: left;
  width: 100%;
  background: #e105311f;
  padding: 12px 0;
  font-size: 16px;
  margin: 141px auto auto;
}

.breadcrumb .wrap {
  width: 1200px;
  color: #e10531;
  font-weight: 500;
}

.breadcrumb a {
  color: #333;
  font-size: 16px;
  font-weight: 400;
}

.breadcrumb .label {
  margin: 0 5px;
  font-weight: 400;
  color: #333;
}

/* Content-Sidebar Wrap
------------------------------------------------------------ */

/* .content-sidebar-wrap {
	display: flex;
	justify-content: space-between;
	
} */
.content-sidebar-wrap {
  display: flex;
  justify-content: space-between;
  /* width: 800px !important; */
}

.content-sidebar .content-sidebar-wrap,
.full-width-content .content-sidebar-wrap,
.sidebar-content .content-sidebar-wrap {
  width: 100%;
}

.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
  float: right;
}

/* Content
------------------------------------------------------------ */

.content-sidebar .content,
.sidebar-content .content {
  width: 820px;
}

.sidebar-content .content,
.sidebar-sidebar-content .content {
  float: right;
  margin-left: 0;
  margin-right: 16px;
}

.full-width-content .content {
  width: 100%;
}

.page_blog .post {
  padding: 1rem 1rem 1.5rem;
  /* min-height: 100%;
    overflow: hidden;
    position: relative; */
  border-radius: 1.6rem;
  border: 0.1rem solid #f0f0f0;
  transition: 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.entry-content {
  overflow: hidden;
  text-align: justify;
}

.entry-content p {
  margin: 0 0 16px;
  text-align: justify;
}

blockquote {
  background: url(images/blockquote.png) no-repeat;
  border: none;
  margin: 5px 5px 20px;
  padding: 25px 30px 5px 70px;
}

blockquote p {
  color: #999;
  font-style: italic;
}

p.subscribe-to-comments {
  padding: 20px 0 10px;
}

.clear {
  clear: both;
}

.clear-line {
  border-bottom: 1px solid #ddd;
  clear: both;
  margin: 0 0 25px;
}

/* Headlines
------------------------------------------------------------ */

h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6 {
  font-family: "Google Sans", Arial, sans-serif;
  line-height: 1.35;
  margin: 0 0 10px;
}

h1 {
  font-size: 18px;
}

.taxonomy-description h1 {
  margin: 0;
}

h2,
h2 a,
h2 a:visited {
  font-size: 16px;
}

h2 a,
h2 a:visited {
  color: #333;
  font-family: "Google Sans", Arial, sans-serif;
}

h2 a:hover {
  color: #0d72c7;
  text-decoration: none;
}

.widget-area h2,
.widget-area h2 a {
  font-size: 16px;
  margin: 0 0 5px;
}

h3 {
  font-size: 16px;
}

h4 {
  font-size: 16px;
}

.taxonomy-description h1,
.widget-area .widgettitle {
  font-size: 16px;
  color: #333;
}

.widget-area .widgettitle a {
  color: #333;
  text-decoration: none;
}

/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {
  margin: 0;
  padding: 0 0 16px;
  text-align: justify;
}

.archive-page ul li,
.entry-content ul li {
  list-style-type: disc;
  margin: 0 0 0 30px;
  padding: 0;
  text-align: justify;
}

.entry-content ol li {
  margin: 0 0 0 35px;
}

.archive-page ul ul,
.entry-content ol ol,
.entry-content ul ul {
  padding: 0;
}

/* Post Info
------------------------------------------------------------ */

.entry-header .entry-meta {
  font-size: 13px;
  margin: -5px 0 16px;
}

/* Post Meta
------------------------------------------------------------ */

.entry-footer .entry-meta {
  border-top: 1px solid #ddd;
  clear: both;
  font-size: 13px;
  padding: 5px 0 0;
}

/* Images
------------------------------------------------------------ */

img {
  height: auto;
  max-width: 100%;
}

.avatar,
.featuredpage img,
.featuredpost img,
.post-image {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  padding: 4px;
}

.author-box .avatar {
  background-color: #fff;
  float: left;
  margin: 0 10px 0 0;
}

.post-image {
  margin: 0 10px 10px 0;
}

.comment-list li .avatar {
  background-color: #fff;
  float: right;
  margin: 5px 10px 10px 0px;
}

img.centered,
.aligncenter {
  display: block;
  margin: 0 auto 10px;
}

img.alignnone {
  display: inline;
  margin: 0 0 10px;
}

img.alignleft {
  display: inline;
  margin: 0 16px 10px 0;
}

img.alignright {
  display: inline;
  margin: 0 0 10px 16px;
}

.alignleft {
  float: left;
  margin: 0 16px 10px 0;
}

.alignright {
  float: right;
  margin: 0 0 10px 16px;
}

.wp-caption {
  padding: 0;
  text-align: center;
  width: auto !important;
}

p.wp-caption-text {
  font-size: 13px;
  margin: 5px 0;
  text-align: center;
}

.wp-smiley,
.wp-wink {
  border: none;
  float: none;
}

/* Post Navigation
------------------------------------------------------------ */

.pagination {
  font-size: 16px;
  overflow: hidden;
  padding: 20px 0;
  width: 100%;
  text-align: center;
}

.pagination li {
  display: inline;
}

.pagination li a,
.pagination li.disabled,
.pagination li a:hover,
.pagination li.active a {
  background: #f2f2f2;
  color: #333;
  padding: 8px 13px;
}

.pagination li a:hover,
.pagination li.active a {
  background: #ce2127;
  color: #fff;
}

/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
  display: inline;
  /* float: right; */
  width: 340px ;
  margin-top: 30px;
}

.sidebar-secondary {
  float: left;
  width: 150px;
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary {
  float: left;
  margin-left: 16px;
  margin-right: 0;
}

.content-sidebar-sidebar .sidebar-secondary {
  float: right;
}

.sidebar p {
  font-size: inherit;
}

/* .sidebar .widgettitle {
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 54px;
  text-transform: uppercase;
  margin-bottom: 18px;
} */

/* .sidebar .widget {
  background-color: #fff;
  margin: 0 0 16px;
  padding: 0 0 16px;
  float: left;
  width: 100%;
} */

.sidebar.widget-area ol,
.sidebar.widget-area ul,
.widget-area .textwidget,
.widget_tag_cloud div div {
  padding: 0 0px;
}

.sidebar.widget-area ul li,
.footer-widgets .widget-area ul li {
  /* border-bottom: 1px solid #ddd; */
  list-style-type: none;
  margin: 0 0 6px;
  padding: 0 0 0px;
  word-wrap: break-word;
}

.sidebar.widget-area ul ul li {
  border: none;
  margin: 0;
}

/* Buttons
------------------------------------------------------------ */

input[type="button"],
input[type="submit"] {
  background: #f2f2f2;
  cursor: poGoogle Sans;
  padding: 10px 20px;
  color: #333;
  -webkit-appearance: none;
}

input:hover[type="button"],
input:hover[type="submit"] {
  text-decoration: none;
}

/* Search Form
------------------------------------------------------------ */

.site-header .search-form {
  float: right;
  /* padding: 12px 0 0; */
  width: 120px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  height: 40px;
}

/* Footer
------------------------------------------------------------ */

.site-footer {
  float: left;
  clear: both;
  font-size: 16px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  background: #171616;
  color: #fff;
  padding: 14px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-footer p {
  color: #fff;
}

.site-footer a,
.site-footer a:visited {
  color: #fff;
}

/* Comments
------------------------------------------------------------ */

.entry-comments,
#respond {
  margin: 0 0 16px;
  overflow: hidden;
  float: left;
  width: 100%;
}

#author,
#comment,
#email,
#url {
  margin: 10px 5px 0 0;
  padding: 10px;
  width: 348px;
  float: left;
  background: #fff;
}

#comment {
  height: 90px;
  margin: 10px 0;
  width: 98%;
  background: #fff;
}

input#submit {
  float: left;
}

.ping-list {
  margin: 0 0 40px;
}

.comment-list ol,
.ping-list ol {
  padding: 10px;
}

.comment-list li,
.ping-list li {
  font-weight: bold;
  list-style-type: none;
  margin: 16px 0 5px;
  padding: 10px 16px;
}

.comment-list li ul li {
  list-style-type: none;
  margin-right: 0;
  background: #fff;
}

.comment-content {
  padding-left: 70px;
}

.comment-content p {
  font-size: 16px;
  margin: 0 0 16px;
}

.comment-list cite,
.ping-list cite {
  font-style: normal;
}

.comment-meta {
  font-size: 12px;
  margin: 0 0 5px;
}

.comment-meta a {
  color: #666;
}

.comment-reply {
  font-size: 13px;
  font-weight: 300;
}

.comment-reply a {
  background: #f2f2f2;
  color: #333;
  padding: 5px 10px;
}

.nocomments {
  text-align: center;
}

.entry-comments .pagination {
  display: block;
}

.bypostauthor {
}

.thread-alt,
.thread-even {
  background-color: #f5f5f5;
}

.alt,
.depth-1,
.even {
  border: 1px solid #ddd;
}

/*Slick
-------------------------------------------------------------------*/
.slick-slider {
  position: relative;
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: poGoogle Sans;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: "";
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
  outline: none;
}

[dir="rtl"] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}



.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

.slick-dots {
  text-align: center;
  margin: 0 35px;
  display: block !important;
}

.slick-dots li {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  padding: 0;
  cursor: poGoogle Sans;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 8px;
  height: 8px;
  padding: 5px;
  border-radius: 100px;
  cursor: poGoogle Sans;
  color: transparent;
  border: 0;
  outline: none;
  background: #636363;
}

.slick-dots li button:hover,
.slick-dots li button:focus,
.slick-dots li.slick-active button {
  background: #171616;
}

.section {
  /* float: left; */
  width: 100%;
}

/* footer */
.before_footer {
  position: relative;
  background: #e10531;
  padding: 40px 0;
  color: #fff;
  z-index: 1;
}
/* 
.before_footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
} */

.before_footer .wrap-section {
  display: flex;
  gap: 52px;
}

.before_footer .wrap-section > section:nth-child(1) {
  flex: 0 0 39%;
}

.before_footer .wrap-section > section:nth-child(2),
.before_footer .wrap-section > section:nth-child(3) {
  flex: 0 0 29%;
}

.before_footer p {
  color: #fff;
  text-align: justify;
}

.before_footer img {
  width:160px;
}

.before_footer li img {
  width: 140px;
  margin-top: 12px;
}

.before_footer .widget:first-of-type strong {
  font-size: 18px;
  color: #fff;
}

.before_footer li strong {
  font-weight: 700;
}

.before_footer .widget:first-child .widgettitle {
  background: url(images/logo_new.png) no-repeat top left;
  background-size: 160px;
  padding: 60px 0 0;
  margin: 0 0 16px;
}

.before_footer ul {
  list-style-type: none;
  flex-direction: column;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.1rem;
  margin-top: 12px;
}

.before_footer .widget:first-child ul li {
  display: flex;
  align-items: stretch;
  /* gap: 12px; */
  margin-top: 8px;
}

.before_footer .widget:first-child ul li i {
  margin: 3px 8px 0 0;
}

.before_footer ul li {
  margin-top: 8px;
}

.before_footer ul li a{
  color: #FFF;
}

.before_footer ol li {
  list-style-type: none;
  display: flex;
  gap: 8px;
  margin-top: 3px;
}

.before_footer ol img {
  width: 30px;
}

.before_footer .widget:first-child ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0px;
  color: #fff;
}

.before_footer .widget .footer-list .footer-item:nth-child(1),
.before_footer .widget .footer-list .footer-item:nth-child(2),
.before_footer .widget .footer-list .footer-item:nth-child(3),
.before_footer .widget .footer-list .footer-item:nth-child(4),
.before_footer .widget .footer-list .footer-item:nth-child(5),
.before_footer .widget .footer-list .footer-item:nth-child(6),
.before_footer .widget .footer-list .footer-item:nth-child(7) {
  margin-top: 12px;
}

.before_footer .widgettitle {
  color: #FFF;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  display: inline-block; /* để gạch chỉ nằm dưới chữ */
  padding-bottom: 8px;
}

.before_footer .widgettitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 2px;
  background: #FFF;
}

/* BLOG */
.content {
  max-width: 1200px;
  /* display: flex;
  justify-content: space-between;
  gap: 24px; */
  margin: 30px 0;
}

.product .entry-title {
  display: none;
}

.content h1 {
  color: #171616;
  text-transform: uppercase;
  font-size: 26px;
  font-weight: bold;
  margin: 0 0 16px;
}

.category .blog-wrapper {
  margin: 30px 0 40px;
}

.blog-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
  margin: 10px 0 40px;
}

.blog-wrapper .blog-item {
  padding: 1rem 1rem 1.5rem;
  /* min-height: 100%;
    overflow: hidden;
    position: relative; */
  border-radius: 1.6rem;
  border: 0.1rem solid #f0f0f0;
  transition: 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


.blog-wrapper img {
  border-radius: 16px;
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-wrapper  .blog-title a {
  color: #171616;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0.4rem;
  margin-top: 0.4rem;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-wrapper  .blog-meta{
  font-size: 14px;
  color: #777;
  margin-bottom: 0.4rem;
}

.blog-wrapper  p {
  /* color: #999; */
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.single-post .content img{
  width: 100%;
  object-fit: cover;
}

/* .page_blog .main-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
  margin: 30px 0 60px;
}

.page_blog img {
  border-radius: 1.6rem;
}

.page_blog .widget-item-title a {
  color: #171616;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0.4rem;
  margin-top: 0.4rem;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page_blog .post-info {
  font-size: 14px;
  color: #e10531;
  margin-bottom: 0.4rem;
}


.page_blog p {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
} */


/* POPUP */
.nhantuvan .widget_caldera_forms_widget {
    display: none;
}

.nhantuvan .widget_caldera_forms_widget .widget-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    padding: 20px;
    z-index: 3000;
    border-radius: 20px;
    max-width: 650px;
}

.content-contact .widget p,
.nhantuvan .widget_caldera_forms_widget p {
    font-size: 18px;
}

.nhantuvan .label{
  
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #FFF;
    text-align: center;
}

.content-contact .widget_caldera_forms_widget input,
.content-lienhe form input,
.nhantuvan .widget_caldera_forms_widget input {
    height: 50px;
    font-size: 16px;
    border-radius: 5px;
    background-color: #FFF !important;
    border: 1px solid #FFF !important;
    box-shadow: none;
}

.content-contact .widget_caldera_forms_widget textarea,
.content-lienhe form textarea,
.nhantuvan .widget_caldera_forms_widget textarea {
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #FFF !important;
    background-color: #FFF !important;
    box-shadow: none;
}

.content-contact .widget_caldera_forms_widget input[type="submit"],
.content-lienhe form input[type="submit"],
.nhantuvan .widget_caldera_forms_widget input[type="submit"] {
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 40px;
    border: 1px solid #171616 !important;
    background-color: #171616 !important;
    color: #fff;
    display: table !important;
    margin: 0;
    transition: background 0.3s ease;
}


.nhantuvan .widget_caldera_forms_widget {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.nhantuvan .widget_caldera_forms_widget .widget-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
     background-color: #e10531;
    padding: 20px 40px;
    z-index: 3000;
    border-radius: 20px;
}

.nhantuvan .widget_caldera_forms_widget .widgettitle {
    width: 20px;
    height: 20px;
    position: absolute;
    right: -21px;
    top: -21px;
    border: 1px solid #FFF;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    margin: 0 !important;
}

.nhantuvan .widget_caldera_forms_widget p {
    margin-bottom: 20px;
}

.nhantuvan .widget_caldera_forms_widget.open { display: block; }


/* Form tra góp */
.tragop .caia_code_widget{
  position: fixed;
  background: rgba(0,0,0,.5);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.tragop .caia_code_widget .widget-wrap{
      position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 600px;
    background-color: #e10531;
    padding: 20px 40px;
    z-index: 3000;
    border-radius: 20px;
}

.cff-form-title{
  font-size: 24px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #FFF;
    text-align: center;
}

.cp_cff_13 #fbuilder .fform {
    margin-bottom: 0px !important;
}

.tragop #cp_calculatedfieldsf_pform_1 #fieldlist_1 .fields{
  display:flex;
  align-items:center;
  gap: 18px;
  margin: 0 0 6px 0;
}

/* label bên trái */
.tragop #cp_calculatedfieldsf_pform_1 #fieldlist_1 .fields > label{
  width: 200px;
  min-width: 200px;
  margin:0 !important;
  font-size:16px;
  font-weight:400;
  color:#FFF;
  line-height: 1.2;
   font-family: "Google Sans", sans-serif 
}

/* input/select giống ảnh */
.tragop #cp_calculatedfieldsf_pform_1 input[type="text"],
.tragop #cp_calculatedfieldsf_pform_1 input[type="email"],
.tragop #cp_calculatedfieldsf_pform_1 input[type="number"],
.tragop #cp_calculatedfieldsf_pform_1 select,
.tragop #cp_calculatedfieldsf_pform_1 textarea{
  width:225% !important;
  height:40px;
  border:1px solid #cbd5e1 !important;
  border-radius:6px;
  padding: 0 14px;
  font-size:16px;
  color:#111;
  background:#fff !important;
  box-shadow:none !important;

}

.cp_cff_13 #fbuilder .r {
    color: #FFCC00 !important;
}

.cp_cff_13 #fbuilder span.uh {
  display: none;
}

.cp_cff_13 #fbuilder input[type=submit]{
      text-transform: uppercase;
    font-weight: 500;
    padding: 0 40px;
    border: 1px solid #171616 !important;
    background-color: #171616 !important;
    color: #fff;
    display: table !important;
    margin: auto;
    transition: background 0.3s ease;
     font-family: "Google Sans", sans-serif 
}

/* nút X */
.tragop .caia_code_widget .widgettitle{
  width: 20px;
  height: 20px;
  position: absolute;
  right: -21px;
  top: -21px;
  border: 1px solid #FFF;
  color: #fff;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  margin: 0 !important;
  line-height: 20px;
}

/* mở */
.tragop .caia_code_widget.open{ display:block; }

.aside-box {
  display: block;
  position: relative;
  width: 340px;
  margin: 30px 0 60px;
  padding: 1rem 1rem 1.5rem;
  border-radius: 1.6rem;
  border: 0.1rem solid #f0f0f0;
  transition: 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  align-self: flex-start;
}

.aside-box h2 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  /* Căn giữa theo chiều ngang */
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background-color: #171616;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 1.5rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 1;
  width: 180px;
}

.aside-box .nd {
  margin-top: 40px;
  row-gap: 1.2rem;
  flex-direction: column;
  display: flex;
  flex-wrap: wrap;
}

.aside-box .nd ul {
  list-style-type: none;
  font-size: 16px;
}

.aside-box .box-info {
  column-gap: 1.2rem;
  border-radius: 4rem;
  border: 0.1rem solid #f0f0f0;
  padding: 0.6rem 2.4rem 0.6rem 0.6rem;
  display: flex;
  align-items: center;
}

.aside-box .box-info p {
  width: 45px;
  height: 45px;
  border-radius: 10rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.53);
  background: linear-gradient(
    139deg,
    #121214 12.3%,
    #505256 36.76%,
    #94999f 64.85%,
    #212124 80.68%,
    #5d6064 92.45%,
    #9599a0 102.86%
  );
  box-shadow: 0 0.4rem 0.6rem 0 rgba(255, 255, 255, 0.6) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.aside-box .box-info img {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  animation: swing ease-in-out 0.1s infinite alternate;
  margin: 0;
}

@keyframes swing {
  0% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(-8deg);
  }
}

.aside-box .box-info .text-m,
.aside-box .box-info a {
  color: #171616;
  font-weight: 600;
  transition: 0.4s ease;
}

/* liên hệ */
.content-lienhe {
  margin-top: 5px;
  display: flex;
  z-index: 1;
  padding: 1rem;
  overflow: hidden;
  position: relative;
  border-radius: 2.4rem;
  background-color: white;
  box-shadow: 1rem 1rem 4rem 0 rgba(0, 0, 0, 0.06);
}

.content-lienhe > * {
  flex: 1;
}

.contact-section {
  flex: 0 0 55%;
  padding: 32px;
  row-gap: 12px;
  position: relative;
  border-radius: 1.4rem;
  flex-direction: column;
  background-color: #e105311f;
  display: flex;
  flex-wrap: wrap;
}

.contact-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #171616;
}

.contact-section h3 {
  font-size: 20px;
  font-weight: 700;
}

.contact-section ul {
  list-style-type: none;
  flex-direction: column;
  display: flex;
  flex-wrap: wrap;
  row-gap: 1rem;
}

.contact-section li {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.contact-section i {
  margin-top: 3px;
}

.form_lienhe {
  flex: 0 0 45%;
  padding: 32px;
}

.form_lienhe h2 {
  font-size: 28px;
  font-weight: 700;
  color: #171616;
  text-align: center;
  text-transform: uppercase;
}

.caldera-grid .row {
  margin-bottom: 5px;
}

.caldera-grid .form-control {
  outline: 0 !important;
  width: 100%;
  color: #333 !important;
  display: block;
  line-height: 1.4 !important;
  font-size: 16px !important;
  border-radius: 12px !important;
  padding: 1rem 1.4rem !important;
  background-color: transparent !important;
  border: 0.1rem solid #333 !important;
  transition: 0.4s ease;
  border-color: rgb(217, 217, 217);
}

.caldera-grid select,
.caldera-grid input {
  height: 42px !important;
  padding: 1rem 1.4rem !important;
}

.caldera-grid input[type="file"] {
  display: none !important;
}

.caldera-grid input[type="submit"] {
  width: 100%;
  color: white;
  font-size: 16px;
  line-height: 0px !important;
  background-color: #e10531;
  border-radius: 8px !important;
  padding: 1rem !important;
  height: 50px !important;
}

.caldera-grid .btn-default:hover,
.caldera-grid .btn-default:focus,
.caldera-grid .btn-default.focus,
.caldera-grid .btn-default:active,
.caldera-grid .btn-default.active,
.open > .dropdown-toggle.caldera-grid .btn-default {
  color: white !important;
  background-color: #e10531 !important;
}

.caldera-grid .form-control:focus {
  border: 1px solid #171616 !important;
  box-shadow: none !important;
}

.caldera-grid .has-error .form-control:focus {
  border-color: red !important;
}

/* Trang chủ */


/* Container */
.woocommerce-product-search {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 700px;
  margin: 20px auto;
  border: 1px solid #ddd;
  border-radius: 30px;
  overflow: hidden;
  background: #fff !important;
}

/* Ô nhập */
.woocommerce-product-search .search-field {
  flex: 1;
  padding: 12px 18px;
  border: none;
  outline: none;
  font-size: 16px;
  background: #fff !important;
}

/* Nút bấm */
.woocommerce-product-search button {
  padding: 14px 25px;
  border: none;
  background: #e10531;
  color: #fff;
  cursor: poGoogle Sans;
  transition: all 0.3s ease;
  font-size: 16px;
}

.header-widget-area .caia_code_widget .widget-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
} 

.header-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.header-cart-link .cart-icon {
  font-size: 22px;
  line-height: 1;
  color: #171616;
}
.header-cart-link .cart-count {
  position: absolute;
  top: -18px;
  right: -12px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  padding: 0 5px;
}

.header-cart {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}
.header-cart-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.header-cart .cart-count {
  font-weight: 600;
  line-height: 1;
}

.mini-cart-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 320px;
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 9999;
}

/* Hiện khi hover/focus */
.header-cart:hover .mini-cart-dropdown,
.header-cart:focus-within .mini-cart-dropdown,
.header-cart.is-open .mini-cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Một ít tinh chỉnh nút trong mini cart */
.mini-cart-dropdown .woocommerce-mini-cart__buttons a.button {
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

.woo-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #171616;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.woo-login-btn:hover {
  background: #e10531;
}

/* Header Main */

.header-main-widget-area {
  margin: 90px auto 0px;
  background-color: #e10531;
  border-top: 1px solid #e10531;
  border-bottom: 1px solid #e10531;
  position: fixed;
  width: 100%;
  z-index: 100;
}

.header-main-widget-area .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Active cho menu item hiện tại */
/* .menu-header-main-container .menu .current-menu-item > a,
.menu-header-main-container .menu .current_page_item > a,
.menu-header-main-container .menu .current-menu-parent > a {
  color: #e10531;
} */

#menu-header > li.current-menu-item > a,
#menu-header > li.current_page_item > a {
  color: #FFCC00;
}

.menu-header-main-container .menu li a:hover {
  color: #e10531;
}


#woocommerce_product_categories-2 ul.children li {
  position: relative;
  white-space: nowrap;
  list-style: none;
}
#woocommerce_product_categories-2 ul.children li.cat-parent > a::after {
  content: "▸";
  position: absolute;
  right: 12px;
  font-size: 16px;
}
#woocommerce_product_categories-2 ul.children li:hover > a,
#woocommerce_product_categories-2 ul.children li:focus-within > a {
  color: #e10531;
  background: #e105311f;
}

/* ===== TOP-LEVEL ===== */
.widget_nav_menu {
  position: relative;
  z-index: 1000;
}

.widget_nav_menu .menu {
  display: flex;
  gap: 0px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget_nav_menu .menu > .menu-item {
  position: relative;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  white-space: nowrap;
}
.widget_nav_menu .menu > .menu-item > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #FFF;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
  box-sizing: border-box;
 
}
.widget_nav_menu .menu > .menu-item > a:hover {
  color: #FFCC00;
}
.widget_nav_menu .menu > .menu-item.menu-item-has-children > a::after {
  content: "▾";
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 12px;
  opacity: 0.85;
}

.shop-wrapper .product-categories > .cat-item:last-child,
 .shop-wrapper .product-brand-list > .cat-item:last-child,
  .shop-wrapper .woocommerce-widget-layered-nav-list__item:last-child{
    border-bottom: none;
}


/* ===== SUB-MENU CẤP 1: KHÔNG KHOẢNG HỞ, DÍNH VỚI NHAU ===== */
.menu-item-has-children > .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
  z-index: 999;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

/* Item trong submenu: dính nhau */
.sub-menu > li {
  position: relative;
}
.sub-menu > li + li > a {
  border-top: 1px solid #ececec;
}

/* Anchor: là flex container, cho phép co */
.sub-menu > li > a {
  position: relative;
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  background: transparent;
  transition: background 0.15s, color 0.15s;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
   font-weight: 400;
}

.sub-menu > li > a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sub-menu > li > a:hover {
  background: #e105311f;
}

.sub-menu > li > a .label {
  flex: 1 1 auto;
  min-width: 0; /* QUAN TRỌNG */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}

.sub-menu > li.menu-item-has-children > a::after,
.sub-menu .menu-item-has-children > a::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: var(--submenu-arrow-w);
  text-align: right;
  opacity: 0.7;
  line-height: 1;
}

/* ===== SUB-MENU CẤP 2: bám theo đúng item cha, cũng cắt chữ ===== */
.sub-menu > li.menu-item-has-children {
  position: relative;
}
.sub-menu > li.menu-item-has-children > .sub-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 220px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 999;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.sub-menu > li.menu-item-has-children:hover > .sub-menu,
.sub-menu > li.menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.sub-menu .sub-menu > li > a {
  padding: 10px 16px;
}
.sub-menu .sub-menu > li > a .label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}
.sub-menu .sub-menu > li + li > a {
  border-top: 1px solid #ececec;
}

/* Mũi tên cấp 2 */
.sub-menu .menu-item-has-children > a::after {
  content: "›";
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
  opacity: 0.7;
  margin-left: 8px;
  align-self: center;
}

/* Vị trí ban đầu của widget */
body.home #woocommerce_product_categories-2 {
  position: relative;
}

body.home #woocommerce_product_categories-2 .product-categories {
  display: block !important;
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  border: 1px solid #eaeaea;
  border-top: none;
  background: #fff;
  border-radius: 0 0 12px 12px;
  z-index: 999;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.home.is-scrolled #woocommerce_product_categories-2 .product-categories {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
}

body.home
  #woocommerce_product_categories-2
  .product-categories
  > li:nth-child(n + 12) {
  display: none;
}

/* Trang chủ */
.content-banner .wrap {
  position: relative;
  padding-top: 152px;
}

.content-banner .slick-list {
  overflow: hidden;
}

.content-banner .slick-track {
  display: flex;
  justify-content: flex-end;
}

.content-banner .slick-slide {
  width: 100% !important;
  margin-left: auto;
  margin-right: 0;
}

.content-banner .slick-slide img {
  width: 100%;
  height: 500px !important;
  object-fit: cover;
  border-radius: 12px;
}

.content-quytrinh {
  margin: 70px auto 40px;
}

.content-quytrinh .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.content-quytrinh .mainposts {
  background: #e105311f;
  border-radius: 5px;
  padding: 42px 24px 16px;
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
  border: 1px solid #e9e9e9;
  border-bottom: 3px solid #e10531;
}

.content-quytrinh img {
  position: absolute;
  left: 50%;
  top: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.content-quytrinh .title {
  font-size: 16px;
  color: #000;
  font-weight: bold;
  vertical-align: bottom;
  clear: both;
  margin: 0;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.content-feature_product{
  margin: 70px auto 40px;
   
}

.content-feature_product .wrap{
      background-color: rgb(242, 242, 242);
       border-radius: 10px;
    padding: 24px 32px 24px;
}

.content-feature_product .widget-title {
   position: relative;
   font-size: 28px;
   font-weight: 600;
   color: #e10531;
   margin-bottom: 36px; 
   text-transform: uppercase;
   text-align: center; /* căn giữa chữ */
}

.content-feature_product .widget-title::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: -16px; 
   width: 100%;
   height:1px;
   background-color: #e10531; 
}

.content-feature_product .product_list_widget{
   display: flex;
   gap: 24px;
}

.content-feature_product .product_list_widget li {
   display: flex;
   flex-direction: column;
   background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    padding: 12px 12px 16px 12px !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 350px;
}

.content-feature_product .product_list_widget .slick-slide {
  margin: 0 8px; 
}

.content-feature_product .product_list_widget .slick-list {
  margin: 0 -8px; 
}


.content-feature_product .product_list_widget li a img{
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    margin: 0 0 10px;
    box-shadow: none;
    border-radius: 8px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.content-feature_product .product_list_widget .product-title a {
  display: inline-block; /* Không dùng block hay -webkit-box */
  font-size: 16px;
  font-weight: 500;
  color: #171616;
  line-height: 1.4em;
  max-height: calc(1.4em * 2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  height: 48px;
}



.content-feature_product .price {
  display: flex;
  gap: 12px;
  align-items: center;
}

 .content-feature_product .price-old {
  font-size: 14px;
  font-weight: 400;
  color: #b3b1b1; 
  text-decoration: line-through;
}

.content-feature_product .price-new, .content-feature_product  .price-current {
      font-size: 16px;
    font-weight: 500;
    color: #e10531;
}

.content-feature_product .widget-add-to-cart a{
  display: inline-block !important;
    margin-top: 8px;
    color: #fff;
    background-color: #171616;
    font-size: 14px;
    font-weight: 400 !important;
    padding: 10px 16px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
    background-color: #171616;
    text-decoration: none;
    background-image: none;
    color: #FFF;
}


.content-product-sale{
  margin: 70px auto 40px;
   
}

.content-product-sale .wrap{
   background: rgb(242, 242, 242);
       border-radius: 10px;
    padding: 24px 32px 42px;
}

.content-product-sale .widget-title {
   position: relative;
   font-size: 28px;
   font-weight: 600;
   color: #e10531;
   margin-bottom: 36px; 
   text-transform: uppercase;
   text-align: center; /* căn giữa chữ */
}

.content-product-sale .widget-title::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: -16px; 
   width: 100%;
   height:1px;
   background-color: #e10531; 
}

.content-product-sale .product_list_widget{
   display: flex;
   gap: 24px;
}

.content-product-sale  li {
  position: relative;
   display: flex;
   flex-direction: column;
   background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    padding: 12px 12px 16px 12px !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-product-sale .onsale{
  position: absolute;
      top: 8px;
    right: 8px;
    left: auto;
    margin: -.5em -.5em 0 0;
    min-height: 3.236em;
    min-width: 3.236em;
    padding: 10px;
    font-size: 1em;
    font-weight: 700;
    position: absolute;
    text-align: center;
    border-radius: 100%;
    background-color: #e10531;
    color: #fff;
    font-size: .857em;
    z-index: 9;

}

.content-product-sale .slick-slide {
  margin: 0 8px !important; 
}

.content-product-sale  .slick-list {
  margin: 0 -8px !important; 
}


.content-product-sale li a img{
    width: 100% !important;
    height: 240px !important;
    display: block !important;
    margin: 0 0 10px;
    box-shadow: none;
    border-radius: 8px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.content-product-sale .wc-onsale-title a {
    font-size: 14px;
    font-weight: 500;
    color: #171616;
    display: -webkit-box;        
    -webkit-line-clamp: 2;            
    -webkit-box-orient: vertical;     
    overflow: hidden;               
    text-overflow: ellipsis;         
    line-height: 1.4em;              
    max-height: calc(1.4em * 2);   
        height: 42px;
}


.content-product-sale .price {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

 .content-product-sale .price-old {
  font-size: 14px;
  font-weight: 400;
  color: #b3b1b1; 
  text-decoration: line-through;
}

.content-product-sale .price-new, .content-product-sale  .price-current {
      font-size: 16px;
    font-weight: 500;
    color: #e10531;
}

.content-product-sale .add_to_cart_button {
  display: inline-block !important;
    margin-top: 8px;
    color: #fff;
    background-color: #171616;
    font-size: 14px;
    font-weight: 400 !important;
    padding:8px 16px;
    border-radius: 6px;
}

/* .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
    background-color: #171616;
    text-decoration: none;
    background-image: none;
    color: #FFF;
} */


/* Ẩn chữ mặc định */
.slick-prev,
.slick-next {
  font-size: 0;
  background: #171616;
  border: none;
  border-radius: 50%; 
  width: 40px;
  height: 40px;
  cursor: poGoogle Sans;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/* Thêm mũi tên tùy chỉnh */
.slick-prev::before,
.slick-next::before {
  font-size: 18px;
  color: #fff;
  line-height: 40px;
  display: block;
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
}

/* Mũi tên trái */
.slick-prev::before {
  content: "\f104"; 
}

/* Mũi tên phải */
.slick-next::before {
  content: "\f105"; 
}

/* Vị trí nút */
.slick-prev {
  left: -50px;
}

.slick-next {
  right: -50px;
}

.content-feedback-title, .content-uudiem-title {
  margin: 70px auto 0px;
}


.content-feedback-title .widget-title, .content-uudiem-title .widget-title, .content-gioithieu .widgettitle{
  font-size: 28px;
  font-weight: 700;
  color: #171616;
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.content-feedback .wrap {
  /* display: flex; */
  gap: 24px;
}

.content-feedback .mainposts{
     padding: 28px;
     background-color: rgb(242, 242, 242);
    border-radius: 8px;
    align-items: center;
    text-align: center;
    min-height: 320px;
}

.content-feedback .mainposts img{
    width: 80px;    
  height: 80px;     
  border-radius: 50%;
  object-fit: cover; 
  margin: auto;
}

.content-feedback .wrap .slick-slide {
  margin: 0 12px; 
}

.content-feedback .wrap .slick-list {
  margin: 0 -12px; 
}

.content-feedback .title {
  font-size: 17px;
  font-weight: 600;
  margin:12px auto 4px;
  color: #000;
}

.content-feedback .noidung{
  font-style: italic;
}

.content-feedback .slick-prev
 {
    left: -20px;
}

.content-feedback .slick-next {
    right: -20px;
}

.content-uudiem .wrap{
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 24px;
}

.content-uudiem .wrap section{
  padding: 28px;
    background-color: rgb(242, 242, 242);
    border-radius: 8px;
    min-height: 320px;

}

.content-uudiem .wrap p{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.content-uudiem .wrap br{
  display: none;
}

.content-uudiem .wrap strong{
      font-size: 18px;
    font-weight: 600;
    color: #e10531;
    margin: 6px 0px;

}

.content-gioithieu{
  margin: 70px auto;
}

.content-gioithieu p{
  text-align: justify;
}

.content-news{
  margin: 80px auto 70px;
}

.content-news h2{
   font-size: 28px;
   font-weight: 700;
   color: #171616;
   text-align: center;
   margin-bottom: 24px; 
   text-transform: uppercase;
}

.content-news .post{
       display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-news .list-info{
     padding: 12px 16px;
}

.content-news .post h3{
  color: #171616;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: color 0.3s;
    height: 48px;
}

.content-news .post img{
      display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0px 0px;
}

.content-news .post span{
  font-size: 14px;
    color: #888;
   
}

.content-news .wrap .slick-slide {
  margin: 0 12px; 
}

.content-news .wrap .slick-list {
  margin: 0 -12px; 
}

.content-news .slick-prev
 {
    left: -20px;
}

.content-news .slick-next {
    right: -20px;
}

.content-news .slick-track{
margin-bottom:20px
}

.home .site-inner{
  display: none;
}

.content-form  {
  margin: 70px auto 40px;
  position: relative;
  background: #e105311f;
  padding: 40px 0 30px;
  color: #fff;
  z-index: 1;
}

/* .content-form ::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.07);
  z-index: -1;
} */



.content-form .wrap {
  display: flex;
  gap: 72px; 
}

.content-form .wrap > :first-child {
  flex: 0 0 56%; 
}

.content-form .wrap > :last-child {
  flex: 0 0 40%; 
}

.content-form .widget-title {
    font-size: 28px;
    font-weight: 600;
    color: #e10531 ;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.content-form p {
    /* color: #FFF; */
    font-size: 16px;
    text-align: justify;
}

.content-form .form-control {
    outline: 0 !important;
    width: 100%;
    color: #333 !important;
    display: block;
    line-height: 1.4 !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    padding: 1rem 1.4rem !important;
    background-color: #FFF !important;
    border: none !important;
    transition: 0.4s 
ease;
    border-color: rgb(217, 217, 217);
}

.content-form input[type="submit"] {
    width: 20%;
    color: white;
    font-size: 16px;
    line-height: 0px !important;
    background-color: #e10531;
    border-radius: 8px !important;
    padding: 1rem !important;
    height: 40px !important;
    border-color: #e10531;
}

.caldera-grid .col-xs-1, .caldera-grid .col-sm-1, .caldera-grid .col-md-1, .caldera-grid .col-lg-1, .caldera-grid .col-xs-2, .caldera-grid .col-sm-2, .caldera-grid .col-md-2, .caldera-grid .col-lg-2, .caldera-grid .col-xs-3, .caldera-grid .col-sm-3, .caldera-grid .col-md-3, .caldera-grid .col-lg-3, .caldera-grid .col-xs-4, .caldera-grid .col-sm-4, .caldera-grid .col-md-4, .caldera-grid .col-lg-4, .caldera-grid .col-xs-5, .caldera-grid .col-sm-5, .caldera-grid .col-md-5, .caldera-grid .col-lg-5, .caldera-grid .col-xs-6, .caldera-grid .col-sm-6, .caldera-grid .col-md-6, .caldera-grid .col-lg-6, .caldera-grid .col-xs-7, .caldera-grid .col-sm-7, .caldera-grid .col-md-7, .caldera-grid .col-lg-7, .caldera-grid .col-xs-8, .caldera-grid .col-sm-8, .caldera-grid .col-md-8, .caldera-grid .col-lg-8, .caldera-grid .col-xs-9, .caldera-grid .col-sm-9, .caldera-grid .col-md-9, .caldera-grid .col-lg-9, .caldera-grid .col-xs-10, .caldera-grid .col-sm-10, .caldera-grid .col-md-10, .caldera-grid .col-lg-10, .caldera-grid .col-xs-11, .caldera-grid .col-sm-11, .caldera-grid .col-md-11, .caldera-grid .col-lg-11, .caldera-grid .col-xs-12, .caldera-grid .col-sm-12, .caldera-grid .col-md-12, .caldera-grid .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 0px;
    padding-right: 0px;
}

.category .site-inner{
  padding: 160px 0 40px;
}

/* Pagination */
.pagination {
  margin: 6px auto 0px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 12px;
  border: 1px solid #171616;
  border-radius: 6px;

  color: #333;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 16px;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: #171616;
  color: #fff;
}

/* MENU CƠ BẢN */
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children > a {
  display: block;
  text-decoration: none;
  color: #333;
}

.menu-header-main-container .menu .current-menu-item > a,
.menu-header-main-container .menu .current_page_item > a,
.menu-header-main-container .menu .current-menu-parent > a,
.menu-header-main-container .menu .current-menu-ancestor > a {
  color: #e10531;
}

.menu-header-main-container .sub-menu .current-menu-item > a,
.menu-header-main-container .sub-menu .current_page_item > a {
  color: #e10531;
}

.cat-title {
  font-size: 28px;
  font-weight: 600;
  color: #171616;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.catalogue-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.catalogue-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 12px 12px 18px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.catalogue-box:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.12);
}

.catalogue-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.catalogue-name {
  font-size: 16px;
  font-weight: 600;
  color: #171616;
  margin: 10px 0 8px;
  text-transform: uppercase;
}

.catalogue-link-btn {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 30px;
  background: #171616;
  font-size: 16px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 400;
  transition: background 0.3s ease;
  margin-top: 8px;
}

.catalogue-link-btn:hover {
  background: #e10531;
}

.shop-wrapper {
  display: flex;
  gap: 32px;
  width: 100%;
  padding-top: 30px;
}

.shop-sidebar {
  flex: 0 0 300px;
  gap: 32px;
}

.shop-products {
  flex: 1;
  background-color: #fff;
  overflow-x: hidden;
}

.shop-sidebar .widget-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e10531;
  color: #fff;
  padding: 10px 12px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  border-radius: 0px 0px 12px 12px;
  z-index: 1;
  width: 185px;
}

.shop-wrapper .widget_price_filter {
  padding: 16px;
  position: relative;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-bottom: 24px;
}

.shop-sidebar form {
  margin-top: 50px;
}

.price_label {
  font-weight: 600;
  color: #171616;
}

.shop-wrapper select {
  
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
}

.shop-wrapper .widget_product_categories {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 16px;
  margin-top: 24px;
}

.shop-wrapper .product-categories,
.shop-wrapper .product-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Style danh mục cha */
.shop-wrapper .product-categories .cat-parent {
  position: relative;
  padding: 8px 0 8px 0px;
  border-bottom: 1px solid #eee;
  cursor: poGoogle Sans;
  font-size: 14px;
}

.shop-wrapper .product-categories .children li .count {
  display: none !important;
}

.shop-wrapper .product-categories {
  margin-top: 40px;
}
.shop-wrapper .product-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-wrapper .product-categories > .cat-item {
  position: relative;
  width: 268px;
  padding: 8px 0px;
  border-bottom: 1px solid #eee;
  cursor: poGoogle Sans;
  box-sizing: border-box;
  font-size: 14px;
}

/* Link */
.shop-wrapper .product-categories li a {
  text-decoration: none;
  color: #333;
  display: inline-block;
  width: calc(100% - 50px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  line-height: 28px;
}
.shop-wrapper .product-categories li a:hover {
  color: #e10531;
  background-color: #e105311f;
}

.shop-wrapper .product-categories .count {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: #f5f5f5;
  border-radius: 12px;
  padding: 3px 6px;
  font-size: 12px;
  color: #666;
  line-height: 1;
  white-space: nowrap;
}

/* Mũi tên */
.shop-wrapper .product-categories > .cat-parent::after {
  content: "›";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.2s ease;
  font-size: 14px;
  color: #666;
}

.shop-wrapper .product-categories > .cat-parent.open::after {
  transform: translateY(-50%) rotate(90deg);
}

.shop-wrapper .product-categories .children {
  display: none;
  padding-left: 16px;
}




.shop-wrapper .widget_product_categories , .widget_adsdigi_brand_tree,.shop-wrapper .woocommerce-widget-layered-nav{
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 16px 16px 16px 24px;
}

.shop-wrapper .product-categories,
.shop-wrapper .product-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Bọc chung danh mục & thương hiệu */
.shop-wrapper .product-categories
 {
  margin-top: 40px;
}

.shop-wrapper .product-brand-list{
   list-style: none;
  margin: 40px 0 0 0;
  padding: 0;
}

/* Style danh mục cha + thương hiệu */
.shop-wrapper .product-categories .cat-parent {
  position: relative;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-size: 14px;
}

/* Ẩn gạch đầu dòng */
.shop-wrapper .product-categories ul,.shop-wrapper .product-brand-list li{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Item chính */
.shop-wrapper .product-categories > .cat-item,
.shop-wrapper .product-brand-list > .cat-item,
.shop-wrapper .woocommerce-widget-layered-nav-list__item {
  position: relative;
  width: 100%;
  padding: 8px 0 !important;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  font-size: 16px;
}

.shop-wrapper .woocommerce-widget-layered-nav  {
  margin-top: 24px;
}

.shop-wrapper .woocommerce-widget-layered-nav-list{
  padding-top: 42px;
}


.woocommerce-widget-layered-nav-list__item .count{
  display:none !important;
}


/* CSS Product */
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  background-color: #171616;
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background-color: #171616;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    border-radius: 1em;
    background-color: #e9e6ed;
    border: 0;
}

/* 3 cột sản phẩm */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: left;
  margin: 0 16px 20px 0;
  padding: 0;
  position: relative;
  margin-left: 0;
  width: calc(33.333% - 11px); 
}

.woocommerce ul.products li.product:nth-child(3n),
.woocommerce-page ul.products li.product:nth-child(3n) {
  margin-right: 0;
}

.woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
    width: 32%;
}
/* Khung sản phẩm */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  padding:12px 12px 16px 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Ảnh */
.woocommerce ul.products li.product img {
  border-radius: 8px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 240px;
    display: block;
    margin: 0 0 8px;
    box-shadow: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;   
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
  white-space: normal;    
  height: 52px; 
}

/* Giá */
.woocommerce ul.products li.product .price {
  margin:6px 0 0 !important;
}

.woocommerce ul.products li.product .price-new,.woocommerce ul.products li.product .price-current {
  font-size: 16px;
  font-weight: 500;
  color: #e10531;   
  margin: 0;
  
}

.woocommerce ul.products li.product .price-old{
  font-size: 14px;
  font-weight: 400;
  margin-right: 12px;
  color: #b3b1b1; 
  text-decoration: line-through;
}

.woocommerce ul.products li.product .button {
    display: inline-block;
    margin-top: 8px;
    color: #fff;
    background-color: #171616;
    font-size: 15px;
    font-weight: 400;
    padding: 10px 16px;
}

.woocommerce ul.products li.product .onsale {
    top: 8px;
    right: 8px;
    left: auto;
    margin: -.5em -.5em 0 0;
}

.woocommerce span.onsale {
    background-color: #e10531;
}

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current
 {
    background: #171616;
    color: #FFF;
}

/* Bài viết liên quan */
.single-post .yarpp-related  {
  display: inline;
  float: right;
  width: 100%;
}

.single-post .yarpp-related .widget {
  border-radius: 8px;
    background-color: #e105311f;
    margin: 0 0 10px;
    border-bottom: 2px solid #e10531;
    float: left;
    width: 100%;

}

.single-post .yarpp-related .widget .widgettitle {
    background: #e10531;
    padding: 8px 16px;
    border-radius: 10px 10px 0 0;
}
.single-post .yarpp-related .main-posts {
      padding: 16px;
}

.single-post .yarpp-related .widget .widgettitle p {
  font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

.single-post .yarpp-related .widget .product {
    float: left;
    width: 100%;
    margin-bottom: 16px;
}

.single-post .yarpp-related .widget .post
 {
    float: left;
    width: 100%;
    margin-bottom: 16px;
}

.single-post .yarpp-related .widget img {
    float: left;
    width: 150px;
    height: 100px;
    margin: 0;
    border-radius: 10px;
}

.single-post .yarpp-related .widget .widget-item-title {
   font-weight: 400;
    line-height: 1.6;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    font-size: 15px;
    /* text-align: justify; */
}

/* Sản phẩm liên quan */
.single-product .yarpp-related  {
  display: block;
  width: 100%;
  margin-top: 20px;
}

.single-product .main-posts{
  display: flex;
  gap: 24px;
}

.single-product .yarpp-related .widget .product {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.single-product .yarpp-related .widget .widgettitle {
    color: #171616;
    text-transform: uppercase;
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 16px;

}

.single-product .yarpp-related .widget img {
    width: 100%;
    height: 200px !important;
    margin: 0;
    border-radius: 10px;
}

.single-product .main-posts .product {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    padding: 12px 12px 16px 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

 .single-product .product .widget-item-title a {
      font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    white-space: normal;
    /* height: 46px; */
}

.single-product .product a {
    margin: 0;
}

.single-product .price-current, .single-product .price-new{
       font-size: 16px;
    font-weight: 500;
    color: #e10531;
}

.single-product .price-old{
       font-size: 14px;
    font-weight: 400;
    margin-left: 16px;
    color: #b3b1b1;
}

.single-product .add_to_cart_button{
      display: inline-block !important;
    margin-top: 8px !important;
    color: #fff !important;
    background-color: #171616 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 10px 16px !important;
    text-align: start !important;

}

.content-tuvan{
      display: block;
    position: relative;
    width: 340px;
    margin: 30px 0 24px;
    padding: 16px 16px 20px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: 0.4s ease;
    align-self: flex-start;
    background-color: #FFF;
}


.content-tuvan .textwidget {
    margin-top: 45px;
    row-gap: 16px;
    flex-direction: column;
    display: flex;
    flex-wrap: wrap;
}

.content-tuvan .widget-title
 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e10531;
    color: #fff;
    padding: 10px 12px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    border-radius: 0px 0px 12px 12px;
    z-index: 1;
    width: 185px;
}

.content-tuvan .box-info {
  column-gap: 6px;
    border-radius: 4rem;
    border: 0.1rem solid #f0f0f0;
    padding: 8px 16px;
    display: flex;
    align-items: center;
}

.content-tuvan .box-info i {
    width: 45px;
    height: 45px;
    border-radius: 10rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.53);
    background: #e10531;
    box-shadow: 0 0.4rem 0.6rem 0 rgba(255, 255, 255, 0.6) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    color: #fff;
}

.content-tuvan .text-s {
    font-size: 1rem;
    line-height: 1.4;
}

.content-tuvan .box-info a {
    color: #e10531;
    font-weight: 600;
    transition: 0.4s ease;
}

.content-tuvan .box-info:nth-child(3) {
    column-gap: 1.2rem;
    border-radius: 1.2rem;
    border: 0.1rem solid #f0f0f0;
    padding: 8px 16px;
    display: block;
    align-items: center;
}

.content-tuvan .box-info:nth-child(3) p {
    font-size: 1rem;
    line-height: 1.4;
    margin:6px auto !important;
}

.content-tuvan .box-info .text-m, .content-tuvan .box-info a {
    color: #e10531;
    font-weight: 600;
    transition: 0.4s ease;
}

.content-tuvan ul li {
  /* border-bottom: 1px solid #ddd; */
  list-style-type: none;
  margin: 0 0 0px !important;
  padding: 0 0 0px;
  word-wrap: break-word;
}


.content-muahang {
    background: #e105311f;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 20px 20px 12px 20px;
    transition: 0.4s ease;
    align-self: flex-start;
   
}

.content-muahang li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.content-muahang img {
        width: 56px;
    margin-top: 10px;
    margin-bottom: 0px;
}

.single-product .content-sidebar-wrap {
    display: flex;
}

.content-sanpham {
  display: flex;
  gap: 32px;
  width: 100%;
  margin-bottom: 30px;
  padding-top: 30px;
}

.content-sanpham > div {
  flex: 1;         
  max-width: 50%;
}

.content-sanpham .slide_sp .slider-for img {
    border: 1px solid #e9e7e7;
    width: calc(100% - 2px);
    height: 460px;
    object-fit: cover;
    margin: 0 0 16px;
    border-radius: 10px;
}

.content-sanpham .slide_sp .slider-nav img {
    cursor: poGoogle Sans;
    margin: 0;
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 16px 0 0;
}

.content-sanpham .info_sp .product-title {
    color: #171616;
    text-transform: uppercase;
     font-size: 26px;
    font-weight: bold;
    margin-bottom: 0;
}

.info_sp .price-new, .info_sp .price-current
 {
    color: #e10531 !important;
    font-size: 26px;
    font-weight: 600;
}

.info_sp .price
 {
    font-size: 16px;
    font-weight: 400;
}

.info_sp .price-old
 {
    font-size: 20px;
    font-weight: 400;
    color: #b3b1b1;
    margin-left: 16px;
    vertical-align: middle;
}
.product-excerpt{
  margin: 10px 0;
}

.product-excerpt li{
  margin-left: 20px;
}

.info_sp .product-excerpt table{
    width: 100%;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    border: solid 1px #ddd;
    border-collapse: collapse
}

.info_sp .product-excerpt table td,.info_sp .product-excerpt table tr{
    padding: 4px 8px;

}

.content-luuy {
    background: #e105311f;
    padding: 16px;
    border-radius: 5px;
    margin: 20px 0 0;
    display: table;
}

.single-product .entry-content{
    border-top: 1px dashed #d9d9d9;
    padding-top: 24px;
    text-align: justify;
}

.product-buy-form-wrap{
  margin-top: 20px;
  display: flex;
  gap: 24px;
}


.product-buy-form-wrap .btn-buy{
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
   text-transform: uppercase;
  cursor: pointer;
  background-color: #171616;
  color: #fff;
   font-family: "Google Sans", sans-serif 
}

.product-buy-form-wrap .ad-installment {
  padding: 10px 24px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
   text-transform: uppercase !important;
  cursor: pointer !important;
  background-color: #e10531 !important;
    color: #fff !important;
     font-family: "Google Sans", sans-serif 
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover{
  background-color: #e10531;
    color: #fff;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt{
    background-color: #171616;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

.woocommerce-notices-wrapper{
  display: none;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    display: none;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background-color: #171616;
    color: #fff;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background-color: #e10531;
    color: #fff;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: .5em 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #171616;
}

mark {
  font-size: 14px;
   background: #f5f5f5;
    color: #666;
}

body.home #woocommerce_product_categories-2 .product-categories > li:nth-child(11) a {
  border-bottom: none;
}

/* Trang giỏ hàng và thanh toán */

.woocommerce-cart .content,.woocommerce-checkout .content{
    width: 100%;
}

.woocommerce-cart .sidebar,.woocommerce-checkout .sidebar{
    display: none
}

#add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li {
    list-style: none;
}

.woocommerce-mini-cart__buttons a{
      margin: 0;
    line-height: 1;
    cursor: poGoogle Sans;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #515151;
    background-color: #e9e6ed;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

.woocommerce-mini-cart-item a{
  font-size: 16px;
    font-weight: 500;
    color: #171616;
    /* display: -webkit-box; */
    line-height: 1.4em;
    max-height: calc(1.4em * 2);
    height: 45px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}

.woocommerce-mini-cart-item bdi{
      font-size: 16px;
    font-weight: 500;
    color: #e10531;
}

.woocommerce-mini-cart-item img{
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.price-contact{
  color: #e10531 !important;
    font-size: 26px;
    font-weight: 600;
}



/* CSS MOBILE
*
*
*
*
*
*
* */
@media (max-width: 768px) {

  .site-title a, .site-title a:hover {
    color: #333;
    padding: 0;
    text-decoration: none;
    float: left;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    background: url(images/loghht.png) no-repeat top left;
    background-size: 80px;
    margin-top: -5px;
}

.price-contact{
    font-size: 20px;
}


  .site-header {
    height: 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.site-header .code-shortcode_widget{
  display: none;
}

.category .site-inner {
    padding: 110px 12px 40px;
}

.content-feature_product .product_list_widget .product-title a{
  height: 43px;
}

.cat-title
 {
            font-size: 22px;
}

.blog-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin: 10px 0 40px;
}

#woocommerce_product_search-2{
  display: none;
}

.title-area {
    float: left;
    overflow: hidden;
    padding: 0;
    width: 270px;
    margin-left: 0px;
    height: 65px;
}

.site-header .widget-area {
    position: absolute;
    right: 80px;
    top: 22px;
}

.caia_code_widget .widget-wrap {
    gap: 24px;
}

.click-menu .line {
  
    height: 2px !important;
    margin-bottom: 6px;
    background: #e10531 !important;
    width: 25px !important;
    transition: 0.4s;
}

.click-menu {
    position: fixed !important;
    text-align: center;
    right: 4% !important;
    top: 30px !important;
    z-index: 5000;
}

.header-main-widget-area{
  display: none;
}

#responsive-menu {
    position: fixed;
    height: 100%;
    width: 80% !important;
    top: 80px !important;
    left: auto;
    right: 0;
    background: #fff !important;
    z-index: 999999;
    display: none;
    box-shadow: 0px 4px 10px #d6d6d6;
}

#responsive-menu ul li a
 {
    color: #171616 !important;
    font-size: 14px !important;
    padding-right: 0px !important;
    display: inherit;
}

#responsive-menu ul li ul {
    padding-left: 0px !important;
}

.sub-menu .sub-menu > li > a {
    padding: 0px !important;
}

.sub-menu > li > a {
    position: relative;
    display: block;
    padding: 0px;
    color: #333;
}

.menu-item-has-children > .sub-menu {
    width: 100%;
}

#responsive-menu ul li {
    padding: 0px ;
}

#responsive-menu ul li ul {
    display: block;
    padding-top: 0px !important;
    overflow-x: hidden !important;
}

#responsive-menu ul li ul li {
    display: block !important;
}

#responsive-menu ul li ul li {
        border-bottom: 1px solid #d6d6d6 !important;
}

#responsive-menu ul li a {
  display: block !important;
  padding-right: 25px; /* chừa khoảng cho icon bên phải */
}


.sub-menu > li + li > a {
    border-top: none;
}
.sub-menu .sub-menu > li + li > a {
   border-top: none !important;
}

.sub-menu > li.menu-item-has-children > a::after,
.sub-menu .menu-item-has-children > a::after {
  content: "" !important;

}

.sub-menu > li.menu-item-has-children > .sub-menu {
    display: block;
    position: absolute;
    top: 0;
     left: 0%; 
     width: 100%; 
    margin: 0;
    padding: 0;
}

.nhantuvan .widget_caldera_forms_widget .widget-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding:16px 20px;
    z-index: 3000;
    border-radius: 20px;
}

.nhantuvan .label
 {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 8px;
}

.tragop .caia_code_widget .widget-wrap{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding:16px 20px;
    z-index: 3000;
    border-radius: 20px;
    min-width: 350px !important;
}

.tragop #cp_calculatedfieldsf_pform_1 #fieldlist_1 .fields {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0px;
    margin: 0 0 6px 0;
}

.tragop #cp_calculatedfieldsf_pform_1 input[type="text"], .tragop #cp_calculatedfieldsf_pform_1 input[type="email"], .tragop #cp_calculatedfieldsf_pform_1 input[type="number"], .tragop #cp_calculatedfieldsf_pform_1 select, .tragop #cp_calculatedfieldsf_pform_1 textarea {
    width: 100% !important;
}


.active-menu {
    color: #171616 !important;
    position: absolute;
    right: 16px ;
    top: 10px;
    z-index: 500;
}

.mini-cart-dropdown {
    position: absolute;
    right: -130px;
    top: 150%;
}

.menu-item-has-children > .sub-menu {
    width: 100%;
}

.content-banner .wrap {
    padding-top: 82px;
}

.content-banner .slick-slide img {
    width: 100%;
    height: 30vh !important;
    object-fit: cover;
    border-radius: 0px;
}

.content-quytrinh {
    margin: 40px auto 40px;
    padding: 0px 12px;
}

.content-quytrinh .wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px ;
}

.content-quytrinh .mainposts {
    padding: 24px 8px 12px;
    min-height: 140px;
}

.content-quytrinh img {
    width: 60px;
}

.content-quytrinh .title {
    font-size: 16px;
    margin-bottom: 4px;
}

.content-feature_product {
    margin: 40px auto 40px;
}

.content-feature_product .wrap {
    padding: 24px 12px 32px;
}

.content-feature_product .widget-title {
    font-size: 20px;
    margin-bottom: 36px;
}

.content-feature_product .product_list_widget .slick-slide {
    margin: 0 8px;
}

.content-feature_product .product_list_widget .slick-list {
  margin: 0 -8px; 
}

.content-feature_product .product_list_widget li {
    padding: 12px 12px 16px 12px !important;
    min-height: 280px;
}

.content-feature_product .product_list_widget li a img {
    width: 100%;
    height: 240px;
    display: block;
    margin: 0 0 8px;
}

.content-feature_product .product_list_widget .product-title {
    line-height: 16px;
    max-height: calc(1.4em * 2);
    height: 40px !important;
}

.content-feature_product .price-new, .content-feature_product .price-current {
    font-size: 14px;
}

.content-feature_product .price-old, .content-product-sale .price-old  {
    font-size: 13px;
}

.content-product-sale {
    margin: 24px auto 32px;
}

.content-product-sale .wrap {
    padding: 40px 12px 40px;
}

.content-product-sale .widget-title {
    font-size: 20px;
}

.content-product-sale .slick-slide {
  margin: 0 8px; 
}

.content-product-sale  .slick-list {
  margin: 0 -8px; 
}

.content-product-sale li {
     padding: 12px 12px 16px 12px !important;
}

.content-product-sale li a img {
    width: 100%;
    height: 140px;
    display: block;
    margin: 0 0 8px;
}

.content-product-sale .wc-onsale-title a {
    height: 38px;
}

.content-product-sale .price-new, .content-product-sale .price-current {
    font-size: 14px;
}

.content-gioithieu {
    margin: 20px auto;
    padding: 0 12px;
}

.content-uudiem{
  padding: 0px 12px;
}

.content-uudiem .wrap {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.content-uudiem .wrap section {
    min-height: auto;
}

.content-uudiem .wrap p {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.content-feedback-title .widget-title, .content-uudiem-title .widget-title, .content-gioithieu .widgettitle {
    font-size: 20px
}

.content-feedback-title {
    margin:40px auto 0px;
}

.content-feedback-title .widget-title {
    font-size: 20px;
    margin-bottom: 16px;
}

.content-feedback{
  padding: 0px 12px;
}

.content-feedback .mainposts {
    padding: 24px;
    min-height: 270px;
}

.content-form {
    margin: 40px auto 40px;
    padding: 40px 12px 30px;
}

.content-form .wrap {
    display: flex;
    flex-direction: column;
    gap:16px;
}

.content-form .widget-title {
    font-size: 20px;
    margin-bottom: 6px;
}

.content-form input[type="submit"] {
    width: 30%;
}

.caldera-grid .row {
    margin-left: 0px;
    margin-right: 0px;
}

.content-news {
    margin: 40px auto 40px;
    padding: 0px 12px;
}

.content-news h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.content-news .post img {
    height: 170px;
}

.content-news .wrap .slick-slide {
  margin: 0 8px; 
}

.content-news .wrap .slick-list {
  margin: 0 -8px; 
}

.before_footer {
    padding: 30px 12px;
}

.before_footer .wrap-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer .wrap {
   flex-direction: column;
}
.before_footer p img
 {
    margin-left: -16px;
}

.breadcrumb {
    font-size: 14px;
    margin: 81px auto auto;
    padding:10px 12px;
}

.breadcrumb .thanhdieuhuong {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.breadcrumb .thanhdieuhuong {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}

.breadcrumb .thanhdieuhuong {
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-inner {
    width: 100%;
    padding: 80px 12px 30px;
}

.content-sidebar-wrap {
    flex-direction: column;
    gap: 16px;
}

.content-sidebar .content, .sidebar-content .content {
    width: 100%;
    
    margin: 20px 0px;
}

.content h1 {
    font-size: 22px;
    margin: 0 0 12px;
}

.contact-section {
    display: flex;
    flex-wrap: nowrap;
}

.contact-section li {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: normal;
}

.sidebar {
    width: 100%;
}

.content-tuvan {
    width: 100%;
    margin: 0px 0 24px;
    padding: 16px 20px 20px;
}

.single-post .yarpp-related .widget .post {
    margin-bottom: 4px;
}

.content-lienhe {
    margin-top: 0px;
    display: flex;
    z-index: 1;
    padding: 8px;
    flex-direction: column;
    border-radius: 16px;
}

.contact-section {
    flex: 0 0 100%;
    padding:  24px;
    row-gap: 3px;
}

.contact-section h2 {
    font-size: 20px;
}

.contact-section h3 {
    font-size: 18px;
}
.contact-section li {
    display: block
}

.contact-section li i {
  margin-right: 6px; 
}

.contact-section li strong {
  margin-right: 6px; 

}

.form_lienhe {
    flex: 0 0 100%;
    padding: 32px 0px 0px;
}

.form_lienhe h2 {
    font-size: 20px
}

.content-map{
  margin-top: -10px;
}

.category-archive {
    margin-top: 0px;
    padding-top: 150px;
}

.category-archive .cat-title {
    font-size: 22px;
}

.category-archive .cat-posts {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 18px;
}

.pagination {
    font-size: 16px;
    padding: 10px 0 ;

}

.catalogue-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin: 18px 0;
}


.shop-wrapper {
    flex-direction: column;
    gap: 16px;
    padding-top: 30px;
}

.shop-sidebar {
    flex: 0 0 0;
    gap: 0px;
}

.shop-wrapper .widget_price_filter {
    margin-bottom: 16px;
}
.shop-wrapper .widget_product_categories{
  display: none;
}

.shop-wrapper .product-categories > .cat-item {
    width: 100%;
}

.woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
    width: 48%;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    padding: 8px 8px 12px 8px;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 240px;
    margin: 0;
}

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
        float: left;
        clear: both;
        margin: 0 0 16px;
    }

    .woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    float: left;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    height: 48px;
}

.content-sanpham {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 0px;
    padding-top: 30px;
}
.content-sanpham > div {
    flex: 1;
    max-width: 100%;
}

.content-sanpham .slide_sp .slider-for img {
    width: calc(100% - 2px);
    height: 300px;
    object-fit: cover;
    margin: 0 0 16px;
    border-radius: 10px;
}

.content-sanpham .slide_sp .slider-nav img {
    height: 80px;
}

.content-sanpham .info_sp .product-title {
    font-size: 20px;
}

.info_sp .price-new, .info_sp .price-current {
    font-size: 20px;
}

form.cart {
    gap: 16px;
}

.product-buy-form-wrap {
    gap: 16px;
}

.btn_call {
  margin-top: 8px;
}

.btn_call a {
    padding: 12px 16px;
    font-size: 13px;
}

.single-product .yarpp-related .widget .widgettitle {
    font-size: 20px;
    margin: 0 0 16px;
}

.single-product .main-posts {
    flex-direction: column;
    gap: 16px;
}

.single-product .yarpp-related .main-posts .slick-slide {
  margin: 0 8px; 
}

.single-product .yarpp-related .main-posts .slick-list {
  margin: 0 -8px; 
}

.single-product .main-posts .product {
    padding: 12px 12px 16px 12px;

}

.single-product .yarpp-related {
    margin-top: 30px;
}

.single-product .yarpp-related .widget img {
    width: 100%;
    height: 240px !important;
    margin:0px 0px 6px;

}

.single-product .product .widget-item-title a {
     margin: 0 0 0px 0;
}

.single-product .sidebar
 {
    display: block !important;
}

form.cart .single_add_to_cart_button {
    padding: 13px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-transform: uppercase;
    cursor: poGoogle Sans;
}

.single-product .product .widget-item-title a {
    font-size: 14px;
    font-weight: 500;
    color: #171616;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: calc(1.4em * 2);
    height: 45px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button {
  margin-top: 24px;
}

#yith-woocompare{
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* 2) Bảng không bị bóp nhỏ -> rộng theo nội dung */
#yith-woocompare table.compare-list{
  table-layout: auto !important;  
  width: max-content !important; 
  min-width: 100% !important;      
  border-collapse: separate;
  border-spacing: 0;
}

/* 3) Cố định cột trái (label) */
#yith-woocompare table.compare-list tbody th:not(.filler){
  width: 120px !important;
  min-width: 120px !important;
  position: sticky !important;
  left: 0 !important;
  z-index: 10 !important;
  background: #fff !important;

  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

/* 4) Mỗi cột sản phẩm (td) phải đủ rộng để không chồng chữ */
#yith-woocompare table.compare-list tbody td{
  min-width: 240px !important; 
  vertical-align: top;
  position: relative;
  z-index: 1;
}

#yith-woocompare table.compare-list .price,
#yith-woocompare table.compare-list td{
  white-space: normal !important;
  word-break: break-word;
}

#yith-woocompare .resizer,
#yith-woocompare .ui-resizable-handle,
#yith-woocompare [class*="resiz"],
#yith-woocompare [id*="resiz"]{
  display: none !important;
}

}


/* ===== Compare Page (Genesis wrapper) ===== */
.compare-page-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.compare-page-head{
  text-align:center;
  margin-bottom: 18px;
}

.compare-page-title{
  margin: 0;
  font-size: 34px;
  letter-spacing: 1px;
  font-weight: 800;
}

.compare-iframe{
  width:100%;
  height: auto !important;
  overflow:hidden;
  border-radius: 10px;
  background: #fff;
}

.compare-iframe__frame{
  width:100%;
  min-height: 950px;
  border:0;
  display:block;
}


/* =========================
   YITH WooCompare – style giống ảnh
   ========================= */
   body.yith-woocompare-popup, .yith-woocompare-table-scroll-wrapper {
    position: relative;
    padding: 0% !important;
}

#yith-woocompare table.compare-list{
  width: 100 !important;
  overflow-x: hidden !important;
}

#yith-woocompare table.compare-list tbody th:not(.filler) {
    min-width: 250px ;
    width: 250px ;
    overflow: hidden;
    text-align: left;
    font-weight: 700;
}

#yith-woocompare table.compare-list td:not(.filler) {
    min-width: 250px !important;
    width: 250px !important;
    text-align: center;
    vertical-align: middle;
}

#yith-woocompare table.compare-list th,
#yith-woocompare table.compare-list td {
  border: 1px solid #e9e9e9 !important;
  padding: 18px 16px !important;
  vertical-align: middle !important;
  background: #fff !important;
}

#yith-woocompare .sorting_disabled, #yith-woocompare tfoot{
  display: none;
}
/* Cột sản phẩm canh giữa */
#yith-woocompare table.compare-list td {
  text-align: center !important;
}

/* Tiêu đề "So sánh sản phẩm" */
#yith-woocompare table.compare-list tr.product_info th h2 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
}



#yith-woocompare table.compare-list .image-wrap {
  display: block !important;
  width: 100% !important;
  margin: 0 auto 12px !important;
}

#yith-woocompare table.compare-list .image-wrap img {
  max-width: 260px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Tên sản phẩm màu đỏ như ảnh */
#yith-woocompare table.compare-list a.product-anchor h4.product_title {
  color: #e4002b !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  margin: 10px 0 0 !important;
  text-align: center !important;
}

#yith-woocompare table.compare-list a.product-anchor:hover h4.product_title {
  opacity: 0.85 !important;
}

/* Giá đậm, nhìn rõ */
#yith-woocompare table.compare-list tr.price td .price,
#yith-woocompare table.compare-list tr.price td .amount {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* Hàng thông số: nền xen kẽ như ảnh */
#yith-woocompare table.compare-list tbody tr:nth-child(even) th,
#yith-woocompare table.compare-list tbody tr:nth-child(even) td {
  background: #f7f7f7 !important;
}

/* Nhãn bên trái (th) nhìn giống ảnh: chữ vừa + không quá đậm */
#yith-woocompare table.compare-list tbody th {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #111 !important;
}

/* Nội dung thông số */
#yith-woocompare table.compare-list tbody td {
  font-size: 16px !important;
  color: #333 !important;
}

/* Ẩn/thu gọn cột filler của DataTables (nếu còn) */
#yith-woocompare table.compare-list td.filler,
#yith-woocompare table.compare-list th.filler {
  width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Nút Xoá (remove) nhỏ gọn */
#yith-woocompare table.compare-list .remove a {
  font-size: 12px !important;
  color: #666 !important;
  text-decoration: none !important;
}

#yith-woocompare table.compare-list .remove a:hover {
  color: #000 !important;
}

/* Scroll container: tránh bị viền/đổ bóng lạ */
#yith-woocompare .dataTables_scrollBody {
  border: 0 !important;
}

.compare-list ul li:nth-child(n+4) {
    display: none !important;
}


#yith-woocompare-preview-bar .compare-list li.product-placeholder:nth-child(n+4) {
    display: none !important;
}


 .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button
 {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    /* position: absolute !important;
    right: 125px !important;
    bottom: 56px !important; */
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #FFF !important;
    background-color: #e10531 !important;
    border: 0;
    display: ruby-text !important;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

/* Trang trả góp */
.page-template-page-tragop .product-title{
    font-size: 28px;
    font-weight: 500;
    color: #171616;
    margin: 0 0 6px 0;
}

.page-template-page-tragop .section-title{
    font-size: 20px;
    font-weight: 500;
    margin: 16px auto 6px;
}

.page-template-page-tragop .tragop-banks img{
    width: 56px;
    margin-right: 16px;
}



.home .ad-actions{
  margin-top:10px;
}

.home .yith-woocompare-open {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #FFF !important;
    background-color: #e10531 !important;
    border: 0;
    display: ruby-text !important;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

.ad-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
  align-items:center;
}

.ad-actions a,.ad-actions .ad-installment{
  margin: 0;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 400 !important;
    font-size: 15px;
    border-radius: 3px;
    left: auto;
    color: #FFF !important;
    background-color: #e10531 !important;
    border: 0;
    display: ruby-text !important;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    font-family: "Google Sans", sans-serif
}


#yith-woocompare-preview-bar.shown{
  display:block !important;
}

#fieldname9_1 { display:none !important; }


/* Giới thiệu */
.page-template-page-gioithieu .entry-content h2 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 12px;
}

.page-template-page-gioithieu .entry-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0px;
}
.content-tamnhin {
  padding: 0px 0 0px;
}

.content-tamnhin .wrap {
  margin: 0 auto;
  display: flex;
  gap: 40px;
}

.content-tamnhin .wrap > img {
  flex: 0 0 50%;
  width: 50%;
  height: 700px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  position: relative;
}


.content-tamnhin .tamnhin-wrapper {
  display: flex;
  flex-direction: column;
}

.content-tamnhin .tamnhin-wrapper h2 {
         font-size: 28px;
    font-weight: 700;
    color: #171616;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.content-tamnhin .card-item{
  margin-bottom: 32px;
}

.content-tamnhin .card-content h5 {
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.content-tamnhin .card-content p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}


.content-giatri h2{
  font-size: 28px;
    font-weight: 700;
    color: #171616;
    margin-bottom: 24px;
    text-transform: uppercase;
}


.content-giatri .wrap-card {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: start;
}

.content-giatri .card-item {
      display: flex;
    flex-direction: column;
    background: #e10531;
    padding: 32px;
    color: #fff;
    text-align: center;
    gap: 20px;
    border-radius: 6px;
  
}

.content-giatri .card-item img {
  width: 64px;
  height: 64px;
  align-items: center;
    margin: auto;
}

.content-giatri .card-content h5 {
  font-size: 18px;
  color: #FFF;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.content-cauchuyen {
  position: relative;
  padding: 80px 0 !important;
  background-image: url(images/footer.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #FFF;
  margin-bottom: 80px;
}


.content-cauchuyen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #e105319c;
  opacity: 0.85;
  z-index: 1;
}

.content-cauchuyen > * {
  position: relative;
  z-index: 2;
}


.content-cauchuyen h2{
    font-size: 28px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.content-cauchuyen li{
  margin-left: 22px;
}

.content-cauchuyen p{
  color: #fff;
}

.content-lichsu {
    margin: 80px auto;
}

.content-lichsu .caia_code_widget .widget-wrap {
    display: block !important;
}

.content-lichsu .widgettitle {
  font-size: 28px;
    font-weight: 700;
    color: #171616;
    margin-bottom: 24px;
    text-transform: uppercase;
    text-align: center;
}

.ctl-wrapper .cool-timeline-wrapper:not(.ctl-clean-skin) .ctl-description {
    border: 1px solid #dcdcdc;
}

.single-product .content h2{
    font-size: 22px;
    font-weight: 700;
    color: #171616;
}

.single-product .content h3{
    font-size: 16px;
    font-weight: 700;
    color: #171616;

}


.page-template-page-baoduong .entry-content{
  background-color: #f7f7f7;
  border-radius: 20px;
  padding: 32px !important;

}

.page-template-page-baoduong .entry-content h2{
  font-size: 22px;
   font-weight: 700;
}

.table-responsive{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

/* Table: gọn, hiện đại */
.table-responsive table{
  width: 100%;
  min-width: 640px;   
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 12px;
  overflow: hidden;        
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  font-size: 15px;
  line-height: 1.5;
  
}

/* Ô */
.table-responsive td,
.table-responsive th{
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid #eef0f4;
 
}

/* Header (dòng đầu tiên) */
.table-responsive tbody tr:first-child td{
  background: #e10531;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2px;
  border-bottom: 0;
   color: #FFF;
}

.table-responsive tbody tr:nth-child(even) td{
  background: #fafbff;
}

.table-responsive tbody td + td{
  border-left: 1px solid #eef0f4;
}

.table-responsive strong{
  font-weight: 700;
}