/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2025 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

/************* category ***************/

/* Ukrycie elementów owl carousel */
.tvcmscategory-slider .owl-nav,
.tvcmscategory-slider .owl-dots,
.tvcmscategory-slider .owl-prev,
.tvcmscategory-slider .owl-next {
    display: none !important;
}

/* Reset stylów owl carousel */
.tvcmscategory-slider .owl-stage-outer,
.tvcmscategory-slider .owl-stage {
    display: flex !important;
    flex-wrap: wrap !important;
    transform: none !important;
    width: 100% !important;
}

.tvcmscategory-slider .owl-item {
    width: 25% !important;
    flex: 0 0 25% !important;
    max-width: 25% !important;
    float: none !important;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .tvcmscategory-slider .owl-item {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 575px) {
    .tvcmscategory-slider .owl-item {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

.tvcategory-slider-content-box {
    display: flex;
    overflow: visible !important;
    flex-wrap: wrap;
}

/* Grid layout - 4 items per row */
.tvcategory-slider-content-box.tvcategory-grid {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    margin: 0 -7.5px;
}
.tvcategory-slider-content-box.tvcategory-grid .tvcategory-slider-wrapper-info {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
    box-sizing: border-box;
    margin-bottom: 15px;
}
@media (max-width: 991px) {
    .tvcategory-slider-content-box.tvcategory-grid .tvcategory-slider-wrapper-info {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 575px) {
    .tvcategory-slider-content-box.tvcategory-grid .tvcategory-slider-wrapper-info {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.tvcategory-slider-wrapper-info {
    /*display: inline-block;*/
}
.tvcategory-slider-wrapper-info {
    padding: 0 7.5px;
    /*position: relative;*/
    min-width: auto;
    display: block;
}
.owl-item .tvcategory-slider-wrapper-info{
    /*min-width: initial;*/
}
.tvcategory-slider-info-box {
    /*position: absolute;
    top: 50%;
    right: 50px;
    transform: translate(0, -50%);*/
}
.tvcategory-slider-main-title-wrapper {
    position: relative;
}
@media (max-width: 991px) {
    .tvcmscategory-slider {
        margin-bottom: 50px;
    }
}
.tvcmscategory-slider {
    margin-bottom: 80px;
    /*background-color: #f5f5f5;*/
    position: relative;
}
.tvcategory-img-block {
    padding: 20px !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid #eeeeee !important;
    box-sizing: border-box !important;
}

.tvcategory-img-block img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    max-width: 100% !important;
}
.tvcategory-slider-inner-info-box {
    /*padding: 60px 0 45px;*/
}
.tvcategory-slider-wrapper-info a {
    display: block;
    cursor: pointer;
}
.tvcategory-slider-info-box {
}
.tvcategory-slider-info-box {
    width: 100%;
    color: #000;
    font-size: 20px;
    text-align: center;
    text-transform: capitalize;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding-top: 20px;
}
@media (max-width: 991px) {
    .tvcmscategory-slider {
        margin-bottom: 30px;
    }
}
@media(max-width: 575px) {
    .tvcategory-slider-inner-info-box {
        /*padding: 40px 0 25px;*/
    }
    .tvcategory-slider-wrapper-info {
        /*padding: 0 10px 12px 10px;*/
    }
}

.tvcmscategory-slider .tvcategory-img-block img {
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.tvcmscategory-slider .tvcategory-slider-wrapper-info:hover img {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
}

.tvcategory-slider-wrapper-info:hover .tvcategory-img-block {
    border-color: #d9c2a3;
}

/* Responsywność - wycentrowanie z max-width jak .container */
.tvcategory-slider {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .tvcategory-slider {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .tvcategory-slider {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .tvcategory-slider {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .tvcategory-slider {
        max-width: 1410px;
    }
}