/*

   ___                        ___          _           
  / __\___   ___ ___  ___    / __\___   __| | ___  ___ 
 / /  / _ \ / __/ _ \/ __|  / /  / _ \ / _` |/ _ \/ __|
/ /__| (_) | (_| (_) \__ \_/ /__| (_) | (_| |  __/\__ \
\____/\___/ \___\___/|___(_)____/\___/ \__,_|\___||___/
                                                       

*/

/**
 * Ten kod jest chroniony prawem autorskim.
 * Wszelkie prawa zastrzeżone © 2025 COCOS.
 *
 * Korzystanie z tego kodu wymaga posiadania ważnej licencji.
 * Licencję można nabyć w sklepie: https://cocos.codes
 *
 * Nieautoryzowane kopiowanie, modyfikowanie lub dystrybucja 
 * tego kodu jest zabronione i może skutkować konsekwencjami prawnymi.
 *
 * 
 * This code is copyrighted.
 * All rights reserved © 2025 COCOS.
 *
 * Use of this code requires a valid license.
 * The license can be purchased from: https://cocos.codes
 *
 * Unauthorized copying, modification or distribution of. 
 * of this code is prohibited and may result in legal consequences.
 */

/**
 * Style CSS dla modułu cc_ps_home_categories - frontend
 * Rozszerzone style z różnymi wariantami dla siatki, slidera i listy
 *
 */

/* ========================================================================== */
/* WRAPPER GŁÓWNY                                                            */
/* ========================================================================== */

.cc-home-categories-wrapper {
    margin: 40px 0;
    padding: 0 15px;
}

/* ========================================================================== */
/* NAGŁÓWEK SEKCJI                                                           */
/* ========================================================================== */

.cc-home-categories-header {
    text-align: center;
    margin-bottom: 30px;
}

.cc-home-categories-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    position: relative;
}

/* Domyślny styl nagłówka */
.cc-home-categories-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #28a745);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Style nagłówka dla różnych wariantów */
.cc-style-grid_classic .cc-home-categories-title {
    color: #6c5ce7;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cc-style-grid_classic .cc-home-categories-title:after {
    background: linear-gradient(45deg, #6c5ce7, #74b9ff);
    width: 100px;
    height: 4px;
}

.cc-style-grid_modern .cc-home-categories-title {
    color: #333;
    font-weight: 300;
    font-size: 3rem;
    letter-spacing: 2px;
}

.cc-style-grid_modern .cc-home-categories-title:after {
    background: linear-gradient(135deg, #667eea, #764ba2);
    width: 120px;
    height: 2px;
    border-radius: 0;
}

.cc-style-grid_minimal .cc-home-categories-title {
    color: #333;
    font-weight: 400;
    font-size: 2rem;
    text-transform: lowercase;
}

.cc-style-grid_minimal .cc-home-categories-title:after {
    background: #333;
    width: 60px;
    height: 1px;
    border-radius: 0;
}

.cc-style-grid_colorful .cc-home-categories-title {
    background: linear-gradient(45deg, #74b9ff, #4da6ff, #1e90ff, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-transform: capitalize;
}

.cc-style-grid_colorful .cc-home-categories-title:after {
    background: linear-gradient(45deg, #74b9ff, #4da6ff, #1e90ff, #0066cc, #3399ff, #5dade2);
    width: 150px;
    height: 5px;
    border-radius: 10px;
}

.cc-style-grid_elegant .cc-home-categories-title {
    color: #2d3436;
    font-weight: 300;
    font-family: serif;
    font-style: italic;
    letter-spacing: 3px;
}

.cc-style-grid_elegant .cc-home-categories-title:after {
    background: linear-gradient(45deg, #d4af37, #b8941f);
    width: 90px;
    height: 3px;
    border-radius: 0;
}

/* NOWY STYL - GRID DARK */
.cc-style-grid_dark .cc-home-categories-title {
    color: #ffffff;
    font-weight: 500;
    font-size: 2.8rem;
    letter-spacing: 1.5px;
    text-transform: none;
}

.cc-style-grid_dark .cc-home-categories-title:after {
    background: linear-gradient(90deg, #ffffff, #cccccc);
    width: 100px;
    height: 2px;
    border-radius: 1px;
}

/* NOWY STYL - GRID LIGHT BORDERED */
.cc-style-grid_light_bordered .cc-home-categories-title {
    color: #131317;
    font-weight: 500;
    font-size: 2.8rem;
    letter-spacing: 1.5px;
    text-transform: none;
}

.cc-style-grid_light_bordered .cc-home-categories-title:after {
    background: linear-gradient(90deg, #131317, #3a3a3f);
    width: 100px;
    height: 2px;
    border-radius: 1px;
}

.cc-style-slider_classic .cc-home-categories-title {
    color: #0984e3;
    font-weight: 600;
    text-transform: none;
    position: relative;
}

.cc-style-slider_classic .cc-home-categories-title:after {
    background: linear-gradient(90deg, #00cec9, #0984e3);
    width: 100px;
    height: 3px;
}

.cc-style-list_horizontal .cc-home-categories-title {
    color: #00b894;
    font-weight: 500;
    text-align: left;
    padding-left: 20px;
    border-left: 4px solid #00b894;
}

.cc-style-list_horizontal .cc-home-categories-title:after {
    background: linear-gradient(90deg, #00b894, #00cec9);
    width: 200px;
    height: 2px;
    border-radius: 0;
    margin: 15px 0 0 0;
}

.cc-style-list_vertical .cc-home-categories-title {
    color: #0984e3;
    font-weight: 600;
    writing-mode: horizontal-tb;
    position: relative;
}

.cc-style-list_vertical .cc-home-categories-title:after {
    background: #0984e3;
    width: 4px;
    height: 40px;
    border-radius: 2px;
}

.cc-style-list_compact .cc-home-categories-title {
    color: #000000;
    font-weight: 700;
    font-size: 2rem;
    text-transform: lowercase;
}

.cc-style-list_compact .cc-home-categories-title:after {
    background: linear-gradient(45deg, #000000, #fdcb6e);
    width: 60px;
    height: 2px;
    border-radius: 10px;
}

/* ========================================================================== */
/* KONTENER KATEGORII                                                        */
/* ========================================================================== */

.cc-home-categories-container {
    position: relative;
}

/* ========================================================================== */
/* WSPÓLNE STYLE DLA WSZYSTKICH SIATEK                                      */
/* ========================================================================== */

.cc-style-grid_classic .cc-home-categories-container,
.cc-style-grid_modern .cc-home-categories-container,
.cc-style-grid_minimal .cc-home-categories-container,
.cc-style-grid_colorful .cc-home-categories-container,
.cc-style-grid_elegant .cc-home-categories-container,
.cc-style-grid_dark .cc-home-categories-container,
.cc-style-grid_light_bordered .cc-home-categories-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.cc-style-grid_classic .cc-category-item,
.cc-style-grid_modern .cc-category-item,
.cc-style-grid_minimal .cc-category-item,
.cc-style-grid_colorful .cc-category-item,
.cc-style-grid_elegant .cc-category-item,
.cc-style-grid_dark .cc-category-item,
.cc-style-grid_light_bordered .cc-category-item {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* ========================================================================== */
/* SIATKA - KLASYCZNA                                                       */
/* ========================================================================== */

.cc-style-grid_classic .cc-category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
    border-left: 4px solid #6c5ce7;
}

.cc-style-grid_classic .cc-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.2);
    border-left-color: #74b9ff;
}

.cc-style-grid_classic .cc-category-info {
    padding: 20px;
    text-align: center;
}

.cc-style-grid_classic .cc-category-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.cc-style-grid_classic .cc-category-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ========================================================================== */
/* SIATKA - NOWOCZESNA                                                      */
/* ========================================================================== */

.cc-style-grid_modern .cc-category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.cc-style-grid_modern .cc-category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cc-style-grid_modern .cc-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px 20px 20px;
    text-align: center;
}

.cc-style-grid_modern .cc-category-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cc-style-grid_modern .cc-category-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin-bottom: 10px;
}

/* ========================================================================== */
/* SIATKA - MINIMALISTYCZNA                                                 */
/* ========================================================================== */

.cc-style-grid_minimal .cc-category-card {
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: none;
}

.cc-style-grid_minimal .cc-category-card:hover {
    opacity: 0.8;
}

.cc-style-grid_minimal .cc-category-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.cc-style-grid_minimal .cc-category-info {
    padding: 15px;
    text-align: left;
}

.cc-style-grid_minimal .cc-category-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.cc-style-grid_minimal .cc-category-description {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}

/* ========================================================================== */
/* SIATKA - KOLOROWA                                                        */
/* ========================================================================== */

.cc-style-grid_colorful .cc-category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 3px solid transparent;
}

.cc-style-grid_colorful .cc-category-card:nth-child(6n+1) {
    border-color: #74b9ff;
}

.cc-style-grid_colorful .cc-category-card:nth-child(6n+2) {
    border-color: #00b894;
}

.cc-style-grid_colorful .cc-category-card:nth-child(6n+3) {
    border-color: #74b9ff;
}

.cc-style-grid_colorful .cc-category-card:nth-child(6n+4) {
    border-color: #fdcb6e;
}

.cc-style-grid_colorful .cc-category-card:nth-child(6n+5) {
    border-color: #000000;
}

.cc-style-grid_colorful .cc-category-card:nth-child(6n+6) {
    border-color: #00cec9;
}

.cc-style-grid_colorful .cc-category-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.cc-style-grid_colorful .cc-category-info {
    padding: 20px;
    text-align: center;
}

.cc-style-grid_colorful .cc-category-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.cc-style-grid_colorful .cc-category-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* ========================================================================== */
/* SIATKA - ELEGANCKA                                                       */
/* ========================================================================== */

.cc-style-grid_elegant .cc-category-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 3px solid #d4af37;
}

.cc-style-grid_elegant .cc-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-bottom-color: #b8941f;
}

.cc-style-grid_elegant .cc-category-info {
    padding: 25px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #fff, #fafafa);
}

.cc-style-grid_elegant .cc-category-name {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 12px;
    color: #333;
    letter-spacing: 1px;
}

.cc-style-grid_elegant .cc-category-description {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
    font-style: italic;
}

/* ========================================================================== */
/* SIATKA - DARK (NOWY STYL)                                               */
/* ========================================================================== */

.cc-style-grid_dark {
    background-color: #131317;
    padding: 40px 0;
    margin: 0;
}

.cc-style-grid_dark .cc-home-categories-wrapper {
    background-color: #131317;
    margin: 0;
    padding: 40px 15px;
}

.cc-style-grid_dark .cc-category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1f;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid #2a2a30;
}

.cc-style-grid_dark .cc-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border-color: #3a3a40;
}

.cc-style-grid_dark .cc-category-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.cc-style-grid_dark .cc-category-image {
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(20%) contrast(1.1);
}

.cc-style-grid_dark .cc-category-card:hover .cc-category-image {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.2);
}

.cc-style-grid_dark .cc-category-info {
    padding: 24px 20px;
    text-align: left;
    background: linear-gradient(135deg, #1a1a1f 0%, #1f1f24 100%);
}

.cc-style-grid_dark .cc-category-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.cc-style-grid_dark .cc-category-description {
    font-size: 0.9rem;
    color: #b3b3b3;
    line-height: 1.6;
    opacity: 0.9;
}

.cc-style-grid_dark .cc-category-card:hover .cc-category-name {
    color: #f0f0f0;
}

.cc-style-grid_dark .cc-category-card:hover .cc-category-description {
    color: #d0d0d0;
    opacity: 1;
}

/* Dodatkowy efekt dla linków w dark theme */
.cc-style-grid_dark .cc-category-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.cc-style-grid_dark .cc-category-card:hover .cc-category-link::after {
    opacity: 1;
}

/* ========================================================================== */
/* SIATKA - LIGHT BORDERED (NOWY STYL)                                     */
/* ========================================================================== */

.cc-style-grid_light_bordered .cc-category-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(19, 19, 23, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid #131317;
}

.cc-style-grid_light_bordered .cc-category-card:hover {
    box-shadow: 0 16px 40px rgba(19, 19, 23, 0.2);
    border-color: #3a3a3f;
}

.cc-style-grid_light_bordered .cc-category-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.cc-style-grid_light_bordered .cc-category-image {
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: contrast(1.1) brightness(1.05);
}

.cc-style-grid_light_bordered .cc-category-card:hover .cc-category-image {
    transform: scale(1.05);
    filter: contrast(1.2) brightness(1.1);
}

.cc-style-grid_light_bordered .cc-category-info {
    padding: 24px 20px;
    text-align: left;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
}

.cc-style-grid_light_bordered .cc-category-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #131317;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.cc-style-grid_light_bordered .cc-category-description {
    font-size: 0.9rem;
    color: #4a4a4f;
    line-height: 1.6;
    opacity: 0.9;
}

.cc-style-grid_light_bordered .cc-category-card:hover .cc-category-name {
    color: #000000;
}

.cc-style-grid_light_bordered .cc-category-card:hover .cc-category-description {
    color: #2a2a2f;
    opacity: 1;
}

/* Dodatkowy efekt dla linków w light bordered theme */
.cc-style-grid_light_bordered .cc-category-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(19,19,23,0.02) 0%, rgba(19,19,23,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.cc-style-grid_light_bordered .cc-category-card:hover .cc-category-link::after {
    opacity: 1;
}

/* ========================================================================== */
/* STYLE SLIDERA - WSPÓLNE                                                  */
/* ========================================================================== */

.cc-style-slider_classic .cc-categories-slider {
    position: relative;
    overflow: hidden;
}

.cc-style-slider_classic .cc-slider-container {
    display: flex;
    transition: transform 0.3s ease;
}

.cc-style-slider_classic .cc-category-item {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
}

/* ========================================================================== */
/* SLIDER - KLASYCZNY                                                       */
/* ========================================================================== */

.cc-style-slider_classic .cc-category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.cc-style-slider_classic .cc-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cc-style-slider_classic .cc-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.cc-style-slider_classic .cc-category-card:hover .cc-category-overlay {
    opacity: 1;
}

.cc-style-slider_classic .cc-category-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.cc-style-slider_classic .cc-category-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin-bottom: 10px;
}

/* ========================================================================== */
/* STYLE LIST - WSPÓLNE                                                     */
/* ========================================================================== */

.cc-style-list_horizontal .cc-category-item,
.cc-style-list_vertical .cc-category-item,
.cc-style-list_compact .cc-category-item {
    margin-bottom: 20px;
}

/* ========================================================================== */
/* LISTA - POZIOMA                                                          */
/* ========================================================================== */

.cc-style-list_horizontal .cc-category-card {
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cc-style-list_horizontal .cc-category-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.cc-style-list_horizontal .cc-category-image-wrapper {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
}

.cc-style-list_horizontal .cc-category-info {
    padding: 25px;
    flex: 1;
}

.cc-style-list_horizontal .cc-category-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.cc-style-list_horizontal .cc-category-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ========================================================================== */
/* LISTA - PIONOWA                                                          */
/* ========================================================================== */

.cc-style-list_vertical .cc-category-card {
    display: flex;
    flex-direction: column;
    border: 2px solid #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    max-width: 300px;
    margin: 0 auto;
}

.cc-style-list_vertical .cc-category-card:hover {
    border-color: #007bff;
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1);
}

.cc-style-list_vertical .cc-category-image-wrapper {
    width: 100%;
    height: 180px;
}

.cc-style-list_vertical .cc-category-info {
    padding: 20px;
    text-align: center;
}

.cc-style-list_vertical .cc-category-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.cc-style-list_vertical .cc-category-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ========================================================================== */
/* LISTA - KOMPAKTOWA                                                       */
/* ========================================================================== */

.cc-style-list_compact .cc-category-card {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
    padding: 15px;
}

.cc-style-list_compact .cc-category-card:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.cc-style-list_compact .cc-category-image-wrapper {
    width: 130px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: 15px;
    padding-bottom: 15px;
}

.cc-style-list_compact .cc-category-info {
    flex: 1;
}

.cc-style-list_compact .cc-category-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.cc-style-list_compact .cc-category-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* ========================================================================== */
/* WSPÓLNE ELEMENTY                                                         */
/* ========================================================================== */

.cc-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Wrapper obrazka */
.cc-category-image-wrapper {
    position: relative;
    overflow: hidden;
}

/* Rozmiary obrazków */
.cc-size-small .cc-category-image-wrapper {
    height: 150px;
}

.cc-size-medium .cc-category-image-wrapper {
    height: 250px;
}

.cc-size-large .cc-category-image-wrapper {
    height: 350px;
}

/* Obrazek kategorii */
.cc-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Call to action button */
.cc-category-cta {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    color: #fff;
}

.cc-category-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ========================================================================== */
/* NAWIGACJA SLIDERA                                                        */
/* ========================================================================== */

.cc-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.cc-slider-prev,
.cc-slider-next {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-slider-prev:hover,
.cc-slider-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.cc-slider-prev {
    margin-left: 5px;
}

.cc-slider-next {
    margin-right: 5px;
}

/* ========================================================================== */
/* RESPONSYWNOŚĆ                                                            */
/* ========================================================================== */

@media (max-width: 768px) {
    .cc-home-categories-title {
        font-size: 2rem;
    }

    /* Grid styles - mobile */
    .cc-style-grid_classic .cc-category-item,
    .cc-style-grid_modern .cc-category-item,
    .cc-style-grid_minimal .cc-category-item,
    .cc-style-grid_colorful .cc-category-item,
    .cc-style-grid_elegant .cc-category-item,
    .cc-style-grid_dark .cc-category-item,
    .cc-style-grid_light_bordered .cc-category-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* List styles - mobile */
    .cc-style-list_horizontal .cc-category-card {
        flex-direction: column;
    }

    .cc-style-list_horizontal .cc-category-image-wrapper {
        width: 100%;
        height: 200px;
    }

    .cc-style-list_compact .cc-category-card {
        flex-direction: column;
        text-align: center;
    }

    .cc-style-list_compact .cc-category-image-wrapper {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* Slider styles - mobile */
    .cc-style-slider_classic .cc-category-item,
    .cc-style-slider_modern .cc-category-item,
    .cc-style-slider_cards .cc-category-item {
        width: 280px;
        margin-right: 15px;
    }

    .cc-size-small .cc-category-image-wrapper,
    .cc-size-medium .cc-category-image-wrapper,
    .cc-size-large .cc-category-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .cc-home-categories-wrapper {
        padding: 0 10px;
        margin: 20px 0;
    }

    .cc-home-categories-title {
        font-size: 1.8rem;
    }

    .cc-style-slider_classic .cc-category-item,
    .cc-style-slider_modern .cc-category-item,
    .cc-style-slider_cards .cc-category-item {
        width: 250px;
    }
}

/* ========================================================================== */
/* ANIMACJE                                                                 */
/* ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cc-category-item {
    animation: fadeInUp 0.6s ease forwards;
}

.cc-category-item:nth-child(2) {
    animation-delay: 0.1s;
}

.cc-category-item:nth-child(3) {
    animation-delay: 0.2s;
}

.cc-category-item:nth-child(4) {
    animation-delay: 0.3s;
}

.cc-category-item:nth-child(5) {
    animation-delay: 0.4s;
}

.cc-category-item:nth-child(6) {
    animation-delay: 0.5s;
}