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

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


.home-img img{
  --g: 10px;     /* the gap */
  --b: 16px;    /* border thickness*/
  --c: #DC143C; /* the color */
  
  
  padding: calc(var(--g) + var(--b));
  --_c: #0000 0 25%, var(--c) 0 50%;
  --_g1: repeating-linear-gradient(90deg ,var(--_c)) repeat-x;
  --_g2: repeating-linear-gradient(180deg,var(--_c)) repeat-y;
  background:
    var(--_g1) var(--_p, 25%) 0   ,var(--_g2) 0    var(--_p,125%),
    var(--_g1) var(--_p,125%) 100%,var(--_g2) 100% var(--_p, 25%);
  background-size: 200% var(--b),var(--b) 200%;
  cursor: pointer;
  filter: grayscale(50%);
  transition: .3s;
}
.home-img img:hover {
  --_p: 75%;
  filter: grayscale(0%);
}
.search-field{
	width :400px !important;
	max-width:100% !important;
}
.title-intro {
	border-bottom: 2px solid red;
	width: fit-content;
}
/* Nút gửi tùy chỉnh */
.btn-custom {
  background-color: #28a745;   /* màu xanh lá */
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 50px;         /* bo tròn nút */
  transition: all 0.3s ease-in-out;
}

.btn-custom:hover {
  background-color: #218838;   /* xanh lá đậm hơn khi hover */
  color: #fff;
  transform: translateY(-2px); /* hiệu ứng nhấn nổi */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.attachment-woocommerce_thumbnail {
  aspect-ratio: 16/9;
  object-fit: cover; 
  width: 100%;
  height: auto;
}
.card-image-related{
	aspect-ratio: 16/9;
  object-fit: cover; 
  width: 100%;
  height: auto;
}
.gallery-slide-marque .flickity-slider > .col {
  flex: 0 0 16.6667% !important;
  max-width: 16.6667% !important;
}
.title-gallery{
	color: red;
    font-weight: bold;
    text-align: center;
}
.contact-fixed {
  position: fixed;
  left: 10px;
  bottom: 80px;
  z-index: 999;
  background: #ffffff;
  padding: 10px 5px;
  border-radius: 40px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f4b183;
}

.contact-fixed a {
  margin: 5px 0;
  display: block;
}

.contact-fixed img {
  width: 36px;
  height: 36px;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}