/*
Theme Name: monoka
Text Domain: monoka.vn
Version: 0.0.1
Requires PHP: 7.0
Description: theme thuộc quyền sở hữu của monoka
Author: Dương dịu dàng 
Author URI: http://monoka.vn/
*/

body{
	font-size: 14px;
	font-family: Inter, sans-serif;
	line-height: 1.5;
	color: rgb(34 34 34 / var(--tw-text-opacity, 1));
	margin:0px;
	font-weight: 400;
}
a{
	color: rgb(34 34 34 / var(--tw-text-opacity, 1));
	text-decoration: none;
}
a:hover{
	color: #3992e5;
}
bdi{
    font-weight: 600;
}
.wrap-head{
		border-bottom: 1px solid #ccc;
}
.logo{
	width: 100px;
}
.container{
	max-width: 1650px;;
	margin: 0px auto;
}
.head{
	display: flex;
	justify-content: space-between;
		align-items: center;
	padding: 10px 0px;
}
.left-head,.main-menu,.right-head,.head-search,.menu-head-right,.menu-head-right-item{
	display: flex;
}
.main-menu{
	gap: 25px;
	list-style-type: none;
		font-size: 16px;
	font-weight: 600;
}
.head-search{
	margin-right: 50px;
}
.head-search input{
	width: 300px;
	height: 30px;
	border-radius: 7px 0px 0px 7px;
	border: solid 1px #c3c3c3;
	position: relative;
	padding: 5px 5px 5px 13px;
}
.menu-custom-icon{
		margin-top: -1px;
}
.head-search svg{
	width: 24px;
	background: #be2a32;
	padding: 9px;
	border-radius: 0px 7px 7px 0px;
}

.right-head,.menu-head-right{
	gap: 20px;
}
.menu-head-right-item{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}
.home-endow-item{
	display: flex;
	gap: 10px;
}
.home-endow-item-img{
	padding: 10px 10px 4px 10px;
	background: #be2a321c;
	max-height: fit-content;
	border-radius: 5px;
}
.menu-head-right-item img{
	width: 20px;
}
.endow-item-text p{
	margin-block-start: 0px;
	margin-block-end: 5px;
	color: #666565;
}
.endow-item-text b{
	font-size: 16px;
}

.effect-shine {
  position: relative;
  overflow: hidden; /* Bắt buộc phải có để ẩn phần ánh sáng thừa ra ngoài */
}

.effect-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%; /* Đặt vị trí bắt đầu ở ngoài cùng bên trái */
  width: 50%;
  height: 100%;
  
  /* Tạo dải sáng trắng mờ dần ở hai đầu */
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0) 100%
  );
  
  /* Nghiêng dải sáng đi 30 độ để nhìn tự nhiên hơn */
  transform: skewX(-30deg); 
}

/* Kích hoạt hiệu ứng khi di chuột qua (Hover) */
.effect-shine:hover::after{
  /* Dịch chuyển dải sáng chạy từ trái sang phải */
  left: 150%; 
  /* Thời gian chạy là 0.75 giây */
  transition: left 0.75s ease-in-out; 
}
.link-prd img{
	height: 315px!important;
	width: auto!important;
}


/* Đảm bảo khung chứa ảnh là gốc tọa độ */
.slider-product-thumbnar {
    position: relative;
    overflow: hidden;
}

/* Định dạng nhãn phần trăm giảm giá */
.onsale-badge {
	position: absolute;
	top: 10px;
	left: -12px;
	background-color: #ff0000;
	color: #fff;
	font-weight: bold;
	padding: 4px 8px 4px 16px;
	border-radius: 20px;
	font-size: 13px;
	z-index: 10;
	border: 2px solid #fff;
}

/* Định dạng wrapper của nút thêm vào giỏ hàng */
.add-to-cart-btn-wrap {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
}



/* Tạo dấu cộng bằng CSS */
.add-to-cart-btn-wrap .button::before {
    content: "+";
    font-size: 20px;
    font-weight: normal;
}

/* Hiệu ứng khi di chuột vào nút cộng */
.add-to-cart-btn-wrap .button:hover {
    background-color: #333 !important;
    color: #fff !important;
}

/* Định dạng lại khu vực giá cho giống mẫu */
.price {
    margin-top: 5px;
    font-size: 15px;
    text-align: center;
}
.price del {
    color: #999;
    font-size: 13px;
    margin-right: 7px;
    text-decoration: line-through;
}
.price ins {
    color: #be2a32;
    font-weight: bold;
    text-decoration: none;
}
.product-name{
	margin: 10px;
	top: 3px;
	position: relative;
	bottom: 10px;
	display: flex;
	text-align: center;
		display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 1. Thiết lập khung chứa ảnh để ẩn nút khi chưa hover */
.slider-product-thumbnar {
    position: relative;
    overflow: hidden; /* Bắt buộc phải có để ẩn nút khi nó nằm ở dưới */
}

/* 2. Trạng thái mặc định của nút (Ẩn và nằm dịch xuống dưới) */
.add-to-cart-btn-wrap {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    
    /* Hiệu ứng ẩn và đẩy xuống dưới */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Đẩy nút xuống dưới 20px */
    
    /* Thiết lập thời gian mượt mà cho hiệu ứng (0.3 giây) */
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

/* 3. Khi RE CHUỘT (Hover) vào sản phẩm -> Nút xuất hiện và trượt lên */
.slider-product-wrap:hover .add-to-cart-btn-wrap {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Trở về vị trí ban đầu (Hiệu ứng từ dưới lên) */
}

/* 4. Định dạng giao diện nút dấu cộng */
.add-to-cart-btn-wrap .button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #be2a3257 !important;/* Đổi sang nền trắng cho nổi bật trên ảnh */
    color: #be2a32 !important;
    border: 1px solid #be2a32 !important;
    border-radius: 4px; /* Bo góc nhẹ cho nút vuông vắn giống ảnh image_55a1aa.png */
    font-size: 0 !important; /* Ẩn chữ mặc định của WooCommerce */
    padding: 0 !important;
    cursor: pointer;
    box-shadow: 0 3px 10px array(0,0,0,0.1); /* Thêm đổ bóng nhẹ để nút nhìn nổi hơn */
    transition: all 0.2s ease;
}

/* Tạo dấu cộng bằng CSS */
.add-to-cart-btn-wrap .button::before {
    content: "+";
    font-size: 22px;
    font-weight: normal;
}

/* Hiệu ứng khi di chuột trực tiếp vào chính nút cộng */
.add-to-cart-btn-wrap .button:hover {
    background-color: #be2a32 !important;
    color: #fff !important;
    border-color: #be2a32 !important;
}

/* 1. Thiết lập hiệu ứng tráng gương chuẩn bị sẵn trên khung ảnh */
.slider-product-thumbnar a.link-prd {
    position: relative;
    display: block;
    overflow: hidden; /* Giữ vệt sáng không bị tràn ra ngoài khung ảnh */
}

/* 2. Tạo vệt sáng tráng gương bằng thuộc tính giả ::after */
.slider-product-thumbnar a.link-prd::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Đẩy vệt sáng ẩn hoàn toàn về bên trái */
    width: 50%;
    height: 100%;
    
    /* Tạo dải màu trắng mờ vát chéo làm vệt tráng gương */
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg); /* Vát chéo vệt sáng để nhìn tự nhiên hơn */
    z-index: 2;
}

/* 3. Kích hoạt vệt sáng lướt qua khi hover chuột vào sản phẩm */
.slider-product-wrap:hover .slider-product-thumbnar a.link-prd::after {
    left: 125%; /* Đẩy vệt sáng chạy mượt mà sang hẳn bên phải */
    
    /* Thiết lập thời gian lướt qua là 0.6 giây */
    transition: left 0.6s ease-in-out;
}

/* 4. Tùy chọn bổ sung: Làm ảnh hơi sáng lên một chút khi hover (nếu muốn) */
.slider-product-wrap:hover .slider-product-thumbnar img {
    filter: brightness(1.03);
    transition: filter 0.3s ease;
}

.excerpt-blogs p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wrapr-footer{
    counter-reset: #fff;
}
.footer-item p svg{
    width: 12px;
}
footer{
    background: #333;
    color: #fff;
    padding: 50px 0px;
    margin-top: 30px;
}
.end-footer{
    background: #000;
    text-align: center;
    color: #525252;
    font-size: 12px;
    padding: 2px;
}
.footer-item a{
    color: #fff;
}
.footer-item a:hover{
    color: #3992e5;
}
.footer-item p svg{
    margin-right: 10px;
}
.wrapr-footer {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.footer-item ul{
    padding-inline-start: 0px;
    list-style-type: none;
}
.footer-item ul li{
    margin-bottom: 10px; 
}

.footer_trustbadge{
    margin-top: 20px;
}

#InputDK{
    width: 100%;
    padding: 10px 0px;
    border-radius: 50px;
}
#BTNDK{
    margin: 0;
    position: relative;
    top: -35px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-transform: inherit;
    padding: 6px;
    width: 60px; 
    background: #be2a32;
    color: #fff;
    border: 1px solid #be2a32;
}
.footer-input{
    text-align: end;
}
#InputDK:focus {
  border-color: #007bff; /* Đổi màu viền thành màu xanh (tùy chọn) */
  outline: none;         /* Tắt đường viền mặc định của trình duyệt */
  
  /* Tạo hiệu ứng đổ bóng lan tỏa mờ (Glow effect) */
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.5); 
}

.cmt-slider-hear{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}
.cmt-slider-avt{
    width: 45px !important;
    border-radius: 50%;
}
.cmt-slider-name{
    font-size: 16px;
    font-weight: 700;
}

.cmt-slider-time{
    color: #888888;
}
.google{
    width: 18px !important;
}
.cmt-slider-info-wrap{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}
.cmt-slider-star{
    font-size: 18px;
    margin-top:11px ;
}
.cmt-slider-bottum{
    display: flex;
    justify-content: space-between;
}
.cmt-slider-img{
    width: 80px !important;
    border-radius: 14px;
}

.cmt-slider .item{
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 14px;
    box-shadow: 1px 2px 8px #ccc;
    margin-bottom: 4px;
    margin: 10px;
}
.cmt-slider{
    margin-bottom: 100px;
}

.cmt-slider-text{
    max-width: 215px;
}
.cmt-slider-star img{
    width: 20px !important;
}
.cmt-slider-star{
    display: flex;
    gap: 5px;
}

.home-endow{
    display: flex;
    justify-content: space-between;
}

.home-endow-item{
    display: flex;
    gap: 10px;
}
.home-endow-item-img img{
    width: 25px;
}
.home-endow-wrap{
    padding: 30px 0px;
}

.home-category-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0px 0px 0px;
}