/* Product Tabs Carousel - Frontend Styles */
.ptc-carousel-wrapper {
    margin: 40px 0;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

/* Tabs Navigation */
.ptc-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
}

.ptc-tab-button {
    background: transparent;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    color: #666;
}

.ptc-tab-button:hover {
    color: #000;
}

.ptc-tab-button.active {
    border-bottom-color: #000;
    color: #000;
}

/* Tab Content */
.ptc-tab-content {
    display: none;
}

.ptc-tab-content.active {
    display: block;
}

/* Carousel */
.ptc-products-carousel {
    margin: 0 -10px;
}

/* Product Item */
.ptc-product-item {
    padding: 0 10px;
    text-align: center;
    outline: none;
}

.ptc-product-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.ptc-product-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.ptc-product-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ptc-product-item:hover img {
    transform: scale(1.05);
}

.ptc-product-title {
    font-size: 16px !important;
    margin: 10px 0 5px;
    font-weight: 500;
    line-height: 1.3;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.ptc-product-price {
    font-size: 16px !important;
    font-weight: 700;
    color: #000 !important;
    display: block;
    margin-top: 8px;
    text-align: left;
}

.ptc-product-price del {
    color: #999;
    font-weight: 400;
    font-size: 14px;
    margin-right: 5px;
}

.ptc-product-price ins {
    text-decoration: none;
    color: #000;
    font-size: 16px !important;
}

/* No products message */
.ptc-no-products {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
}

/* Slick Carousel Custom Styles */
.slick-slider {
    position: relative;
    margin: 0 50px;
}

/* DOMYŚLNE PRZYCISKI SLICK - STYLIZOWANE */
.slick-prev,
.slick-next {
    width: 40px !important;
    height: 40px !important;
    z-index: 100 !important;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'slick' !important;
    font-size: 30px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    color: #000 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    
}

.slick-prev {
    left: -50px !important;
top:45%!important;
}

.slick-next {
    right: -50px !important;
top:45%!important;
}

.slick-prev:hover:before,
.slick-next:hover:before {
    color: #666 !important;
}

.slick-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

/* Slick Dots */
.slick-dots {
    bottom: -40px;
    display: none !important;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #000;
    opacity: 0.25;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #000;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .slick-slider {
        margin: 0 40px;
    }
    
    .slick-prev {
        left: -40px !important;
    }
    
    .slick-next {
        right: -40px !important;
    }
}

@media (max-width: 768px) {
    .ptc-carousel-wrapper {
        margin: 30px 0;
    }
    
    .ptc-tab-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .slick-slider {
        margin: 0 30px;
    }
    
    .slick-prev,
    .slick-next {
        width: 30px !important;
        height: 30px !important;
    }
    
    .slick-prev:before,
    .slick-next:before {
        font-size: 30px !important;
    }
    
    .slick-prev {
        left: -30px !important;
    }
    
    .slick-next {
        right: -30px !important;
    }
    
    .ptc-product-title {
        font-size: 13px !important;
        min-height: 34px;
    }
    
    .ptc-product-price {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .ptc-tabs {
        gap: 5px;
    }
    
    .ptc-tab-button {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .slick-slider {
        margin: 0 25px;
    }
    
    .slick-prev,
    .slick-next {
        width: 25px !important;
        height: 25px !important;
    }
    
    .slick-prev:before,
    .slick-next:before {
        font-size: 25px !important;
    }
    
    .slick-prev {
        left: -25px !important;
    }
    
    .slick-next {
        right: -25px !important;
    }
}

/* Mobile - przewijanie zakładek w poziomie */
@media (max-width: 768px) {
    .ptc-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        gap: 5px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    /* Ukryj scrollbar */
    .ptc-tabs::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .ptc-tab-button {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ptc-tab-button {
        padding: 8px 15px;
        font-size: 13px;
    }
}