/*****************************************
      KOREAN BBQ TIME — Aktion Theme
*****************************************/

:root {
    --aktion-dark: #151414;
    --aktion-red: #630000;
    --aktion-red-bright: #8b0000;
}


/*****************************************
         CATEGORY HEADER OVERRIDES
*****************************************/

.category-title h1 {
    color: var(--aktion-red);
}

.category-teaser-overlay {
    background: linear-gradient(to right, var(--aktion-red) 0%, var(--aktion-dark) 60%, transparent 100%);
    clip-path: none;
    width: 75%;
    padding-right: 30%;
}

.category-teaser-headline,
.category-teaser-text {
    color: #fff;
}

.category-teaser {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .category-teaser {
        display: flex;
        flex-direction: column;
    }

    .category-teaser-image {
        width: 100%;
    }

    .category-teaser-overlay {
        position: static;
        width: 100%;
        background: linear-gradient(to bottom, var(--aktion-red), var(--aktion-dark));
        padding: 1rem 1.25rem;
    }
}


/*****************************************
         WRAPPER & CAROUSEL
*****************************************/

.aktion-wrapper {
    position: relative;
    padding: 1rem 0 2rem 0;
    background-color: #fff;
    border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg);
}

.aktion-carousel-container {
    position: relative;
    padding: 1rem 2.5rem 0;
}

.aktion-carousel {
    overflow: hidden;
    padding: 4px;
}

.aktion-track {
    display: flex;
    gap: 0.5rem;
    transition: transform 0.5s ease-in-out;
    position: relative;
}


/*****************************************
         PRODUCT SLIDES
*****************************************/

.aktion-slide {
    flex-shrink: 0;
    position: relative;
    animation: aktionSlideIn 0.6s ease-out both;
}

.aktion-slide:nth-child(2) { animation-delay: 0.1s; }
.aktion-slide:nth-child(3) { animation-delay: 0.2s; }
.aktion-slide:nth-child(4) { animation-delay: 0.3s; }
.aktion-slide:nth-child(5) { animation-delay: 0.4s; }
.aktion-slide:nth-child(6) { animation-delay: 0.5s; }

.aktion-slide .product-item {
    border: 2px solid var(--bs-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aktion-slide .product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


/*****************************************
         BADGE
*****************************************/

.aktion-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #e8a317 100%);
    color: #faf3e0;
    font-family: Roboto, sans-serif;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: var(--bs-border-radius-sm);
    letter-spacing: 0.05em;
}


/*****************************************
         NAVIGATION ARROWS
*****************************************/

.aktion-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background-color: var(--bs-darkgrey);
    color: var(--bs-white);
    border: 2px solid var(--aktion-red-bright);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
}

.aktion-nav:hover {
    background-color: var(--aktion-red-bright);
    color: #fff;
    border-color: var(--aktion-red-bright);
    transform: translateY(-50%) scale(1.1);
}

.aktion-nav-prev { left: 0.25rem; }
.aktion-nav-next { right: 0.25rem; }

@media (max-width: 575px) {
    .aktion-carousel-container {
        padding: 1rem 1.75rem 0;
    }

    .aktion-nav {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}


/*****************************************
         DOT INDICATORS
*****************************************/

.aktion-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.aktion-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--bs-border-color, #dee2e6);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.aktion-dot.active {
    background-color: var(--aktion-red-bright);
    border-color: var(--aktion-red-bright);
    transform: scale(1.3);
}

.aktion-dot:hover {
    background-color: var(--aktion-red);
    border-color: var(--aktion-red);
}


/*****************************************
         ANIMATIONS
*****************************************/

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