/**
 * Advanced Slider CSS Styles - Verze 2.6.13
 * Styly pro všech 8 typů sliderů
 */

/* Základní Swiper styly */
.swiper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.swiper-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Navigační prvky */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
}

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

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.2);
}

/* 1. Image Slider */
.image-slider {
    height: 400px;
}

.image-slide {
    position: relative;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px;
}

.slide-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slide-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.slide-button {
    display: inline-block;
    padding: 12px 30px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.slide-button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 2. Content Slider */
.content-slider {
    height: 400px;
}

.content-slide {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 40px;
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.slide-content.left-aligned {
    flex-direction: row;
}

.slide-content.center-aligned {
    flex-direction: column;
    text-align: center;
}

.slide-content.right-aligned {
    flex-direction: row-reverse;
}

.slide-text {
    flex: 1;
}

.slide-text .slide-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.slide-text .slide-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #666;
}

/* 3. Post Cards Carousel */
.post-cards-carousel {
    height: 350px;
}

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    color: #999;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-title a {
    color: #333;
    text-decoration: none;
}

.card-title a:hover {
    color: #0073aa;
}

.card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.card-button {
    display: inline-block;
    padding: 8px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.card-button:hover {
    background: #005a87;
    transform: translateY(-1px);
}

/* Card Carousel (nový typ) */
.card-carousel {
    height: 360px;
}

.card-carousel .swiper-slide {
    height: auto;
}

.card-carousel .card {
    display: flex;
    flex-direction: column;
    background: #fff;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-carousel .card.rounded {
    border-radius: 16px;
    overflow: hidden;
}

.card-carousel .card.square {
    border-radius: 0;
}

.card-carousel .card.shadow {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.card-carousel .card.none {
    box-shadow: none;
}

.card-carousel .image {
    height: 180px;
    overflow: hidden;
}

.card-carousel .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-carousel .title {
    font-size: 18px;
    font-weight: 700;
    padding: 16px 16px 8px;
    color: #222;
}

.card-carousel .excerpt {
    padding: 0 16px 16px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.card-carousel .button {
    margin: 0 16px 16px;
    align-self: flex-start;
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.card-carousel .button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* Hover efekty */
.card-carousel .card.hover-lift:hover {
    transform: translateY(-6px);
}

.card-carousel .card.hover-zoom:hover .image img {
    transform: scale(1.06);
    transition: transform 0.25s ease;
}

.card-carousel .card.hover-tilt:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(-2deg);
}

/* Aktivní slide zvýraznění */
.card-carousel .swiper-slide-active .card {
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Responzivní výška a CTA zarovnání */
.card-carousel .card { min-height: 100%; }
.card-carousel .excerpt { flex: 1; }

/* Product Slider (nový typ) */
.product-slider {
    height: 400px;
}

.product-slider .swiper-slide {
    height: auto;
}

.product-slider .product {
    display: flex;
    flex-direction: column;
    background: #fff;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-slider .product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-slider .image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-slider .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-slider .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-slider .badge.sale {
    background: #e74c3c;
    color: white;
}

.product-slider .badge.out-of-stock {
    background: #95a5a6;
    color: white;
}

.product-slider .name {
    padding: 16px 16px 8px;
    flex: 1;
}

.product-slider .name a {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-slider .name a:hover {
    color: #0073aa;
}

.product-slider .price {
    padding: 0 16px 12px;
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
}

.product-slider .add-to-cart {
    padding: 0 16px 16px;
}

.product-slider .add-to-cart .button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.product-slider .add-to-cart .button:hover {
    background: #005a87;
    transform: translateY(-1px);
}

/* Stylové varianty */
.product-slider.compact .product {
    border-radius: 8px;
}

.product-slider.compact .image {
    height: 150px;
}

.product-slider.compact .name a {
    font-size: 14px;
}

.product-slider.compact .price {
    font-size: 16px;
}

.product-slider.detailed .product {
    border-radius: 16px;
}

.product-slider.detailed .image {
    height: 220px;
}

.product-slider.detailed .name a {
    font-size: 18px;
}

.product-slider.detailed .price {
    font-size: 20px;
}

/* Video Slider (nový typ) */
.video-slider {
    height: 500px !important;
    position: relative;
    width: 100%;
    background: #000;
}

.video-slider .swiper-slide {
    height: 100%;
    width: 100%;
}

.video-slider .slide {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.video-slider .video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

.video-slider .video-container iframe,
.video-slider .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-slider .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 30px 30px;
    color: white;
    z-index: 10;
}

.video-slider .overlay .title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.video-slider .overlay .description {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Thumbnail Slider (nový typ) */
.thumbnail-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.thumbnail-slider .main-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.thumbnail-slider .main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.thumbnail-slider .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail-slider .main-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.thumbnail-slider .main-image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-slider .main-image img.fade-out {
    opacity: 0;
}

.thumbnail-slider .main-image img.fade-in {
    opacity: 1;
}

.thumbnail-slider .image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 15px 15px;
    font-size: 16px;
    font-weight: 600;
}

.thumbnail-slider .thumbnails-container {
    position: relative;
}

.thumbnail-slider .thumbnails {
    display: flex;
    gap: 8px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.thumbnail-slider .thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-slider .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-slider .thumb:hover img {
    transform: scale(1.05);
}

/* Styly aktivní miniatury */
.thumbnail-slider[data-style="border"] .thumb.active {
    border: 3px solid #007cba;
    box-shadow: 0 0 0 1px rgba(0, 124, 186, 0.3);
}

.thumbnail-slider[data-style="shadow"] .thumb.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.thumbnail-slider[data-style="opacity"] .thumb.active {
    opacity: 1;
}

.thumbnail-slider[data-style="opacity"] .thumb:not(.active) {
    opacity: 0.6;
}

/* Navigační tlačítka pro miniatury */
.thumbnail-slider .thumb-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail-slider .thumb-prev,
.thumbnail-slider .thumb-next {
    background: #007cba;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-slider .thumb-prev:hover,
.thumbnail-slider .thumb-next:hover {
    background: #005a87;
    transform: scale(1.1);
}

.thumbnail-slider .thumb-prev:disabled,
.thumbnail-slider .thumb-next:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Pozice miniatur */
.thumbnail-slider[data-position="bottom"] {
    display: flex;
    flex-direction: column;
}

.thumbnail-slider[data-position="top"] {
    display: flex;
    flex-direction: column-reverse;
}

.thumbnail-slider[data-position="top"] .main-image-container {
    margin-bottom: 0;
    margin-top: 15px;
}

.thumbnail-slider[data-position="left"] {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.thumbnail-slider[data-position="left"] .main-image-container {
    margin-bottom: 0;
    margin-right: 15px;
    flex: 1;
}

.thumbnail-slider[data-position="left"] .thumbnails-container {
    flex: 0 0 100px;
}

.thumbnail-slider[data-position="left"] .thumbnails {
    flex-direction: column;
}

.thumbnail-slider[data-position="left"] .thumb {
    width: 100px;
    height: 80px;
}

.thumbnail-slider[data-position="right"] {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.thumbnail-slider[data-position="right"] .main-image-container {
    margin-bottom: 0;
    margin-left: 15px;
    flex: 1;
}

.thumbnail-slider[data-position="right"] .thumbnails-container {
    flex: 0 0 100px;
}

.thumbnail-slider[data-position="right"] .thumbnails {
    flex-direction: column;
}

.thumbnail-slider[data-position="right"] .thumb {
    width: 100px;
    height: 80px;
}

/* Lazy loading */
.thumbnail-slider .lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-slider .lazy-load.loaded {
    opacity: 1;
}

/* První obrázek by měl být viditelný i s lazy loading */
.thumbnail-slider .main-image .lazy-load {
    opacity: 1;
}

/* Responzivní design pro Thumbnail Slider */
@media (max-width: 768px) {
    .thumbnail-slider .main-image {
        height: 250px;
    }
    
    .thumbnail-slider .thumb {
        width: 60px;
        height: 60px;
    }
    
    .thumbnail-slider[data-position="left"] .thumb,
    .thumbnail-slider[data-position="right"] .thumb {
        width: 80px;
        height: 60px;
    }
    
    .thumbnail-slider[data-position="left"] .thumbnails-container,
    .thumbnail-slider[data-position="right"] .thumbnails-container {
        flex: 0 0 80px;
    }
    
    .thumbnail-slider .image-title {
        font-size: 14px;
        padding: 15px 10px 10px;
    }
}

@media (max-width: 480px) {
    .thumbnail-slider[data-position="left"],
    .thumbnail-slider[data-position="right"] {
        flex-direction: column;
    }
    
    .thumbnail-slider[data-position="left"] .main-image-container,
    .thumbnail-slider[data-position="right"] .main-image-container {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    .thumbnail-slider[data-position="left"] .thumbnails-container,
    .thumbnail-slider[data-position="right"] .thumbnails-container {
        flex: none;
    }
    
    .thumbnail-slider[data-position="left"] .thumbnails,
    .thumbnail-slider[data-position="right"] .thumbnails {
        flex-direction: row;
    }
    
    .thumbnail-slider[data-position="left"] .thumb,
    .thumbnail-slider[data-position="right"] .thumb {
        width: 60px;
        height: 60px;
    }
}

/* Responzivní design pro Video Slider */
@media (max-width: 768px) {
    .video-slider {
        height: 300px;
    }
    
    .video-slider .overlay {
        padding: 20px 15px 15px;
    }
    
    .video-slider .overlay .title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .video-slider .overlay .description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .video-slider {
        height: 250px;
    }
    
    .video-slider .overlay {
        padding: 15px 10px 10px;
    }
    
    .video-slider .overlay .title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .video-slider .overlay .description {
        font-size: 13px;
    }
}

/* 4. Single Slide Carousel */
.single-slide-carousel {
    height: 500px;
}

.single-slide {
    position: relative;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}

.slide-content .slide-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-content .slide-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    max-width: 600px;
}

.slide-content .slide-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

/* 5. Testimonial Slider */
.testimonial-slider {
    height: 300px;
}

.testimonial-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-quote {
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 30px;
    color: #2c3e50;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 60px;
    color: #0073aa;
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0073aa;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
}

.author-position {
    font-size: 14px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 6. Product Carousel */
.product-carousel {
    height: 400px;
}

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: #0073aa;
}

.product-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 15px;
}

.product-button {
    display: inline-block;
    padding: 10px 25px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.product-button:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* 7. Hero Slider */
.hero-slider {
    height: 600px;
}

.hero-slider.fullscreen {
    height: 100vh;
}

.hero-slide {
    position: relative;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 80px 40px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0,0,0,0.8);
}

.hero-description {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    max-width: 700px;
}

.hero-button {
    display: inline-block;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid white;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Responzivní design */
@media (max-width: 768px) {
    .image-slider,
    .content-slider,
    .post-cards-carousel,
    .single-slide-carousel,
    .testimonial-slider,
    .product-carousel {
        height: 300px;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content,
    .testimonial-item,
    .product-content {
        padding: 20px;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-description {
        font-size: 14px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .image-slider,
    .content-slider,
    .post-cards-carousel,
    .single-slide-carousel,
    .testimonial-slider,
    .product-carousel {
        height: 250px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-content,
    .testimonial-item,
    .product-content {
        padding: 15px;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .slide-title {
        font-size: 18px;
    }
    
    .slide-description {
        font-size: 12px;
    }
    
    .testimonial-quote {
        font-size: 16px;
    }
    
    .hero-button {
        padding: 15px 30px;
        font-size: 14px;
    }
}/* Widgetico Blog Widget Styles */

.widgetico-blog {
    width: 100%;
    margin: 0;
    padding: 0;
}

.widgetico-blog-posts {
    display: grid !important;
    gap: 30px;
    width: 100%;
}

/* Default - pokud není nastaven columns, použije se 1 sloupec */
.widgetico-blog-posts:not([data-columns]) {
    grid-template-columns: 1fr !important;
}

/* Classic Template - 1 column, obrázek vlevo, obsah vpravo */

.widgetico-blog-classic .widgetico-blog-posts {
    grid-template-columns: 1fr !important;
    gap: 40px;
}

.widgetico-blog-classic .widgetico-blog-post-classic {
    display: flex;
    flex-direction: row;
    gap: 30px;
    border-bottom: 1px solid #e6e6e6;
    border-radius: 0;
    padding-bottom: 30px;
    margin-bottom: 0;
    background: transparent;
    box-shadow: none;
}

.widgetico-blog-classic .widgetico-blog-post-classic:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widgetico-blog-classic .widgetico-blog-post-classic:hover {
    box-shadow: none;
}

.widgetico-blog-classic .widgetico-blog-post-wrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 100%;
}

.widgetico-blog-classic .widgetico-blog-post-image {
    flex: 0 0 300px;
    max-width: 300px;
}

.widgetico-blog-classic .widgetico-blog-post-content {
    flex: 1;
    padding: 0;
}

.widgetico-blog-classic .widgetico-blog-post-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.widgetico-blog-classic .widgetico-blog-post-excerpt {
    font-size: 16px;
    line-height: 1.7;
}

/* Grid Template - responsive columns, kompaktní karty - minimalistický vzhled */

.widgetico-blog-grid .widgetico-blog-posts {
    gap: 20px;
}

.widgetico-blog-grid .widgetico-blog-posts[data-columns="1"] {
    grid-template-columns: 1fr !important;
}

.widgetico-blog-grid .widgetico-blog-posts[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr) !important;
}

.widgetico-blog-grid .widgetico-blog-posts[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.widgetico-blog-grid .widgetico-blog-posts[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr) !important;
}

.widgetico-blog-grid .widgetico-blog-post-grid {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    background: #fafafa !important;
    overflow: visible !important;
    padding: 0 !important;
}

.widgetico-blog-grid .widgetico-blog-post-grid:hover {
    box-shadow: none !important;
    transform: none !important;
}

.widgetico-blog-grid .widgetico-blog-post-grid .widgetico-blog-post-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid #e6e6e6;
}

.widgetico-blog-grid .widgetico-blog-post-grid .widgetico-blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.widgetico-blog-grid .widgetico-blog-post-grid .widgetico-blog-post-image img:hover {
    transform: none !important;
}

.widgetico-blog-grid .widgetico-blog-post-grid .widgetico-blog-post-content {
    padding: 10px 12px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.widgetico-blog-grid .widgetico-blog-post-grid .widgetico-blog-post-title {
    font-size: 16px !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}

.widgetico-blog-grid .widgetico-blog-post-grid .widgetico-blog-post-meta {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    color: #999 !important;
}

.widgetico-blog-grid .widgetico-blog-post-grid .widgetico-blog-post-excerpt {
    font-size: 13px !important;
    margin-bottom: 8px !important;
    flex: 1;
    line-height: 1.5 !important;
    color: #666 !important;
}

.widgetico-blog-grid .widgetico-blog-post-grid .widgetico-blog-read-more {
    font-size: 12px !important;
    margin-top: auto;
}

/* Cards Template - barevný, hravý design s gradienty a tlačítky */

.widgetico-blog-cards .widgetico-blog-posts {
    gap: 25px;
}

.widgetico-blog-cards .widgetico-blog-posts[data-columns="1"] {
    grid-template-columns: 1fr !important;
}

.widgetico-blog-cards .widgetico-blog-posts[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr) !important;
}

.widgetico-blog-cards .widgetico-blog-posts[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.widgetico-blog-cards .widgetico-blog-posts[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr) !important;
}

.widgetico-blog-cards .widgetico-blog-post-cards {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #ff6b6b, #f7d794, #6a89cc);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.widgetico-blog-cards .widgetico-blog-post-cards:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

.widgetico-blog-cards .widgetico-blog-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.widgetico-blog-cards .widgetico-blog-card-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    display: block;
}

.widgetico-blog-cards .widgetico-blog-post-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
}

.widgetico-blog-cards .widgetico-blog-post-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.widgetico-blog-cards .widgetico-blog-post-title a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.widgetico-blog-cards .widgetico-blog-post-title a:hover {
    opacity: 0.9;
}

.widgetico-blog-cards .widgetico-blog-post-meta {
    display: none; /* Skryjeme, je ve footeru */
}

.widgetico-blog-cards .widgetico-blog-post-excerpt {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    flex: 1;
}

/* Footer s tlačítkem a metadaty */
.widgetico-blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    gap: 15px;
}

.widgetico-blog-card-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.widgetico-blog-card-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.02);
    color: white !important;
}

.widgetico-blog-card-btn:active {
    transform: scale(0.97);
}

.widgetico-blog-card-meta {
    font-size: 0.85rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

/* Post Item - obecné styly */
.widgetico-blog-post {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

/* Classic template nemá border-radius */
.widgetico-blog-classic .widgetico-blog-post {
    border-radius: 0;
    background: transparent;
    border: none;
}

/* Grid template - přepisujeme obecné styly */
.widgetico-blog-grid .widgetico-blog-post {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.widgetico-blog-post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Classic template nemá hover shadow */
.widgetico-blog-classic .widgetico-blog-post:hover {
    box-shadow: none;
}

/* Grid template nemá hover shadow */
.widgetico-blog-grid .widgetico-blog-post:hover {
    box-shadow: none !important;
}

.widgetico-blog-post-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.widgetico-blog-post-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.widgetico-blog-post:hover .widgetico-blog-post-image img {
    transform: scale(1.05);
}

.widgetico-blog-post-content {
    padding: 20px;
}

.widgetico-blog-post-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    line-height: 1.4;
}

.widgetico-blog-post-title a {
    color: #2d2d2d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widgetico-blog-post-title a:hover {
    color: #dc3232;
}

/* Cards template má bílý text, přepisujeme */
.widgetico-blog-cards .widgetico-blog-post-title a {
    color: #ffffff !important;
}

.widgetico-blog-post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.widgetico-blog-post-meta span {
    display: inline-block;
}

.widgetico-blog-post-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.widgetico-blog-read-more {
    display: inline-block;
    color: #dc3232;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.widgetico-blog-read-more:hover {
    color: #a02626;
    text-decoration: underline;
}

/* Pagination */
.widgetico-blog-pagination {
    margin-top: 40px;
    text-align: center;
}

.widgetico-blog-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    color: #2d2d2d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widgetico-blog-pagination .page-numbers:hover,
.widgetico-blog-pagination .page-numbers.current {
    background-color: #dc3232;
    color: #fff;
    border-color: #dc3232;
}

/* Responsive */
@media (max-width: 768px) {
    /* Grid, Cards, Magazine, Minimal - na mobilu 1 sloupec */
    .widgetico-blog-grid .widgetico-blog-posts[data-columns],
    .widgetico-blog-cards .widgetico-blog-posts[data-columns],
    .widgetico-blog-magazine .widgetico-blog-posts[data-columns],
    .widgetico-blog-minimal .widgetico-blog-posts[data-columns] {
        grid-template-columns: 1fr !important;
    }
    
    /* Featured template - grid pro menší příspěvky */
    .widgetico-blog-featured-grid[data-columns] {
        grid-template-columns: 1fr !important;
    }
    
    /* Classic template - na mobilu vertikální layout */
    .widgetico-blog-classic .widgetico-blog-post-classic,
    .widgetico-blog-classic .widgetico-blog-post-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .widgetico-blog-classic .widgetico-blog-post-image {
        flex: 1;
        max-width: 100%;
    }
    
    .widgetico-blog-classic .widgetico-blog-post-title {
        font-size: 22px;
    }
    
    /* Magazine template - responzivní obrázky */
    .widgetico-blog-magazine .widgetico-blog-post-magazine .widgetico-blog-post-image {
        height: 250px;
    }
    
    .widgetico-blog-magazine .widgetico-blog-post-title {
        font-size: 1.8rem;
    }
    
    .widgetico-blog-magazine-overlay {
        padding: 25px 20px;
    }
    
    /* Minimal template - na mobilu vertikální layout */
    .widgetico-blog-minimal .widgetico-blog-post-minimal {
        flex-direction: column;
        gap: 20px;
    }
    
    .widgetico-blog-minimal-image {
        flex: 1;
        max-width: 100%;
    }
    
    /* Featured template - na mobilu vertikální layout */
    .widgetico-blog-featured-small {
        flex-direction: column;
    }
    
    .widgetico-blog-featured-small .widgetico-blog-post-image {
        flex: 1;
        max-width: 100%;
        height: 200px;
    }
    
    .widgetico-blog-post-content {
        padding: 15px;
    }
    
    .widgetico-blog-post-title {
        font-size: 20px;
    }
}

/* Masonry Template - Pinterest-style s různými výškami */
.widgetico-blog-masonry .widgetico-blog-posts {
    column-count: 3;
    column-gap: 20px;
    gap: 0;
}

.widgetico-blog-masonry .widgetico-blog-posts[data-columns="1"] {
    column-count: 1 !important;
}

.widgetico-blog-masonry .widgetico-blog-posts[data-columns="2"] {
    column-count: 2 !important;
}

.widgetico-blog-masonry .widgetico-blog-posts[data-columns="3"] {
    column-count: 3 !important;
}

.widgetico-blog-masonry .widgetico-blog-posts[data-columns="4"] {
    column-count: 4 !important;
}

.widgetico-blog-masonry .widgetico-blog-post-masonry {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    page-break-inside: avoid;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.widgetico-blog-masonry .widgetico-blog-post-masonry:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.widgetico-blog-masonry .widgetico-blog-post-masonry .widgetico-blog-post-image {
    width: 100%;
}

.widgetico-blog-masonry .widgetico-blog-post-masonry .widgetico-blog-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.widgetico-blog-masonry .widgetico-blog-post-masonry .widgetico-blog-post-content {
    padding: 15px;
}

/* Magazine Template - časopisový layout s overlay */
.widgetico-blog-magazine .widgetico-blog-posts {
    gap: 30px;
}

.widgetico-blog-magazine .widgetico-blog-posts[data-columns="1"] {
    grid-template-columns: 1fr !important;
}

.widgetico-blog-magazine .widgetico-blog-posts[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr) !important;
}

.widgetico-blog-magazine .widgetico-blog-posts[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.widgetico-blog-magazine .widgetico-blog-posts[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr) !important;
}

.widgetico-blog-magazine .widgetico-blog-post-magazine {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.widgetico-blog-magazine .widgetico-blog-post-magazine .widgetico-blog-post-image {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.widgetico-blog-magazine .widgetico-blog-post-magazine .widgetico-blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.widgetico-blog-magazine-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 40px;
    color: #fff;
}

.widgetico-blog-magazine-content {
    max-width: 800px;
}

.widgetico-blog-magazine-category {
    display: inline-block;
    padding: 4px 12px;
    background: #dc3232;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.widgetico-blog-magazine .widgetico-blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.widgetico-blog-magazine .widgetico-blog-post-title a {
    color: #fff !important;
}

/* Minimal Template - ultra čistý design */
.widgetico-blog-minimal .widgetico-blog-posts {
    gap: 40px;
}

.widgetico-blog-minimal .widgetico-blog-posts[data-columns="1"] {
    grid-template-columns: 1fr !important;
}

.widgetico-blog-minimal .widgetico-blog-posts[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr) !important;
}

.widgetico-blog-minimal .widgetico-blog-posts[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.widgetico-blog-minimal .widgetico-blog-posts[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr) !important;
}

.widgetico-blog-minimal .widgetico-blog-post-minimal {
    display: flex;
    flex-direction: row;
    gap: 30px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e6e6e6;
    border-radius: 0;
    box-shadow: none;
    padding-bottom: 30px;
    margin-bottom: 0;
}

.widgetico-blog-minimal .widgetico-blog-post-minimal:last-child {
    border-bottom: none;
}

.widgetico-blog-minimal-header {
    margin-bottom: 10px;
}

.widgetico-blog-minimal-date {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widgetico-blog-minimal .widgetico-blog-post-content {
    flex: 1;
    padding: 0;
}

.widgetico-blog-minimal .widgetico-blog-post-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.4;
}

.widgetico-blog-minimal-image {
    flex: 0 0 200px;
    max-width: 200px;
}

.widgetico-blog-minimal-image img {
    width: 100%;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.widgetico-blog-minimal-image:hover img {
    opacity: 1;
}

.widgetico-blog-minimal .widgetico-blog-post-excerpt {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.widgetico-blog-minimal .widgetico-blog-read-more {
    margin-top: 15px;
    font-weight: 400;
    text-transform: lowercase;
}

/* Featured Template - s hlavním příspěvkem */
/* První příspěvek je mimo grid, ostatní jsou v samostatném gridu */

.widgetico-blog-featured-large {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.widgetico-blog-featured-large .widgetico-blog-post-image {
    width: 100%;
    height: 500px;
    position: relative;
}

.widgetico-blog-featured-large .widgetico-blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widgetico-blog-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 60px 40px 40px;
    color: #fff;
}

.widgetico-blog-featured-content {
    max-width: 900px;
}

.widgetico-blog-featured-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #dc3232;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.widgetico-blog-featured-large .widgetico-blog-post-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.widgetico-blog-featured-large .widgetico-blog-post-title a {
    color: #fff !important;
}

.widgetico-blog-featured-large .widgetico-blog-post-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.widgetico-blog-featured-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: #2d2d2d !important;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.widgetico-blog-featured-btn:hover {
    background: #dc3232;
    color: #fff !important;
    transform: translateY(-2px);
}

.widgetico-blog-featured-small {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 25px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Pro featured template - grid pro menší příspěvky po prvním */
.widgetico-blog-featured-grid {
    display: grid !important;
    gap: 20px;
    margin-top: 30px;
}

.widgetico-blog-featured-grid[data-columns="1"] {
    grid-template-columns: 1fr !important;
}

.widgetico-blog-featured-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr) !important;
}

.widgetico-blog-featured-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr) !important;
}

.widgetico-blog-featured-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Menší příspěvky v featured template - grid layout */
.widgetico-blog-featured-grid .widgetico-blog-featured-small {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.widgetico-blog-featured-grid .widgetico-blog-featured-small .widgetico-blog-post-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: 200px;
}

.widgetico-blog-featured-small:last-child {
    border-bottom: none;
}

.widgetico-blog-featured-small .widgetico-blog-post-image {
    flex: 0 0 200px;
    max-width: 200px;
    height: 150px;
}

.widgetico-blog-featured-small .widgetico-blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widgetico-blog-featured-small .widgetico-blog-post-content {
    flex: 1;
    padding: 0;
}

@media (max-width: 480px) {
    .widgetico-blog-post-title {
        font-size: 18px;
    }
    
    .widgetico-blog-post-meta {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }
    
    /* Masonry template - na malých obrazovkách 1 sloupec */
    .widgetico-blog-masonry .widgetico-blog-posts {
        column-count: 1 !important;
    }
    
    /* Magazine template - ještě menší výška obrázku na malých obrazovkách */
    .widgetico-blog-magazine .widgetico-blog-post-magazine .widgetico-blog-post-image {
        height: 200px;
    }
    
    .widgetico-blog-magazine .widgetico-blog-post-title {
        font-size: 1.5rem;
    }
    
    .widgetico-blog-magazine-overlay {
        padding: 20px 15px;
    }
    
    /* Featured template - menší výška na malých obrazovkách */
    .widgetico-blog-featured-large .widgetico-blog-post-image {
        height: 250px;
    }
    
    .widgetico-blog-featured-large .widgetico-blog-post-title {
        font-size: 1.5rem;
    }
    
    .widgetico-blog-featured-overlay {
        padding: 40px 20px 30px;
    }
}

/**
 * Widgetico - WooCommerce Widgets CSS
 * Styly pro WooCommerce widgety
 */

/* Product Upsell Widget */
.widgetico-woocommerce-upsells {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.widgetico-woocommerce-upsells[data-columns="1"] {
    grid-template-columns: 1fr;
}

.widgetico-woocommerce-upsells[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.widgetico-woocommerce-upsells[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.widgetico-woocommerce-upsells[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.widgetico-woocommerce-upsells[data-columns="5"] {
    grid-template-columns: repeat(5, 1fr);
}

.widgetico-woocommerce-upsells[data-columns="6"] {
    grid-template-columns: repeat(6, 1fr);
}

/* Add to Cart Widget */
.widgetico-woocommerce-add-to-cart {
    padding: 20px 0;
}

/* Standardní vzhled - základní styly jsou již výše */

/* Product Price Widget */
.widgetico-woocommerce-product-price {
    padding: 15px 0;
}

.widgetico-woocommerce-product-price .price,
.widgetico-woocommerce-product-price .woocommerce-Price-amount {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.widgetico-woocommerce-product-price .price del {
    opacity: 0.6;
    margin-right: 8px;
    font-size: 0.9em;
}

.widgetico-woocommerce-product-price .price ins {
    text-decoration: none;
    color: #28a745;
}

/* Tlačítko Add to Cart - Základní styly */
.widgetico-woocommerce-add-to-cart .button,
.widgetico-woocommerce-add-to-cart .add_to_cart_button,
.widgetico-woocommerce-add-to-cart .widgetico-add-to-cart-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0073aa;
    color: #fff !important;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
    text-align: center;
}

.widgetico-woocommerce-add-to-cart .button:hover,
.widgetico-woocommerce-add-to-cart .add_to_cart_button:hover,
.widgetico-woocommerce-add-to-cart .widgetico-add-to-cart-btn:hover {
    background-color: #005a87;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.widgetico-woocommerce-add-to-cart .button:active,
.widgetico-woocommerce-add-to-cart .add_to_cart_button:active,
.widgetico-woocommerce-add-to-cart .widgetico-add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Velké tlačítko */
.widgetico-add-to-cart-large .widgetico-add-to-cart-btn,
.widgetico-add-to-cart-large .widgetico-btn-large {
    padding: 16px 32px;
    font-size: 1.2em;
    font-weight: 700;
}

.widgetico-add-to-cart-large .widgetico-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Kompaktní tlačítko */
.widgetico-add-to-cart-compact .widgetico-add-to-cart-btn,
.widgetico-add-to-cart-compact .widgetico-btn-compact {
    padding: 8px 16px;
    font-size: 0.9em;
    font-weight: 500;
}

/* Tlačítko s ikonou */
.widgetico-add-to-cart-icon .widgetico-add-to-cart-btn,
.widgetico-add-to-cart-icon .widgetico-btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
}

.widgetico-add-to-cart-icon .widgetico-cart-icon {
    font-size: 1.2em;
    line-height: 1;
}

/* Outlined tlačítko (jen obrys) */
.widgetico-add-to-cart-outlined .widgetico-add-to-cart-btn,
.widgetico-add-to-cart-outlined .widgetico-btn-outlined {
    background-color: transparent !important;
    color: #0073aa !important;
    border: 2px solid #0073aa;
    padding: 10px 22px;
}

.widgetico-add-to-cart-outlined .widgetico-add-to-cart-btn:hover,
.widgetico-add-to-cart-outlined .widgetico-btn-outlined:hover {
    background-color: #0073aa !important;
    color: #fff !important;
    border-color: #0073aa;
}

/* Zaoblené tlačítko */
.widgetico-add-to-cart-rounded .widgetico-add-to-cart-btn,
.widgetico-add-to-cart-rounded .widgetico-btn-rounded {
    border-radius: 30px;
    padding: 12px 28px;
}

/* Empty Cart Message Widget */
.widgetico-woocommerce-empty-cart-message {
    text-align: center;
    padding: 40px 20px;
}

.widgetico-woocommerce-empty-cart-message .widgetico-empty-cart-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #666;
}

.widgetico-woocommerce-empty-cart-message .widgetico-empty-cart-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.widgetico-woocommerce-empty-cart-message .widgetico-empty-cart-button:hover {
    background-color: #005a87;
    color: #fff;
}

/* Product Meta Widget */
.widgetico-woocommerce-product-meta {
    padding: 15px 0;
}

.widgetico-woocommerce-product-meta .widgetico-product-meta-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.widgetico-woocommerce-product-meta .widgetico-product-meta-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widgetico-woocommerce-product-meta .widgetico-meta-label {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
}

.widgetico-woocommerce-product-meta .widgetico-meta-value {
    color: #666;
}

.widgetico-woocommerce-product-meta .widgetico-meta-value a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widgetico-woocommerce-product-meta .widgetico-meta-value a:hover {
    color: #005a87;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .widgetico-woocommerce-upsells[data-columns="4"],
    .widgetico-woocommerce-upsells[data-columns="5"],
    .widgetico-woocommerce-upsells[data-columns="6"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .widgetico-woocommerce-upsells[data-columns="2"],
    .widgetico-woocommerce-upsells[data-columns="3"],
    .widgetico-woocommerce-upsells[data-columns="4"],
    .widgetico-woocommerce-upsells[data-columns="5"],
    .widgetico-woocommerce-upsells[data-columns="6"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .widgetico-woocommerce-upsells {
        grid-template-columns: 1fr !important;
    }
    
    .widgetico-woocommerce-empty-cart-message {
        padding: 30px 15px;
    }
    
    .widgetico-woocommerce-empty-cart-message .widgetico-empty-cart-text {
        font-size: 1em;
    }
    
    .widgetico-woocommerce-empty-cart-message .widgetico-empty-cart-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* WooCommerce kompatibilita */
.woocommerce .widgetico-woocommerce-upsells ul.products {
    display: grid !important;
}

.woocommerce .widgetico-woocommerce-upsells li.product {
    margin-bottom: 0;
}

/**
 * Widgetico - Product Widget CSS
 * Styly pro Product widget s různými templaty
 */

/* Základní styly pro všechny templaty */
.widgetico-product {
    width: 100%;
}

.widgetico-product-item {
    position: relative;
    overflow: hidden;
}

.widgetico-product-image {
    position: relative;
    overflow: hidden;
}

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

.widgetico-product-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    line-height: 1.4;
}

.widgetico-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widgetico-product-title a:hover {
    color: #0073aa;
}

.widgetico-product-price {
    font-size: 1.25em;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.widgetico-product-price del {
    opacity: 0.6;
    margin-right: 8px;
    font-size: 0.9em;
}

.widgetico-product-price ins {
    text-decoration: none;
    color: #28a745;
}

.widgetico-product-btn,
.widgetico-product-btn.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0073aa;
    color: #fff !important;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
    text-align: center;
    margin-top: 10px;
}

.widgetico-product-btn:hover,
.widgetico-product-btn.button:hover {
    background-color: #005a87;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.widgetico-product-btn-compact {
    padding: 8px 16px;
    font-size: 0.9em;
}

.widgetico-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3232;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: bold;
    z-index: 10;
}

.widgetico-product-excerpt {
    margin: 10px 0;
    color: #666;
    line-height: 1.6;
}

/* Card Template */
.widgetico-product[data-template="card"] {
    display: grid;
    grid-template-columns: repeat(var(--widgetico-grid-columns, 3), 1fr);
    gap: 20px;
}

.widgetico-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Tablet landscape */
@media (max-width: 992px) {
    .widgetico-product[data-template="card"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .widgetico-product[data-template="card"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .widgetico-product[data-template="card"] {
        grid-template-columns: 1fr !important;
    }
}

.widgetico-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.widgetico-product-card .widgetico-product-image img {
    width: 100%;
    height: auto;
}

.widgetico-product-card .widgetico-product-content {
    padding: 15px;
}

.widgetico-product-card .widgetico-product-title {
    font-size: 1.1em;
}

/* Grid Template */
.widgetico-product[data-template="grid"] {
    display: grid;
    grid-template-columns: repeat(var(--widgetico-grid-columns, 3), 1fr);
    gap: 20px;
    align-items: stretch;
}

.widgetico-product-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.widgetico-product-grid .widgetico-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.widgetico-product-grid .widgetico-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widgetico-product-grid .widgetico-product-content {
    padding: 15px;
}

.widgetico-product-grid .widgetico-product-title {
    font-size: 1em;
    margin-bottom: 8px;
}

.widgetico-product-grid .widgetico-product-price {
    font-size: 1.1em;
    margin: 8px 0;
}

.widgetico-product-grid .widgetico-product-btn {
    width: 100%;
    margin-top: 10px;
}

/* Tablet landscape */
@media (max-width: 992px) {
    .widgetico-product[data-template="grid"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .widgetico-product[data-template="grid"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .widgetico-product[data-template="grid"] {
        grid-template-columns: 1fr !important;
    }
}

/* Compact Template */
.widgetico-product-compact {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.widgetico-product-compact:last-child {
    border-bottom: none;
}

.widgetico-product-compact .widgetico-product-image-wrapper {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: 80px;
}

.widgetico-product-compact .widgetico-product-image {
    width: 100%;
    margin-bottom: 0;
}

.widgetico-product-compact .widgetico-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.widgetico-product-compact .widgetico-product-button-wrapper {
    width: 100%;
    margin-top: 8px;
}

.widgetico-product-compact .widgetico-product-button-wrapper .widgetico-product-btn {
    width: 100%;
    margin-top: 0;
    padding: 6px 8px;
    font-size: 0.85em;
    text-align: center;
}

.widgetico-product-compact .widgetico-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.widgetico-product-compact .widgetico-product-title {
    font-size: 0.95em;
    margin: 0 0 5px 0;
}

.widgetico-product-compact .widgetico-product-price {
    font-size: 1em;
    margin: 0;
}

/* Modern Template */
.widgetico-product[data-template="modern"] {
    display: grid;
    grid-template-columns: repeat(var(--widgetico-grid-columns, 3), 1fr);
    gap: 20px;
}

/* Tablet landscape */
@media (max-width: 992px) {
    .widgetico-product[data-template="modern"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .widgetico-product[data-template="modern"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .widgetico-product-modern .widgetico-product-hover-overlay {
        opacity: 1;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .widgetico-product[data-template="modern"] {
        grid-template-columns: 1fr !important;
    }
}

.widgetico-product-modern {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.widgetico-product-modern:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.widgetico-product-modern .widgetico-product-image {
    position: relative;
    overflow: hidden;
}

.widgetico-product-modern .widgetico-product-image img {
    transition: transform 0.5s ease;
}

.widgetico-product-modern:hover .widgetico-product-image img {
    transform: scale(1.1);
}

.widgetico-product-modern .widgetico-product-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.widgetico-product-modern:hover .widgetico-product-hover-overlay {
    opacity: 1;
}

.widgetico-product-modern .widgetico-product-hover-overlay .widgetico-product-btn {
    background-color: #fff;
    color: #333 !important;
}

.widgetico-product-modern .widgetico-product-hover-overlay .widgetico-product-btn:hover {
    background-color: #f0f0f0;
    color: #333 !important;
}

.widgetico-product-modern .widgetico-product-content {
    padding: 20px;
}

.widgetico-product-modern .widgetico-product-badge {
    top: 15px;
    right: 15px;
}

/* List Template - elegantní seznam s odrážkami */
.widgetico-product[data-template="list"] {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.widgetico-product-list-item {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    position: relative;
    padding-left: 50px;
}

.widgetico-product-list-item:last-child {
    border-bottom: none;
}

.widgetico-product-list-item:hover {
    background-color: #f9f9f9;
}

/* Odrážka (custom bullet) */
.widgetico-product-list-item::before {
    content: "•";
    position: absolute;
    left: 20px;
    top: 18px;
    color: #0073aa;
    font-size: 24px;
    line-height: 1;
    font-weight: bold;
}

.widgetico-product-list-name {
    margin-bottom: 8px;
}

.widgetico-product-list-name a {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.widgetico-product-list-name a:hover {
    color: #0073aa;
    text-decoration: none;
}

.widgetico-product-list-excerpt {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.widgetico-product-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.widgetico-product-list-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
}

.widgetico-product-list-price .woocommerce-Price-amount {
    color: #28a745;
}

.widgetico-product-list-price del {
    color: #999;
    font-size: 0.85em;
    margin-right: 8px;
}

.widgetico-product-list-price ins {
    text-decoration: none;
    color: #28a745;
}

.widgetico-product-list-button {
    flex-shrink: 0;
}

.widgetico-product-list-button .widgetico-product-btn {
    padding: 8px 20px;
    font-size: 0.9em;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .widgetico-product-list-item {
        padding-left: 40px;
        padding: 15px;
    }
    
    .widgetico-product-list-item::before {
        left: 10px;
        top: 15px;
        font-size: 20px;
    }
    
    .widgetico-product-list-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .widgetico-product-list-price {
        font-size: 1.1em;
    }
    
    .widgetico-product-list-button .widgetico-product-btn {
        width: 100%;
        text-align: center;
    }
}


/**
 * Widgetico Lite - Advanced Gallery CSS
 * Styly pro pokročilou galerii s různými formáty zobrazení
 */

/* Základní styly galerie */
.widgetico-advanced-gallery {
    position: relative;
    overflow: hidden;
}

.widgetico-gallery-container {
    display: grid;
    grid-template-columns: repeat(var(--widgetico-columns, 3), 1fr);
    gap: var(--widgetico-spacing, 10px);
    width: 100%;
}

/* Masonry layout */
.widgetico-gallery-masonry .widgetico-gallery-container {
    grid-template-rows: masonry;
}

/* Grid layout */
.widgetico-gallery-grid .widgetico-gallery-container {
    grid-auto-rows: 1fr;
}

/* Polaroid layout */
.widgetico-gallery-polaroid .widgetico-gallery-item {
    background: white;
    padding: 10px 10px 30px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.widgetico-gallery-polaroid .widgetico-gallery-item:nth-child(even) {
    transform: rotate(2deg);
}

.widgetico-gallery-polaroid .widgetico-gallery-item:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

/* Mosaic layout */
.widgetico-gallery-mosaic .widgetico-gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 100px;
    grid-gap: var(--widgetico-spacing, 10px);
}

.widgetico-gallery-mosaic .widgetico-gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.widgetico-gallery-mosaic .widgetico-gallery-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Stack layout */
.widgetico-gallery-stack .widgetico-gallery-container {
    position: relative;
    height: 400px;
}

.widgetico-gallery-stack .widgetico-gallery-item {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 0.5s ease;
}

.widgetico-gallery-stack .widgetico-gallery-item.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Justified layout */
.widgetico-gallery-justified .widgetico-gallery-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.widgetico-gallery-justified .widgetico-gallery-item {
    flex: 1 1 auto;
    height: 200px;
    margin: calc(var(--widgetico-spacing, 10px) / 2);
}

/* Cascading layout */
.widgetico-gallery-cascading .widgetico-gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.widgetico-gallery-cascading .widgetico-gallery-item {
    width: 90%;
    margin-bottom: var(--widgetico-spacing, 10px);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.widgetico-gallery-cascading .widgetico-gallery-item:hover {
    transform: translateY(-5px);
}

/* Položky galerie */
.widgetico-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--widgetico-border-radius, 5px);
    background: #f5f5f5;
}

.widgetico-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--widgetico-transition-speed, 300ms) ease;
}

/* Hover efekty */
.widgetico-hover-none .widgetico-gallery-image:hover {
    transform: none;
}

.widgetico-hover-zoom .widgetico-gallery-item:hover .widgetico-gallery-image {
    transform: scale(1.1);
}

.widgetico-hover-fade .widgetico-gallery-item:hover .widgetico-gallery-image {
    opacity: 0.7;
}

.widgetico-hover-slide .widgetico-gallery-item:hover .widgetico-gallery-image {
    transform: translateX(10px);
}

.widgetico-hover-grayscale .widgetico-gallery-item:hover .widgetico-gallery-image {
    filter: grayscale(100%);
}

.widgetico-hover-blur .widgetico-gallery-item:hover .widgetico-gallery-image {
    filter: blur(3px);
}

.widgetico-hover-rotate .widgetico-gallery-item:hover .widgetico-gallery-image {
    transform: rotate(5deg) scale(1.05);
}

.widgetico-hover-brightness .widgetico-gallery-item:hover .widgetico-gallery-image {
    filter: brightness(1.2);
}

/* Overlay */
.widgetico-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--widgetico-transition-speed, 300ms) ease;
    padding: 20px;
    text-align: center;
}

.widgetico-gallery-item:hover .widgetico-gallery-overlay {
    opacity: 1;
}

.widgetico-gallery-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
}

.widgetico-gallery-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Stíny */
.widgetico-shadow-none .widgetico-gallery-item {
    box-shadow: none;
}

.widgetico-shadow-small .widgetico-gallery-item {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.widgetico-shadow-medium .widgetico-gallery-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.widgetico-shadow-large .widgetico-gallery-item {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.widgetico-shadow-colored .widgetico-gallery-item {
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Carousel styly */
.widgetico-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--widgetico-border-radius, 5px);
}

.widgetico-carousel-track {
    display: flex;
    transition: transform var(--widgetico-transition-speed, 300ms) ease;
}

.widgetico-carousel-slide {
    flex: 0 0 100%;
    position: relative;
}

.widgetico-carousel-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.widgetico-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
}

.widgetico-carousel-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.widgetico-carousel-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Carousel navigace */
.widgetico-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.widgetico-carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.widgetico-carousel-prev {
    left: 20px;
}

.widgetico-carousel-next {
    right: 20px;
}

/* Carousel indikátory */
.widgetico-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.widgetico-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease;
}

.widgetico-carousel-indicator.active {
    background: white;
}

/* Lightbox styly */
.widgetico-lightbox-enabled .widgetico-gallery-item {
    cursor: pointer;
}

.widgetico-lightbox-enabled .widgetico-gallery-item:hover {
    transform: scale(1.02);
}

/* Lazy loading */
.widgetico-lazy-load .lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.widgetico-lazy-load .lazy.loaded {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .widgetico-gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .widgetico-carousel-image {
        height: 300px;
    }
    
    .widgetico-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .widgetico-carousel-prev {
        left: 10px;
    }
    
    .widgetico-carousel-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .widgetico-gallery-container {
        grid-template-columns: 1fr;
    }
    
    .widgetico-gallery-mosaic .widgetico-gallery-container {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .widgetico-gallery-mosaic .widgetico-gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    .widgetico-carousel-image {
        height: 250px;
    }
    
    .widgetico-gallery-polaroid .widgetico-gallery-item {
        padding: 5px 5px 20px 5px;
    }
    
    .widgetico-gallery-overlay {
        padding: 10px;
    }
    
    .widgetico-gallery-title {
        font-size: 16px;
    }
    
    .widgetico-gallery-description {
        font-size: 12px;
    }
}

/* Animace */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widgetico-gallery-item {
    animation: fadeIn 0.6s ease forwards;
}

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

/* Loading spinner */
.widgetico-gallery-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.widgetico-gallery-loading::before {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/**
 * Widgetico Lite - Rating Widget CSS
 * Styly pro widget hodnocení hvězdičkami
 */

/* === Základní wrapper === */
.widgetico-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

/* === Layout varianty === */
.widgetico-rating--inline {
    flex-direction: row;
    flex-wrap: wrap;
}

.widgetico-rating--stars-below {
    flex-direction: column;
}

.widgetico-rating--stars-above {
    flex-direction: column-reverse;
}

/* === Zarovnání === */
.widgetico-rating--left {
    justify-content: flex-start;
    text-align: left;
}

.widgetico-rating--center {
    justify-content: center;
    text-align: center;
}

.widgetico-rating--right {
    justify-content: flex-end;
    text-align: right;
}

/* Pro vertikální layouty zarovnání přes align-items */
.widgetico-rating--stars-below.widgetico-rating--center,
.widgetico-rating--stars-above.widgetico-rating--center {
    align-items: center;
}

.widgetico-rating--stars-below.widgetico-rating--right,
.widgetico-rating--stars-above.widgetico-rating--right {
    align-items: flex-end;
}

.widgetico-rating--stars-below.widgetico-rating--left,
.widgetico-rating--stars-above.widgetico-rating--left {
    align-items: flex-start;
}

/* === Text label === */
.widgetico-rating-label {
    color: var(--widgetico-rating-text, #333333);
    font-weight: var(--widgetico-rating-font-weight, bold);
    font-size: 1em;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* === Hvězdičky kontejner === */
.widgetico-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: var(--widgetico-rating-gap, 4px);
}

/* === SVG ikony === */
.widgetico-rating-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.widgetico-rating-icon--active {
    color: var(--widgetico-rating-active, #FFD700);
}

.widgetico-rating-icon--inactive {
    color: var(--widgetico-rating-inactive, #D3D3D3);
}

/* === Velikosti ikon === */
.widgetico-rating--size-small .widgetico-rating-icon {
    width: 16px;
    height: 16px;
}

.widgetico-rating--size-small .widgetico-rating-label {
    font-size: 0.85em;
}

.widgetico-rating--size-medium .widgetico-rating-icon {
    width: 24px;
    height: 24px;
}

.widgetico-rating--size-medium .widgetico-rating-label {
    font-size: 1em;
}

.widgetico-rating--size-large .widgetico-rating-icon {
    width: 32px;
    height: 32px;
}

.widgetico-rating--size-large .widgetico-rating-label {
    font-size: 1.15em;
}

.widgetico-rating--size-xlarge .widgetico-rating-icon {
    width: 48px;
    height: 48px;
}

.widgetico-rating--size-xlarge .widgetico-rating-label {
    font-size: 1.4em;
}

/* === Poloviční hvězdička === */
.widgetico-rating-icon-half {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    flex-shrink: 0;
}

.widgetico-rating--size-small .widgetico-rating-icon-half {
    width: 16px;
    height: 16px;
}

.widgetico-rating--size-medium .widgetico-rating-icon-half {
    width: 24px;
    height: 24px;
}

.widgetico-rating--size-large .widgetico-rating-icon-half {
    width: 32px;
    height: 32px;
}

.widgetico-rating--size-xlarge .widgetico-rating-icon-half {
    width: 48px;
    height: 48px;
}

.widgetico-rating-icon-half-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.widgetico-rating-icon-half-active .widgetico-rating-icon {
    width: 100%;
    height: 100%;
}

.widgetico-rating-icon-half-inactive {
    display: block;
}

.widgetico-rating-icon-half-inactive .widgetico-rating-icon {
    width: 100%;
    height: 100%;
}

/* Oprava šířky aktivní poloviny - SVG musí mít plnou šířku kontejneru */
.widgetico-rating--size-small .widgetico-rating-icon-half-active .widgetico-rating-icon {
    width: 16px;
}

.widgetico-rating--size-medium .widgetico-rating-icon-half-active .widgetico-rating-icon {
    width: 24px;
}

.widgetico-rating--size-large .widgetico-rating-icon-half-active .widgetico-rating-icon {
    width: 32px;
}

.widgetico-rating--size-xlarge .widgetico-rating-icon-half-active .widgetico-rating-icon {
    width: 48px;
}

/* === Číselná hodnota === */
.widgetico-rating-number {
    color: var(--widgetico-rating-text, #333333);
    font-weight: var(--widgetico-rating-font-weight, bold);
    font-size: 0.9em;
    white-space: nowrap;
    opacity: 0.8;
}

/* === Hover efekt (jemný) === */
.widgetico-rating-icon--active:hover {
    transform: scale(1.15);
}

/* === Responzivní design === */
@media (max-width: 480px) {
    .widgetico-rating--inline {
        flex-direction: column;
        gap: 6px;
    }
    
    .widgetico-rating--size-xlarge .widgetico-rating-icon {
        width: 36px;
        height: 36px;
    }
    
    .widgetico-rating--size-xlarge .widgetico-rating-icon-half {
        width: 36px;
        height: 36px;
    }
    
    .widgetico-rating--size-xlarge .widgetico-rating-icon-half-active .widgetico-rating-icon {
        width: 36px;
    }
}
/**
 * Widgetico - Related Posts Widget CSS
 * Styly pro Related Posts widget s jednotnými rozměry obrázků
 */

/* Základní styly */
.widgetico-related-posts {
    width: 100%;
    margin: 20px 0;
}

.widgetico-related-item {
    position: relative;
    overflow: hidden;
}

.widgetico-related-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

/* Jednotné rozměry obrázků pomocí aspect-ratio */
.widgetico-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widgetico-related-image a:hover img {
    transform: scale(1.05);
}

.widgetico-related-title {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    line-height: 1.4;
}

.widgetico-related-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widgetico-related-title a:hover {
    color: #0073aa;
}

.widgetico-related-excerpt {
    margin: 10px 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

.widgetico-related-date {
    font-size: 0.85em;
    color: #999;
    margin: 5px 0;
}

.widgetico-related-meta {
    margin-bottom: 8px;
}

.widgetico-related-category {
    display: inline-block;
    padding: 3px 10px;
    background: #0073aa;
    color: #fff;
    font-size: 0.75em;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.widgetico-related-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.widgetico-related-price del {
    opacity: 0.6;
    margin-right: 8px;
    font-size: 0.9em;
}

.widgetico-related-price ins {
    text-decoration: none;
    color: #28a745;
}

.widgetico-no-items {
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
}

/* ========================================
   GRID TEMPLATE
   ======================================== */
.widgetico-related-grid {
    display: grid;
    grid-template-columns: repeat(var(--widgetico-related-columns, 4), 1fr);
    gap: 20px;
}

.widgetico-related-grid-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.widgetico-related-grid-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.widgetico-related-grid-item .widgetico-related-image {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.widgetico-related-grid-item .widgetico-related-content {
    padding: 15px;
}

/* Tablet landscape */
@media (max-width: 992px) {
    .widgetico-related-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .widgetico-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .widgetico-related-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   LIST TEMPLATE
   ======================================== */
.widgetico-related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widgetico-related-list-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.widgetico-related-list-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widgetico-related-list-item .widgetico-related-image {
    flex: 0 0 120px;
    width: 120px;
    aspect-ratio: 1 / 1;
}

.widgetico-related-list-item .widgetico-related-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widgetico-related-list-item .widgetico-related-title {
    font-size: 1.1em;
    margin-bottom: 8px;
}

@media (max-width: 576px) {
    .widgetico-related-list-item {
        flex-direction: column;
    }
    
    .widgetico-related-list-item .widgetico-related-image {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

/* ========================================
   CARDS TEMPLATE
   ======================================== */
.widgetico-related-cards {
    display: grid;
    grid-template-columns: repeat(var(--widgetico-related-columns, 4), 1fr);
    gap: 25px;
}

.widgetico-related-card-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.widgetico-related-card-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.widgetico-related-card-item .widgetico-related-image {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.widgetico-related-card-item .widgetico-related-content {
    padding: 20px;
}

.widgetico-related-card-item .widgetico-related-title {
    font-size: 1.15em;
    margin-bottom: 10px;
}

/* Tablet landscape */
@media (max-width: 992px) {
    .widgetico-related-cards {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .widgetico-related-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .widgetico-related-cards {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   CAROUSEL TEMPLATE
   ======================================== */
.widgetico-related-carousel {
    display: grid;
    grid-template-columns: repeat(var(--widgetico-related-columns, 4), 1fr);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #0073aa #f0f0f0;
}

.widgetico-related-carousel::-webkit-scrollbar {
    height: 8px;
}

.widgetico-related-carousel::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.widgetico-related-carousel::-webkit-scrollbar-thumb {
    background: #0073aa;
    border-radius: 4px;
}

.widgetico-related-carousel::-webkit-scrollbar-thumb:hover {
    background: #005a87;
}

.widgetico-related-carousel .widgetico-related-item {
    scroll-snap-align: start;
    min-width: 250px;
}

.widgetico-related-carousel .widgetico-related-card-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widgetico-related-carousel .widgetico-related-image {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.widgetico-related-carousel .widgetico-related-content {
    padding: 15px;
}

/* Tablet portrait */
@media (max-width: 768px) {
    .widgetico-related-carousel {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .widgetico-related-carousel {
        grid-template-columns: 1fr !important;
    }
    
    .widgetico-related-carousel .widgetico-related-item {
        min-width: auto;
    }
}

/* ========================================
   MINIMAL TEMPLATE
   ======================================== */
.widgetico-related-minimal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widgetico-related-minimal-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.widgetico-related-minimal-item:last-child {
    border-bottom: none;
}

.widgetico-related-minimal-item:hover {
    background-color: #f9f9f9;
}

.widgetico-related-minimal-item .widgetico-related-image {
    flex: 0 0 80px;
    width: 80px;
    aspect-ratio: 1 / 1;
}

.widgetico-related-minimal-item .widgetico-related-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widgetico-related-minimal-item .widgetico-related-title {
    font-size: 0.95em;
    margin: 0;
}

.widgetico-related-minimal-item .widgetico-related-date {
    font-size: 0.8em;
    margin-top: 4px;
}

@media (max-width: 576px) {
    .widgetico-related-minimal-item .widgetico-related-image {
        flex: 0 0 60px;
        width: 60px;
    }
    
    .widgetico-related-minimal-item .widgetico-related-title {
        font-size: 0.9em;
    }
}
/**
 * Widgetico Lite - Button Widget CSS
 * 8 graficky různých stylů tlačítek s CSS custom properties
 * Verze: 2.6.36
 */

/* =====================================================
   WRAPPER & ZAROVNÁNÍ
   ===================================================== */

.widgetico-button-wrapper {
    display: block;
    width: 100%;
    line-height: 1;
}

.widgetico-button--align-left   { text-align: left;   }
.widgetico-button--align-center { text-align: center; }
.widgetico-button--align-right  { text-align: right;  }

.widgetico-button--align-full .widgetico-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* =====================================================
   ZÁKLADNÍ BUTTON
   ===================================================== */

.widgetico-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    transition: all 0.25s ease;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    border: 2px solid transparent;
    outline: none;
}

/* =====================================================
   VELIKOSTI
   ===================================================== */

.widgetico-btn--small  { padding: 9px 22px;  font-size: 0.75rem; }
.widgetico-btn--medium { padding: 13px 32px; font-size: 0.88rem; }
.widgetico-btn--large  { padding: 18px 46px; font-size: 1.0rem;  }

/* =====================================================
   1. SOLID — plné pozadí, mírně zaoblené, zdvihne se na hover
   ===================================================== */

.widgetico-btn--solid {
    background-color: var(--wb-color, #0073aa);
    color: var(--wb-text, #ffffff);
    border-color: var(--wb-color, #0073aa);
    border-radius: 5px;
}

.widgetico-btn--solid:hover,
.widgetico-btn--solid:focus {
    background-color: var(--wb-hover, #005f8d);
    border-color: var(--wb-hover, #005f8d);
    color: var(--wb-hover-text, var(--wb-text, #ffffff));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* =====================================================
   2. OUTLINE — průhledné s barevným obrysem, vyplní se na hover
   ===================================================== */

.widgetico-btn--outline {
    background-color: transparent;
    color: var(--wb-color, #0073aa);
    border-color: var(--wb-color, #0073aa);
    border-radius: 5px;
    border-width: 2px;
}

.widgetico-btn--outline:hover,
.widgetico-btn--outline:focus {
    background-color: var(--wb-hover, var(--wb-color, #0073aa));
    color: var(--wb-hover-text, var(--wb-text, #ffffff));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

/* =====================================================
   3. PILL — pilulkový tvar (silné zaoblení), plné pozadí
   ===================================================== */

.widgetico-btn--pill {
    background-color: var(--wb-color, #0073aa);
    color: var(--wb-text, #ffffff);
    border-color: var(--wb-color, #0073aa);
    border-radius: 50px;
}

.widgetico-btn--pill:hover,
.widgetico-btn--pill:focus {
    background-color: var(--wb-hover, #005f8d);
    border-color: var(--wb-hover, #005f8d);
    color: var(--wb-hover-text, var(--wb-text, #ffffff));
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    text-decoration: none;
}

/* =====================================================
   4. 3D — prostorový efekt, stiskne se při hover/kliknutí
   ===================================================== */

.widgetico-btn--3d {
    background-color: var(--wb-color, #0073aa);
    color: var(--wb-text, #ffffff);
    border: none;
    border-radius: 6px;
    box-shadow: 0 7px 0 var(--wb-shadow, #005180), 0 9px 8px rgba(0, 0, 0, 0.28);
    transform: translateY(0);
}

.widgetico-btn--3d:hover,
.widgetico-btn--3d:focus {
    box-shadow: 0 4px 0 var(--wb-shadow, #005180), 0 5px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(3px);
    color: var(--wb-hover-text, var(--wb-text, #ffffff));
    text-decoration: none;
}

.widgetico-btn--3d:active {
    box-shadow: 0 1px 0 var(--wb-shadow, #005180), 0 2px 2px rgba(0, 0, 0, 0.12);
    transform: translateY(6px);
}

/* =====================================================
   5. GRADIENT — lineární přechod dvou barev, reverzuje na hover
   ===================================================== */

.widgetico-btn--gradient {
    background: linear-gradient(135deg, var(--wb-color, #0073aa) 0%, var(--wb-color2, #00b4d8) 100%);
    color: var(--wb-text, #ffffff);
    border: none;
    border-radius: 5px;
}

.widgetico-btn--gradient:hover,
.widgetico-btn--gradient:focus {
    background: linear-gradient(135deg, var(--wb-color2, #00b4d8) 0%, var(--wb-color, #0073aa) 100%);
    color: var(--wb-hover-text, var(--wb-text, #ffffff));
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    text-decoration: none;
}

/* =====================================================
   6. NEON — zářivý glow efekt, vhodné na tmavé pozadí
   ===================================================== */

.widgetico-btn--neon {
    background-color: transparent;
    color: var(--wb-color, #00e5ff);
    border-color: var(--wb-color, #00e5ff);
    border-radius: 4px;
    box-shadow:
        0 0 6px var(--wb-color, #00e5ff),
        0 0 12px var(--wb-color, #00e5ff),
        inset 0 0 6px rgba(0, 229, 255, 0.08);
    text-shadow: 0 0 8px var(--wb-color, #00e5ff);
}

.widgetico-btn--neon:hover,
.widgetico-btn--neon:focus {
    background-color: var(--wb-hover, var(--wb-color, #00e5ff));
    color: var(--wb-hover-text, #000000);
    box-shadow:
        0 0 10px var(--wb-color, #00e5ff),
        0 0 24px var(--wb-color, #00e5ff),
        0 0 40px var(--wb-color, #00e5ff);
    text-shadow: none;
    transform: translateY(-1px);
    text-decoration: none;
}

/* =====================================================
   7. GHOST — průhledné, jemný rámeček, pozvolný fill na hover
   ===================================================== */

.widgetico-btn--ghost {
    background-color: transparent;
    color: var(--wb-color, #0073aa);
    border: 1.5px solid var(--wb-color, #0073aa);
    border-radius: 5px;
    opacity: 0.72;
    transition: opacity 0.2s ease, background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.widgetico-btn--ghost:hover,
.widgetico-btn--ghost:focus {
    opacity: 1;
    background-color: var(--wb-hover, var(--wb-color, #0073aa));
    color: var(--wb-hover-text, var(--wb-text, #ffffff));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
    text-decoration: none;
}

/* =====================================================
   8. UNDERLINE — minimalistické, text s animovaným podtržením
   ===================================================== */

.widgetico-btn--underline {
    background: none;
    border: none;
    border-radius: 0;
    color: var(--wb-color, #0073aa);
    padding-left: 2px;
    padding-right: 2px;
    overflow: visible;
    text-decoration: none;
    position: relative;
}

.widgetico-btn--underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--wb-color, #0073aa);
    transform: scaleX(0.3);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.widgetico-btn--underline:hover::after,
.widgetico-btn--underline:focus::after {
    transform: scaleX(1);
}

.widgetico-btn--underline:hover,
.widgetico-btn--underline:focus {
    color: var(--wb-hover-text, var(--wb-color, #0073aa));
    letter-spacing: 0.08em;
    text-decoration: none;
}

/* =====================================================
   IKONY
   ===================================================== */

.widgetico-btn--has-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
}

.widgetico-button--align-full .widgetico-btn--has-icon {
    display: flex;
}

.widgetico-btn--has-icon.widgetico-btn--icon-right {
    flex-direction: row-reverse;
}

.widgetico-btn--has-icon.widgetico-btn--icon-top {
    flex-direction: column;
}

.widgetico-btn--has-icon.widgetico-btn--icon-bottom {
    flex-direction: column-reverse;
}

.widgetico-btn-icon {
    display: inline-block;
    flex-shrink: 0;
    line-height: 1;
    width: auto !important;
    height: auto !important;
}

/* =====================================================
   RESPONZIVNÍ DESIGN
   ===================================================== */

@media (max-width: 600px) {
    .widgetico-button--align-full .widgetico-btn,
    .widgetico-btn--large {
        font-size: 0.9rem;
        padding: 14px 28px;
    }

    .widgetico-btn--3d {
        box-shadow: 0 5px 0 var(--wb-shadow, #005180), 0 6px 5px rgba(0, 0, 0, 0.22);
    }
}
