/* ============================================
   STOPKA - style dla całej stopki
   ============================================ */

.main-footer {
    background: #0A2F5E;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 5px solid #FFD700;
    width: 100%;
    clear: both;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Sekcja logo */
.footer-logo {
    font-family: 'DynaPuff', cursive;
    font-size: 2rem;
    color: #FFD700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #FFD700;
    object-fit: cover;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #FFD700;
}

/* Kontakt */
.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.contact-info .icon {
    color: #FFD700;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-info svg {
    fill: currentColor;
}

/* Social media */
.social-icons-horizontal {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,215,0,0.3);
}

.social-icon:hover {
    background: #FFD700;
    color: #0A2F5E;
    transform: translateY(-3px);
    border-color: #FFD700;
}

.social-icon .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Dolna część stopki */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 30px;
}

.domains-line {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.domains-line a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: inline-block;
}

.domains-line a:hover {
    color: #FFD700;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FFD700;
}

.copyright {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    line-height: 1.6;
}

/* ============================================
   POWIADOMIENIE O KOSZYKU
   ============================================ */

.cart-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: rgba(10, 47, 94, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 6px solid #FFD700;
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255,215,0,0.2);
    max-width: 450px;
    width: calc(100% - 40px);
    color: white;
}

.cart-notification.show {
    transform: translateX(0);
}

.notification-icon {
    width: 48px;
    height: 48px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A2F5E;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content div:first-child {
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

#notificationMessage {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

#notificationPrice {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.notification-close:hover {
    color: white;
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.notification-close svg {
    width: 18px;
    height: 18px;
}

/* Animacja pulse dla ikony */
@keyframes notification-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cart-notification.show .notification-icon {
    animation: notification-pulse 0.5s ease;
}

/* ============================================
   BANER CIasteczek - wersja stylowa i czytelna
   ============================================ */

.cookies-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 10000;
    font-family: 'Montserrat', Arial, sans-serif;
}

.cookies-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    gap: 20px;
}

.cookies-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #0A2F5E;
    margin: 0;
}

.cookies-text strong {
    color: #E55A00;
    font-weight: 700;
}

.cookies-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    background: #FFD700;
    color: #0A2F5E;
    border: 1px solid rgba(10,47,94,0.1);
    transition: background-color 0.2s;
}

.cookies-btn:hover {
    background: #E5C100;
}

/* ============================================
   MEDIA QUERIES - wspólne dla wszystkich elementów
   ============================================ */

@media (max-width: 992px) {
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Stopka */
    .main-footer {
        padding: 40px 0 15px;
        margin-top: 40px;
    }
    
    .footer-content { 
        grid-template-columns: 1fr; 
        gap: 30px;
        text-align: center;
    }
    
    .footer-section { 
        text-align: center; 
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-section h4::after { 
        left: 50%; 
        transform: translateX(-50%); 
    }
    
    .contact-info p { 
        justify-content: center; 
    }
    
    .social-icons-horizontal { 
        justify-content: center; 
    }
    
    .domains-line a { 
        display: inline-block;
        margin: 5px 10px; 
    }
    
    .footer-links { 
        flex-direction: column; 
        align-items: center; 
        gap: 15px;
    }
    
    /* Koszyk */
    .cart-notification {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        padding: 15px 18px;
        gap: 15px;
    }
    
    .notification-icon {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }
    
    #notificationMessage {
        font-size: 1rem;
    }
    
    .notification-content div:first-child {
        font-size: 0.9rem;
    }
    
    /* Ciasteczka */
    .cookies-banner {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .cookies-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .cookies-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    /* Stopka */
    .footer-container {
        padding: 0 15px;
    }
    
    .domains-line a {
        display: block;
        margin: 8px 0;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding: 15px 0;
    }
    
    /* Koszyk */
    .cart-notification {
        bottom: 15px;
        right: 15px;
        left: 15px;
        padding: 12px 15px;
    }
    
    .notification-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    
    /* Ciasteczka */
    .cookies-banner {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    
    .cookies-text p {
        font-size: 0.9rem;
    }
    
    .cookies-content {
        padding: 18px;
    }
    
    .cookies-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ============================================
   WSPARCIE DLA STARSZYCH PRZEGLĄDAREK
   ============================================ */

@supports not (display: grid) {
    .footer-content {
        display: flex;
        flex-wrap: wrap;
    }
    .footer-section {
        flex: 1 1 250px;
        margin: 0 15px 30px;
    }
}