/*
Theme Name: Cfaagra Child
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/*--------------------------------------------------------------
 # Root css
--------------------------------------------------------------*/
:root{
/*     --gold: #D4B152; */
    --gold: #9b305e;
    --black:#141414;
    --light:#F6F4F2;
    --white: #FFFFFF;
    --transition: all 0.5s ease-in-out;
    --headingSize: 55px;
}
body::-webkit-scrollbar {
 width: 6px;
}
body::-webkit-scrollbar-track {
 background:var(--white);
 border-radius: 8px; 
}
body::-webkit-scrollbar-thumb {
 background:var(--gold);
 border-radius: 8px;
}
a{
    transition: all 0.3s;
}
::selection{
    background-color:var(--black);
    color: var(--white);
}
/*------------------------------------------------------------
 # Header css
--------------------------------------------------------------*/
div[data-elementor-type="header"].sticky .header_top {
    display: none !important;
}
div[data-elementor-type="header"].sticky .header_bottom {
    position: fixed;
    top: 0px;
    z-index: 999;
    left: 0px;
    width: 100%;
    background-color: var(--white);
}
div#wpadminbar ~ div[data-elementor-type="header"].sticky .header_bottom{
    top: 32px;
}
.header_top {
    position: relative;
    z-index: 999;
}
/*------------------------------------------------------------
 # Home css
--------------------------------------------------------------*/
.black_btn a::after,.white_btn a::after,.get_touch_form div.elementor-field-type-submit button::after {
    background-color:var(--gold) !important;
    border-radius: 50%;
    content: '';
    height: 167px;
    min-width: 167px;
    position: absolute;
    top: 0;
    transform: scale(1) translateY(60px);
    transition: transform 0.8s cubic-bezier(.66, .00, .34, 1.00);
    width: 100%;
    z-index:1;
    opacity: 1 !important;
}
.white_btn a::after {
    background-color:var(--black) !important;
}
.black_btn a,.white_btn a, .get_touch_form div.elementor-field-type-submit button {
     overflow: hidden;
    position: relative;
}
.black_btn a:hover,.white_btn a:hover{
     transition-delay:0.5s;
    background-color:var(--gold) !important;
}
.white_btn a:hover{
    background-color:var(--black) !important;
}
.black_btn a:hover *,.white_btn a:hover *, .get_touch_form div.elementor-field-type-submit button:hover{
    transition-delay: 0.3s;
    color: var(--white) !important;
}
.black_btn a:hover::after,.white_btn a:hover::after,.get_touch_form div.elementor-field-type-submit button:hover::after {
  height: 400%;
  transform: scale(2) translateY(0);
}
.black_btn a,.white_btn a{
    position:relative;
    overflow: hidden;
    border-radius: 4px;
}
.black_btn a *,.white_btn a *{ 
    z-index: 2;
    position: relative;
}
.heading_text > *{
    overflow: hidden;
}
.heading_text span{
  display: inline-block;
  opacity: 0;
}
.owl-item.active .heading_text span {
  animation-name: example;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    max-width: calc(100% - 140px);
    left: 50%;
    margin:0px !important;
    transform: translate(-50%,-50%);
}
.owl-nav button {
    background-color: transparent !important;
    border: unset !important !important;
    outline: unset !important !important;
}
.owl-nav button  svg{
        --qodef-svg-path-length: 66px;
    overflow: visible;
    stroke-width: 1;
    stroke-miterlimit: 10;
    fill: none;
    stroke:#fff;
}
.owl-nav button  svg path{
    stroke-dashoffset: 0;
    stroke-dasharray: var(--qodef-svg-path-length);
    transition: stroke-dashoffset 1s cubic-bezier(0,0,.44,.98);
}
.owl-nav button:hover  svg path{
 stroke-dashoffset: calc(2 * var(--qodef-svg-path-length))
}
@keyframes example {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.shop_item h3 {
    font-size: 16px;
    color: var(--black);
    font-family: 'Poppins';
    margin: 16px 0px 0px;
    text-align: center;
}
.shop_img,.shop_img img{
     display: block;
     height: 332.58px !important;
     position: relative;
     overflow: hidden;
     object-fit: cover;
     width: 100%;
}
.shop_item span.read_btn {
    position: absolute;
    bottom: -80px;
    z-index: 3;
    left: 0px;
    background-color:rgba(255,255,255,0.5);
    color: var(--black);
    width: 100%;
    justify-content: center;
    padding: 15px 34px;
    border: 1px solid transparent;
    text-align: center;
    transition: all 0.5s;
    font-family: 'Poppins';
}
.shop_item a:hover span.read_btn {
    bottom: 0px;
}
.shop_img img {
    transition: all 0.5s;
    transform: scale(1);
}
.shop_item a:hover img {
    transform: scale(1.06);
}
/*.banner_box{
    min-height: calc(100vh - 126.19px) !important;
}*/
.img_postion {
    position: absolute !important;
    left: 0px;
    max-width: fit-content !important;
    top: 50%;
    transform: translate(-100%,-50%);
    padding: 10px;
    background-color: var(--white);
    transition: all 0.75s ease;
}
.product_left {
    overflow: hidden !important;
}
.product_left .img1{
    transform: translateX(100%);
    transition: all 0.75s ease;
}
.product_sec .owl-item.active .product_left .img1{
    transform: translate(0px, 0px);
    visibility: visible;
}
.product_sec .owl-item.active .product_left .img_postion {
    transform: translate(0%,-50%);
}
.img1 img {
    height: 566px !important;
    margin-left: auto;
    object-fit: cover !important;
}
.img_postion img {
    width: 320px !important;
    object-fit: cover;
}
.product_right .left_slide,.product_right .white_btn{
    transition: all 1s ease;
    opacity: 0;
    transform: translateX(100px);
}
.product_right .white_btn{
    transition-delay: 0.3s;
}
.product_sec .owl-item.active .left_slide,.product_sec .owl-item.active .white_btn{
    opacity: 1;
    transform: translate(0px);
}
.line_btn a {
   position: relative;
    padding: 0!important;
    background-color: transparent;
    border: 0;
    line-height: 1.564rem;
    --qodef-underline-position-y: calc(100% - 1px);
    --qodef-underline-height: 1px;
    background-repeat: no-repeat;
    background-image: linear-gradient(90deg,currentColor 0,currentColor 100%);
    background-position: 100% var(--qodef-underline-position-y);
    background-size: 100% var(--qodef-underline-height)
}
.line_btn a:hover {
   animation: qode-inline-underline-initial-hover .95s cubic-bezier(.29,.15,.34,.88) 1 forwards
}
@keyframes qode-inline-underline-initial-hover {
    0% {
        background-position: 100% var(--qodef-underline-position-y);
        background-size: 100% var(--qodef-underline-height)
    }
    35% {
        background-position: 100% var(--qodef-underline-position-y);
        background-size: 0 var(--qodef-underline-height)
    }
    36% {
        background-position: 0 var(--qodef-underline-position-y);
        background-size: 0 var(--qodef-underline-height)
    }
    100% {
        background-position: 0 var(--qodef-underline-position-y);
        background-size: 100% var(--qodef-underline-height)
    }
}
.testimonial_slide .elementor-main-swiper{
    overflow: hidden;
}
.testimonial_slide  .elementor-testimonial__text::before {
    content: "";
    display: block;
    width: 105px;
    height: 18px;
    margin-bottom: 20px;
    background-image: url(images/star.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.gallery_box figure a ,.gallery_box figure a img{
    display: block;
    overflow: hidden;
    width:100%;
    object-fit:cover;
    min-height: 364.78px !important;
}
.gallery_box figure a img {
    transition: all 0.5s;
    transform: scale(1);
}
.gallery_box figure a:hover img {
    transform: scale(1.06);
}
.error_sec .white_btn a::after {
    background-color: var(--gold) !important;
}
/*------------------------------------------------------------
 # Our Products css
--------------------------------------------------------------*/
.shop_products .shop_post_list {
    display: flex;
    flex-flow: wrap;
    grid-gap: 40px 20px;
}
.shop_products .shop_post_list .shop_item {
    width: calc(100%/3 - 13.33px);
}
.archive .main-content {
    padding: 80px 15px 80px;
    border-top: 1px solid #f6f4f2;
}
.archive .main-content h1,.archive .main-content > div.shop_products {
    max-width: 1320px;
    margin: 0 auto;
}
.archive .main-content > div.shop_products {
    margin-top: 40px;
}
.archive .main-content h1 {
    text-align: center;
    font-family: "Italiana", Sans-serif;
    font-size: 105px;
    font-weight: 400;
    color: var(--black);
    line-height: 1;
}
.archive .main-content p {
    text-align: center;
    margin: 10px 0px 0px;
}
/*------------------------------------------------------------
 # About Page css
--------------------------------------------------------------*/
.shop_contact ul li span.elementor-icon-list-text a, .footer_contacts ul li span.elementor-icon-list-text a{
    color: var(--black);
}
.shop_contact ul li span.elementor-icon-list-text a:hover, .footer_contacts ul li span.elementor-icon-list-text a:hover {
    color: var(--gold);
}
.privacy_contact p a span {
    color: var(--gold);
    transition: all 0.3s;
}
.privacy_contact p a span:hover {
    color: var(--black);
}
.get_touch_form div.elementor-field-type-submit button span {
    z-index: 2;
}
.get_touch_form div textarea {
    height: 146px;
}
.login_btn a {
    background-color: var(--black);
    padding: 6px 24px;
    border-radius: 4px;
    color: var(--white) !important;!i;!;
    align-items: baseline;
    display: inline-block;
}
.login_btn a:hover {
    background-color: var(--gold);
}
.login_btn {
    width: fit-content !important;
}
.xoo-el-sidebar {
    min-width: 40% !important;
}
.xoo-el-main {
    display: flex !important;
    align-items: center !important;
    height: 100%;
}
.xoo-el-form-container ul.xoo-el-tabs li,.xoo-aff-group input[type="text"], .xoo-aff-group input[type="password"], .xoo-aff-group input[type="email"], .xoo-aff-group input[type="number"], .xoo-aff-group select, .xoo-aff-group select + .select2, .xoo-aff-group input[type="tel"], .xoo-aff-group input[type="file"] {
    font-family: "Poppins", Sans-serif;
    outline:unset !important;
}
.xoo-el-form-container button.btn.button.xoo-el-action-btn {
    border: unset !important;
}
.xoo-el-container:not(.xoo-el-style-slider) .xoo-el-inmodal {
    max-height: 575px;
}
/*------------------------------------------------------------
 # Latest News css
--------------------------------------------------------------*/
.news_blog_grid nav.elementor-pagination {
    margin-top: 16px;
}
.news_blog_grid nav.elementor-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid black;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    margin: 0px !important;
    color: var(--black);
}
.news_blog_grid nav.elementor-pagination span.page-numbers.current,.news_blog_grid nav.elementor-pagination .page-numbers:hover {
    color: var(--gold);
    border-color: var(--gold);
}
.news_blog_grid .elementor-post__excerpt p,.news_grid_box div.elementor-image-box-content p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.news_grid_box {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}
.news_grid_box figure img {
    max-height: 304px;
    object-fit: cover;
    display: block;
}
.news_grid_box div.elementor-image-box-content {
    padding: 0px 0px 24px;
}
.team_member .elementor-image-box-content h3 {
    margin: 0px;
}
.team_member figure,.team_member figure img {
    display: block !important;
}
.team_member div.elementor-image-box-content {
    position: absolute !important;
    bottom: 0px;
    padding: 20px 20px;
    background-color: var(--light);
}
.product_images div.gallery figure img {
    height: 268px;
    object-fit: cover;
    display: block;
}
.review_content div.elementor-widget-container, .review_content div.elementor-widget-container p {
    margin: 0px !important;
}
.review_content div.elementor-widget-container p {
    min-height: 202px;
}
.testimonial_slider .item .light_head h2 {
    min-height: 48px;
}
.copy_text {
    text-align: center;
}
.copy_text * {
    text-align: center;
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    font-weight: 400;
}
.post_grid_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px 20px;
}
.post_box{
    display: block;
}
.post_box img,.post_box span{
    height: 270px !important;
    display: block !important;
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(1);
    transition: all 0.4s;
}
.post_box:hover img{
    transform: scale(1.03);
}
.post_box span{
    margin-bottom: 16px;
}
.post_box *{
    font-size: 16px;
    color: var(--black);
    font-family: 'Poppins';
}
.post_box h3{
    font-size: 20px;
    font-weight: 700;
    margin: 16px 0px 10px;
    font-family: 'Italiana';
}
.post_box h4{
    color: #6E6E6E;
    font-weight: 400;
    margin: 12px 0px 10px;
}
.post_box p{
    font-weight: 400;
    margin: 0px 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.video_postion video.elementor-video {
    min-height: 580px;
}
.category_img:hover img {
    transform: rotate(8deg);
}
.category_img img {
    transition: all 0.3s;
}
.product_category_box:hover {
    transform: scale(0.96);
}
/*------------------------------------------------------------
 # Responsive css
--------------------------------------------------------------*/
@media(min-width: 1024px){
    div[data-elementor-type="header"] .elementor-nav-menu .sub-menu {
        min-width: 200px !important;
        position: absolute !important;
        padding: 8px 0 !important;
        z-index: 100;
        visibility: hidden;
        border-top: 3px solid var(--gold) !important;
        background-color: var(--white) !important;
        opacity: 0;
        box-shadow: 0 0 60px 0 rgb(53 57 69 / 15%);
        transform: rotateX(-90deg);
        transform-origin: 0 0;
        display: block !important;
        transition: all 500ms linear 0ms;
        border-radius: unset !important;
    }
    div[data-elementor-type="header"] .elementor-nav-menu li:hover .sub-menu {
         visibility: visible !important;
         opacity: 1 !important;
         transform: rotateX(0) !important;
         z-index: 999;
    }
    div[data-elementor-type="header"] .elementor-nav-menu .sub-menu li a{
        padding: 10px 25px !important;
        display: flex;
        grid-gap: 4px;
        border: unset;
        align-items: center;
    }
    div[data-elementor-type="header"] .elementor-nav-menu .sub-menu li a::before{
        content: "";
        height: 1px;
        background-color: var(--black);
        transition: all 0.3s ease-out 0s;
        display: block;
        width:0px;
    }
    div[data-elementor-type="header"] .elementor-nav-menu .sub-menu li a:hover::before{
        width: 12px;
    }
    div[data-elementor-type="header"].sticky .hfe-site-logo-set img {
        height: 85px;
    }
}
@media (max-width: 1280px) {
    .news_grid_box figure img {
        max-height: 272px;
    }
}
@media(max-width: 1024px){
    div[data-elementor-type="header"] nav {
        position: fixed;
        width: 100%;
        top: 0px;
        left: 0px;
        margin: 0px !important;
        padding: 100px 0px 20px;
        background-color: var(--white) !important;
        min-height: 100vh;
        transform: scale(1) !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease !important;
        z-index: 9;
    }
    div[data-elementor-type="header"] nav{
        border-radius:unset !important;
    }
    div[data-elementor-type="header"] nav[aria-hidden="false"]{
        opacity: 1;
        visibility: visible;
    }
    .header_logo,.header_bottom  .elementor-menu-toggle {
            z-index: 99 !important;
            position: relative !important;
    }
    div[data-elementor-type="header"] nav ul li a{
        background-color:transparent !important;
        border-bottom: 1px solid rgba(0,0,0,0.2);
    }
    div[data-elementor-type="header"] nav ul li.current_page_item  a{
        color:var(--gold) !important;
    }
   div[data-elementor-type="header"] nav > ul > li:last-child > a{
        border-bottom: unset;
    }
    .product_inner{
        max-width: 700px !important;
        margin:12px auto 0px !important;
    }
    .owl-nav {
        max-width: calc(100% - 30px);
    }
    .gallery_box .gallery-item {
        max-width: 33.33% !important;
    }
    .shop_img,.shop_img img{
         height: 250px !important;
    }
    .gallery_box figure a ,.gallery_box figure a img{
        min-height: 300px !important;
    }
    .archive .main-content {
        padding: 60px 15px 60px;
    }
    .archive .main-content > div.shop_products {
        margin-top: 30px;
    }
    .archive .main-content h1 {
        font-size: 75px;
    }
    .get_touch_form div textarea {
        height: 100px;
    }
    .news_grid_box figure img {
        max-height: 226px;
    }
    .video_postion video.elementor-video {
        min-height: 566px;
    }
}
@media(max-width: 991px){
    .shop_img,.shop_img img{
         min-height: 250px;
    }
    .shop_img,.shop_img img{
         height: 200px !important;
    }
    .gallery_box figure a ,.gallery_box figure a img{
        min-height: 250px !important;
    }
    .xoo-aff-group {
        margin-bottom: 15px !important;
    }
    .xoo-el-container:not(.xoo-el-style-slider) .xoo-el-inmodal {
        max-height: fit-content !important;
        height: auto !important;
        padding: 0px 0px !important;
    }
    .news_grid {
        flex-flow: wrap !important;
        justify-content: center !important;
    }
    .news_grid > div {
        width: calc(100%/2 - 15px)!important;
    }
    .news_grid_box figure img {
        max-height: 254px;
    }
	.post_grid_list {
    grid-template-columns: repeat(2, 1fr);
}
}
@media(max-width: 767px){
    .shop_img,.shop_img img{
         min-height: 200px;
    }
    .img1 img {
        height: 350px;
        width:80%;
    }
    .img_postion img {
        width:100%;
        height: 200px !important;
    }
    .hero_slider .owl-dots {
        margin: 0px !important;
        position: absolute;
        bottom: 0px;
        left: 50%;
        padding: 0px;
        transform: translateX(-50%);
        bottom: -30px;
    }
    .hero_slider .owl-dots button span{
        width:8px !important;
        height:8px !important;
    }
    .hero_slider .owl-dots span {
        background-color: var(--black) !important;
        opacity: 0.3;
    }
    .hero_slider .owl-dots button.active span {
        opacity: 1;
    }
   /* .banner_box{
        min-height:500px !important;
    }*/
    .gallery_box figure a ,.gallery_box figure a img{
        min-height: 150px !important;
    }
    .shop_products .shop_post_list .shop_item {
        width: calc(100%/2 - 10px);
    }
    .archive .main-content > div.shop_products {
        margin-top: 24px;
    }
    .archive .main-content h1 {
        font-size: 55px;
    }
	.post_grid_list {
    grid-template-columns: repeat(1, 1fr);
}
}
@media(max-width: 575px){
    .shop_img, .shop_img img {
        height: 150px !important;
    }
    .shop_item a span.read_btn{
        display: none;
    }
    .gallery_box .gallery-item {
        max-width: 50% !important;
    }
    .shop_img,.shop_img img{
         height: 150px !important;
    }
    .shop_products .shop_post_list {
        grid-gap: 30px 20px;
    }
    .img1 img {
        height: 440px !important;
    }
    .news_grid > div {
        width: calc(100%/1 - 0px)!important;
    }
    .news_grid_box figure img {
        max-height: 254px;
    }
    .news_grid_box figure img {
        max-height: 326px;
    }
}
@media (max-width: 479px) {
    .product_images div.gallery figure {
        max-width: 50% !important;
    }
    .news_grid_box figure img {
        max-height: 251px;
    }
}