/*
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.   ***************/
/* 🌸 Style cho select & input — mềm mại hơn */
.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
  background-color: #fff;
  border: 1px solid #e6dce5; /* màu hồng nhạt pastel */
  
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  color: black;
  font-size: 1em;
  font-family: 'Poppins', sans-serif;
  height: 2.8em;
  max-width: 100%;
  padding: 0 1em;
  transition: all 0.3s ease;
  vertical-align: middle;
  width: 100%;
}

/* 🌷 Khi focus — highlight nhẹ nhàng */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #d7bde2; /* tím pastel */
  box-shadow: 0 0 8px rgba(215, 189, 226, 0.5);
}

/* 🌼 Mũi tên trong select */
.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23b792c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: right 0.8em center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 2em;
}

/* 🌸 Placeholder nhẹ nhàng */
::placeholder {
  color: black;
  font-style: italic;
}

/* 🪞 Khi hover */
input:hover,
select:hover,
textarea:hover {
  border-color: #d9bfe3;
}

body {
	position: relative;
}

.flower {
	position: fixed;
	width: 60px;
	height: 60px;
	background-image: url(/wp-content/uploads/2025/11/flower.png);
	background-size: contain;
	background-repeat: no-repeat;
	opacity: 0.3;
	z-index:0;
}
.box-text-products .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Số dòng muốn giữ */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	margin-bottom:8px !important;
}
.box-text-products .box-excerpt, .box-text-products>p{
	display:none !important;
}
.box-text-products .box-excerpt:empty, .box-text-products p:empty{
	display:none !important;
}
.product-small img {
    aspect-ratio: 2 / 3;
    object-fit: contain !important;
}
.product-thumbnails a{
	aspect-ratio: 1/1;
    padding:5px;
	border:1px solid black;
	border-radius:4px;
}
.product-thumbnails img {
    height: 100%;
    width: 100%;
    object-fit: contain;
	    transform: unset !important;

}
@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(10deg); }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}