/* Style dla ikon w nagłówku */
.sk-header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
}

.sk-header-icons.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.sk-icon {
    position: relative;
    display: inline-flex;
    text-decoration: none;
    color: #333;
    transition: color 0.3s, transform 0.2s;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.sk-icon:nth-child(1) { animation-delay: 0s; }
.sk-icon:nth-child(2) { animation-delay: 0.1s; }
.sk-icon:nth-child(3) { animation-delay: 0.2s; }
.sk-icon:nth-child(4) { animation-delay: 0.3s; }
/* itd. */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.sk-icon:hover {
    color: #CE8946;
    transform: scale(1.05);
}
/* Profile icon - fill i stroke */
.sk-profile-icon svg path {
    stroke: transparent;
    fill: transparent;
    animation: profileIconFadeIn 0.5s ease 0.3s forwards;
}

@keyframes profileIconFadeIn {
    from {
        stroke: transparent;
        fill: transparent;
    }
    to {
        stroke: #231F20;
        fill: #231F20;
    }
}

/* Cart icon - fill i stroke */
.sk-cart-icon svg path {
    stroke: transparent;
    fill: transparent;
    animation: cartIconFadeIn 0.5s ease 0.4s forwards; /* trochę później */
}

@keyframes cartIconFadeIn {
    from {
        stroke: transparent;
        fill: transparent;
    }
    to {
        stroke: #231F20;
        fill: #231F20;
    }
}

/* Wishlist icon - tylko stroke */
.sk-wishlist-icon svg path {
    stroke: transparent;
    animation: wishlistIconFadeIn 0.5s ease 0.5s forwards; /* jeszcze później */
}

@keyframes wishlistIconFadeIn {
    from {
        stroke: transparent;
    }
    to {
        stroke: #231F20;
    }
}

.sk-counter {
    background-color: #CE8946;
    opacity: 0; /* niewidoczny na początku */
    animation: counterFadeIn 0.5s ease 0.6s forwards; /* po ikonach */
}

@keyframes counterFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.sk-icon svg {
    width: auto;
    height: 29px;
}
.sk-icon svg path {
    transition: fill 0.3s, stroke 0.3s;
}
.sk-icon:hover svg path {
    stroke: #CE8946;
}
.sk-counter {
    position: absolute;
    top: -10px;
    right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: bold;
    background-color: #CE8946;
	background-color: #CE8946;
    color: white;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
    z-index: 10;
}
.sk-counter {
    background-color: #CE8946;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sk-counter.loaded {
    opacity: 1;
}
.sk-counter.has-items {
    opacity: 1;
    visibility: visible;
}
.sk-icon:hover .sk-counter.has-items {
    transform: scale(1.1);
}

/* Specjalne style dla wishlisty */
.sk-wishlist-icon {
    position: relative;
    overflow: visible;
}
.sk-wishlist-icon.has-items svg path {
    fill: rgba(206, 137, 70, 0.2);
}
.sk-wishlist-icon:hover svg path {
    fill: rgba(206, 137, 70, 0.2);
}

/* Responsywne style */
@media (max-width: 768px) {
    .sk-header-icons {
        gap: 15px;
    }
    .sk-icon svg {
        height: 24px;
    }
    .sk-counter {
        min-width: 16px;
        height: 16px;
        font-size: 10px;
        top: -8px;
        right: -8px;
    }
}