/**
 * Product
 * @author: Tradstar | www.tradstar.info
 * @copyright: Semesp | www.semesp.org.br
 */

/*
    General
*/

.product-link.featured:hover, .product-link.featured:hover:before, .product-link.carousel:hover, .product-link.carousel:hover:before, .product-link.grid:hover, .product-link.grid:hover:before { color: #f5b707 !important; }
.product-link.single:hover { background-color: #f5b707 !important; }
.product-link span.desktop, .product-link span.mobile { display: none; }

.products-carousel { margin-bottom: 50px; }
.product-grid { min-height: 550px; margin-top: 50px; }

.featured-product { padding: 50px 0 !important; background-image: linear-gradient(180deg, #f9f9f9 90%, #fff 100%) !important; }
.featured-product .section-header-menu li a:hover, .featured-product .section-header-menu li a:active, .featured-product .section-header-mobile-menu { border-color: #d8d8d8; }
.featured-product .section-header-title a:before { background-color: #fff; background-size: 60%; }

.product-slider { margin: 0; float: left; position: relative; left: 50%; transform: translateX(-50%); }

.product-carousel .flex-direction-nav { top: 30%; }
.product-slider .flex-direction-nav a { opacity: 1; width: 36px; height: 36px; }
.product-slider .flex-direction-nav a:before { font-size: 36px; }
.product-slider .flex-direction-nav a.flex-prev { left: -50px !important; }
.product-slider .flex-direction-nav a.flex-next { right: -50px !important; }
.product-slider .flex-direction-nav a.flex-prev:hover:before { content: "\e045"; }
.product-slider .flex-direction-nav a.flex-next:hover:before { content: "\e046"; }

.product-list { position: relative; }
.product-carousel .product-list { display: block; }
.product-grid .product-list { display: grid; grid-auto-rows: 1fr; }

.product-item { text-align: left !important; float: left; position: relative; }
.product-featured .product-item { width: 100%; }
.product-grid .product-item { width: 100%; height: auto; }

.product-thumb, .product-no-thumb { width: 100%; max-width: 100%; border-radius: 5px; overflow: hidden; display: inline-block; position: relative; box-shadow: 0 8px 12px -6px rgba(0, 0, 0, .2) !important; }
.product-thumb img { max-width: 100%; float: left; position: relative; left: 50%; transform: translateX(-50%); }
.product-no-thumb { background: #f5f5f5 url(../../assets/images/logo-3.png) no-repeat center center; background-size: 20%; }
.product-thumb:before, .product-thumb:after { opacity: 0; visibility: hidden; width: 100%; height: 100%; left: 0; position: absolute; transition: all .2s ease; }
.product-thumb:before { content: ""; top: 0; background-color: rgba(41, 38, 46, .5); z-index: 1; }
.product-thumb:after { content: "\54"; top: 45%; font-family: 'ETmodules'; color: #fff; text-align: center; z-index: 2; }
.product-thumb:hover:before, .product-thumb:hover:after { opacity: 1; visibility: visible; }
.product-featured .product-no-thumb { height: 360px; }
.product-featured .product-thumb:after { font-size: 40px !important; }
.product-carousel .product-no-thumb, .product-grid .product-no-thumb { height: 210px; }
.product-carousel .product-thumb:after, .product-grid .product-thumb:after { font-size: 30px !important; }

.product-title { width: 100%; display: inline-block; position: relative; }
.product-title a { font-family: 'Myriad Pro'; color: #5b5b5b !important; font-weight: bold !important; display: block; position: relative; }
.product-featured .product-title { padding: 20px 0 30px; font-size: 26px; }
.product-featured .product-title a { line-height: 30px; text-align: left; }
.product-carousel .product-title, .product-grid .product-title { margin-top: 15px; padding-bottom: 0; font-size: 16px; }
.product-carousel .product-title a, .product-grid .product-title a { text-align: center; }

.product-featured .product-title { display: inline; }
.product-featured .product-excerpt { height: auto; margin-bottom: 20px !important; padding-top: 30px !important; line-height: 1.4em !important; font-weight: 100; overflow: hidden; display: block; position: relative; }

.product-link { padding: 8px 15px !important; font-weight: 100 !important; cursor: pointer !important; position: relative !important; }
.product-featured .product-link { display: block !important; }
.product-link:before { margin-right: 10px !important; font-family: 'ETmodules' !important; color: #fff !important; display: inline-block !important; position: relative !important; }
.product-link:after { display: none !important; }
.product-link.featured { text-align: left !important; text-decoration: underline !important; display: block !important; }
.product-link.carousel, .product-link.grid { text-align: center !important; text-decoration: underline !important; display: block !important; }
.product-link.single { margin-top: 20px !important; padding: 5px 20px 10px !important; border-radius: 5px !important; text-align: left !important; color: #fff !important; display: inline-block !important; }
.product-link.single:before { color: #fff !important; }
.product-link.locked:before { content: "\e06c"; }
.product-link.download:before { content: "\e05f"; }
.product-link.more:before { content: "\e05d"; }
.product-link.buy:before { content: "\e07a"; }

.product-filters { width: 95%; background-color: #f9f9f9; border-radius: 5px; display: block; clear: both; position: relative; left: 50%; transform: translateX(-50%); }
.product-filters label { font-family: 'Myriad Pro'; font-weight: 600; text-align: center; display: block; position: relative; }
.product-filters-list { width: auto; padding: 0; display: inline-block; position: relative; left: 50%; transform: translateX(-50%); }
.product-filters-item { font-family: 'Myriad Pro'; font-weight: 100; float: left; }
.product-filters-item a { height: auto; color: #434244; border: solid 1px #e2e2e2; background-color: #fff; cursor: pointer; overflow: hidden; text-decoration: none; display: block; }
.product-filters-item:first-child a { border-radius: 3px 0 0 3px; }
.product-filters-item:last-child a { border-radius: 0 3px 3px 0; }
.product-filters-item a.active { color: #c80725; background-color: #f9f9f9; }

.product-grid .not-found { color: #bc051e; text-align: center; }

.single-product .post-content .product-thumb, .single-product .post-content .product-no-thumb { width: auto; }
.single-product .post-content .product-thumb:before, .single-product .post-content .product-thumb:after { display: none !important; }
.single-product .post-content .product-title { margin: 0 !important; padding: 20px 0 0 !important; }
.single-product .post-content .product-title a { line-height: 1.2em !important; font-weight: bold; }
.single-product .post-content hr { width: auto !important; margin: 40px 0 30px !important; border-top: solid 1px #e2e2e2 !important; border-bottom: none !important; display: block !important; }
.single-product .product-grid { margin-top: 0; }

/*
    Desktop Only
*/

@media all and ( min-width: 981px ){

    .product-carousel, .product-grid { width: 100%; }

    .product-grid .product-list { grid-template-columns: repeat(6, 1fr); grid-gap: 30px 35px; }
    .product-carousel .product-item { width: 160px; }

    .products-carousel .section-title, .product-grid .section-title { margin-bottom: 50px !important; }
    .product-carousel .product-title a, .product-grid .product-title a { line-height: 20px; }
    .single-product .post-content { margin: 20px 0 40px !important; }
    .single-product .post-content .product-title { font-size: 26px !important; text-align: left !important; }
    .single-product .post-content .product-thumb, .single-product .post-content .product-no-thumb { max-width: 350px; margin-bottom: 20px; }

    .product-featured { width: 70% !important; }
    .product-featured .product-excerpt { font-size: 18px; }

    .product-link.featured { line-height: 28px !important; font-size: 18px !important; }
    .product-link.featured:before { bottom: -5px !important; font-size: 24px !important; }
    .product-link.carousel, .product-link.grid { line-height: 22px !important; font-size: 14px !important; }
    .product-link.carousel:before, .product-link.grid:before { bottom: -3px !important; font-size: 18px !important; }
    .product-link.single { margin-right: 10px !important; font-size: 15px !important; }
    .product-link.single:before { bottom: -2px !important; font-size: 22px !important; }
    .product-link.post-flipbook-link:before { top: 5px !important; }

    .product-link span.desktop { display: inline-block !important; }
    .product-link span.mobile { display: none !important; }

    .product-filters { margin: -20px 0 40px; padding: 30px 0; }
    .product-filters label { padding-bottom: 15px; font-size: 18px; }
    .product-filters-list { line-height: 26px; }
    .product-filters-item { line-height: 1em; font-size: 14px; }
    .product-filters-item a { padding: 10px 20px; margin: -1px -1px 0 0; }

}

/*
    Desktop & Tablet
*/

@media all and ( min-width: 768px ){

    .product-featured .product-thumb, .product-featured .product-no-thumb { width: 200px !important; margin-right: 30px !important; }
    .post-content .product-thumb, .post-content .product-no-thumb, .product-slider .product-thumb, .product-slider .product-no-thumb { margin-right: 30px !important; float: left !important; }

}

/*
    Tablet & Mobile
*/

@media all and ( max-width: 980px ){

    .product-carousel { width: 75%; }

    .product-slider:not(.product-carousel) .flex-direction-nav a.flex-prev { left: -30px !important; }
    .product-slider:not(.product-carousel) .flex-direction-nav a.flex-next { right: -30px !important; }

    .product-carousel .product-item { width: 200px; }

    .products-carousel .section-title, .product-grid .section-title { margin-bottom: 40px !important; }
    .product-carousel .product-title a, .product-grid .product-title a { line-height: 1.4em; font-size: 18px; }
    .single-product .post-content { margin: 0 0 30px !important; }

    .product-featured:not(.product-slider) .product-excerpt { line-height: 1.6em; font-size: 20px; }
    .product-featured.product-slider .product-excerpt { line-height: 1.3em; font-weight: 100; }

    .product-link.featured { margin-top: 15px !important; }
    .product-featured:not(.product-slider) .product-link.featured { line-height: 2em !important; font-size: 18px !important; }
    .product-featured:not(.product-slider) .product-link.featured:before { bottom: -3px !important; font-size: 30px !important; }
    .product-featured.product-slider .product-link.featured { line-height: 1.6em !important; font-size: 15px !important; }
    .product-featured.product-slider .product-link.featured:before { bottom: -3px !important; font-size: 24px !important; }

    .product-link.carousel, .product-link.grid { line-height: 1.6em !important; font-size: 16px !important; }
    .product-link.carousel:before, .product-link.grid:before { bottom: -5px !important; font-size: 22px !important; }
    .product-link.single { font-size: 18px !important; }
    .product-link.single:before { bottom: -3px !important; font-size: 26px !important; }

    .product-link span.mobile { display: inline-block !important; }
    .product-link span.desktop { display: none !important; }

    .product-filters-list { width: 90%; }
    .product-filters-item { width: 33%; }
    .product-filters-item a { width: auto; border-radius: 0 0 0 0; }
    .product-filters-item:first-child a { border-radius: 3px 0 0 0; }
    .product-filters-item:nth-child(3) a { border-radius: 0 3px 0 0; }
    .product-filters-item:last-child a { border-radius: 0 0 0 0; }

}

/*
    Tablet Only
*/

@media all and ( min-width: 768px ) and ( max-width: 980px ){

    .product-grid .product-list { grid-template-columns: repeat(4, 1fr); grid-gap: 30px 40px; }

    .single-product .post-content .product-title { font-size: 28px !important; text-align: left !important; }
    .single-product .post-content .product-thumb, .single-product .post-content .product-no-thumb { max-width: 300px; margin-bottom: 20px; }

}

/*
    Mobile Only
*/

@media all and ( max-width: 767px ){

    .product-grid .product-list { grid-template-columns: repeat(3, 1fr); grid-gap: 20px 30px; }

    .product-featured .product-thumb, .product-featured .product-no-thumb, .post-content .product-thumb, .post-content .product-no-thumb, .product-slider .product-thumb, .product-slider .product-no-thumb { left: 50%; transform: translateX(-50%); }
    .product-featured .product-thumb, .product-featured .product-no-thumb, .post-content .product-thumb, .post-content .product-no-thumb { width: 60%; margin-bottom: 40px; }
    .product-featured .product-title a, .product-featured .product-excerpt, .product-featured .product-link { text-align: center !important; }

    .single-product .post-content .product-title { font-size: 26px !important; text-align: center !important; }
    .single-product .post-content .product-thumb, .single-product .post-content .product-no-thumb { max-width: 200px; margin-bottom: 0; }

    .product-link.single { left: 50%; transform: translateX(-50%); }

}

@media screen and ( max-width: 479px ){

    .product-grid { margin-top: 0; }
    .product-grid .product-list { grid-template-columns: repeat(2, 1fr); grid-gap: 30px 30px; }
    .product-grid .product-thumb:before, .product-grid .product-thumb:after { display: none; }

}