/* ===== PODSTRONY TEMATYCZNE - CSS ===== */

/* Zmienne kolorów i gradientów */
:root {
    /* Gradiety tematyczne */
    --gradient-podatki: linear-gradient(135deg, #102A41 0%, #21527D 100%);
    --gradient-rachunkowosc: linear-gradient(135deg, #373C77 0%, #565B95 100%);    
    --gradient-prawo: linear-gradient(135deg, #283A39 0%, #436664 100%);
    --gradient-hr: linear-gradient(135deg, #65191F 0%, #87232B 100%);
    --gradient-ksef: linear-gradient(135deg, #162C38 0%, #274A5D 100%);
    --gradient-ai: linear-gradient(135deg, #422E5A 0%, #5A3E7B 100%);
    --gradient-kompetencje: linear-gradient(135deg, #522038 0%, #7D3959 100%);
    --gradient-default-ciemny: linear-gradient(135deg, #070314 0%, #2F3045 100%);
    --gradient-default: linear-gradient(135deg, #070314 0%, #2F3045 100%);
    --gradient-default-jasny: linear-gradient(135deg, #EEEEEE 0%, #FBFBFB 100%);

    /* Kolory jasne (akcentów, tła badges) */
    --color-podatki: #E8E8A1; 
    --color-rachunkowosc: #B1DBBB;
    --color-prawo: #F8CA56;
    --color-hr: #F5AF87;
    --color-ksef: #5ABEB9;
    --color-ai: #EA9DD0;
    --color-kompetencje: #ACBEF1;
    --color-default-ciemny: #FFFFFF;
    --color-default: #FFFFFF;
    --color-default-jasny: #FBFBFB;

    /* Kolory ciemne (tła, teksty na akcentach) */
    --color-bg-podatki:#102A41;
    --color-bg-rachunkowosc: #373C77;
    --color-bg-prawo: #283A39;
    --color-bg-hr: #65191F;
    --color-bg-ksef: #162C38;
    --color-bg-ai: #422E5A;
    --color-bg-kompetencje: #522038;
    --color-bg-default-ciemny: #070314;
    --color-bg-default: #070314;
    --color-bg-default-jasny: #424242;

    /* Inne zmienne */
    --card-border-radius: 8px;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 10px 0px rgba(0, 0, 0, 0.25), 0 4px 9px -2px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease-in-out;
}



/* ===== KLASY GLOBALNE ===== */

body{
    max-width: unset !important;
}

header#masthead {
    padding-right: 0 !important;
    border-bottom: 1px solid #ccc;
    box-shadow: 0px 3px 10px 0px #00000042;
}

.breadcrumbs-wrapper #breadcrumbs, .breadcrumbs-wrapper .thim-breadcrumbs, .breadcrumbs-wrapper .woocommerce-breadcrumb {
    padding: 13px 0;
    margin: 0;
    border: none !important;
    text-transform: uppercase;
}


/* ===== KLASY TEMATYCZNE ===== */
.bg-podatki { background: var(--gradient-podatki); }
.bg-rachunkowosc { background: var(--gradient-rachunkowosc); }
.bg-prawo { background: var(--gradient-prawo); }
.bg-hr-kadry-place-prawo-pracy { background: var(--gradient-hr); }
.bg-ksef { background: var(--gradient-ksef); }
.bg-ai-cyberbezpieczenstwo { background: var(--gradient-ai); }
.bg-kompetencje-miekkie { background: var(--gradient-kompetencje); }
.bg-default-ciemny, .before-bg-default-ciemny::before { background: var(--gradient-default-ciemny); }
.bg-default, .before-bg-default::before { background: var(--gradient-default); }
.bg-default-jasny, .before-bg-default-jasny::before { background: var(--gradient-default-jasny); }

.bg-podatki .accent-light {
    color: var(--color-podatki);
}
.bg-prawo .accent-light {
    color: var(--color-prawo);
}
.bg-rachunkowosc .accent-light {
    color: var(--color-rachunkowosc);
}
.bg-hr-kadry-place-prawo-pracy .accent-light {
    color: var(--color-hr);
}
.bg-ksef .accent-light {
    color: var(--color-ksef);
}
.bg-ai-cyberbezpieczenstwo .accent-light {
    color: var(--color-ai);
}
.bg-kompetencje-miekkie .accent-light {
    color: var(--color-kompetencje);
}
.bg-default-ciemny .accent-light {
    color: var(--color-default-ciemny);
}
.bg-default .accent-light {
    color: var(--color-default);
}
.bg-default-jasny .accent-light {
    color: var(--color-default-jasny);
}


.bg-podatki .badge, .bg-podatki .accent {
    color: var(--color-bg-podatki);
    background-color: var(--color-podatki);
}
.bg-prawo .badge, .bg-prawo .accent {
    color: var(--color-bg-prawo);
    background-color: var(--color-prawo);
}
.bg-rachunkowosc .badge, .bg-rachunkowosc .accent {
    color: var(--color-bg-rachunkowosc);
    background-color: var(--color-rachunkowosc);
}
.bg-hr-kadry-place-prawo-pracy .badge, .bg-hr-kadry-place-prawo-pracy .accent {
    color: var(--color-bg-hr);
    background-color: var(--color-hr);
}
.bg-ksef .badge, .bg-ksef .accent {
    color: var(--color-bg-ksef);
    background-color: var(--color-ksef);
}
.bg-ai-cyberbezpieczenstwo .badge, .bg-ai-cyberbezpieczenstwo .accent {
    color: var(--color-bg-ai);
    background-color: var(--color-ai);
}
.bg-kompetencje-miekkie .badge, .bg-kompetencje-miekkie .accent {
    color: var(--color-bg-kompetencje);
    background-color: var(--color-kompetencje);
}
.bg-default-ciemny .badge, .bg-default-ciemny .accent {
    color: var(--color-bg-default-ciemny);
    background-color: var(--color-default-ciemny);
}
.bg-default .badge, .bg-default .accent {
    color: var(--color-bg-default-ciemny);
    background-color: var(--color-default-ciemny);
}
.bg-default-jasny .badge, .bg-default-jasny .accent {
    color: var(--color-bg-default-jasny);
    background-color: var(--color-default-jasny);
}



/* badge.badge-product-type */
.bg-podatki .badge.badge-product-type{
    color: var(--color-podatki); border-color: var(--color-podatki); background-color: transparent;
}
.bg-prawo .badge.badge-product-type{
    color: var(--color-prawo); border-color: var(--color-prawo); background-color: transparent;
}
.bg-rachunkowosc .badge.badge-product-type{
    color: var(--color-rachunkowosc); border-color: var(--color-rachunkowosc); background-color: transparent;
}
.bg-hr-kadry-place-prawo-pracy .badge.badge-product-type{
    color: var(--color-hr); border-color: var(--color-hr); background-color: transparent;
}
.bg-ksef .badge.badge-product-type{
    color: var(--color-ksef); border-color: var(--color-ksef); background-color: transparent;
}
.bg-ai-cyberbezpieczenstwo .badge.badge-product-type{
    color: var(--color-ai); border-color: var(--color-ai); background-color: transparent;
}
.bg-kompetencje-miekkie .badge.badge-product-type{
    color: var(--color-kompetencje); border-color: var(--color-kompetencje); background-color: transparent;
}
.bg-default-ciemny .badge.badge-product-type{
    color: var(--color-default-ciemny); border-color: var(--color-default-ciemny); background-color: transparent;
}
.bg-default .badge.badge-product-type{
    color: var(--color-default); border-color: var(--color-default); background-color: transparent;
}
.bg-default-jasny .badge.badge-product-type{
    color: var(--color-default-jasny); border-color: var(--color-default-jasny); background-color: transparent;
}

/* instructor-avatar */
.bg-podatki .instructor-item .instructor-avatar{
    color: var(--color-podatki); border-color: var(--color-podatki);
}
.bg-prawo .instructor-item .instructor-avatar{
    color: var(--color-prawo); border-color: var(--color-prawo);
}
.bg-rachunkowosc .instructor-item .instructor-avatar{
    color: var(--color-rachunkowosc); border-color: var(--color-rachunkowosc);
}
.bg-hr-kadry-place-prawo-pracy .instructor-item .instructor-avatar{
    color: var(--color-hr); border-color: var(--color-hr);
}
.bg-ksef .instructor-item .instructor-avatar{
    color: var(--color-ksef); border-color: var(--color-ksef);
}
.bg-ai-cyberbezpieczenstwo .instructor-item .instructor-avatar{
    color: var(--color-ai); border-color: var(--color-ai);
}
.bg-kompetencje-miekkie .instructor-item .instructor-avatar{
    color: var(--color-kompetencje); border-color: var(--color-kompetencje);
}
.bg-default-ciemny .instructor-item .instructor-avatar{
    color: var(--color-default-ciemny); border-color: var(--color-default-ciemny);
}
.bg-default .instructor-item .instructor-avatar{
    color: var(--color-default); border-color: var(--color-default);
}
.bg-default-jasny .instructor-item .instructor-avatar{
    color: var(--color-default-jasny); border-color: var(--color-default-jasny);
}



/* ===== MENU KOLORÓW ===== */

#nav_menu_glowne .nav.menu-main-menu{
    flex-wrap: nowrap !important;
}
.site-header .navbar-nav {
    align-items: flex-end;
    height: 65px !important;
}

@media (max-width: 1025px) {
    #text-2 {
        display: none !important;
    }
}
/* Show a larger colored dot before matched links (only the dot is colored) */
.menuitem-prawo,
.menuitem-podatki,
.menuitem-rachunkowosc,
.menuitem-hr-kadry-place-prawo-pracy,
.menuitem-ksef,
.menuitem-ai-cyberbezpieczenstwo,
.menuitem-kompetencje-miekkie,
.menuitem-default {
  display: flex !important;
  align-items: center !important;
  gap: .45em !important;
}

.menuitem-podatki::before,
.menuitem-prawo::before,
.menuitem-rachunkowosc::before,
.menuitem-hr-kadry-place-prawo-pracy::before,
.menuitem-ksef::before,
.menuitem-ai-cyberbezpieczenstwo::before,
.menuitem-kompetencje-miekkie::before,
.menuitem-default::before {
  content: "•";
  font-size: 1.25em; /* slightly larger than default list dot */
  line-height: 1;
}

/* Per-class dot colors */
.menuitem-podatki::before { 
  color: var(--color-podatki);
}
.menuitem-prawo::before { 
  color: var(--color-prawo);
}
.menuitem-rachunkowosc::before { 
  color: var(--color-rachunkowosc);
}
.menuitem-hr-kadry-place-prawo-pracy::before {
  color: var(--color-hr);
}
.menuitem-ksef::before {
  color: var(--color-ksef);
}
.menuitem-ai-cyberbezpieczenstwo::before {
  color: var(--color-ai);
}
.menuitem-kompetencje-miekkie::before {
  color: var(--color-kompetencje);
}
.menuitem-default::before { 
  color: var(--color-bg-default-ciemny);
}

#masthead #toolbar a{
    color: #000000 !important;
    margin: 0 5px;
}

#toolbar{
    padding-bottom: 0 !important;
}

.maintop_awesome-social{
    margin-top: 2px;
    color: #000000 !important;
    text-align: center !important;
    display: inline-block;
    line-height: 26px !important;
    width: 21px !important;
    height: 21px !important;
    font-size: 18px !important;
    background: none !important;
    border: none !important;
}
#masthead #toolbar a.register-btn,
#masthead #toolbar a.login-btn,
#masthead #toolbar a.promo-btn{
    margin-left: 10px;
}

#masthead #toolbar a.register-btn{
    color: #ffffff !important;
    background: #bf844d !important;
    border: 1px solid #bf844d !important;
    border-radius: 5px;
    padding: 5px 10px !important;
}
#masthead #toolbar a.login-btn{
    border: 1px solid #000000 !important;
    border-radius: 5px;
    padding: 5px 10px !important;
}
#masthead #toolbar a.promo-btn{
    border-radius: 6px  !important;
    background: #5ABEB9 !important;
    border: 1px solid #5ABEB9 !important;
    color: #ffffff !important;    
    padding: 5px 10px !important;
}
#masthead #toolbar a.promo-btn:hover{
    background: #44918d !important;
    border: 1px solid #44918d !important;

}

/* ===== STRONA GŁÓWNA ===== */

body.homepage #icon_wrapper2 {
    top: 80% !important;
    right: 15px;
}
#icon_wrapper2 {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.floating-icon-container {
    position: relative;
    margin-bottom: 15px;
}

.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #000;
    border-radius: 50%;
    color: #e4e4e4ff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.floating-icon i {
    font-size: 20px;
}

.floating-tooltip {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 0 46px 0 46px;
    height: 50px;
    display: flex;
    align-items: center;
    border-radius: 25px;
    white-space: nowrap;
    font-weight: 500;
    font-size: 12px;
    text-align: center;
    line-height: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.floating-icon-container:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    padding: 0 56px 0 46px;
}

.floating-icon:hover {
    /* transform: scale(1.1); */
    color: #ffffff
}
.floating-icon:hover {
    transform: rotate(40deg);
}


.section-categories, .section-home-courses{
    max-width: 1320px;
    margin: 0 auto;
}
.section-header {
    margin: 54px auto;
}
.section-categories .home-categories-link, .section-home-courses .home-categories-link {
    display: block;
    border-radius: var(--card-border-radius);
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    border: 1px solid #ffffff;
    margin: 0 auto;
    width: fit-content;
}
.section-categories .home-categories-link:hover, .section-home-courses .home-categories-link:hover {
    box-shadow: var(--card-shadow-hover);
    transform: scale(1.02);
}
.section-categories .home-categories-link img {
    
    max-width: 420px;
}
.section-home-courses .home-categories-link img {
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    max-width: 640px;
}
/* ===== STRONA TEMATYCZNA ===== */
.thematic-page {
    min-height: 100vh;
}

.thematic-banner {
    margin-bottom: 3rem;
}

.thematic-section {
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.thematic-section:last-child {
    border-bottom: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-badge{
    display: flex;
    height: 20px;
    padding: 0 24px 0 30px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    background: #000;
    width: fit-content;
    text-transform: uppercase;
}

.section-title {
    color: #000;
    text-align: center;
    font-family: Montserrat;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
    margin-bottom: 1rem;
    margin-top: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 0;
}

/* ===== KARTA PRODUKTU TEMATYCZNA ===== */

.thematic-product-card {
    background: #F6F6F6;
    border-radius: var(--card-border-radius);
    /* box-shadow: var(--card-shadow); */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.product-card-header{
    padding: 32px 34px;
    height: 298px;
    display: flex;
    flex-direction: column;
}
.product-card-footer{
    padding: 32px 34px;
    height: 188px;
    display: flex;
    flex-direction: column;
}


.thematic-product-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-5px);
}

/* Badge produktu */
.badge.badge-product-type{
    display: flex;
    width: fit-content;
    height: 17.295px;
    padding: 0 20.754px;
    justify-content: center;
    align-items: center;
    gap: 8.648px;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 29.402px; 
    margin-bottom: 12px;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    z-index: 10;
}

.badge-thematic{
    display: flex;
    height: 17.295px;
    width: fit-content;
    padding: 0 20.754px;
    justify-content: center;
    align-items: center;
    gap: 8.648px;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 29.402px; /* 245.018% */
    border-radius: 0;
    
}

.badge-course { background: #059669; }
.badge-course-online { background: #0891b2; }
.badge-webinar { background: #dc2626; }
.badge-webinar-online { background: #ea580c; }
.badge-default { background: #6366f1; }
.badge-course { background: #059669; }

.badge-promo { background: #922410; color: #ffffff }

/* Zdjęcie produktu */
.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thematic-product-card:hover .product-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 2rem;
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Treść karty */
.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    color: #FFF;
    leading-trim: both;
    text-edge: cap;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    margin: auto 0;
}

.product-title a {
    color: #1f2937;
    text-decoration: none;
    transition: var(--transition);
}

.product-title a:hover {
    color: #4f46e5;
}

.product-description {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-description p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0;
}
.product-instructors{
    display: flex;
    
}

.product-instructors .instructor-item {
    flex: 1;
}
.product-instructor {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.instructor-item{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.instructor-item .instructor-avatar{
    border-width: 3px;    
    border-style: solid;
    width: 50px;
    height: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 16px;
}
.instructor-label {
    color: #9ca3af;
}

.instructor-name, .instructor-name .first-name, .instructor-name .last-name {
    color: #ffffff;
    font-weight: 500 !important;
    color: #FFF;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 16.8px */
    display: block;
}
.product-info-row{
    margin-bottom: 8px;
}
.product-info-row i{
    color: #C5C5C5;
    width: 25px;
    text-align: center;
    margin-right: 10px;
}
.info-label{
    color: #7F7F7F;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26.24px
}
.info-value{
    color: #000;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 26.24px
}

.product-more-link{
    text-align: center;
}

.more-link-section{
    text-align: center;
}




/* ========================= */
/* PRODUCT CARD */
/* ========================= */

.instructors-photos{
    text-align: center;
}
.instructor-photo, .instructor-photo img{
    height: 400px;
    aspect-ratio: 1 / 1;
}
.instructor-photo.double.offset {
    transform: translateX(30%);
}
.instructor-photo.double {
    transform: translateX(-20%);
}
.instructors-double{
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
}

.instructor-photo{
    max-height: 400px;
}

@media (min-width: 1331px) {
    .instructor-photo{

    }
    .instructor-photo.double.offset {
        transform: translateX(50%);
    }
    .instructor-photo.double {
        transform: translateX(0%);
    }

}

@media (max-width: 767px) {
    /* .instructor-photo.double.offset {
        transform: translateX(50%);
    }
    .instructor-photo.double {
        transform: translateX(0%);
    } */
}

/* ========================= */
/* PAGINACJA KATALOGU */
/* ========================= */

.catalog-pagination {
    margin: 2rem 0;
}

.catalog-pagination .pagination {
    justify-content: center;
    margin: 0;
}

.catalog-pagination .page-item {
    margin: 0 0.125rem;
}

.catalog-pagination .page-link {
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.catalog-pagination .page-link:hover {
    border-color: #2563eb;
    color: #2563eb;
    background-color: #f8fafc;
    text-decoration: none;
}

.catalog-pagination .page-item.active .page-link {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
}

.catalog-pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

/* Responsive pagination */
@media (max-width: 576px) {
    .catalog-pagination .page-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .catalog-pagination .page-item:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }
}

.catalog-pagination svg{
    width: 20px;
    height: 20px;
}





/* Cena */
.product-pricing {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.original-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.current-price {
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 600;
}

.vat-info {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Przycisk akcji */
.product-action {
    margin-top: auto;
}

.btn-product {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

/* Overlay link */
.card-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

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

/* Large screens (3 kolumny) */
@media (min-width: 992px) {
    .thematic-product-card .product-image {
        height: 220px;
    }
    
    .section-title {
        font-size: 26px;
    }
}

/* Medium screens (2 kolumny) */
@media (min-width: 768px) and (max-width: 991px) {
    .thematic-product-card .product-image {
        height: 200px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
}

/* Small screens (1 kolumna) */
@media (max-width: 767px) {
    .thematic-section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .thematic-product-card {
        margin-bottom: 1.5rem;
    }
    
    .thematic-product-card .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 1.25rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
}

/* ===== PRZYCISKI TEMATYCZNE ===== */
.thematic-page.bg-podatki .btn-primary {
    background: var(--gradient-podatki);
    border: none;
}

.thematic-page.bg-hr-kadry-place-prawo-pracy .btn-primary {
    background: var(--gradient-hr);
    border: none;
}

.thematic-page.bg-ksef .btn-primary {
    background: var(--gradient-ksef);
    border: none;
}

.thematic-page.bg-ai-cyberbezpieczenstwo .btn-primary {
    background: var(--gradient-ai);
    border: none;
}

.thematic-page.bg-kompetencje-miekkie .btn-primary {
    background: var(--gradient-kompetencje);
    border: none;
}

/* Hover effects dla przycisków */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

/* ===== KARTA PRODUKTOWA ===== */

.course-autothumbnail{
      height: 400px;
      width: 100%;
      margin-bottom: 30px;
      margin-top: -30px;
}

.course-autothumbnail-left{
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.course-autothumbnail .product-title{
    color: #FFF;
    font-family: Montserrat;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
}
.course-autothumbnail .instructor-name .first-name,
.course-autothumbnail .info-value,
.course-autothumbnail .info-label{
    color: #FFF;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22.96px;
    display: block;
    margin-right: 10px;
}
.course-autothumbnail .product-info-row {
    margin-top: auto;
}
.course-autothumbnail .badge {
    display: inline;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
}
.course-autothumbnail .background-image {
    
}
.favorite-btn{
    margin: 8px 0px 8px 20px;
}


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

.thematic-product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.thematic-product-card:nth-child(1) { animation-delay: 0.1s; }
.thematic-product-card:nth-child(2) { animation-delay: 0.2s; }
.thematic-product-card:nth-child(3) { animation-delay: 0.3s; }
.thematic-product-card:nth-child(4) { animation-delay: 0.4s; }
.thematic-product-card:nth-child(5) { animation-delay: 0.5s; }
.thematic-product-card:nth-child(6) { animation-delay: 0.6s; }

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-default);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--card-shadow);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* ===== IMAGE LOADER ===== */
.image-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    z-index: 5;
}

.loader-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.image-error {
    color: #ef4444;
    font-size: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== KEYBOARD NAVIGATION ===== */
.using-keyboard .thematic-product-card:focus {
    outline: 3px solid #6366f1;
    outline-offset: 2px;
}

.using-keyboard .btn:focus {
    outline: 3px solid #6366f1;
    outline-offset: 2px;
}

/* ===== CARD HOVER STATES ===== */
.thematic-product-card.card-hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.thematic-product-card.card-hover .product-image img {
    transform: scale(1.05);
}

/* ===== ANIMATE IN CLASS ===== */
.thematic-product-card.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== ENHANCED RESPONSIVE DESIGN ===== */

/* Extra small screens */
@media (max-width: 575px) {
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .product-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .thematic-product-card .product-image {
        height: 160px;
    }
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay
 {
    background: #bf844d;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    border-color: #bf844d;
}
.flatpickr-day.inRange, .flatpickr-day.prevMonthDay.inRange, .flatpickr-day.nextMonthDay.inRange, .flatpickr-day.today.inRange, .flatpickr-day.prevMonthDay.today.inRange, .flatpickr-day.nextMonthDay.today.inRange, .flatpickr-day:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover, .flatpickr-day:focus, .flatpickr-day.prevMonthDay:focus, .flatpickr-day.nextMonthDay:focus {
    cursor: pointer;
    outline: 0;
    background: #f9f4ef;
    border-color: #f9f4ef;
}
.flatpickr-day.inRange {
    border-radius: 0;
    -webkit-box-shadow: -5px 0 0 #f9f4ef, 5px 0 0 #f9f4ef;
    box-shadow: -5px 0 0 #f9f4ef, 5px 0 0 #f9f4ef;
}

/* blog */

.sp-pcp-post .sp-pcp-title, .sp-pcp-post .sp-pcp-title a{
    color: #000 !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 27px;
    text-wrap: pretty;
}

.sp-pcp-post .sp-pcp-post-meta{

}

.sp-pcp-post .sp-pcp-post-meta li, .sp-pcp-post .sp-pcp-post-meta li a, .sp-pcp-post .sp-pcp-post-meta ul {
    text-transform: none;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0;
    color: #000000;
}

.sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore a, .sp-pcp-readmore .course-header-button {
    display: inline-block;
    white-space: nowrap;
    border: 1px solid #000000 !important;
    padding: 10px 40px !important;
    box-shadow: 0 0 0;
    text-transform: none;
    font-size: 16px !important;
    line-height: 18px;
    letter-spacing: 0;
    background: 0 0;
    color: #000000 !important;
    border-radius: 0;
}

body .sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    position: absolute;
}

.ltca-blog i.fa.fa-calendar, .ltca-blog i.fa.fa-user {
    color: #cccccc;
}

.sp-pcp-post .sp-pcp-post-meta ul li {
    display: inline-block;
    margin: 0 40px 5px 0 !important;
}

.sp-pcp-post .pcp-post-thumb-wrapper .sp-pcp-post-thumb-area .entry-image{
    border-radius: 8px !important;
}
a.post-image, article .post-formats-wrapper {
    border-radius: 8px !important;
}

.ltce-category-badge{
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    padding: 0 20px;
    margin: 7px 0 0 8px;
}
body .ltca_blog_83 { color: #FFFFFF !important; background-color: #000000 !important; }
body .ltca_blog_51, body .ltca_blog_101 { color: #000000 !important; background-color: #FFFFFF !important; }
body .ltca_blog_42, body .ltca_blog_90, body .ltca_blog_96 { color: #000000 !important; background-color: #BF844D !important; }
body .ltca_blog_92, body .ltca_blog_46, body .ltca_blog_70 { color: #102A41 !important; background-color: #E8E8A1 !important; }
body .ltca_blog_45, body .ltca_blog_91, body .ltca_blog_100 { color: #283A39 !important; background-color: #F8CA56 !important; }
body .ltca_blog_112 { color: #65191F !important; background-color: #F5AF87 !important; }
body .ltca_blog_58 { color: #162C38 !important; background-color: #5ABEB9 !important; }
body .ltca_blog_99 { color: #FFFFFF !important; background-color: #006366 !important; }
body .ltca_blog_40 { color: #FFFFFF !important; background-color: #9F2232 !important; }
body .ltca_blog_39 { color: #FFFFFF !important; background-color: #A4358B !important; }
body .ltca_blog_82 { color: #FFFFFF !important; background-color: #EF7A2D !important; }
body .ltca_blog_41 { color: #FFFFFF !important; background-color: #4EAD33 !important; }
body .ltca_blog_93 { color: #FFFFFF !important; background-color: #73509C !important; }
body .ltca_blog_94 { color: #FFFFFF !important; background-color: #CDDB72 !important; }
body .ltca_blog_50 { color: #FFFFFF !important; background-color: #0802AF !important; }



.homepage-blog .swiper-slide .entry-content,
.ltca-blog .entry-content {
    padding: 0 20px;
    margin: 0;
    border: 0
}

.homepage-blog .swiper-slide .content-inner,
.ltca-blog .content-inner {
    padding: 0
}

.homepage-blog .swiper-slide .entry-header,
.ltca-blog .entry-header {
    margin-bottom: 0
}

.homepage-blog .swiper-slide .author,
.ltca-blog .author {
    text-align: center
}

.ltca-blog .author img,
.homepage-blog .swiper-slide .author img {
    margin-top: -28px;
    border-radius: 50%;
    border: 2px solid #fff;
    position: relative;
    z-index: 3
}

.ltca-blog .author .author_name,
.homepage-blog .swiper-slide .author .author_name {
    font-size: 13px;
    font-weight: 400;
    text-transform: capitalize;
    display: block
}

.homepage-blog .swiper-slide .author .author_name a,
.ltca-blog .author .author_name a {
    color: #7a7a7a
}

.homepage-blog .swiper-slide .author .author_name a:hover,
.ltca-blog .author .author_name a:hover {
    text-decoration: underline
}

.homepage-blog .swiper-slide .entry-grid-meta,
.ltca-blog .entry-grid-meta {
    overflow: hidden;
    position: relative;
    padding: 14px 0 10px;
    line-height: 30px;
    display: block;
    margin: 0
}


.homepage-blog .swiper-slide .entry-title,
.ltca-blog article .entry-header .entry-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
    margin: 11px 0 22px;
    height: 50px;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    text-align: center
}

.homepage-blog .swiper-slide .entry-grid-meta:before,
.ltca-blog .entry-grid-meta:before {
    content: "";
    width: 30px;
    height: 3px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #bf844d;
    z-index: 10;
}

.homepage-blog .swiper-slide .entry-grid-meta:after,
.ltca-blog .entry-grid-meta:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 1px;
    height: 1px;
    width: 100%;
    background: #e5e5e5;
}
.homepage-blog .swiper-slide .date,
.ltca-blog .date {
    font-size: 12px;
}

.company-slider .vc_column_container:last-of-type .counter-box {
    margin-right: 0;
    border-right: none;
}

.cart-item-net-price {
    white-space: nowrap;
}

.badge-bundleproduct {
    background-color: #b57d48 !important;
    font-weight: 600 !important;
    padding: 2px 9px !important;
    font-size: 11px !important;
    line-height: 16px !important;
    margin-left: 10px !important;
}