/*=============================================
=            07. Product            =
=============================================*/
/*----------  default product style  ----------*/
.fl-product {
    text-align: center;
    -webkit-box-shadow: 1px 0 0 0 #ebebeb;
    box-shadow: 1px 0 0 0 #ebebeb;
}

.fl-product .image {
    position: relative;
    padding: 0 5px;
}

.fl-product .image a {
    display: block;
    position: relative;
}

.fl-product .image a img {
    width: 100%;
}

.fl-product .image a img:first-child {
    visibility: visible;
    opacity: 1;
}

.fl-product .image a img:last-child {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.fl-product .image .wishlist-icon {
    position: absolute;
    top: 10px;
    right: 20px;
}

.fl-product .image .wishlist-icon a {
    color: #dedede;
}

.fl-product .image .wishlist-icon a i.icon {
    font-size: 20px;
}

.fl-product .image .wishlist-icon a:hover {
    color: #cf0000;
}

.fl-product .image .wishlist-icon {
    position: absolute;
    top: 10px;
    right: 20px;
}

.fl-product .image .wishlist-icon a {
    color: #dedede;
}

.fl-product .image .wishlist-icon a i.icon {
    font-size: 20px;
}

.fl-product .image .wishlist-icon a:hover {
    color: #cf0000;
}

.fl-product .exclusive-tag:before {
    position: absolute;
    top: -5px;
    right: -1px;
    content: url("https://famsafurniture.com/webassets/exclusive.png");
    z-index: 5;
}

.fl-product .image.sale-product {
    position: relative;
}

.fl-product .image.sale-product:before {
    position: absolute;
    top: 0;
    left: 15px;
    width: 65px;
    content: "SALE";
    z-index: 5;
    background-color: #cf0000;
    font-size: 11px;
    color: #ffffff;
    line-height: 25px;
    font-weight: 600;
}

.fl-product .content {
    position: relative;
    padding: 10px 0;
}

.fl-product .content h2.product-title {
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    color: #064092;
    margin-bottom: 5px;
}

.fl-product .content .rating i.fa {
    color: #e1e1e1;
}

.fl-product .content .rating i.active {
    color: #f9ba48;
}

.fl-product .content p.product-price {
    font-size: 16px;
    font-weight: 500;
    color: #cf0000;
    margin-bottom: 0;
}

.fl-product .content p.product-price span.main-price {
    margin-right: 5px;
}

.fl-product .content p.product-price span.main-price.discounted {
    color: #a4a4a4;
    text-decoration: line-through;
    font-weight: 400;
}

.fl-product .content .hover-icons {
    position: absolute;
    bottom: 15px;
    background-color: #ffffff;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    width: calc(100% - 10px);
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    margin: auto;
}

.fl-product .content .hover-icons ul li {
    display: inline-block;
    margin-right: 5px;
}

.fl-product .content .hover-icons ul li.active a {
    background-color: #cf0000;
    color: #ffffff;
}

.fl-product .content .hover-icons ul li:last-child {
    margin-right: 0;
}

.fl-product .content .hover-icons ul li a {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ebebeb;
    color: #b2b2b1;
    text-align: center;
}

.fl-product .content .hover-icons ul li a i.icon {
    font-size: 18px;
    line-height: 40px;
}

.fl-product .content .hover-icons ul li a:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-bottom: 12px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 400;
    background-color: #444444;
    color: #ffffff;
    line-height: 16px;
    padding: 5px 10px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.fl-product .content .hover-icons ul li a:after {
    position: absolute;
    left: 50%;
    bottom: 100%;
    margin-bottom: 8px;
    margin-left: -4px;
    content: "";
    border-width: 4px 4px 0 4px;
    border-style: solid;
    border-color: #444444 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.fl-product .content .hover-icons ul li a:hover {
    background-color: #cf0000;
    color: #ffffff;
}

.fl-product .content .hover-icons ul li a:hover:before,
.fl-product .content .hover-icons ul li a:hover:after {
    visibility: visible;
    opacity: 1;
}

.fl-product .content .hover-icons-list ul li {
    display: inline-block;
    margin-right: 5px;
}

.fl-product .content .hover-icons-list ul li.active a {
    background-color: #e8e8e8;
    color: #ffffff;
}

.fl-product .content .hover-icons-list ul li:last-child {
    margin-right: 0;
}

.fl-product .content .hover-icons-list ul li a {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ebebeb;
    color: #ffffff;
    text-align: center;
}

.fl-product .content .hover-icons-list ul li a i.icon {
    font-size: 18px;
    line-height: 40px;
}

.fl-product .content .hover-icons-list ul li a:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-bottom: 12px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 400;
    background-color: #444444;
    color: #ffffff;
    line-height: 16px;
    padding: 5px 10px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.fl-product .content .hover-icons-list ul li a:after {
    position: absolute;
    left: 50%;
    bottom: 100%;
    margin-bottom: 8px;
    margin-left: -4px;
    content: "";
    border-width: 4px 4px 0 4px;
    border-style: solid;
    border-color: #444444 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.fl-product .content .hover-icons-list ul li a:hover:before,
.fl-product .content .hover-icons-list ul li a:hover:after {
    visibility: visible;
    opacity: 1;
}

.fl-product:hover .image a img:first-child {
    visibility: hidden;
    opacity: 0;
}

.fl-product:hover .image a img:last-child {
    visibility: visible;
    opacity: 1;
}

.fl-product:hover .content .hover-icons {
    visibility: visible;
    opacity: 1;
}

/*=====  End of 07.Product  ======*/
/*=============================================
=           08. Shop            =
=============================================*/
/*----------  shop header  ----------*/
.shop-header {
    border: 1px solid #ebebeb;
    padding: 15px 25px;
    margin-bottom: 15px;
    /*----------  view mode icons  ----------*/
}

.shop-header .view-mode-icons a {
    font-size: 25px;
    margin-right: 10px;
    color: #dbdbdb;
}

.shop-header .view-mode-icons a.active {
    color: #cf0000;
}

.shop-header .view-mode-icons a:hover {
    color: #cf0000;
}

.shop-header .view-mode-icons a:last-child {
    margin-right: 0;
}

.shop-header .nice-select {
    height: 35px;
    line-height: 35px;
    border-radius: 0;
}

.shop-header .nice-select ul.list {
    border-radius: 0;
    right: 0;
    left: auto;
}

.shop-header .nice-select ul.list li:hover {
    background-color: #cf0000;
    color: #ffffff;
}

.shop-product-wrap.shop-grid-three [class*="col-"] .fl-product {
    -webkit-box-shadow: 1px 0 0 0 #ebebeb !important;
    box-shadow: 1px 0 0 0 #ebebeb !important;
}

@media only screen and (max-width: 575px) {
    .shop-product-wrap.shop-grid-three [class*="col-"] .fl-product {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .shop-product-wrap.shop-grid-three [class*="col-"]:nth-child(2n+2) .fl-product {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
}

@media only screen and (max-width: 767px) {
    .shop-product-wrap.shop-grid-three [class*="col-"]:nth-child(2n+2) .fl-product {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
}

.shop-product-wrap.shop-grid-three [class*="col-"]:nth-child(1n + 4) {
    border-top: 1px solid #ebebeb;
    margin-top: 30px;
    padding-top: 30px;
}

@media (min-width: 1200px) {
    .shop-product-wrap.shop-grid-three [class*="col-"]:nth-child(3n+3) .fl-product {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1499px) {
    .shop-product-wrap.shop-grid-three [class*="col-"]:nth-child(3n+3) .fl-product {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .shop-product-wrap.shop-grid-three [class*="col-"]:nth-child(3n+3) .fl-product {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
}

@media only screen and (max-width: 575px) {
    .shop-product-wrap [class*="col-"]:nth-child(1n+2) {
        border-top: 1px solid #ebebeb;
        margin-top: 30px;
        padding-top: 30px;
    }
}

@media only screen and (max-width: 575px) {
    .shop-product-wrap [class*="col-"] .fl-product {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

.shop-product-wrap [class*="col-"]:nth-child(4n+4) .fl-product {
    -webkit-box-shadow: none;
    box-shadow: none;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .shop-product-wrap [class*="col-"]:nth-child(2n+2) .fl-product {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

@media only screen and (max-width: 767px) {
    .shop-product-wrap [class*="col-"]:nth-child(2n+2) .fl-product {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

.shop-product-wrap [class*="col-"]:nth-child(1n + 5) {
    border-top: 1px solid #ebebeb;
    margin-top: 30px;
    padding-top: 30px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .shop-product-wrap [class*="col-"]:nth-child(1n + 3) {
        border-top: 1px solid #ebebeb;
        margin-top: 30px;
        padding-top: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .shop-product-wrap [class*="col-"]:nth-child(1n + 3) {
        border-top: 1px solid #ebebeb;
        margin-top: 30px;
        padding-top: 30px;
    }
}

/*----------  shop list switcher  ----------*/
.shop-product-wrap.grid .shop-list-view-product {
    display: none;
}

.shop-product-wrap.grid .shop-grid-view-product {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.shop-product-wrap.list [class*="col-"]:nth-child(1n + 5) {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.shop-product-wrap.list [class*="col-"]:nth-child(1n + 2) {
    border-top: 1px solid #ebebeb;
    margin-top: 30px;
    padding-top: 30px;
}

.shop-product-wrap.list .shop-grid-view-product {
    display: none;
}

.shop-product-wrap.list .shop-list-view-product {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.shop-product-wrap.list [class*="col"],
.shop-product-wrap.list [class*="col-"] {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 100%;
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
}

/*----------  shop grid view product style  ----------*/
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .shop-grid-view-product .image {
        width: calc(100% - 9px);
    }
}

@media only screen and (max-width: 575px) {
    .shop-grid-view-product .image {
        left: 0;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        margin: 0;
    }
}

/*----------  shop list view product style  ----------*/
.shop-list-view-product {
    -webkit-box-shadow: none;
    box-shadow: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
}

@media only screen and (max-width: 767px) {
    .shop-list-view-product {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.shop-list-view-product .image {
    width: 270px;
    left: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    border: 1px solid #ebebeb;
}

@media only screen and (max-width: 767px) {
    .shop-list-view-product .image {
        margin-bottom: 30px;
    }
}

.shop-list-view-product .content {
    text-align: left;
    padding: 0;
    padding-left: 15px;
    width: calc(100% - 270px);
}

@media only screen and (max-width: 767px) {
    .shop-list-view-product .content {
        width: 100%;
    }
}

.shop-list-view-product .content h2.product-title {
    margin-bottom: 10px;
}

.shop-list-view-product .content p.product-price {
    margin-bottom: 20px;
}

.shop-list-view-product .content p.product-description {
    margin-bottom: 40px;
}

.shop-list-view-product .content .hover-icons-list {
    visibility: visible;
    opacity: 1;
    position: relative;
    width: 100%;
    left: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    bottom: 0;
}

.shop-list-view-product .content .hover-icons-list  ul li:nth-child(1) a {
    width: 120px;
    border-radius: 30px;
    height: 40px;
    line-height: 40px;
    background-color: #cf0000;
    color: #ffffff;
}

.shop-list-view-product .content .hover-icons-list  ul li:nth-child(1) a:hover {
    background-color: #064092;
    color: #ffffff;
}

.shop-list-view-product .content .hover-icons-list ul li:nth-child(2) a:hover:before {
    visibility: hidden;
}

.shop-list-view-product .content .hover-icons-list ul li:nth-child(2) a:hover:after {
    visibility: hidden;
}

.shop-list-view-product .content .hover-icons {
    visibility: visible;
    opacity: 1;
    position: relative;
    width: 100%;
    left: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    bottom: 0;
}

.shop-list-view-product .content .hover-icons ul li:nth-child(1) a {
    width: 120px;
    border-radius: 30px;
    height: 40px;
    line-height: 40px;
}

.shop-list-view-product .content .hover-icons ul li:nth-child(2) a:hover:before {
    visibility: hidden;
}

.shop-list-view-product .content .hover-icons ul li:nth-child(2) a:hover:after {
    visibility: hidden;
}

/*=====  End of 08. Shop  ======*/