@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap");

/* ========== KOLORYSTYKA – Slate Indigo (Strona Kameleojna STYLE) ========== */
:root {
    --bg-page: #0f172a;
    --bg-surface: #1e293b;
    --bg-elevated: #334155;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.35);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --success: #22c55e;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: var(--bg-page);
    color: var(--text);
    font-family: 'Outfit', 'Poppins', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* ========== ANIMATED BACKGROUND ========== */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #1e1e2e 70%, #0f172a 100%);
    background-size: 400% 400%;
    animation: gradientShift 14s ease infinite;
    opacity: 1;
}
body.dark-mode .bg-gradient {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #1e1e2e 70%, #0f172a 100%);
    background-size: 400% 400%;
    animation: gradientShift 14s ease infinite;
    opacity: 1;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: floatShape 20s ease-in-out infinite;
}
.shape-1 { width: 300px; height: 300px; background: rgba(99, 102, 241, 0.28); top: 10%; left: 5%; animation-delay: 0s; }
.shape-2 { width: 200px; height: 200px; background: rgba(129, 140, 248, 0.22); top: 60%; right: 10%; animation-delay: -5s; }
.shape-3 { width: 250px; height: 250px; background: rgba(99, 102, 241, 0.2); bottom: 20%; left: 20%; animation-delay: -10s; }
.shape-4 { width: 180px; height: 180px; background: rgba(129, 140, 248, 0.2); top: 30%; right: 25%; animation-delay: -3s; }
.shape-5 { width: 220px; height: 220px; background: rgba(99, 102, 241, 0.18); bottom: 40%; right: 15%; animation-delay: -7s; }
.shape-6 { width: 160px; height: 160px; background: rgba(129, 140, 248, 0.22); top: 70%; left: 30%; animation-delay: -12s; }
@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 10px) scale(1.02); }
}
body.dark-mode .shape { opacity: 0.25; }
body.dark-mode .shape-1 { background: rgba(59, 130, 246, 0.4); }
body.dark-mode .shape-2 { background: rgba(99, 102, 241, 0.35); }
body.dark-mode .shape-3 { background: rgba(139, 92, 246, 0.3); }
body.dark-mode .shape-4 { background: rgba(59, 130, 246, 0.3); }
body.dark-mode .shape-5 { background: rgba(99, 102, 241, 0.25); }
body.dark-mode .shape-6 { background: rgba(139, 92, 246, 0.25); }

/* ========== NFC STYLE: punkty + miniaturowe tagi w tle ========== */
.bg-nfc-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.nfc-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 10px var(--accent-glow), 0 0 18px rgba(99, 102, 241, 0.25);
    animation: nfcDotFloat 8s ease-in-out infinite;
}
.nfc-dot-1 { top: 15%; left: 12%; animation-delay: 0s; }
.nfc-dot-2 { top: 25%; right: 18%; animation-delay: -1.5s; }
.nfc-dot-3 { top: 55%; left: 8%; animation-delay: -3s; }
.nfc-dot-4 { top: 70%; right: 22%; animation-delay: -4.5s; }
.nfc-dot-5 { top: 40%; left: 25%; animation-delay: -2s; }
.nfc-dot-6 { top: 18%; right: 35%; animation-delay: -5s; }
.nfc-dot-7 { top: 82%; left: 40%; animation-delay: -6s; }
.nfc-dot-8 { top: 45%; right: 8%; animation-delay: -1s; }
@keyframes nfcDotFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
    25% { transform: translate(15px, -12px) scale(1.2); opacity: 1; }
    50% { transform: translate(-10px, 8px) scale(0.9); opacity: 0.7; }
    75% { transform: translate(8px, 15px) scale(1.1); opacity: 0.95; }
}
.nfc-tag {
    position: absolute;
    width: 28px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.05);
    animation: nfcTagFloat 14s ease-in-out infinite;
}
.nfc-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
}
.nfc-tag-1 { top: 12%; left: 20%; animation-delay: 0s; --tag-rotate: -8deg; }
.nfc-tag-2 { top: 35%; right: 15%; animation-delay: -3s; --tag-rotate: 5deg; }
.nfc-tag-3 { top: 62%; left: 15%; animation-delay: -6s; --tag-rotate: -4deg; }
.nfc-tag-4 { top: 22%; right: 28%; animation-delay: -9s; --tag-rotate: 10deg; }
.nfc-tag-5 { top: 75%; right: 25%; animation-delay: -2s; --tag-rotate: -6deg; }
@keyframes nfcTagFloat {
    0%, 100% { transform: translate(0, 0) rotate(var(--tag-rotate, 0deg)); }
    33% { transform: translate(12px, -8px) rotate(calc(var(--tag-rotate, 0deg) + 3deg)); }
    66% { transform: translate(-8px, 10px) rotate(calc(var(--tag-rotate, 0deg) - 2deg)); }
}

@media (prefers-reduced-motion: reduce) {
    .bg-gradient { animation: none; }
    .shape { animation: none; }
    .nfc-dot { animation: none; }
    .nfc-tag { animation: none; }
    .header-glow { animation: none; }
    .add-to-cart-btn { animation: none; }
}

/* ========== HEADER ========== */
.site-header {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
    position: relative;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}
.header-glow {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 50%, #818cf8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(129, 140, 248, 0.4)) drop-shadow(0 0 24px rgba(99, 102, 241, 0.2));
}
@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}
.header-tagline {
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
}
body.dark-mode .header-glow {
    background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 50%, #818cf8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}
body.dark-mode .header-tagline {
    color: var(--text-muted);
}
nav {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--border);
}
nav a {
    color: var(--text);
    text-decoration: none;
    margin: 0;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 12px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    font-weight: 500;
    position: relative;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}
nav a:hover {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-light);
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.3);
}
.container {
    padding: 40px 16px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    flex: 1;
}

/* ========== HERO SECTION ========== */
.hero-section {
    text-align: center;
    padding: 48px 24px 56px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 50%, #818cf8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 16px rgba(129, 140, 248, 0.5)) drop-shadow(0 0 32px rgba(99, 102, 241, 0.25));
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(129, 140, 248, 0.2);
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    color: #fff;
    padding: 16px 36px;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px var(--accent-glow), 0 0 40px rgba(99, 102, 241, 0.4), 0 0 60px rgba(99, 102, 241, 0.2);
}
.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5), 0 0 50px rgba(99, 102, 241, 0.5), 0 0 80px rgba(99, 102, 241, 0.25);
}
.hero-cta:active {
    transform: translateY(-1px);
}
body.dark-mode .hero-title {
    background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 50%, #818cf8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}
body.dark-mode .hero-subtitle {
    color: var(--text-muted);
}
body.dark-mode .hero-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    box-shadow: 0 8px 24px var(--accent-glow), 0 0 40px rgba(99, 102, 241, 0.4), 0 0 60px rgba(99, 102, 241, 0.2);
}
body.dark-mode .hero-cta:hover {
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5), 0 0 50px rgba(99, 102, 241, 0.5), 0 0 80px rgba(99, 102, 241, 0.25);
}

/* Badges */
.badge-featured,
.badge-bestseller {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #4f46e5);
    color: #fff;
    box-shadow: 0 4px 12px var(--accent-glow), 0 0 20px rgba(99, 102, 241, 0.4);
    border: 1px solid rgba(129, 140, 248, 0.4);
    z-index: 2;
}
.badge-bestseller {
    background: linear-gradient(135deg, var(--success), #16a34a);
    color: #fff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35), 0 0 18px rgba(34, 197, 94, 0.3);
    border: 1px solid rgba(34, 197, 94, 0.5);
}
/* Etykieta POPULARNE na karcie Sklep – żywy fiolet, zaokrąglony prostokąt */
.main-offer .badge-featured {
    top: 14px;
    left: 14px;
    padding: 8px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.5), 0 0 16px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.main-offer-featured {
    border-color: rgba(129, 140, 248, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(129, 140, 248, 0.2), 0 0 36px rgba(99, 102, 241, 0.1);
}
.main-offer-featured:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(129, 140, 248, 0.35), 0 0 44px rgba(99, 102, 241, 0.15);
}
.shop-intro {
    color: var(--text-muted);
    font-size: 1rem;
    margin: -12px 0 24px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.shop-free-shipping {
    color: var(--success);
    font-size: 0.95rem;
    margin: -8px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.shop-free-shipping strong { color: inherit; }
.offer-bestseller {
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(34, 197, 94, 0.2);
}
.offer-donate h2 {
    color: var(--text);
}
h1 {
    color: var(--text);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
    animation: fadeInUp 0.6s ease-out;
    text-shadow: 0 0 24px rgba(129, 140, 248, 0.4), 0 0 48px rgba(99, 102, 241, 0.2);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.offers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    gap: 24px;
}
.donate-offers {
    justify-content: center;
}
.offer {
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 28px 24px;
    border-radius: 20px;
    width: 300px;
    flex-shrink: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}
.offer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.offer:hover::before {
    opacity: 1;
}
.offer::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(to top, var(--accent-glow), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}
.offer:hover::after {
    opacity: 1;
}
.offer-price-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-light);
    background: rgba(30, 41, 59, 0.9);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    z-index: 1;
}
.offer:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.35);
}
.offer h2 {
    color: var(--text);
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 600;
}
.offer p {
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 18px;
    font-size: 0.95rem;
}
.offer button {
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px var(--accent-glow);
    position: relative;
    z-index: 1;
}
.offer button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45);
}
.offer button:active {
    transform: translateY(0);
}
.offer-image {
    width: 120px;
    height: auto;
    margin: 15px auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.35s ease;
}
.offer:hover .offer-image {
    transform: scale(1.05);
}
.offer-clickable {
    cursor: pointer;
    pointer-events: none;
}

/* Offer Modal – styl Kameleojna (Slate Indigo) */
.offer-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}
.offer-modal-content {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 28px 32px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    flex-direction: column;
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 30px;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}
.modal-close:hover {
    color: var(--danger);
    transform: scale(1.2);
}
.offer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.offer-modal-header h2 {
    color: var(--text);
    font-size: 1.85rem;
    margin: 0;
}
.offer-modal-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-light);
    background: rgba(99, 102, 241, 0.15);
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.25);
}
.offer-media-section {
    position: relative;
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
    min-height: 0;
    max-height: 40vh;
    flex-shrink: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-media-container {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-modal-image {
    max-width: 100%;
    max-height: 38vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.offer-modal-video {
    max-width: 100%;
    max-height: 38vh;
    border-radius: 10px;
}

.media-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.media-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.media-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
    flex-shrink: 0;
}

.media-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}
.media-dot:hover {
    background: var(--accent-light);
}
.offer-modal-description {
    margin: 14px 0;
    padding: 14px 18px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    flex-shrink: 0;
}

.offer-modal-description p {
    color: #1f2937;
    line-height: 1.55;
    margin: 8px 0;
    font-size: 1rem;
}

.offer-modal-description strong {
    color: #1f2937;
    font-size: 1.05rem;
}

.offer-modal-quantity {
    margin: 14px 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.offer-modal-quantity label {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.12);
    background: #f8fafc;
}
.quantity-modal-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #e2e8f0;
    color: #334155;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.quantity-modal-btn:hover {
    background: #cbd5e1;
    color: #1e293b;
}
#offerModalQuantity {
    width: 56px;
    height: 40px;
    border: none;
    border-left: 2px solid rgba(0, 0, 0, 0.08);
    border-right: 2px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}
#offerModalQuantity::-webkit-outer-spin-button,
#offerModalQuantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.offer-modal-buttons {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    flex-shrink: 0;
}

.offer-btn {
    flex: 1;
    padding: 14px 26px;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}
.purchase-btn {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.purchase-btn:hover {
    transform: translateY(-2px);
    background: rgba(51, 65, 85, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========== Offer Modal – tryb jasny (domyślny) ========== */
body:not(.dark-mode) .offer-modal-content {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
body:not(.dark-mode) .offer-modal-header h2 {
    color: #1e293b;
}
body:not(.dark-mode) .offer-modal-price {
    color: #c2410c;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
}
body:not(.dark-mode) .offer-modal-description {
    background: rgba(249, 115, 22, 0.08);
    border-left-color: #f97316;
}

/* ========== Offer Modal – tryb ciemny ========== */
body.dark-mode .offer-modal {
    background-color: rgba(0, 0, 0, 0.85);
}
body.dark-mode .offer-modal-content {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
body.dark-mode .modal-close {
    color: #e2e8f0;
}
body.dark-mode .modal-close:hover {
    color: #f87171;
}
body.dark-mode .offer-modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
body.dark-mode .offer-modal-header h2 {
    color: #f1f5f9;
}
body.dark-mode .offer-modal-price {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.35);
}
body.dark-mode .offer-media-section {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}
body.dark-mode .media-nav-btn {
    background: rgba(30, 41, 59, 0.95);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
body.dark-mode .media-nav-btn:hover {
    background: rgba(51, 65, 85, 0.95);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}
body.dark-mode .media-dot {
    background: rgba(255, 255, 255, 0.25);
}
body.dark-mode .media-dot.active {
    background: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}
body.dark-mode .media-dot:hover {
    background: #60a5fa;
}
body.dark-mode .offer-modal-description {
    background: rgba(59, 130, 246, 0.12);
    border-left-color: #3b82f6;
    border-radius: 10px;
}
body.dark-mode .offer-modal-description p,
body.dark-mode .offer-modal-description strong {
    color: #e2e8f0;
}
body.dark-mode .offer-modal .preview-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
body.dark-mode .offer-modal .preview-btn:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}
body.dark-mode .offer-modal .purchase-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
body.dark-mode .offer-modal .purchase-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
body.dark-mode .offer-modal-quantity label {
    color: #e2e8f0;
}
body.dark-mode .quantity-control {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
}
body.dark-mode .quantity-modal-btn {
    background: rgba(51, 65, 85, 0.8);
    color: #e2e8f0;
}
body.dark-mode .quantity-modal-btn:hover {
    background: rgba(71, 85, 105, 0.9);
    color: #f1f5f9;
}
body.dark-mode #offerModalQuantity {
    border-left-color: rgba(255, 255, 255, 0.1);
    border-right-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    background: rgba(30, 41, 59, 0.6);
}

/* Przycisk „Dodaj do koszyka” na kartach sklepu – ciemny z niebiesko-fioletową poświatą */
.add-to-cart-btn {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.99) 100%);
    color: #fff;
    padding: 14px 24px;
    border: 1px solid rgba(129, 140, 248, 0.4);
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    width: 100%;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.add-to-cart-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 140, 248, 0.6);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.add-to-cart-btn:active {
    transform: translateY(0);
}
.add-to-cart-btn i {
    font-size: 1rem;
    opacity: 0.95;
}
.checkbox-container {
    margin-top: 15px;
    text-align: center;
}
.checkbox-container input {
    margin-right: 10px;
}
.payment-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 450px;
    margin: 30px auto;
    text-align: left;
}
.payment-form input, .payment-form select, .payment-form button {
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.payment-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.payment-form input:focus, .payment-form select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}
.payment-form button {
    background: linear-gradient(135deg, #ff9800 0%, #ff6b6b 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px 0 rgba(255, 152, 0, 0.4);
}
.payment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(255, 152, 0, 0.6);
}
.main-offers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 30px;
}
.main-offer {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 32px 28px;
    border-radius: 28px;
    width: 340px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(129, 140, 248, 0.15), 0 0 32px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.12);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}
.main-offer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.main-offer:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(129, 140, 248, 0.25), 0 0 40px rgba(99, 102, 241, 0.12);
    border-color: rgba(129, 140, 248, 0.2);
}
.main-offer:hover::before {
    opacity: 1;
}
.main-offer h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.main-offer h2 i {
    font-size: 1.35rem;
    opacity: 0.95;
}
.main-offer p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-align: left;
}
.main-offer button {
    background: rgba(30, 41, 59, 0.95);
    color: #fff;
    padding: 12px 24px;
    border: 1px solid rgba(129, 140, 248, 0.25);
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
    margin-top: auto;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}
.main-offer button:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 140, 248, 0.4);
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.3);
}
/* Collaboration Section */
.collaboration-offers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.collab-card {
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 36px 28px;
    border-radius: 20px;
    width: 340px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}
.collab-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.08) 0%, transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.collab-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.35);
}
.collab-card:hover::before {
    opacity: 1;
}
.collab-card h2 {
    color: var(--text);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}
.collab-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}
.collab-card .collab-btn {
    margin-top: auto;
}
.collab-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px var(--accent-glow);
    width: 100%;
}
.collab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45);
}

.discord-btn {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #fff;
    box-shadow: 0 4px 15px 0 rgba(88, 101, 242, 0.4);
}

.discord-btn:hover {
    box-shadow: 0 6px 20px 0 rgba(88, 101, 242, 0.6);
}

.tiktok-btn {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #fff;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.4);
}

.tiktok-btn:hover {
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.6);
}
/* Przełącznik tryb jasny / ciemny */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(129, 140, 248, 0.25);
    border-radius: 999px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.dark-mode-toggle:hover {
    border-color: rgba(129, 140, 248, 0.45);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}
.switch-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}
.toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}
.toggle-icon i {
    font-size: 1rem;
}
.toggle-icon-light {
    display: none;
}
body:not(.dark-mode) .toggle-icon-dark {
    display: none;
}
body:not(.dark-mode) .toggle-icon-light {
    display: inline-flex;
    color: #1e293b;
}
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(51, 65, 85, 0.8);
    transition: 0.3s ease;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
    transition: 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
input:checked + .slider {
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    border-color: rgba(129, 140, 248, 0.4);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
}
input:checked + .slider:before {
    transform: translateX(22px);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* ========== TRYB JASNY – przeciwieństwo ciemnego (jasne tło, ciemny tekst) ========== */
body:not(.dark-mode) {
    background: #f1f5f9;
    color: #0f172a;
}
body:not(.dark-mode) .bg-gradient {
    background: linear-gradient(160deg, #e2e8f0 0%, #f1f5f9 40%, #f8fafc 70%, #e2e8f0 100%);
    background-size: 400% 400%;
    animation: gradientShift 14s ease infinite;
    opacity: 1;
}
body:not(.dark-mode) .shape {
    opacity: 0.2;
}
body:not(.dark-mode) .shape-1 { background: rgba(99, 102, 241, 0.15); }
body:not(.dark-mode) .shape-2 { background: rgba(129, 140, 248, 0.12); }
body:not(.dark-mode) .shape-3 { background: rgba(99, 102, 241, 0.1); }
body:not(.dark-mode) .shape-4 { background: rgba(129, 140, 248, 0.12); }
body:not(.dark-mode) .shape-5 { background: rgba(99, 102, 241, 0.1); }
body:not(.dark-mode) .shape-6 { background: rgba(129, 140, 248, 0.12); }
body:not(.dark-mode) .nfc-dot {
    background: rgba(99, 102, 241, 0.25);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
}
body:not(.dark-mode) .nfc-tag {
    border-color: rgba(99, 102, 241, 0.2);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.06) 0%, rgba(99, 102, 241, 0.02) 100%);
}
body:not(.dark-mode) .header-glow {
    background: linear-gradient(135deg, #3730a3 0%, #4f46e5 50%, #6366f1 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.25));
}
body:not(.dark-mode) .header-tagline {
    color: #475569;
}
body:not(.dark-mode) h1 {
    color: #0f172a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
body:not(.dark-mode) .hero-title {
    background: linear-gradient(135deg, #3730a3 0%, #4f46e5 50%, #6366f1 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.2));
}
body:not(.dark-mode) .hero-subtitle {
    color: #475569;
}
body:not(.dark-mode) .shop-intro {
    color: #475569;
}
body:not(.dark-mode) .offer {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
}
body:not(.dark-mode) .offer:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(99, 102, 241, 0.2), 0 0 24px rgba(99, 102, 241, 0.08);
}
body:not(.dark-mode) .offer h2 {
    color: #0f172a;
}
body:not(.dark-mode) .offer p {
    color: #475569;
}
body:not(.dark-mode) .main-offer {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(129, 140, 248, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03), 0 0 24px rgba(99, 102, 241, 0.06);
}
body:not(.dark-mode) .main-offer:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.18), 0 0 28px rgba(99, 102, 241, 0.1);
}
body:not(.dark-mode) .main-offer h2 {
    color: #0f172a;
}
body:not(.dark-mode) .main-offer p {
    color: #475569;
}
body:not(.dark-mode) .site-footer {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: #0f172a;
}
body:not(.dark-mode) .footer-links a {
    color: #64748b;
}
body:not(.dark-mode) .footer-links a:hover {
    color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}
body:not(.dark-mode) .footer-copyright {
    color: #64748b;
}
body:not(.dark-mode) .cart-drawer-content {
    background: rgba(255, 255, 255, 0.98);
    border-left-color: rgba(0, 0, 0, 0.08);
}
body:not(.dark-mode) .cart-drawer-title,
body:not(.dark-mode) .cart-drawer-item-name,
body:not(.dark-mode) .cart-drawer-total {
    color: #0f172a;
}
body:not(.dark-mode) .cart-drawer-empty,
body:not(.dark-mode) .cart-drawer-item-meta {
    color: #64748b;
}

/* Dark Mode Styles */
body.dark-mode {
    background: var(--bg-page);
    color: var(--text);
}
body.dark-mode .site-header {
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-mode nav {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-mode .offer,
body.dark-mode .main-offer {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(129, 140, 248, 0.12);
}
body.dark-mode .main-offer:hover {
    border-color: rgba(129, 140, 248, 0.25);
}
body.dark-mode .offer:hover {
    border-color: rgba(99, 102, 241, 0.35);
}
body.dark-mode .offer::after {
    background: linear-gradient(to top, rgba(59, 130, 246, 0.4), rgba(99, 102, 241, 0.2), transparent);
}
body.dark-mode .offer-price-badge {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
}
body.dark-mode .payment-form {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-mode .payment-form input,
body.dark-mode .payment-form select {
    background: rgba(34, 34, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
body.dark-mode .payment-form input:focus,
body.dark-mode .payment-form select:focus {
    background: rgba(51, 51, 51, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}
body.dark-mode .dark-mode-toggle {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(129, 140, 248, 0.25);
}
body.dark-mode .dark-mode-toggle:hover {
    border-color: rgba(129, 140, 248, 0.45);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.2);
}
body.dark-mode .collab-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
}
body.dark-mode .collab-card h2 {
    color: var(--text);
}
body.dark-mode .collab-card p {
    color: var(--text-muted);
}
body.dark-mode .collab-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
}
body.dark-mode .collab-btn:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}
body.dark-mode .payment-form button {
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
}
body.dark-mode .payment-form button:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}
/* Cart Icon – styl Kameleojna */
.cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--bg-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: var(--text);
}
.cart-icon:hover {
    background: var(--bg-elevated);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 16px var(--accent-glow);
    color: var(--accent-light);
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}
/* Wysuwana zakładka koszyka od prawej (podgląd; można kontynuować zakupy) */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 340px;
    height: 100%;
    z-index: 1500;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
}
.cart-drawer[aria-hidden="false"] {
    pointer-events: auto;
}
.cart-drawer-content {
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 16px 24px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.cart-drawer[aria-hidden="false"] .cart-drawer-content {
    transform: translateX(0);
}
.cart-drawer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}
.cart-drawer-close:hover {
    color: #e74c3c;
    transform: scale(1.1);
}
.cart-drawer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    padding-right: 32px;
}
.cart-drawer-body {
    flex: 1;
    min-height: 0;
}
.cart-drawer-empty {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}
.cart-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cart-drawer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
}
.cart-drawer-item:last-of-type {
    border-bottom: none;
}
.cart-drawer-item-clickable {
    cursor: pointer;
    transition: background 0.2s ease;
}
.cart-drawer-item-clickable:hover {
    background: rgba(99, 102, 241, 0.08);
}
body.dark-mode .cart-drawer-item-clickable:hover {
    background: rgba(99, 102, 241, 0.15);
}
.cart-drawer-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}
.cart-drawer-item-name {
    font-weight: 600;
    color: #000;
}
.cart-drawer-item-meta {
    color: #666;
    font-size: 0.85rem;
}
.cart-drawer-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}
.cart-drawer-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}
.cart-drawer-btn {
    width: 100%;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.cart-drawer-btn:hover {
    background: #333;
    transform: translateY(-1px);
}
body.dark-mode .cart-drawer-content {
    background: rgba(30, 30, 35, 0.98);
    border-left-color: rgba(255, 255, 255, 0.1);
}
body.dark-mode .cart-drawer-close {
    color: #e0e0e0;
}
body.dark-mode .cart-drawer-close:hover {
    color: #ff6b6b;
}
body.dark-mode .cart-drawer-title {
    color: #fff;
}
body.dark-mode .cart-drawer-empty {
    color: #aaa;
}
body.dark-mode .cart-drawer-item-name {
    color: #fff;
}
body.dark-mode .cart-drawer-item-meta {
    color: #aaa;
}
body.dark-mode .cart-drawer-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
body.dark-mode .cart-drawer-footer {
    border-top-color: rgba(255, 255, 255, 0.15);
}
body.dark-mode .cart-drawer-total {
    color: #fff;
}
body.dark-mode .cart-drawer-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
}
body.dark-mode .cart-drawer-btn:hover {
    background: #fff;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.cart-modal-content {
    background: #e0e0e0;
    border-radius: 15px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.cart-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}
.cart-close:hover {
    color: #666;
    transform: scale(1.2);
}
.cart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Wybór metody dostawy w koszyku */
.cart-delivery-choice {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}
.cart-delivery-hint-only {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}
.cart-delivery-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 6px;
}
.cart-free-shipping-hint {
    font-size: 0.9rem;
    color: #2e7d32;
    margin-bottom: 10px;
}
.cart-free-shipping-hint strong { color: inherit; }
.cart-delivery-option {
    display: block;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 8px;
    cursor: pointer;
}
.cart-delivery-option input {
    margin-right: 8px;
    vertical-align: middle;
}
.cart-delivery-option span {
    vertical-align: middle;
}
/* InPost Geowidget w koszyku */
.cart-inpost-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}
.cart-inpost-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}
.cart-inpost-hint {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
}
.inpost-geowidget-container {
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff;
}
.inpost-geowidget-container inpost-geowidget {
    display: block;
    width: 100%;
    min-height: 400px;
}
.inpost-selected-point {
    margin-top: 12px;
    padding: 12px;
    background: rgba(76, 175, 80, 0.15);
    border-radius: 8px;
    border-left: 4px solid #4caf50;
    font-size: 0.95rem;
    color: #1b5e20;
}
.inpost-no-token-map {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 152, 0, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 152, 0, 0.25);
}
.inpost-no-token-desc {
    font-size: 0.95rem;
    color: #333;
    margin: 0 0 14px 0;
    line-height: 1.5;
}
.inpost-open-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #e65100;
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(230, 81, 0, 0.3);
}
.inpost-open-map-btn:hover {
    background: #d84315;
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff !important;
}
.inpost-btn-icon {
    font-size: 1.2rem;
}
body.dark-mode .inpost-no-token-map {
    background: rgba(255, 152, 0, 0.12);
    border-color: rgba(255, 152, 0, 0.35);
}
body.dark-mode .inpost-no-token-desc {
    color: #e0e0e0;
}
body.dark-mode .inpost-open-map-btn {
    background: #ff9800;
    color: #1a1a1a !important;
}
body.dark-mode .inpost-open-map-btn:hover {
    background: #ffb74d;
    color: #1a1a1a !important;
}
.inpost-code-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 6px;
}
.inpost-code-input {
    width: 100%;
    max-width: 200px;
    padding: 10px 14px;
    font-size: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 4px;
}
.inpost-code-input:focus {
    outline: none;
    border-color: #ff9800;
}
.inpost-verify-hint {
    font-size: 0.85rem;
    color: #555;
    margin-top: 6px;
    margin-bottom: 0;
    line-height: 1.4;
}
.inpost-verify-hint a {
    color: #e65100;
    text-decoration: none;
}
.inpost-verify-hint a:hover {
    text-decoration: underline;
}
.inpost-instruction-link {
    font-size: 0.85rem;
    padding: 4px 10px;
    margin-left: 8px;
    background: transparent;
    border: 1px solid #e65100;
    color: #e65100;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}
.inpost-instruction-link:hover {
    background: rgba(230, 81, 0, 0.1);
}
/* Instrukcja: jak skopiować kod paczkomatu */
.code-instruction-modal .code-instruction-content {
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
}
.code-instruction-title {
    margin-bottom: 20px;
    font-size: 1.25rem;
}
.code-instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 16px;
}
.code-instruction-step {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.code-instruction-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #e65100;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
}
.code-instruction-step p {
    margin: 0;
    line-height: 1.5;
    color: #333;
}
.code-instruction-step a {
    color: #e65100;
    text-decoration: none;
}
.code-instruction-step a:hover { text-decoration: underline; }
.code-instruction-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    margin-top: 4px;
}
.code-instruction-note {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 16px;
    font-style: italic;
}
body.dark-mode .inpost-iframe-wrap {
    border-color: rgba(255, 255, 255, 0.2);
    background: #1a1a1a;
}
body.dark-mode .inpost-code-label {
    color: #fff;
}
body.dark-mode .inpost-code-input {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
body.dark-mode .inpost-code-input:focus {
    border-color: #ffb74d;
}
body.dark-mode .inpost-verify-hint {
    color: #b0b0b0;
}
body.dark-mode .inpost-verify-hint a {
    color: #ffb74d;
}
body.dark-mode .cart-delivery-choice,
body.dark-mode .cart-delivery-hint-only {
    border-top-color: rgba(255, 255, 255, 0.15);
}
body.dark-mode .cart-delivery-title {
    color: #fff;
}
body.dark-mode .cart-delivery-option {
    color: #e0e0e0;
}
body.dark-mode .cart-free-shipping-hint {
    color: #81c784;
}
body.dark-mode .inpost-instruction-link {
    border-color: #ffb74d;
    color: #ffb74d;
}
body.dark-mode .inpost-instruction-link:hover {
    background: rgba(255, 183, 77, 0.15);
}
body.dark-mode .code-instruction-step p {
    color: #e0e0e0;
}
body.dark-mode .code-instruction-note {
    color: #b0b0b0;
}
body.dark-mode .code-instruction-img {
    border-color: rgba(255,255,255,0.2);
}
body.dark-mode .cart-inpost-section {
    border-top-color: rgba(255, 255, 255, 0.15);
}
body.dark-mode .cart-inpost-title {
    color: #fff;
}
body.dark-mode .cart-inpost-hint {
    color: #b0b0b0;
}
body.dark-mode .inpost-geowidget-container {
    border-color: rgba(255, 255, 255, 0.2);
    background: #1a1a1a;
}
body.dark-mode .inpost-selected-point {
    background: rgba(76, 175, 80, 0.2);
    color: #a5d6a7;
    border-left-color: #4caf50;
}
body.dark-mode .inpost-no-token-hint a {
    color: #ffb74d;
}
.cart-body {
    text-align: center;
}
.cart-empty {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.cart-continue-btn {
    background: #e0e0e0;
    border: 2px solid #000;
    color: #000;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}
.cart-continue-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
/* Dark Mode Cart Styles */
body.dark-mode .cart-icon {
    background: var(--bg-surface);
    border-color: var(--border);
}
body.dark-mode .cart-icon:hover {
    background: var(--bg-elevated);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--accent-light);
}
body.dark-mode .cart-modal-content {
    background: linear-gradient(180deg, var(--bg-surface) 0%, #1e293b 50%, #0f172a 100%);
    border-left: 1px solid var(--border);
}
body.dark-mode .cart-close {
    color: #fff;
}
body.dark-mode .cart-close:hover {
    color: #ccc;
}
body.dark-mode .cart-title {
    color: #fff;
}
body.dark-mode .cart-empty {
    color: #ccc;
}
body.dark-mode .cart-continue-btn {
    background: #2a2a2a;
    border: 2px solid #fff;
    color: #fff;
}
body.dark-mode .cart-continue-btn:hover {
    background: #fff;
    color: #000;
}
/* Cart Table Styles */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.cart-table thead {
    background: rgba(0, 0, 0, 0.1);
}
.cart-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #000;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}
.cart-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #000;
}
.cart-item-info {
    position: relative;
    width: 40%;
}
.cart-item-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 5px;
}
.cart-item-details {
    flex: 1;
}
.cart-item-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #000;
}
.cart-item-description {
    font-size: 0.85rem;
    color: #666;
}
.cart-remove {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    font-size: 1.5rem;
    color: #999;
    transition: color 0.3s ease;
    line-height: 1;
}
.cart-remove:hover {
    color: #ff0000;
}
.cart-quantity {
    text-align: center;
    width: 20%;
}
.quantity-btn {
    background: #fff;
    border: 1px solid #ccc;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    transition: all 0.3s ease;
    margin: 0 5px;
}
.quantity-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}
.quantity-value {
    display: inline-block;
    min-width: 30px;
    font-weight: 600;
    color: #000;
}
.cart-price {
    text-align: center;
    width: 20%;
    font-weight: 500;
}
.cart-total {
    text-align: center;
    width: 20%;
    font-weight: 600;
}
.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.2);
}
.cart-total-sum {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
}
.cart-pay-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}
.cart-pay-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
/* Dark Mode Cart Table */
body.dark-mode .cart-table th {
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
body.dark-mode .cart-table td {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-mode .cart-item-name {
    color: #fff;
}
body.dark-mode .cart-item-description {
    color: #ccc;
}
body.dark-mode .cart-remove {
    color: #ccc;
}
body.dark-mode .cart-remove:hover {
    color: #ff0000;
}
body.dark-mode .quantity-btn {
    background: #2a2a2a;
    border-color: #555;
    color: #fff;
}
body.dark-mode .quantity-btn:hover {
    background: #3a3a3a;
    border-color: #777;
}
body.dark-mode .quantity-value {
    color: #fff;
}
body.dark-mode .cart-total-sum {
    color: #fff;
}
body.dark-mode .cart-pay-btn {
    background: #fff;
    color: #000;
}
body.dark-mode .cart-pay-btn:hover {
    background: #e0e0e0;
}
body.dark-mode .add-to-cart-btn {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.99) 100%);
    border-color: rgba(129, 140, 248, 0.4);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
body.dark-mode .add-to-cart-btn:hover {
    border-color: rgba(129, 140, 248, 0.6);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* Footer Styles – styl Kameleojna */
.site-footer {
    background: var(--bg-surface);
    color: var(--text);
    padding: 24px 20px;
    text-align: center;
    margin-top: auto;
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    padding: 6px 12px;
    border-radius: 8px;
}
.footer-links a:hover {
    color: var(--accent-light);
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
}
.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
}
body.dark-mode .site-footer {
    background: var(--bg-surface);
    border-top-color: var(--border);
}
body.dark-mode .footer-links a:hover {
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-light);
}
/* ========== LIGHT MODE – dodatkowe doprecyzowania ========== */
body:not(.dark-mode) .site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
body:not(.dark-mode) nav {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
body:not(.dark-mode) nav a {
    color: #334155;
}
body:not(.dark-mode) nav a:hover {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
    border-color: rgba(99, 102, 241, 0.2);
}
body:not(.dark-mode) .offer button:hover,
body:not(.dark-mode) .main-offer button:hover {
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45);
}
body:not(.dark-mode) .add-to-cart-btn:hover {
    border-color: rgba(129, 140, 248, 0.6);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body:not(.dark-mode) .collab-btn:hover {
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45);
}
body:not(.dark-mode) .payment-form button:hover {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}
body:not(.dark-mode) .offer,
body:not(.dark-mode) .main-offer,
body:not(.dark-mode) .collab-card {
    border-color: var(--border);
}
body:not(.dark-mode) .offer-price-badge {
    color: var(--accent);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
}
body:not(.dark-mode) h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
body:not(.dark-mode) .shop-intro {
    color: rgba(255, 255, 255, 0.95);
}
body:not(.dark-mode) .dark-mode-toggle {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
}
body:not(.dark-mode) .dark-mode-toggle:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.15);
}
body:not(.dark-mode) .cart-icon {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #334155;
}
body:not(.dark-mode) .cart-icon:hover {
    color: #4f46e5;
}
body:not(.dark-mode) .cart-icon:hover {
    box-shadow: 0 4px 16px var(--accent-glow);
}
body:not(.dark-mode) .preview-btn:hover,
body:not(.dark-mode) .offer-modal .preview-btn:hover {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

/* Toast – Dodano do koszyka */
.cart-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #1e293b;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.cart-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.cart-toast-hide {
    opacity: 0;
    transform: translateX(-50%) translateY(80px);
}
.cart-toast-icon {
    font-size: 1.25rem;
    color: #4ade80;
}
.cart-toast-text {
    font-weight: 600;
    font-size: 0.95rem;
}
body:not(.dark-mode) .cart-toast {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-mode .cart-toast {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Toast – komunikaty (błędy / ostrzeżenia) – ten sam styl, inny kolor */
.message-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #b91c1c 0%, #c2410c 100%);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(185, 28, 28, 0.4);
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.message-toast-success {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    box-shadow: 0 10px 40px rgba(22, 163, 74, 0.38);
}
.message-toast-success .message-toast-icon {
    color: #bbf7d0;
}
.message-toast-error {
    background: linear-gradient(135deg, #b91c1c 0%, #c2410c 100%);
    box-shadow: 0 10px 40px rgba(185, 28, 28, 0.4);
}
.message-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.message-toast-hide {
    opacity: 0;
    transform: translateX(-50%) translateY(80px);
}
.message-toast-icon {
    font-size: 1.25rem;
    color: #fecaca;
    flex-shrink: 0;
}
.message-toast-text {
    font-weight: 600;
    font-size: 0.95rem;
}
body.dark-mode .message-toast {
    background: linear-gradient(135deg, #7f1d1d 0%, #9a3412 100%);
    border-color: rgba(255, 255, 255, 0.1);
}
body.dark-mode .message-toast-success {
    background: linear-gradient(135deg, #166534 0%, #15803d 100%);
    box-shadow: 0 10px 40px rgba(21, 128, 61, 0.34);
}
body.dark-mode .message-toast-icon {
    color: #fca5a5;
}
body.dark-mode .message-toast-success .message-toast-icon {
    color: #bbf7d0;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner.hide {
    transform: translateY(100%);
}
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 250px;
}
.cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.cookie-banner-text strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}
.cookie-banner-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}
.cookie-banner-text a {
    color: #2563eb;
    text-decoration: underline;
}
.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cookie-btn-accept {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}
.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}
.cookie-btn-decline {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    border: 2px solid rgba(0, 0, 0, 0.2);
}
.cookie-btn-decline:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
/* Dark Mode Cookie Banner */
body.dark-mode .cookie-banner {
    background: rgba(26, 26, 46, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-mode .cookie-banner-text strong {
    color: #fff;
}
body.dark-mode .cookie-banner-text p {
    color: #ccc;
}
body.dark-mode .cookie-banner-text a {
    color: #60a5fa;
}
body.dark-mode .cookie-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
body.dark-mode .cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.15);
}
/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner-text {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-btn {
        flex: 1;
        max-width: 200px;
    }
}

/* ============================================
   RESPONSIVE STYLES FOR MOBILE DEVICES
   (Tylko dla telefonów - desktop bez zmian)
   ============================================ */

@media (max-width: 768px) {
    /* Header - mniejszy padding i font */
    .site-header {
        padding: 18px 12px;
    }
    .header-glow {
        font-size: 1.6rem;
    }
    .header-tagline {
        font-size: 0.85rem;
    }

    /* Navigation - kolumna na telefonie */
    nav {
        padding: 10px 5px;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 5px;
        padding: 10px 20px;
        font-size: 14px;
        width: 90%;
        text-align: center;
    }

    /* Container - mniejszy padding */
    .container {
        padding: 20px 10px;
    }
    /* Hero - mniejszy na mobile */
    .hero-section {
        padding: 32px 16px 40px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .hero-cta {
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* H1 - mniejszy font */
    h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    /* Offers - kolumna na telefonie */
    .offers {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 10px;
    }

    .offer {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        margin: 0;
    }

    .offer-price-badge {
        top: 10px;
        right: 10px;
        font-size: 1rem;
        padding: 5px 10px;
    }

    .offer h2 {
        font-size: 1.3rem;
    }

    .offer p {
        font-size: 0.9rem;
    }

    .offer button {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    /* Main offers - kolumna */
    .main-offers {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 10px;
    }

    .main-offer {
        width: 100%;
        max-width: 100%;
        padding: 25px;
    }

    .main-offer h2 {
        font-size: 1.5rem;
    }

    .main-offer p {
        font-size: 0.95rem;
    }

    /* Collaboration offers */
    .collaboration-offers {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 10px;
    }

    .collab-card {
        width: 100%;
        max-width: 100%;
        padding: 25px;
    }

    .collab-card h2 {
        font-size: 1.5rem;
    }

    /* Cart Icon - dostosowanie pozycji */
    .cart-icon {
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .cart-badge {
        font-size: 11px;
        padding: 2px 6px;
        top: -3px;
        right: -3px;
    }

    /* Wysuwana zakładka koszyka - na mobile jeszcze mniejszy panel */
    .cart-drawer {
        max-width: min(260px, 72vw);
    }
    .cart-drawer-content {
        padding: 10px 10px 16px;
    }
    .cart-drawer-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .cart-drawer-item img {
        width: 36px;
        height: 36px;
    }
    .cart-drawer-item {
        padding: 6px 0;
        font-size: 0.8rem;
    }
    .cart-drawer-item-meta {
        font-size: 0.75rem;
    }
    .cart-drawer-footer {
        margin-top: 12px;
        padding-top: 12px;
    }
    .cart-drawer-total {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .cart-drawer-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    .cart-drawer-close {
        top: 8px;
        right: 8px;
        font-size: 20px;
    }

    /* Dark mode toggle - dostosowanie */
    .dark-mode-toggle {
        top: 10px;
        left: 10px;
        padding: 10px 15px;
        font-size: 14px;
    }

    /* Cart Modal - pełna szerokość na telefonie */
    .cart-modal-content {
        width: 95%;
        max-width: 95%;
        padding: 20px 15px;
        max-height: 95vh;
        margin: 10px;
    }

    .cart-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    /* Cart Table - ukryj nagłówki, pokaż jako karty */
    .cart-table {
        display: block;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody {
        display: block;
    }

    .cart-table tr {
        display: block;
        margin-bottom: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 15px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    body.dark-mode .cart-table tr {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .cart-table td {
        display: block;
        padding: 8px 0;
        text-align: left !important;
        border: none;
        width: 100% !important;
    }

    .cart-table td:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        display: inline-block;
        min-width: 120px;
        margin-right: 10px;
        color: #666;
    }

    body.dark-mode .cart-table td:before {
        color: #ccc;
    }

    .cart-item-info {
        width: 100%;
        margin-bottom: 10px;
    }

    .cart-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-quantity,
    .cart-price,
    .cart-total {
        width: 100%;
        text-align: left !important;
        margin-top: 5px;
    }

    .cart-remove {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    /* Cart Footer - kolumna na telefonie */
    .cart-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .cart-total-sum {
        text-align: center;
        font-size: 1.1rem;
    }

    .cart-pay-btn,
    .cart-continue-btn {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }

    /* Offer Modal - pełna szerokość, bez scrollowania, czytelne rozmiary */
    .offer-modal-content {
        width: 95%;
        max-width: 95%;
        padding: 20px 16px;
        max-height: 92vh;
        margin: 8px;
        overflow: hidden;
    }

    .offer-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .offer-modal-header h2 {
        font-size: 1.4rem;
    }

    .offer-modal-price {
        font-size: 1.15rem;
        padding: 6px 12px;
    }

    .offer-media-section {
        min-height: 160px;
        max-height: 32vh;
        margin: 12px 0;
    }

    .offer-modal-image,
    .offer-modal-video {
        max-height: 28vh;
    }

    .media-dots {
        margin: 10px 0;
    }

    .media-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }

    .prev-btn {
        left: 6px;
    }

    .next-btn {
        right: 6px;
    }

    .modal-close {
        top: 10px;
        right: 14px;
        font-size: 24px;
    }

    .offer-modal-description {
        margin: 10px 0;
        padding: 12px 14px;
    }

    .offer-modal-description p {
        font-size: 0.95rem;
        margin: 6px 0;
    }

    .offer-modal-quantity {
        margin: 10px 0 12px;
    }

    .offer-modal-buttons {
        margin-top: 12px;
        gap: 12px;
    }

    .offer-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    /* Payment form */
    .payment-form {
        padding: 20px;
        margin: 20px 10px;
    }

    .payment-form input,
    .payment-form select,
    .payment-form button {
        padding: 14px;
        font-size: 16px; /* Zapobiega zoom na iOS */
    }

    /* Offer image */
    .offer-image {
        width: 100px;
    }

    /* Donate offers */
    .donate-offers {
        flex-direction: column;
        align-items: center;
    }
}

/* Dodatkowe style dla bardzo małych ekranów */
@media (max-width: 480px) {
    .site-header {
        padding: 14px 10px;
    }
    .header-glow {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .offer,
    .main-offer,
    .collab-card {
        padding: 15px;
    }

    .offer-price-badge {
        top: 8px;
        right: 8px;
        font-size: 0.9rem;
        padding: 4px 8px;
    }

    .cart-modal-content,
    .offer-modal-content {
        width: 98%;
        padding: 14px 12px;
        max-height: 90vh;
    }

    .offer-media-section {
        min-height: 140px;
        max-height: 28vh;
        margin: 8px 0;
    }

    .offer-modal-image,
    .offer-modal-video {
        max-height: 24vh;
    }

    .offer-modal-header h2 {
        font-size: 1.2rem;
    }

    .offer-modal-description {
        padding: 10px 12px;
    }

    .offer-modal-buttons {
        margin-top: 10px;
    }

    .cart-icon,
    .dark-mode-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
        padding: 8px;
    }

    .dark-mode-toggle {
        padding: 8px 12px;
    }
}

/* ========== FORMULARZ KONTAKTOWY ========== */
.contact-intro {
    color: var(--text);
    font-size: 1.05rem;
    margin: 10px 0 20px;
    line-height: 1.6;
}
.contact-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 16px;
    padding: 28px 30px;
    max-width: 820px;
    margin: 0 auto 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.08);
}
.contact-section-title {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-category-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}
.contact-category-btn {
    border: 1px solid rgba(129, 140, 248, 0.35);
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
    border-radius: 10px;
    padding: 10px 8px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.contact-category-btn:hover {
    border-color: rgba(165, 180, 252, 0.65);
    color: #ffffff;
}
.contact-category-btn.is-active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: rgba(99, 102, 241, 0.95);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.28);
}
.contact-label {
    color: var(--text);
    font-weight: 600;
    font-size: 0.98rem;
    margin-top: 14px;
    margin-bottom: 6px;
}
.contact-input,
.contact-textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    border: 1.5px solid rgba(99, 102, 241, 0.35);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
    background: rgba(15, 23, 42, 0.9);
}
.contact-input::placeholder,
.contact-textarea::placeholder {
    color: rgba(148, 163, 184, 0.55);
}
.contact-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}
.contact-char-count {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: right;
}
.contact-char-count.contact-char-count-limit {
    color: #f59e0b;
    font-weight: 600;
}
.contact-submit-btn {
    margin-top: 18px;
    align-self: flex-start;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-submit-btn:hover:not(:disabled) {
    border-color: var(--accent-light);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}
.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.contact-alt {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}
.contact-alt p {
    color: var(--text-muted);
    line-height: 1.6;
}
.contact-alt a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.contact-alt a:hover {
    color: #a5b4fc;
}
body:not(.dark-mode) .contact-intro {
    color: #475569;
}
body:not(.dark-mode) .contact-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
}
body:not(.dark-mode) .contact-section-title,
body:not(.dark-mode) .contact-label {
    color: #0f172a;
}
body:not(.dark-mode) .contact-category-btn {
    background: #ffffff;
    color: #334155;
    border-color: rgba(99, 102, 241, 0.25);
}
body:not(.dark-mode) .contact-category-btn:hover {
    color: #0f172a;
    border-color: rgba(99, 102, 241, 0.45);
}
body:not(.dark-mode) .contact-category-btn.is-active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border-color: rgba(79, 70, 229, 0.65);
}
body:not(.dark-mode) .contact-input,
body:not(.dark-mode) .contact-textarea {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(99, 102, 241, 0.2);
}
body:not(.dark-mode) .contact-input::placeholder,
body:not(.dark-mode) .contact-textarea::placeholder {
    color: #94a3b8;
}
body:not(.dark-mode) .contact-submit-btn {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border-color: rgba(79, 70, 229, 0.45);
}
body:not(.dark-mode) .contact-submit-btn:hover:not(:disabled) {
    border-color: #4338ca;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
}
body:not(.dark-mode) .contact-alt {
    border-top-color: rgba(148, 163, 184, 0.35);
}
body:not(.dark-mode) .contact-alt p {
    color: #475569;
}
body:not(.dark-mode) .contact-alt a {
    color: #4f46e5;
}

.contact-file-input {
    display: none;
}
.contact-upload-box {
    background: rgba(15, 23, 42, 0.5);
    border: 1px dashed rgba(99, 102, 241, 0.4);
    border-radius: 12px;
    padding: 14px 14px 12px;
    margin-top: 2px;
}
.contact-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    color: #f8fafc;
    border: 1px solid rgba(129, 140, 248, 0.45);
    border-radius: 10px;
    padding: 9px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.contact-upload-btn:hover {
    border-color: rgba(165, 180, 252, 0.8);
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.25);
    transform: translateY(-1px);
}
.contact-file-hint {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.84rem;
}
.contact-file-list {
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(15, 23, 42, 0.72);
}
.contact-file-meta {
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.contact-file-meta small {
    color: #94a3b8;
    font-weight: 500;
}
.contact-file-remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: rgba(127, 29, 29, 0.35);
    color: #fecaca;
    cursor: pointer;
    flex-shrink: 0;
}
.contact-file-remove-btn:hover {
    background: rgba(127, 29, 29, 0.55);
    border-color: rgba(248, 113, 113, 0.6);
}
.contact-file-list.contact-file-error {
    color: #fca5a5;
}
body:not(.dark-mode) .contact-upload-box {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.35);
}
body:not(.dark-mode) .contact-upload-btn {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: rgba(79, 70, 229, 0.45);
    color: #ffffff;
}
body:not(.dark-mode) .contact-file-input {
    background: #ffffff;
    color: #334155;
    border-color: rgba(99, 102, 241, 0.3);
}
body:not(.dark-mode) .contact-file-hint,
body:not(.dark-mode) .contact-file-list {
    color: #475569;
}
body:not(.dark-mode) .contact-file-item {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(148, 163, 184, 0.35);
}
body:not(.dark-mode) .contact-file-meta {
    color: #0f172a;
}
body:not(.dark-mode) .contact-file-meta small {
    color: #64748b;
}
body:not(.dark-mode) .contact-file-remove-btn {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(254, 226, 226, 0.8);
    color: #b91c1c;
}
body:not(.dark-mode) .contact-file-list.contact-file-error {
    color: #b91c1c;
}
@media (max-width: 640px) {
    .contact-category-group {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 20px 18px;
        border-radius: 14px;
    }
    .contact-submit-btn {
        width: 100%;
        align-self: stretch;
        text-align: center;
    }
}
