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

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

input.search-field{
  box-shadow: none;
border: 1px solid #395b86;
}
.box-text .product-title{
font-size: 17px;
font-weight: bold;
color: black;
}
.title-header{
color: black;
font-weight: bold;
}
.span-hotline{
  color: #395b86;
font-weight: bold;
font-size: 15px;
}
ul.top-bar-nav .header-cart-title{
font-family: SFUFuturaRegular;
color: black;
}
ul.top-bar-nav i{
color: black;
}
.title-page{
  font-family: SFUFuturaBook;
text-align: center;
text-transform: uppercase;
font-size: 30px;
}

.container-width, .full-width .ubermenu-nav, .container, .row{
max-width: 1200px;
}
.row.row-small{
max-width: 1170px;
}
.row.row-large{
max-width: 1200px;
}
b, strong{
font-weight:bold !important;
}
#mega_main_menu.mega_main_sidebar_menu > .menu_holder > .menu_inner > ul > li > .item_link > i:before{
color: gray !important
}
#mega_main_menu{
z-index: 29 !important
}
.flex-right ul li a{
text-transform: initial !important;
font-size: 16px;
}
#mega_main_menu br{
display: none !important
}

/*Màu sắc button*/
.social-button, .social-icons .button.icon:not(.is-outline), .social-icons .button.icon:hover {
background-color: currentColor !important;
border-color: currentColor !important;
}
.button.facebook,.button.facebook:not(.is-outline), .button.facebook:hover {
color: #fff;
background-color: #446084;
border-color: #446084;
}
.button.twitter,.button.twitter:not(.is-outline), .button.twitter:hover {
color: white !important;
background : #2478ba !important;
border-color: #2478ba;
}
.button.email,.button.email:not(.is-outline), .button.email:hover {
color: #fff;
background-color: black !important;
border-color: black !important;
}
.button.pinterest,.button.pinterest:not(.is-outline), .button.pinterest:hover {
color: #fff !important;
background-color: #cb2320  !important;
border-color: #cb2320  !important;
}

.button.google-plus,.button.google-plus:not(.is-outline), .button.google-plus:hover {
color: #fff !important;
background-color: #dd4e31 !important;
border-color: #dd4e31  !important;
}
.button.linkedin,.button.linkedin:not(.is-outline), .button.linkedin:hover {
color: #fff !important;
background-color: #0072b7 !important;
border-color: #0072b7     !important;
}

.single-date{
  border-bottom: 1px dashed #ededed;
}
h1.entry-title{
font-size: 24px !important;
}
/*Kết thúc màu sắc*/



footer.entry-meta {

border-top: none !important;
border-bottom: 1px dashed #ececec !important;

}


.duong-line {
background: rgba(0,0,0,0) url(images/line.png) repeat scroll 0 0;
height: 12px;
margin-top: 5px;
overflow: hidden;
}
.related-post h7{
font-weight: bold;
font-size: 18px;
float: left;
margin: -8px 20px 0 0;
}

.product-title  {
min-height: 40px;
}
.title-danh-muc{
  background: #395b86;
padding: 7px;
color: white;
font-weight: bold;
}
.title-danh-muc p{
margin-bottom: 0px;
}
.section-slide .large-9{
padding-left: 0px;
}
.lien-he-price{
color: #395b86;
font-weight: bold;
}

/*css mega main menu*/

#mega_main_menu.direction-vertical > .menu_holder > .menu_inner > ul > li > .item_link:before, #mega_main_menu.direction-vertical > .menu_holder > .menu_inner > ul > li.nav_search_box:before{
background-image: none !important
}
/*end css mega main menu*/


.section-text .icon-box{
  border: 1px solid #cdcdcd;
padding: 5px;
}


/*css cho tung theme - ban desktop*/
h1.entry-title{
font-size: 22px !important
}

.hotline-single p{
font-weight: bold;
color: black;


}
.hotline-single p a{
  border-radius: 17px;
color: white;
font-weight: bold;
padding: 10px;
background: #e67e22
}
.hotline-single{
border: #dadada solid 1px;
padding: 15px;
text-align: center;
}
.section-tin-tuc .from_the_blog_excerpt {
min-height: 69px;
}
.header-block-block-1 .col{
padding-bottom: 0px !important;
}
/*het phan css*/

.nrpsctm-block h3{
font-size: 15px !important;
}
.add_to_cart_button{
  background: #395b86 !important;
color: white !important;
}
.section-dia-chi a.button{
  background: #395b86;
color: white;
}
.box-category .box-text .box-text-inner {
padding: 0px 10px;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
ul.nav-dropdown.nav-dropdown-default {
width: 350px;
}

.product-small .box-image img {height: 250px;object-fit: cover;}
.ddg-divider {
display: flex;
align-items: center;
justify-content: center;
margin: 40px auto;  
width: 50%;     
}

.ddg-divider::before,
.ddg-divider::after {
content: "";
flex: 1;
height: 1px;
background: #203a63;   /* màu line */
}

.ddg-divider img {
margin: 0 16px;
max-height: 30px; 
background: #fff;   
padding: 0 8px;
}

/* Update product layout - 3 columns with 600x400px images */
.row .product-small .col-inner {
display: flex;
flex-direction: column;
height: 100%;
}

.row .product-small .box {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center; /* căn giữa ngang */
text-align: center;  /* căn giữa nội dung */
}

.product-small .box-text-products {
display: flex;
flex-direction: column;
justify-content: flex-start;
flex-grow: 1;
margin-top: 10px;
align-items: center; /* căn giữa ngang */
text-align: center;
}

.product-small .product-title {
font-size: 15px;
font-weight: 600;
margin: 8px 0;
line-height: 1.3;
color: #222;
text-align: center;
}

.price-wrapper {
margin-top: auto;
text-align: center; /* căn giữa giá */
}
.price-wrapper .price {
font-size: 15px;
font-weight: 700;
color: #222;
margin-bottom: 0;
display: block;
text-align: center;
}

.product-small .button,
.product-small .add_to_cart_button,
.product-small .view-product {
width: 70%;
text-align: center;
background-color: #002855;
color: #fff;
font-weight: 400;
padding: 0 12px;
border-radius: 30px;
transition: background 0.3s ease;
margin-top: 10px;
margin-left: auto;  /* căn giữa nút */
margin-right: auto;
text-transform: none;
font-size: 14px;
}

.product-small .button:hover,
.product-small .add_to_cart_button:hover,
.product-small .view-product:hover {
background-color: #004080;
color: #fff;
}

.product-small .badge-container {
top: 0;
right: 10px;
left: auto;
margin: 0;
}

.product-small .badge .badge-inner.on-sale {
background: #002855;
color: #fff;
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
padding: 6px 10px;
border-radius: 4px;
}
.product-small .col-inner {
border: 1px solid #e5e5e5;
border-radius: 6px;
background: #fff;
overflow: hidden;
transition: box-shadow 0.3s ease;
margin-bottom: 20px;
}

.product-small .col-inner:hover {
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.product-small .box-image{
width: 100%
}

/* Custom product layout - 3 columns */
.product-item {
height: 100%;
margin-bottom: 30px;
}

.product-inner {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
height: 100%;
display: flex;
flex-direction: column;
}

.product-inner:hover {
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
position: relative;
overflow: hidden;
background: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
}

.product-thumb {
width: 100%;
height: 400px;
object-fit: contain;
transition: transform 0.3s;
}

.product-inner:hover .product-thumb {
transform: scale(1.05);
}

.product-content {
padding: 20px;
flex-grow: 1;
display: flex;
flex-direction: column;
}

.product-title {
margin: 0 0 10px 0;
font-size: 18px;
font-weight: bold;
line-height: 1.3;
}

.product-title a {
color: #333;
text-decoration: none;
}

.product-title a:hover {
color: #395b86;
}

.product-excerpt {
color: #666;
font-size: 14px;
line-height: 1.5;
margin-bottom: 15px;
flex-grow: 1;
}

.product-categories {
margin-bottom: 15px;
font-size: 12px;
}

.product-categories a {
color: #395b86;
text-decoration: none;
background: #f8f9fa;
padding: 3px 8px;
border-radius: 3px;
display: inline-block;
margin-right: 5px;
margin-bottom: 5px;
}

.product-actions {
margin-top: auto;
}

.product-button {
width: 100%;
text-align: center;
background: #395b86;
color: white;
padding: 12px;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
transition: background 0.3s;
display: block;
}

.product-button:hover {
background: #2d4a6b;
color: white;
}

/* Responsive for 3 columns */
@media (max-width: 768px) {
.product-content {
padding: 15px;
}

.product-title {
font-size: 16px;
}

.product-thumb {
height: 300px;
}
}

@media (max-width: 480px) {
.product-thumb {
height: 250px;
}
}

/* Badge HOT cho menu Bảng Màu */
.header-nav-main .menu-item a[href*="/bang-mau"] {
position: relative;
}

.header-nav-main .menu-item a[href*="/bang-mau"]:after {
content: "HOT";
position: relative;
top: -21px;
right: 15px;
background: linear-gradient(45deg, #ff6b6b, #ee5a24);
color: white;
font-size: 10px;
font-weight: bold;
padding: 2px 6px;
border-radius: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
animation: pulse-hot 2s infinite;
z-index: 10;
}

@keyframes pulse-hot {
0% {
transform: scale(1);
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
50% {
transform: scale(1.1);
box-shadow: 0 4px 8px rgba(255,107,107,0.4);
}
100% {
transform: scale(1);
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
}

/* Responsive cho mobile */
@media (max-width: 768px) {
.header-nav-main .menu-item a[href*="/bang-mau"]:after {
top: -5px;
right: -5px;
font-size: 9px;
padding: 1px 4px;
}
}
