/*
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.   ***************/
.wpcf7-form.init p{
  display: flex;
}
.wpcf7 input[type="email"] {
  flex: 1;
  border: none;
  outline: none;
  border-radius: 20px;
}
.wpcf7 input[type="submit"] {
  border-radius: 0 20px 20px 0;
  border: 1px solid white;
  right: 15px;

}
.footer-wrapper .logo img{
  filter: brightness(0) invert(1);

}
.star-rating span:before {
    color: #fcc330;
}

.section_danhmucslide .flickity-page-dots {
    bottom: -5px;
}
.flickity-slider .is-selected,
.flickity-slider .flickity-slider > * {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: none !important;
}

/* Đảm bảo ảnh không bị lazy hoặc bị làm mờ */
.flickity-slider .row {
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
}
.header-main .top-divider {
  display: none;
}
.product_title {
      font-size: 1.5em;
    font-weight: bold;
    color: var(--fs-color-primary);
}
.title_main {
  font-size: 1.7em;
}
.lightbox-content {
    max-width: 1200px;
}
.lightbox-content section:not(:first-of-type) {
    padding: 30px;
    margin: 0 auto;
}
.lightbox-content section:first-of-type .col-inner {
   padding: 20px 30px 10px 30px;

}
.row_title_lightbox .col-inner {
  background-color: var(--fs-color-primary);
}
.row_title_lightbox .col-inner h2, .row_title_lightbox .col-inner p{
  color: white;
}
.box-product a.ux-menu-link__link {
  font-size: 1.2em;
}
.box-product a.ux-menu-link__link:hover {
  color: var(--fs-color-primary);
  border-bottom: 1px solid var(--fs-color-primary);
  font-weight: bold;
}
.btn_mua {
    position: relative;
    display: inline-flex;
    padding: 4px 16px;
    background: linear-gradient(to left, white 50%, var(--fs-color-primary) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    color: var(--fs-color-primary) !important;
    border-radius: 10px;
    white-space: nowrap;
    transition: background-position 0.45s ease;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--fs-color-primary);
}
.btn_mua:hover{
    background-position: left bottom;
    background-color: white !important;
    color: white !important;
    box-shadow: unset;
}
.box-product .box-image { 
  overflow: visible;
}
.menu-item a {
  margin: 0 10px;
}
.section_danhmucslide .icon-inner {
  color: #f29500;

}
.section_danhmucslide .icon-inner svg {
  padding: 25px 0 10px 0;;
}
.section_danhmucslide .icon-inner::before {
    content: "";
    border: 1px solid var(--fs-color-primary);
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    border-radius: 10px;
    width: 100%;
    height: 125%;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 2px 6px rgb(0 0 0 / 19%), inset 0 1px 1px rgb(255 255 255 / 61%);

}

.section_danhmucslide h3 {
  color: #f29500;
}
.box-product img {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.28)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.2)) drop-shadow(0 8px 6px rgba(146, 82, 82, 0.14)) drop-shadow(0 12px 10px rgba(0, 0, 0, 0.06)) drop-shadow(0 24px 20px rgba(0, 0, 0, 0.015));
}
.box-product img:hover {
    filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.32)) drop-shadow(0 8px 5px rgba(0, 0, 0, 0.24)) drop-shadow(0 14px 10px rgba(0, 0, 0, 0.18)) drop-shadow(0 20px 16px rgba(0, 0, 0, 0.08)) drop-shadow(0 32px 26px rgba(0, 0, 0, 0.025));
}
.section_aroma img {
    object-fit: cover;
    aspect-ratio: 6 / 8;
}
@media (max-width: 767px) {
   .title_main {
    font-size: 1.2em;
   }
}
@media (max-width: 768px) and (min-width: 1000px) {
   .title_main {
    font-size: 1.4em;
   }
}
.title_main { 
  background: linear-gradient(90deg, #737478, var(--fs-color-primary), var(--fs-color-secondary) );
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  position: relative;
  width: fit-content;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.5px !important;
}
   
.background_linear {
  background: linear-gradient(135deg,
    rgba(255, 240, 245, 0.7),  
    rgba(255, 249, 230, 0.7),  
    rgba(255, 252, 240, 0.8),  
    rgba(245, 250, 255, 0.9), 
    rgba(255, 243, 204, 0.75),  
    rgba(255, 230, 240, 0.75),  
    rgba(248, 248, 248, 0.9),  
    rgba(255, 255, 255, 0.95),  
    rgba(255, 250, 252, 0.8)    
  );
  background-size: 600% 600%;
  animation: gradientShift 40s ease-in-out infinite;
  box-shadow: 0 12px 32px rgba(0, 75, 173, 0.12);
  transition: box-shadow 1.2s ease;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.section_twobanner .col-inner , .section_congnghe .col_img .img-inner, .section_camket .col_img .img-inner{
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08), 4px 8px 8px rgba(0, 0, 0, 0.06);
}
.section_congnghe .col_congnghe h3 {
  margin-bottom: 0;
}
.section_congnghe .col_congnghe .icon-box {
      display: flex;
    align-items: center;
}
.section_congnghe .col_congnghe .icon-box .icon-inner {
  aspect-ratio: 6 / 6;
    padding: 2px;
    overflow: hidden;
}
.section_congnghe .col_congnghe .icon-box .icon::before {
    content: "";
    border: 1px solid var(--fs-color-primary);
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 2px 6px rgb(0 0 0 / 19%), inset 0 1px 1px rgb(255 255 255 / 61%);
}
.section_congnghe .col_congnghe .icon-box .icon-inner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--fs-color-primary);
    border-radius: 5px;
    z-index: -1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}
.section_congnghe .col_congnghe .icon-box .icon-inner svg{
  padding-top: 0 ;
  padding: 5px;
  /*color: white;*/
}
.section_camket  {
  background-color: #f5e8e4;
}
.section_camket .row_camkettext .col-inner {
    box-shadow: 0 8px 18px rgba(240, 98, 146, 0.25), 0 2px 6px rgba(115, 116, 120, 0.15);
    transition: all 0.35s ease;
    padding: 10px;
    border-radius: 10px;
}
.section_camket .row_camkettext .col-inner:hover {
    box-shadow: 0 12px 24px rgba(240, 98, 146, 0.35), 0 4px 10px rgba(115, 116, 120, 0.25);
    transform: scale(1.05) translateY(-5px);
}