/*
	Theme Name: CAIA
	Theme URI: 
	Description: Themes hỗ trợ Genesis Theme v2.7.3 and Wordpress v5.0 trở lên
	Author: DuocDT
	Author URI: http://cucomin.vn
	Version: 4.2
	Template: genesis
*/

/* Defaults
------------------------------------------------------------ */

body,
h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6,
p,
select,
textarea {
	color: #1A1A1A;
	font-family: 'Geist', Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.618;
	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: #1A1A1A;
	font-family: 'Geist', Arial, Helvetica, sans-serif;
	font-size: 15px;
	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: #0047F4;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: none;
}

/* Body
------------------------------------------------------------ */

body {
	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;
	width: 1170px;
	padding: 0;
}


/* Header
------------------------------------------------------------ */

.site-header {
	margin: 0 auto;
	height: 80px;
	width: 100%;
	float: left;
	background: #0A2463;
}

.form-search{
	background: #0A2463;
	padding-bottom: 30px;
	margin-bottom: 30px;
	position: relative;
}

.title-area {
	float: left;
	overflow: hidden;
	padding: 0;
	width: 100px;
	height: 80px;
	margin: 0 0 0 15px;
}

.title-area img{
	width: 70px;
}

.site-title {
	font-family: 'Geist', Arial, sans-serif;
	font-size: 30px;
	line-height: 1.35;
	margin: 0;
	float: left;
	width: 100%;
	height: 100%;
	font-weight: bold;
}

.site-title a,
.site-title a:hover {
	color: #fff;
	padding: 0;
	text-decoration: none;
	float: left;
	width: 100%;
	height: 100%;
	display: flex;
    align-items: center;      /* căn giữa trên – dưới */
    justify-content: left;  /* căn giữa trái – phải (nếu cần) */
}

.site-description {
	font-size: 13px;
	padding: 0;
	display: none;
}

.site-header .widget-area {
	float: right;
	padding: 0;
	width: 850px;
	margin: 14px 0 0 ;
	position: relative;
}

.cart-wrap{
	padding: 0 !important;
}

/* Header / Primary / Secondary Navigation
------------------------------------------------------------ */

.nav-primary{
	float: left;
	width: 100%;
	height: 50px;
	background: #1A1A1A;
}

.nav-primary .wrap{
	width: 1140px;
}

.menu-primary,
.menu-secondary,
.site-header .menu {
	clear: both;
	color: #1A1A1A;
	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;
	margin-right: 25px;
}

.menu-primary a,
.menu-secondary a,
.site-header .menu a {
    color: #fff;
    display: block;
    padding: 12px ;
    position: relative;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Geist';
}

.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: #FF9F1C;
}

.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: #f9f9f9;
    border-bottom: 1px solid #c6c2ba75;
	color: #1A1A1A;
	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 {
    color: #e7a100;
}

.site-header .menu li li:first-child a{
	border-radius: 10px 0 0 0;
}

.site-header .menu .sub-menu{
	height: 400px;
    width: 258px;
    overflow-x: scroll;
}

/* Thanh cuộn */
.site-header .menu .sub-menu::-webkit-scrollbar {
    width: 8px;
}

/* Track (nền) */
.site-header .menu .sub-menu::-webkit-scrollbar-track {
    background: #f9f9f9;
    border-radius: 0 10px 10px 0;
}

/* Thumb (cục kéo) */
.site-header .menu .sub-menu::-webkit-scrollbar-thumb {
    background: #0a246347;
    border-radius: 10px;
}

/* Hover */
.site-header .menu .sub-menu::-webkit-scrollbar-thumb:hover {
    background: #0a2463;
}

.site-header .menu li li{
	margin-right: 0;
}

.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;
}

.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 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: hidden;
	padding: 20px 0;
	width: 1170px;
}

/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb{
	float: left;
	width: 100%;
	padding: 0 0 5px;
	font-size: 15px;
	color: hsl(0deg 0% 10.2% / 50%);
}

.breadcrumb a{
	color: hsl(0deg 0% 10.2% / 50%);
	font-size: 15px;
	font-weight: 400;
}

.breadcrumb .label{
	margin: 0 5px;
	font-weight: 400;
	color: hsl(0deg 0% 10.2% / 50%);
}

.breadcrumb .separator{
	margin: 0 10px;
}

/* Content-Sidebar Wrap
------------------------------------------------------------ */

.content-sidebar-wrap {
	float: left;
	width: 750px;
}

.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 {
	float: left;
	padding: 0;
	width: 450px;
}

.content-sidebar .content,
.sidebar-content .content {
	width: 750px;
	margin-left: 15px;
}

.sidebar-content .content,
.sidebar-sidebar-content .content {
	float: right;
	margin-left: 0;
	margin-right: 15px;
}

.full-width-content .content {
	width: 100%;
}

.page.full-width-content .content{
	width: calc(100% - 30px);
	margin: 0 15px;
}

/* [Bug 5] API product detail page dùng page template nhưng cần full-width như single-product */
.page-template-page-api-product-php.full-width-content .content {
	width: 100%;
	margin: 0;
}

.post {
	margin: 0 0 20px;
}

.entry-content {
	overflow: hidden;
	text-align: justify;
}

.entry-content p {
	margin: 0 0 15px;
	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: 'Geist', 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: #1A1A1A;
	font-family: 'Geist', Arial, sans-serif;
}

h2 a:hover {
	color: #0d72c7;
	text-decoration: none;
}

.widget-area h2,
.widget-area h2 a {
	font-size: 15px;
	margin: 0 0 5px;
}

h3 {
	font-size: 15px;
}

h4 {
	font-size: 15px;
}

.taxonomy-description h1,
.widget-area .widgettitle {
    background-color: #0a2463;
    font-size: 15px;
    padding: 10px 15px;
    color: #ffffff;
}

.widget-area .widgettitle a {
	color: #1A1A1A;
	text-decoration: none;
}

/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {
	margin: 0;
	padding: 0 0 15px;
	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 15px;
}

/* 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 15px 10px 0;
}

img.alignright {
	display: inline;
	margin: 0 0 10px 15px;
}

.alignleft {
	float: left;
	margin: 0 15px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 15px;
}

.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: 15px;
	width: 100%;
	text-align: center;
}

.pagination li {
	display: inline;
}

.pagination li a,
.pagination li.disabled,
.pagination li a:hover,
.pagination li.active a {
	color: #1A1A1A;
	padding: 8px 13px;
}

.pagination li a:hover,
.pagination li.active a {
	color: #FF9F1C;
	font-weight: bold;
}

/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
	display: inline;
	float: right;
	width: 360px;
	margin-right: 15px;
}

.sidebar-secondary {
	float: left;
	width: 150px;
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary {
	float: left;
	margin-left: 15px;
	margin-right: 0;
}

.content-sidebar-sidebar .sidebar-secondary {
	float: right;
}

.sidebar p {
	font-size: inherit;
}

.sidebar .widget {
	background-color: #f9fbff;
	margin: 0 0 15px;
	padding: 0 0 15px;
	float: left;
	width: 100%;
}

.sidebar.widget-area ol,
.sidebar.widget-area ul,
.widget-area .textwidget,
.widget_tag_cloud div div {
	padding: 0 15px;
}

.sidebar.widget-area ul li,
.footer-widgets .widget-area ul li {
	border-bottom: 1px solid #ddd;
	list-style-type: none;
	margin: 0 0 7px;
	padding: 0 0 5px;
	word-wrap: break-word;
}

.sidebar.widget-area ul ul li {
	border: none;
	margin: 0;
}

/* Buttons
------------------------------------------------------------ */

input[type="button"],
input[type="submit"] {
	background: #f2f2f2;
	cursor: pointer;
	padding: 10px 20px;
	color: #1A1A1A;
	-webkit-appearance: none;
}

input:hover[type="button"],
input:hover[type="submit"] {
	text-decoration: none;
}


/* Search Form
------------------------------------------------------------ */

.site-header .search-form {
    float: right;
    width: 400px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    height: 50px;
    display: none;
}

.site-header .widget_search input[type=submit] {
    float: right;
    border: none;
    height: 40px;
}

.sidebar .search-form {
	padding: 5px 0 0 15px;
}

.search-form input[type="search"] {
    margin: 0;
    padding: 6px 5px 6px 15px;
    width: calc(100% - 120px);
    border: none;
    background: url(images/icos.svg) no-repeat left 15px center #fff;
    height: 40px;
    border-radius: 10px;
    font-size: 15px;
    padding-left: 40px;
}

.search-form .search-form-submit {
    background: #FF9F1C;
    color: #0A2463;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    height: 40px;
    float: right;
}

/* Footer
------------------------------------------------------------ */

.site-footer {
	float: left;
	font-size: 16px;
	margin: 0 auto;
	width: 100%;
	background: #0A2463;
	color: #fff;
	padding: 50px 0 30px;
}

.site-footer p {
	color: #fff;
}

.site-footer a,
.site-footer a:visited {
	color: #fff;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: none;
}

/* Comments
------------------------------------------------------------ */

.entry-comments,
#respond {
	margin: 0 0 15px;
	overflow: hidden;
	float: left;
	width: 100%;
}

#author,
#comment,
#email,
#url {
	margin: 10px 5px 0 0;
    padding: 10px;
    width: calc(100% - 22px);
    float: left;
    background: #fff;
     font-size: 16px;
    border-radius: 5px;
}

#comment {
    height: 90px;
    margin: 10px 0;
    width: calc(100% - 22px);
    background: #fff;
    font-size: 16px;
    border-radius: 5px;
}

input#submit {
    color: #0a2463;
    background: #ff9f1c;
    border: 1px solid #E7A100;
    height: 50px;
    line-height: 48px;
    display: inline-block;
    border-radius: 50px;
    padding: 0 30px;
    text-transform: uppercase;
    font-weight: bold;
}

.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: 15px 0 5px;
	padding: 10px 15px;
}

.comment-list li ul li {
	list-style-type: none;
	margin-right: 0;
	background: #fff;
}

.comment-content{
	padding-left: 70px;
}

.comment-content p {
	font-size: 15px;
	margin: 0 0 15px;
}

.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: #1A1A1A;
	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: pointer;
    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-slide.dragging img{
    pointer-events: 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;
}

.slick-dots li{
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 5px;
	padding: 0;
	cursor: pointer;
}

.slick-dots li button{
    font-size: 0;
    line-height: 0;
    display: block;
    width: 8px;
    height: 8px;
    padding: 5px;
    border-radius: 100px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
	background: hsl(0deg 0% 100% / 50%);
}

.slick-dots li button:hover,
.slick-dots li button:focus,
.slick-dots li.slick-active button{
    background: #ffffff;
}

.section{
	float: left;
	width: 100%;
}

.chitiet_sp{
	float: left;
	width: 100%;
}

.chitiet_sp .slider-nav .itemnav {
	margin: 10px 10px 0 0;
	width: 96px;
	height: 96px; /* chiều cao cố định */
    
    display: flex;
    justify-content: center; /* căn giữa ngang */
    align-items: center;     /* căn giữa dọc */

    overflow: hidden;
    position: relative;
    border: 1px solid hsl(0deg 0% 10% / 10%);
    border-radius: 10px;
}

.chitiet_sp .slider-nav .itemnav img{
	max-width: 90%;
    object-fit: contain; /* giữ nguyên tỷ lệ ảnh */
    display: block;
    border-radius: 10px;
}

.chitiet_sp .san-pham img{
	max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* giữ nguyên tỷ lệ ảnh */
    display: block;
    margin: 0;
    border-radius: 10px;
}

.chitiet_sp{
    width: 758px;
    float: left;
    padding: 20px;
    border: 1px solid hsl(0deg 0% 10% / 10%);
    border-radius: 10px;
}

.chitiet_sp .entry-title{
	margin: 0 0 5px !important;
	font-size: 25px !important;
}

.chitiet_sp .shortdes{
	color: hsl(0deg 0% 10% / 50%);
	font-size: 13px;
	margin: 0 0 15px 0;
}

.chitiet_sp .anh_sp {
	float: left;
	width: 280px;
	margin: 0 30px 0 0;
}

.chitiet_sp .anh_sp .san-pham{
	width: 280px;
    height: 280px; /* chiều cao cố định */
    
    display: flex;
    justify-content: center; /* căn giữa ngang */
    align-items: center;     /* căn giữa dọc */

    overflow: hidden;
    position: relative;
}

.chitiet_sp .info_sp {
	float: right;
	width: 445px;
	margin: 0;
}

.chitiet_sp .description li{
	list-style-type: none;
	margin: 20px 0;
	font-size: 13px;
	display: grid;
    grid-template-columns: 230px 1fr;
    column-gap: 10px;
    position: relative;
}

.chitiet_sp .description li strong{
	grid-column: 1;
}

.chitiet_sp .description li .copy-text{
	padding-right: 20px;
}

.chitiet_sp .description .manufacturer{
	float: left;
	width: 100%;
}

.chitiet_sp .description p{
	font-size: 13px;
	margin-bottom: 10px;
}

.chitiet_sp .description .manufacturer b{
	float: left;
	width: 200px;
	margin: 0 10px 0 0;
}

.chitiet_sp .description .manufacturer a{
	float: left;
	width: calc(100% - 210px);
}

.stock-time .title,
.box-price .title,
.price-break-table .title{
	font-size: 20px;
	font-weight: bold;
	margin: 0 0 10px 0;
}

.box-price{
	margin: 10px 0;
	float: left;
    width: 100%;
}

.box-price li{
	list-style-type: none;
	margin-bottom: 10px;
	width: 100%;
	float: left;
	 display: flex;
  align-items: center;   /* 🔥 fix lệch */
  justify-content: space-between;
}

.box-price .button-cart label{
	font-weight: bold;
}

.box-price .nut,
.li-products .nuttanggiam {
	width: 100%;
	height: 40px;
	border-radius: 5px;
	box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.1);
	text-align: center;
	position: relative;
	margin: 10px 0 20px;
}

.box-price .nut input,
.li-products .nuttanggiam input{
	border: none;
    background: unset;
    height: 40px;
    text-align: center;
    padding: 0;
}

.box-price .nut .quantity-up,
.li-products .nuttanggiam .quantity-up{
	position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 40px;
    background: url(images/cong.svg) no-repeat center center;
    text-indent: -99999px;
    cursor: pointer;
}

.box-price .nut .quantity-down,
.li-products .nuttanggiam .quantity-down{
	position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    width: 40px;
    background: url(images/tru.svg) no-repeat center center;
    text-indent: -99999px;
    cursor: pointer;
}

.box-price li b{
	float: left;
}

.box-price li span{
	float: right;
}

.box-price .waittocart,
.box-price .api-add-to-cart{
    background: #FF9F1C;
    border-radius: 5px;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
    color: #0A2463;
    display: block;
    text-align: center;
    margin: 0 0 15px;
}

/* [Bug 5] button reset — <button> cần thêm các thuộc tính mà <a> có sẵn */
.box-price .api-add-to-cart{
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
}

.box-price .waittocart:hover,
.box-price .api-add-to-cart:hover,
.search-form .search-form-submit:hover,
.content-slider .widget .readmore:hover{
	background: #FF6900;
}

.box-price .waittocart span,
.box-price .api-add-to-cart span{
	background: url(images/waittocart.svg) no-repeat left center;
	padding-left: 25px;
}

#total-price{
	color: #0A2463;
	font-size: 20px;
	font-weight: bold;
}

.stock-time p{
	display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 10px;
    margin-bottom: 10px;
}

.copy-btn {
    opacity: 0;
    cursor: pointer;
    margin-left: 8px;
    font-size: 14px;
    transition: opacity 0.2s;
    background: url(images/copy.svg) no-repeat center center;
    text-indent: -999px;
    display: block;
    position: absolute;
    right: 0;
    width: 15px;
}

.description li:hover .copy-btn {
  opacity: 1;
}

.box-product-left{
	float: left;
	width: 800px;
	margin-left: 15px;
}

.box-product-right{
	float: right;
	width: 273px;
	margin: 0 15px 0 0;
	box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.1);
	padding: 20px;
	border-radius: 10px;
}

.price-tier.active {
    background: #f5f7fa;
    font-weight: 600;
}

.images-products img{
	width: 100px !important;
}

.tax-product_cat .dssp .product img{
	width: 80px;
	height: 80px;
} 

.page-template-page-manufacture h1{
	margin: 0 15px 20px !important;
}

.manufacturer-pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    justify-content: center;
    margin-top: 30px;
}

.manufacturer-pagination li {
    padding: 6px;
    cursor: pointer;
}

.manufacturer-pagination li.active {
    color: #FF9F1C;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-manu .tab-menu {
    cursor: pointer;
}

.tab-manu .tab-menu.active {
    font-weight: bold;
    color: #e74c3c; /* tùy chỉnh */
}

.site-header .menu-item-has-children>a>span {
    background: url(images/down.svg) no-repeat right top 10px;
    padding-right: 15px;
}

.site-header .menu-item-has-children.current-menu-item>a>span,
.site-header .menu-item-has-children>a:hover>span {
    background: url(images/downv.svg) no-repeat right top 10px;
    padding-right: 15px;
}

.site-header .widget-area .widget_nav_menu{
	float: left !important;
}

.site-header .widget-area .widget{
	float: right;
}


.site-header .widget-area .gsc-shop-cart .btn-view-cart{
    background: url(images/cart.svg) no-repeat left center;
    position: relative;
    width: 40px;
    height: 40px;
    background-size: 22px;
    display: inline-block;
    color: #000;
    font-weight: 400;
    margin: 5px 13px 0 30px;
}

.site-header .widget-area .bg-cart-sh, .site-header .widget-area .product-called,
.fix_icon .bg-cart-sh,
.fix_icon .product-called{
    display: none;
}

.site-header .widget-area .gsc-shop-cart .shop-cart-widget .gsc-num-products, .fix_icon .gsc-shop-cart .gsc-num-products {
    position: absolute;
    top: 0px !important;
    left: auto;
    color: #1A1A1A;
    font-size: 15px;
    width: 19px;
    height: 19px;
    border-radius: 100%;
    text-align: center;
    line-height: 19px;
    right: 1px;
    background: #fff;
    display: none;
}

.site-header .widget_polylang .widgettitle{
    background: url(images/cau.svg) no-repeat right center;
    text-indent: -9999px;
    display: block;
    width: 100%;
    padding: 0;
    height: 50px;
    float: right;
    cursor: pointer;
}

.site-header .widget_polylang{
	width: 150px;
}

.site-header .widget_polylang li{
	list-style-type: none;
}

.site-header .widget_polylang ul{
	float: left;
    width: 199%;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    width: 128px;
    box-shadow: 1px 2px 5px #818080;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.site-header .widget_polylang ul.active{
	max-height: auto; /* chỉnh đủ lớn */
    opacity: 1;
    position: relative;
    z-index: 99;
}

.site-header .widget_polylang li a{
	color: #1A1A1A;
    width: calc(100% - 20px);
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 15px;
}

.site-header .widget_polylang li.current-lang a{
	background: #ffecd2;
}

.site-header .widget_polylang li a:hover{
	background: #ff9f1c;
	text-decoration: unset;
}

.content-slider .left{
	float: left;
	width: 259px;
	margin: 0 15px;
	background: #f8f8f8;
	border-radius: 10px;
	border-right: 1px solid hsl(0deg 0% 10% / 10%);
}

.content-slider .right{
	float: right;
	width: 850px;
	margin: 0 15px;
}

.content-slider .right img{
	border-radius: 10px;
}

.content-slider button.slick-prev.slick-arrow {
    background: url(images/btn.svg) no-repeat left center;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 15px;
    top: 45%;
    z-index: 9;
    text-indent: -9999px;
    outline: none;
    cursor: pointer;
    border: none;
    background-size: 83px;
    transition: all 0.3s;
    padding: 0;
}

.content-slider button.slick-next.slick-arrow{
    background: url(images/btn.svg) no-repeat right center;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 15px;
    top: 45%;
    z-index: 9;
    text-indent: -9999px;
    outline: none;
    cursor: pointer;
    border: none;
    background-size: 83px;
    transition: all 0.3s;
    padding: 0;
}

.content-slider .left .widget{
	padding: 20px;
	position: relative;
}

.content-slider .left li{
	list-style-type: none;
	margin: 14px 0 13px;
}

.content-slider .left li a{
	color: hsl(0deg 0% 10% / 50%);
}

.content-slider .left .viewall {
    position: absolute;
    right: 20px;
    top: 20px;
    margin: 0;
}

.content-slider .left .viewall a{
	color: #FF9F1C;
	font-size: 14px;
	text-transform: uppercase;
}

.content-slider .left .widgettitle{
	font-weight: bold;
}

.content-slider .left a:hover{
	color: #FF9F1C;
	font-weight: bold;
}

.content-slider .right .widget{
	position: relative;
	border-radius: 10px;
}

.content-slider .right .box{
	position: absolute;
	left: 50px;
	top: 50%;
    left: 50px;
    transform: translateY(-50%);
}

.content-slider .slick-dots{
	margin-top: -60px;
	position: relative;
}

.content-slider .widget .title a{
	font-size: 40px;
	font-weight: bold;
	color: #fff;
}

.content-slider .widget .noidung p{
	color: #fff;
	font-weight: 500;
}

.content-slider .widget .noidung{
	margin: 15px 0 30px;
}

.content-slider .widget .readmore{
	background: #FF9F1C;
	color: #0A2463;
	height: 40px;
	line-height: 40px;
	border-radius: 10px;
	padding: 0 30px;
	display: inline-block;
	font-weight: 500;
}

.content-slider .widget a.alignnone{
	 position: relative;
    display: inline-block;
    border-radius: 10px;
}

.content-slider .widget a.alignnone::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    border-radius: 10px;
}

.content-slider .widget img{
	border-radius: 10px;
	margin: 0;
}

.content-slider{
	margin-bottom: 60px;
}

.content-manufacturer .widget .widgettitle,
.content-products .widget .widgettitle a{
	font-size: 25px;
	font-weight: bold;
	margin: 0 15px 30px;
}

.content-manufacturer .widget li{
    list-style-type: none;
    border: 1px solid hsl(0deg 0% 10% / 10%);
    border-radius: 10px;
    text-align: center;
    margin: 0 10px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-manufacturer .widget li img{
	border-radius: 10px;
	margin: 0 auto;
	width: auto;
    height: 60px;
}

.content-manufacturer .widget li:hover{
	border: 1px solid #FF9F1C;
}

.content-manufacturer button.slick-prev.slick-arrow,
.content-products button.slick-prev.slick-arrow {
	background: url(images/btn2.svg) no-repeat left center;
    width: 32px;
    height: 30px;
    position: absolute;
    right: 50px;
    top: -65px;
    z-index: 9;
    text-indent: -9999px;
    outline: none;
    cursor: pointer;
    border: none;
    background-size: 65px;
    transition: all 0.3s;
    padding: 0;
}

.content-manufacturer button.slick-next.slick-arrow,
.content-products button.slick-next.slick-arrow{
	background: url(images/btn2.svg) no-repeat right center;
    width: 32px;
    height: 30px;
    position: absolute;
    right: 15px;
    top: -65px;
    z-index: 9;
    text-indent: -9999px;
    outline: none;
    cursor: pointer;
    border: none;
    background-size: 65px;
    transition: all 0.3s;
    padding: 0;
}

.content-products .widget{
	margin: 80px 0 0;
	position: relative;
}

.content-products .widget .widgettitle{
	margin: 0 0 30px;
	font-size: 25px;
	font-weight: bold;
}

.content-products .product{
	margin: 0 1px 0 15px;
	border: 1px solid hsl(0deg 0% 10% / 10%);
	border-radius: 10px;
	background: #F8F8F8;
}

.content-products .product img{
    border-radius: 10px 10px 0 0;
    width: auto;
    height: 100px;
    margin: 0 auto;
    border-radius: 10px;
}

.content-products .product .post-thumb>span{
    background: #fff;
    display: block;
    border-radius: 10px 10px 0 0;
    padding: 20px 0;
}

.content-slider .left li:last-child{
	margin-bottom: 0;
}

.content-products .main-posts{
	margin-right: 15px;
}

.content-products button.slick-next.slick-arrow{
	right: 0;
}

.content-products button.slick-prev.slick-arrow{
	right: 35px;
}

.content-products .list-info{
	float: left;
    width: calc(100% - 30px);
    padding: 15px;
}

.content-products .list-info .widget-item-title a{
	color: #1A1A1A;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: bold;
}

.content-products .list-info .widget-item-title{
	color: hsl(0deg 0% 10% / 50%);
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.content-products .list-info .manu a{
	color: #FF9F1C;
	font-size: 14px;
	font-weight: 600;
}

.content-products .list-info .manu{
	margin-bottom: 7px;
}

.content-products .list-info .motan{
	color: hsl(0deg 0% 10% / 50%);
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: 70px;
    margin-bottom: 20px;
}

.content-products .list-info .unit-price {
	color: #0A2463;
	font-size: 16px;
	font-weight: bold;
	float: left;
	margin: 5px 0 0 ;
}

.content-products .list-info .button-cart{
    float: right;
    width: 93px;
}

.content-products .list-info input[type="number"]{
	width: 42px;
    border-radius: 5px;
    height: 33px;
    background: #fff;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    padding: 0 0 0 10px;
}

.content-products .list-info .nuttanggiam{
	position: relative;
	width: 52px;
	float: left;
}

.content-products .list-info .quantity-up{
	position: absolute;
    top: 10px;
    right: 4px;
    background: url(images/tanggiam.svg) no-repeat top center;
    width: 7px;
    height: 10px;
    text-indent: -99999px;
    display: block;
}

.content-products .list-info .quantity-down{
	position: absolute;
    bottom: 10px;
    right: 4px;
    background: url(images/tanggiam.svg) no-repeat bottom center;
    text-indent: -9999px;
    display: block;
    width: 7px;
    height: 10px;
}

.content-products .list-info .mua a{
	float: right;
	background: url(images/cart2.svg) no-repeat center center #FF9F1C;
	height: 35px;
	width: 35px;
	border-radius: 5px;
	text-indent: -9999px;
	display: block;
}

.content-products .list-info .mua a:hover{
	background: url(images/cart2.svg) no-repeat center center #FF6900;
}

.content-account{
	background: #F8F8F8;
	margin: 80px 0 0;
	text-align: center;
	padding: 80px 0;
}

.home .site-inner{
	padding: 0;
}

.content-account .widgettitle{
	font-size: 40px;
	font-weight: bold;
	margin: 0 0 30px;
}

.content-account p{
	font-size: 18px;
	color: hsl(0deg 0% 10% / 50%);
	width: 750px;
	margin: 0 auto 20px;
}

.content-account p:last-child a{
	height: 50px;
    line-height: 50px;
    border-radius: 10px;
    background: #FF9F1C;
    color: #0A2463;
    font-size: 17px;
    font-weight: 500;
    display: inline-block;
    padding: 0 30px;
}

.content-account p:last-child a:hover{
	background: #FF6900;
}

.site-footer .widget:first-child {
    float: left;
    width: 360px;
    margin: 0 15px;
}

.site-footer .widget:not(:first-child) {
    float: left;
    width: calc((100% - 360px - 120px) / 3);
    margin: 0 15px;
}

.site-footer .widget .widgettitle{
	font-size: 20px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 20px;
}

.site-footer .widget li{
	list-style-type: none;
	margin: 10px 0;
}

.content-affooter{
	background: #0A2463;
}

.content-affooter .widget{
	margin: 0 15px;
	border-top: 1px solid #ffffff7d;
	padding: 30px 0;
}

.content-affooter p{
	color: #fff;
	font-size: 14px;
	text-align: center;
}

.page .entry-title,
.single .entry-title,
.tax-product_cat .archive-heading a,
.category .archive-heading a,
.search h1{
	font-size: 30px;	
	font-weight: bold;
	margin: 0 15px 25px;
	color: #1A1A1A;
}

.page .entry-title, .single .entry-title{
	margin: 0 0 20px;
}

.single-manufacturer .entry-title{
	margin: 0 15px 20px;
}

.content-date{
	text-align: right;
    margin: 0 0 15px;
    font-style: italic;
    color: #5e5d5d;
}

.tax-product_cat .archive-heading{
	margin: 0 15px 25px;
}

.page-template-page-sanpham .menu-level h2 a{
	font-size: 25px;
	font-weight: bold;
	color: #1A1A1A;
}

.page-template-page-sanpham .menu-level h2{
	margin-bottom: 15px;
}

.page-template-page-sanpham .menu-level .submenu li{
	color: #FF9F1C;
	margin: 0 0 15px 20px;
}

.page-template-page-sanpham .menu-level .submenu li a{
	color: #1A1A1A;
}

.page-template-page-sanpham .menu-level .submenu li a:hover,
.page-template-page-sanpham .menu-level h2 a:hover,
.category main.content .post .entry-title a:hover{
	color: #FF9F1C;
}

.page-template-page-sanpham .menu-level .submenu{
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 30px;
}

.page-template-page-sanpham .lv1-item{
	margin-bottom: 30px;
}

.page.page-template-page-sanpham .lv1-item h3{
	margin: 0;
	font-size: 15px;
	color: #333;
	font-weight: normal;
}

.filter_product{
	border: 1px solid hsl(0deg 0% 10% / 10%);
	border-radius: 10px;
	float: left;
	width: calc(100% - 32px);
	margin: 0 15px;
}

.filter_product .filter strong{
	float: left;
	width: 120px;
	margin-bottom: 15px;
}

.filter_product .filter{
	margin-bottom: 15px;
}

.filter_product .filter:last-child{
	margin-bottom: 0;
}

.filter_product .filter label{
	margin:0 30px 10px 0;
}

.filter_product .filter label:last-child{
	margin-right: 0;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    vertical-align: middle; /* 🔥 QUAN TRỌNG */
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
}

/* box checkbox */
.custom-checkbox .checkmark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
}

/* checked */
.custom-checkbox input:checked + .checkmark {
    background: #0a2a66; /* xanh đậm */
}

/* tick */
.custom-checkbox input:checked + .checkmark::after {
    content: "";
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.list_filter{
	padding: 20px;
}

.tt_filter p{
	background:url(images/show.svg) no-repeat right 20px center #F8F8F8;
	padding: 0 20px;
	font-size: 20px;
	font-weight: bold;
	height: 50px;
	line-height: 50px;
	border-bottom: 1px solid hsl(0deg 0% 10% / 10%);
	border-radius: 10px 10px 0 0;
	cursor: pointer;
}

.filter_product{
	margin-bottom: 40px;
}

.list_product{
	float: left;
	width: calc(100% - 32px);
	background: #fff;
	margin: 0 15px;
    border-radius: 12px;
    border: 1px solid hsl(0deg 0% 10% / 10%);
}

.list_product > ul {
    display: grid;
    grid-template-columns: 3fr 2fr 2fr 1.5fr 3fr;
    padding: 10px 20px;
    margin: 0;
    list-style: none;
    font-weight: 600;
    background: #f7f7f7;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid hsl(0deg 0% 10% / 10%);
}

.list_product > ul li {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    display: flex;
    align-items: center;      /* căn giữa trên–dưới */
    justify-content: center;  /* căn giữa trái–phải */

    text-align: center;
}

.list_product > ul li:first-child{
	text-align: left;
	justify-content: left;  /* căn giữa trái–phải */
}

.boxsp2 p,
.boxsp3 p,
.boxsp4 p,
.boxsp-supplier p{
	text-align: center;
}

.list_product .sp-item {
    display: grid;
    grid-template-columns: 3fr 2fr 2fr 1.5fr 3fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

/* Search page: 6-column grid (adds Supplier column)
   Dùng .search (luôn có trên mọi search page) thay vì .search-results
   để cover cả API fallback (body class = search-no-results) */
.search .list_product > ul,
.search .list_product .sp-item {
    grid-template-columns: 3fr 2fr 2fr 1.5fr 1.5fr 3fr;
}

/* Results count */
.results-count {
    float: left;
    width: 100%;
    padding: 10px 15px 6px;
    font-size: 14px;
    color: #555;
}
.results-count strong {
    color: #0A2463;
}

.boxsp1 img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    float: left;
    margin: 0 10px 0 0;
    border-radius: 5px;
}

.boxsp1 h2 a{
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #1A1A1A;
}

.boxsp1 h2 a:hover,
.boxsp2 a:hover{
	color: #FF9F1C;
}

.boxsp1 h2{
	margin: 0 0 5px;
}

.boxsp1 .desc {
    font-size: 13px;
    color: hsl(0deg 0% 10% / 50%);
       text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0;
}

.boxsp2 a {
    color: #0047F4;
    font-size: 15px;
    text-decoration: none;
}

.boxsp3 p {
    font-size: 15px;
    color: #333;
}

.boxsp4 span {
    font-weight: bold;
}

.stock-zero {
	color: #FF0000;
}

.price-break-table table{
	width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid hsl(0deg 0% 10% / 10%);
    border-radius: 5px;
}

.price-break-table th {
    background: #E9E9E9;
    padding: 6px;
    text-align: left;
    font-weight: 700;
    text-align: center;
}

.price-break-table thead{
	border-radius: 5px 5px 0 0;
}

.price-break-table td {
    padding: 7px 3px;
    text-align: center;
    border-bottom: 1px solid hsl(0deg 0% 10% / 10%);
}

.price-break-table tr:last-child td{
	border-bottom: none;
}

/* ── Auto-suggest dropdown ─────────────────────────────────────── */
.caia-suggest-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    max-height: 260px;
    overflow-y: auto;
}
.caia-suggest-dropdown li {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 8px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s;
    overflow: hidden;
}
.caia-suggest-dropdown li:last-child {
    border-bottom: none;
}
.caia-suggest-dropdown li:hover,
.caia-suggest-dropdown li.active {
    background: #f5f8ff;
}
.caia-suggest-dropdown .suggest-mpn {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    white-space: nowrap;
    flex-shrink: 0;
}
.caia-suggest-dropdown .suggest-mpn strong {
    color: #FF9F1C;
}
.caia-suggest-dropdown .suggest-title {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.nuttanggiam input[type=number]::-webkit-inner-spin-button, 
.nuttanggiam input[type=number]::-webkit-outer-spin-button { 
    opacity: 1; 
    -webkit-appearance: none;
}

.nuttanggiam input[type=number]:focus{
    outline: none;
}

.box-product-left .entry-content{
    float: left;
    width: calc(100% - 62px);
    padding: 30px;
    border: 1px solid hsl(0deg 0% 10% / 10%);
    margin: 30px 0 0;
    border-radius: 10px;
}

.dssp{
  max-height: 900px;
  overflow-y: auto;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: hsl(0deg 0% 10% / 50%) transparent;
}

/* Chrome/Edge/Safari */
.dssp::-webkit-scrollbar{
  width: 8px;                 /* container rộng hơn để dễ bấm */
}

.dssp::-webkit-scrollbar-track{
  background: transparent;
}

.dssp::-webkit-scrollbar-thumb{
  background: transparent;    /* bỏ thumb “dày” */
  box-shadow: inset 0 0 0 2px hsl(0deg 0% 10% / 50%); /* 🔥 vẽ line 2px */
  border-radius: 10px;
}

.dssp::-webkit-scrollbar-thumb:hover{
  box-shadow: inset 0 0 0 2px hsl(0deg 0% 10% / 50%);
}

.tax-product_cat .site-inner{
	padding-bottom: 0;
}

.feauture-post .main-posts,
.feauture-post ul{
	float: left;
	width: calc(50% - 30px);
	margin: 0 15px;
}

.feauture-post .post img{
	border-radius: 15px;
	width: 100%;
	aspect-ratio: 555 / 334; /* vuông 1:1 */
	object-fit: cover;
}

.feauture-post li{
	float: left;
	width: 100%;
	list-style-type: none;
	margin-bottom: 20px;
}

.feauture-post li:last-child{
	margin-bottom: 0;
}

.feauture-post li img{
	border-radius: 10px;
	width: 180px;
	aspect-ratio: 180 / 108; /* vuông 1:1 */
	object-fit: cover;
	float: left;
	margin: 0 15px 0 0;
}

.feauture-post .post-info,
.category .post .post-info{
	color: hsl(0deg 0% 0% / 30%);
	margin: 10px 0;
}

.feauture-post .widget-item-title a{
	font-size: 17px;
	font-weight: bold;
	color: #1A1A1A;
}

.feauture-post li a{
	font-weight: bold;
	color: #1A1A1A;
}

.feauture-post li .widget-title{
   text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.feauture-post .more-link{
	display: none;
}

.breadcrumb .breadcrumb-link-wrap{
	margin: 0 0 0 15px;
}

.form-search .widget,
.menu-level{
	margin: 0 15px;
}

.category .archive-heading{
	margin-left:  15px;
}

.tax-product_cat .archive-heading a,
.category .archive-heading a{
	margin: 0;
}

.feauture-post{
	padding: 10px 0 60px;
}

.category .site-inner{
	width: 100%;
	background: #F8F9FA;
	padding: 0;
}

.category .site-inner .cat-title .archive-heading{
	width: 1140px;
	padding: 20px 0;
	margin: 0 auto;
}

.category .site-inner .cat-title,
.category .site-inner .feauture-post{
	background: #fff;
}

.category .site-inner .feauture-post .widget{
	width: 1170px;
	margin: 0 auto;
}

.category .site-inner main.content{
	width: 1170px;
	margin: 0 auto;
	float: none;
	padding: 60px 0;
	 display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category main.content .post img{
	background: unset;
	padding: 0;
	overflow: cover;
	width: 100%;
	border: 0;
	aspect-ratio: 360 / 217; /* vuông 1:1 */
	border-radius: 10px;
	margin: 0;
}

.category main.content .pagination ,
.category main.content .tieude{
    grid-column: 1 / -1;
}

.category main.content .tieude{
	font-size: 30px;
	font-weight: bold;
	color: #1A1A1A;
	margin: 0;
}

.category main.content .post .entry-title a{
	font-weight: bold;
	color: #1A1A1A;
}

.category .content-account{
	margin: 0;
	border-top: 1px solid #1a1a1a1a;
}

.head_page{
	margin: 0 15px;
	width: 750px;
}

.manufacturer-search input{
	height: 50px;
    line-height: 50px;
    font-size: 15px;
    background: #F4F4F4;
    border-radius: 10px;
    padding: 0 15px;
    width: calc(100% - 30px);
    border: none;
}

.manufacturer-search{
	margin: 30px 15px 50px;
}

.manufacturer-list{
	display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin: 0;
}

.manufacturer-list h2{
	display: none;
}


.box_infomanu{
	background: url(images/nen.jpg) no-repeat center center;
	background-size: cover;
	padding: 30px;
	border-radius: 10px;
	float: left;
	width: calc(100% - 90px);
	margin: 0 15px 40px;
}

.box_infomanu .nd{
  border-radius: 10px;
  display: flex;               /* QUAN TRỌNG */
  min-height: 200px;            /* fix chiều cao giống mẫu */
  overflow: hidden;
}

.box_infomanu .box_left{
  width: 300px;
  background: #fff;
  display: flex;                /* center ảnh */
  align-items: center;          /* center dọc */
  justify-content: center;      /* center ngang */
}

.box_infomanu .box_left img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.box_infomanu .box_right{
    flex: 1;
    background: hsl(222deg 82% 21% / 50%);
    padding: 30px 40px;
    color: #fff;
}

.box_infomanu .box_left{
  border-radius: 10px 0 0 10px;
}

.box_infomanu .box_right .nhan{
	font-size: 40px;
	font-weight: bold;
	color: #fff;
}

.box_infomanu .box_right p{
	color: #fff;
	margin-bottom: 15px;
}

.box_infomanu .box_right p:last-child{
	margin-bottom: 0;
}

.tab-manu{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
  border-bottom: 2px solid #0A2463; /* line xanh dài */
  margin-bottom: 50px;
}

.tab-manu li{
  position: relative;
  padding-bottom: 15px;
  cursor: pointer;
}

.tab-manu li p{
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #222;
}

.single-manufacturer main.content article{
	float: left;
	width: calc(100% - 30px);
	margin: 0 15px;
}

.tab-manu li.active{
	color: #FF9F1C;
	font-weight: bold;
}

.tab-manu li.active:after{
	content: '';
	width: 100%;
	height: 2px;
	background: #FF9F1C;
	position: absolute;
	bottom: -2px;
	left: 0;
}

.content-manu h2{
	font-size: 25px;
    font-weight: bold;
    color: #1A1A1A;
    margin: 0 0 15px;
}

.content-manu .tab-content ol{
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 30px;
    margin-bottom: 20px;
}

.content-manu ol li {
    color: #1A1A1A;
    margin: 0 0 15px 0;
    list-style-type: none;
    background: url(images/ico-li.svg) no-repeat left top 10px;
    padding-left: 15px;
}

.content-manu ol li a {
    color: #1A1A1A;
}

.content-manu p,
.content-manu ul{
	margin-bottom: 15px;
}

.content-manu .tab-content:first-child h2{
	margin-bottom: 20px;
}

.content-manu .tab-content:nth-child(n+2){
	width: 950px;
	margin: 0 auto;
}

.datasheet-box span{
	font-weight: bold;
}

.datasheet-box a,
li.datasheet a{
	background: url(images/pdf.svg) no-repeat left center;
	color: #0047F4;
	padding-left: 30px;
}

.single main.content h2,
.page main.content h2{
	font-size: 25px;
	font-weight: bold;
	margin: 15px 0;
}

.single main.content h3,
.page main.content h3{
	font-size: 20px;
	font-weight: bold;
	margin: 15px 0;
}

.btn-xemthem {
	text-align: center;
    margin: 20px auto;
    cursor: pointer;
    color: #434343;
    background: linear-gradient(to top, #ffffff, #ffffffed, #ffffff9e);
    padding: 50px 0 0;
    margin-top: -40px;
    z-index: 9;
    position: relative;
}

.btn-xemthem.btn-collapse{
    background: unset;
    padding: 0;
    margin: 20px 0 0 0;
}

.btn-xemthem span{
	font-weight: bold;
	background: url(images/them.svg) no-repeat right center;
	padding-right: 25px;
	display: inline-block;            /* ⭐ bắt buộc để transform */
    transition: transform 0.3s ease;  /* xoay mượt */
}

.btn-xemthem.btn-collapse span{
	background: url(images/dong.svg) no-repeat right center;
	padding-right: 25px;
}

.single-product .yarpp-related{
	margin: 100px 0 0;
}

.single .yarpp-related .title{
	font-size: 25px;
	font-weight: bold;
	margin: 0 15px 30px;
}

.left-check-cart{
	float: left;
	width: 848px;
	border: 1px solid hsl(0deg 0% 10% / 10%);
	border-radius: 15px;
	margin: 0 0 0 15px;
}

.left-check-cart .title-shopcart {
    background: #F8F8F8;
    border-radius: 15px 15px 0 0;
    padding: 0 20px;
    width: calc(100% - 40px);
}

.left-check-cart .title-shopcart > li {
   text-align: center;
   list-style-type: none;
   font-weight: bold;
   padding: 17px 0;
}

.left-check-cart .li-products,
.left-check-cart .title-shopcart{
 	display: grid;
    grid-template-columns: 240px 1fr 1fr 1fr 1fr 30px;
    align-items: center;
}

/* Cột 1 to nhất */
.left-check-cart .title-shopcart > li:first-child{
   border-radius: 15px 0 0 0;
   text-align: left;
}

.left-check-cart .li-products > li:not(:first-child){
	text-align: center;
}

.left-check-cart .title-shopcart > li:last-child{
	border-radius: 0 15px 0 0;
}

.left-check-cart .li-products{
	margin: 0 20px;
	width: calc(100% - 40px);
}

.left-check-cart .li-products > li{
	list-style-type: none;
}

.left-check-cart .li-products .images-products img{
	width: 60px !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	float: left;
	margin: 0 15px 0 0;
	border-radius: 10px;
}

.left-check-cart .li-products .images-products .name-products a{
	font-weight: bold;
	font-size: 16px;
	text-transform: uppercase;
	color: #333;
}

.avail-products .backorder{
	color: #FF0000;
}

.left-check-cart .li-products .mota{
	font-size: 13px;
	color: hsl(0deg 0% 10.2% / 50%);
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;	
}

.left-check-cart .li-products{
	border-bottom: 1px solid hsl(0deg 0% 10.2% / 10%);
	margin-bottom: 20px;
	padding-bottom: 15px;
}

.left-check-cart .li-products:last-child{
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 20px;
}

.left-check-cart .li-products:nth-child(2){
	margin-top: 20px;
}

.left-check-cart .li-products .images-products .infosp{
	float: left;
	width: calc(100% - 75px);
}

.left-check-cart .api-cart-row .avail-products {
	color: red;
}

.li-products .nuttanggiam{
	width: 95px;
	margin: 0 auto;
}

.li-products .nuttanggiam input{
	width: 100%;
}

.li-products .delete-products a{
	background: url(images/xoa.png) no-repeat center center;
	text-indent: -9999px;
	display: block;
}

h1.title{
	font-size: 30px;
	font-weight: bold;
	margin:  0 15px 30px;
}

.right-column-cart{
	float: right;
	width: calc(100% - 850px - 30px - 30px);
	margin: 0 15px 0 0;
}

.right-column-cart .box-sum,
.right-column-cart #info-customer{
	box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	padding: 0 20px;
	float: left;
	width: calc(100% - 40px);
	margin: 0 0 20px;
}

.right-column-cart .note{
	font-size: 13px;
	color: hsl(0deg 0% 10.2% / 50%);
	float: left;
	width: 100%;
}

.right-column-cart .tbao{
    background: url(images/tbao.svg) no-repeat left center;
    padding-left: 30px;
    width: calc(100% - 30px) !important;
}

#info-customer .cart-summary .button {
    background: #FF9F1C;
    border-radius: 5px !important;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
    color: #0A2463 !important;
    display: block;
    text-align: center;
    margin: 0;
    width: 100%;
    padding: 0;
}

#info-customer .cart-summary .button:hover{
	background: #FF6900;
}

#checkout-form p input#full-name, #checkout-form p input#address, #checkout-form p input#phone, #checkout-form p input#email{
	height: 40px !important;
	background: unset !important;
	border: 1px solid hsl(0deg 0% 10.2% / 10%) !important;
}

#checkout-form #message{
	border-radius: 5px;
	border: 1px solid hsl(0deg 0% 10.2% / 10%) !important;
	width: calc(100% - 32px);
	padding: 10px 15px;
	height: 60px !important;
}

#checkout-form p{
	margin-bottom: 10px !important;
}

p.submit{
	padding: 5px 0 0 0 !important;
}

.note_image{
	text-align: center;
    line-height: 1.3;
    margin: 15px 0 0;
    color: #b4b2b2;
    font-style: italic;
    font-weight: 300;
}

.box-sum .cart-total,
.box-sum .fee_ship{
	padding: 0;
	float: left;
    width: 100%;
    margin:  0 0 10px;
}

.duoc .total-price-bottom{
    border-top: 1px solid hsl(0deg 0% 10% / 10%);
    padding: 15px 0 0;
    margin: 10px 0;
}

.duoc .total-price-bottom .tongtien{
	font-size: 20px;
	margin: 0 0 5px;
}

.duoc .total-price-bottom .gsc-total-price-all{
	color: #0A2463;
	float: right;
}

.box-sum .gsc-total-price-all,
.box-sum .gsc-ship-fee{
	float: right;
}

.dssp .no-result{
	padding: 15px;
}

.shop-cart-expand .widgettitle{
	background: unset;
    font-weight: 500;
    margin: 0 0 15px;
    padding: 0;
    float: left;
    width: 100%;
    font-size: 16px;
}

.shop-cart-expand .product-list img{
	float: left;
	width: 80px;
	border-radius: 5px;
}

.shop-cart-expand .product-list .product-name a{
	color: #333;
	font-weight: 600;
}

.shop-cart-expand .product-list .product-qty{
	color: #7d7c7c;
    margin: 5px 0;
    display: block;
}

.shop-cart-expand a.shop-cart{
	background: #0a2463 !important;
	border-radius: 5px;
}

.shop-cart-expand a.shop-cart:hover{
	background: #ff9f1c !important;
	border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
}

.site-header.f-head{
	position: fixed;
	top: 0;
	z-index: 9999;
}

.site-header .widget-area .gsc-shop-cart .shop-cart-expand {
    width: 290px;
    border-radius: 16px;
    right: 0;
    transform: translateX(0);
}

.gsc-shop-cart .shop-cart-expand .product-price del{
	color: #9c9c9c;
    margin: 0 0 0 10px;
    font-size: 13px;
}

.sidebar .widget .widgettitle a,
.sidebar .widget .widgettitle p{
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 18px;
}

.sidebar .caia-post-list-widget .post{
	float: left;
	width: 100%;
	margin: 15px 0 0;
}

.sidebar .caia-post-list-widget .post img{
	width: 130px;
	margin: 0 15px 0 0;
	float: left;
}

.sidebar .caia-post-list-widget .post a{
	color: #333;
	font-weight: 500;
}

.sidebar .caia-post-list-widget .main-posts{
	padding: 0 15px;
}

.sidebar .widget .post .widget-item-title{
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

#reply-title {
	font-size: 25px;
    font-weight: bold;
    margin: 0 0 20px;
}

.yarpp-related{
	float: left;
	width: 100%;
	margin: 30px 0;
}

.single .yarpp-related .post{
	float: left;
	width: calc(25% - 30px);
	margin: 0 15px;
}

.single .yarpp-related .post img{
	width: 100%;
	aspect-ratio: 750 / 450; /* vuông 1:1 */
	object-fit: cover;
	margin: 0 0 15px 0;
	border-radius: 5px;
}

.single .yarpp-related .post .widget-item-title a{
	color: #333;
	font-weight: 600;
}

.page-template-page-request .page .entry-content table{
	border-collapse: separate;
  border-spacing: 40px 0;
  margin-left: -40px;
  margin-right: -40px;
}

.page-template-page-request .page .entry-content table td{
	padding: 0 0 20px;
}

.page-template-page-request .page .entry-content table p{
	margin: 0;
}

.page-template-page-request .page .entry-content table h3{
	margin: 0 0 5px;
}

.content-account .widget_caldera_forms_widget {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.content-account .widget_caldera_forms_widget .widget-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    background: #0a2463;
    padding: 20px 20px 0;
    z-index: 3000;
    border-radius: 20px;
}

.content-account .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;
}

.content-account .widget_caldera_forms_widget input{
	height: 45px;
	box-shadow: none;
	border: none;
	border-radius: 5px;
	font-size: 16px;
}

.content-account .widget_caldera_forms_widget input[type="submit"]{
	background: #FF9F1C;
    color: #0A2463;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    height: 45px;
    padding: 0 50px;
}

.content-account .widget_caldera_forms_widget input[type="submit"]:hover{
	background: #FF6900;
}

.content-account .widget_caldera_forms_widget p{
	width: 100%;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

/* [Phase 5] API product image placeholder trong cart */
.api-product-img-placeholder {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-block;
}

/* [Phase 5] N/A value (Shipping, Tariff) */
.na-value {
    color: #888;
    font-style: italic;
}

/* [Phase 6] Override slider CSS cho API single image (không dùng slick carousel) */
.api-single-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.price-row span.title{
	display: inline-block;
	width: 110px;
}
p.contact-price{
	text-align: center;
}
img[src$=".svg"] {
    width: 100% !important;
}

.manufacturer-item a {
    display: flex;
    align-items: center;      /* căn giữa theo chiều dọc */
    justify-content: center;  /* căn giữa theo chiều ngang */
    height: 120px;            /* chiều cao cố định của khung, chỉnh theo ý bạn */
    width: 100%;
    border: 1px solid hsl(0deg 0% 10% / 10%);
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.manufacturer-list img{
	border-radius: 10px;
	margin: 0;
	  max-width: 80%;      /* chừa khoảng đệm 2 bên, tùy chỉnh */
    /*max-height: 70%; */
    width: auto;
    height: auto;
    object-fit: contain;
}