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

/*************** ADD CUSTOM CSS HERE.   ***************/
.absolute-footer{
    border-top:1px solid #FFF;
}
.r-cta-khuyenmai .img img{
    transition: transform 0.4s ease-in-out;
}
.r-cta-khuyenmai .img:hover img{
    transform: scale(1.1);
    cursor: pointer;
}

span.star_average{
 color: var(--fs-color-secondary)!important;
}

#comments a.btn-reviews-now{
  background-color:var(--fs-color-secondary)!important;
}

input[name='update_cart'] {
display: none !important;
}

/* OR TRY THIS */

button[name='update_cart'] {
display: none !important;
}

body{
    background: url(https://rt-comfortic.myshopify.com/cdn/shop/t/13/assets/bg-body.png) !important;
    background-position: center top;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: cover;
    font-size: 1rem;
    line-height: 22px;
}
:root {
    --color-body:#FFF;
}
.page-title{
    margin-top:40px;
}
.r-contact .icon-box{
    background:#FFF;
    padding:10px 10px;
    border-radius: 15px;
    box-shadow: 0px -1px 2px 0px rgba(0, 0, 0, 0.04),0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}
.header{
    background:var(--primary-color);
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    position: relative;
}
.header-top{
    padding: 0 15px 55px 15px;
    z-index:2;
}
.header-top .container{
    padding: 6px 0px;
}
.header-main{
    max-width: 1270px;
    text-align: center;
    background: var(--color-body);
    z-index: 3;
    position: absolute;
    left: 0;
    top: 55px;
    right: 0;
    margin: auto;
    border-radius: 60px;
    box-shadow: 0 2px 5px #0000001a;
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}
.add_to_cart_wrapper{
    display:flex;
	flex-wrap:wrap;
    width:100%;
    position: relative;
    gap: 5px;
}
.product-main{
	padding:66px 0px!important;
}
.add_to_cart_wrapper > * {
    flex-basis: 100%;
    display: flex;
    height:auto;
    position: relative;
	width:100%;
}
.add_to_cart_wrapper .button,
.add_to_cart_wrapper .add-to-cart-button{
    width:100%;
    border-radius: 10px;
    display: flex;
    height:100%;
    align-items: center;
    justify-content: center;
    margin:0px;
}
.add_to_cart_wrapper{
    margin-top:10px;
}
.product-small .box-text{
    position: relative;
    height:auto!important;
}

.btn-more-story{
    position: absolute;
    top:-5%;
    left:0px;
    border-color:#FFF;
    border-width:2px;
    transform: translate(50%, 550%);
}
.title-sec{
    font-size:38px;
    line-height: 38px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: auto;
    padding: 10px 26px;
}
/*
.title-sec:before,
.title-sec:after{
    content: "";
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  border-color: var(--primary-color);
  border-style: solid;
  filter: drop-shadow(0 0 6px var(--primary-color))
          drop-shadow(0 0 14px rgba(108, 255, 0, 0.8));
  animation: draw-corner 2.5s ease-in-out infinite;
}
.title-sec::before {
  top: 0;
  right: 0;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 10px;
}*/

/* BOTTOM LEFT */
.title-sec::after {
  bottom: 0;
  left: 0;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 10px;
}
.prod-news{
    justify-content: center;
}

.product-small .col-inner{
    border-radius:20px;
    border:1px solid #d5d5d5;
    overflow: hidden; 
     transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.product-small .box-text{
    border-top:1px solid #d5d5d5;    
}
.product-small:hover .col-inner,
.product-small:hover .box-text{
    border:0px;
}
.product-small:hover .col-inner{
    background:
    radial-gradient(
      circle at top center,
      rgba(25, 82, 62, 0.55),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      #19523e 0%,
      #2f7a60 45%,
      #a7ddc7 75%,
      #ffffff 100%
    );
    overflow:hidden;
}

.rounded .img-inner{
    border-radius:15px;
}
.row-1 .large-12 .col{
    padding-bottom:0px;
}
.row-1 h2{
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.row-1 p{
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 0;
}
.row-1 .wpcf7-form{margin-bottom:0px;}
.row-1 .wpcf7-form .flex-grow p{
    position: relative;
}
.row-1 .wpcf7-form input[type='email']{
    width: 100%;
    height: 38px;
    border-radius: 30px;
    float: left;
    padding-left: 20px;
    border: none;
    color: #000;
    padding-right: 50px;
}
.row-1 .wpcf7-form input[type='submit']{
    min-height: 30px;
    right: 2px;
    top: 3px;
    line-height: 33px;
    border-radius: 30px!important;
    background: var(--fs-color-secondary);
    color: #fff;
    font-size: 16px;
    position: absolute;
    border: none;
    margin:0px;
}
.wpcf7-spinner {
    display:none;
}
.row-1 .large-12 .col {
    align-content: center;
    align-items: center;
}
.list-post .post-item .box-image {
    border-radius: 8px;
}
.box-blog-post .is-divider {
    display: none;
}
.custom-coupon-wrap {
    margin-bottom: 20px;
}

.custom-coupon-wrap form {
    display: flex;
    gap: 10px;
}

.custom-coupon-wrap input {
    flex: 1;
    height: 35px;
}


.custom-coupon-wrap button {
    min-height: 35px;
    line-height: 30px;
    white-space: nowrap;
}

.slider-nav-reveal .flickity-prev-next-button, 
.slider-nav-reveal .flickity-prev-next-button:hover{
    position: absolute;
    border:1px solid #000;
    height:25px;
    width:40px;
    opacity: 1;
    top:-10%;
    border-radius: 99px!important;
    box-shadow: none;
}
.slider-nav-push.slider-nav-reveal 
.flickity-prev-next-button svg{
    margin:0px;
}
.slider-nav-reveal{
    overflow: unset;
}

.slider-nav-reveal 
.flickity-prev-next-button.previous {
    right:5%!important;
    transform: unset!important;
    left:unset!important;
}

.price_wrapper_hnit{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.price_wrapper_hnit .sold{
    font-size: 13px;
    line-height:18px;
}
.price_wrapper_hnit .price span.amount{
    font-size:16px;
    line-height:16px;
}
.product-info .price-wrapper{
    z-index: 2;
    background: #fafafa;
  	padding:10px 10px;
    position: relative;
	  margin:10px 0px;
}
.product-info .price-wrapper .price span.amount{
    font-size:30px;
    line-height: 36px;
    font-weight:500;
}
.product-main .content-row,
.product-footer > .container {
    background:#fff;
    border-radius: 15px;
    
}
.product-main {
    padding-bottom: 20px!important;
}
.title-tab{
        color: rgba(0, 0, 0, 0.87);
    text-transform: Uppercase;
    background: rgba(0, 0, 0, 0.02);
    margin: 0px;
    padding: 0.875rem;
    font-size: 1.125rem;
    font-weight: 600;
}
.content-tab{
    margin: 1.875rem 0.9375rem 0.9375rem;
}

.product-gallery > div{
    margin:10px 0px!important;
} 

/* SHARED DRAW ANIMATION */
@keyframes draw-corner {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  60% {
    width: 26px;
    height: 26px;
    opacity: 1;
  }
  100% {
    width: 26px;
    height: 26px;
    opacity: 0;
  }
}
@media screen and (max-width:463px){
    form.cart{
        display: flex;
        flex-direction: column;
        gap:10px;
    }
}

@media screen and (max-width:425px){
    .add_to_cart_wrapper{
        flex-direction: column;
        grid-row-gap:10px;
    }
	.btn-more-story{
        top:-143px!important;
        transform: (0%,550%)!important;
    }
	.title-sec{
        font-size:25px;
        line-height:35px;
    }
}


.wpcf7 input[type="email"], 
.wpcf7 input[type="text"],
.wpcf7 textarea{
    box-shadow: none;
    border-radius: 8px;
    background:transparent;
    border-color:#d5d5d5;
    transition: border-color 0.3s ease-in;
}
.wpcf7 input[type="email"]:focus, 
.wpcf7 input[type="text"]:focus,
.wpcf7 textarea:focus{
    border-color:#000;
    outline:none;
}

.button.is-outline, input[type=button].is-outline, input[type=reset].is-outline, input[type=submit].is-outline{
border: 1px solid!important;
}

@media screen and (max-width:550px){
    .sticky-add-to-cart__product{
        width:100%;
    }
    .sticky-add-to-cart__product form.cart{
        display:grid;
        grid-template-columns:repeat(3,auto);
    }
	.sticky-add-to-cart__product form.cart button{
        line-height: normal;
    }
	.slider-nav-reveal .flickity-prev-next-button.previous{
        right:12%!important;
        width:30px!important;
        font-size:12px;
    }
    .slider-nav-reveal .flickity-prev-next-button.next{
        width:30px!important;
        font-size:12px;
        right:10px!important;
        
    }
  .header-top{
   padding:0px!important; 
  }
  .header-main{
    top:unset!important;
    position:relative!important;
    border-radius:unset!important;
  }
  
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}