
/* Stylizacja sekcji */
.krystal-features {
    padding: 100px 0 60px;
    background: #f8fafc; /* Bardzo jasny błękit/szarość */
    position: relative;
    overflow: hidden;
}

/* Fala na górze */
.wave-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider .shape-fill {
    fill: #ffffff; /* Kolor sekcji powyżej (np. slidera) */
}

/* Siatka korzyści */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Kontener Hero */
.krystal-hero {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 160px 0 120px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    z-index: 2;
    position: relative;
}

/* Treść Hero */
.hero-label-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: #1e293b;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

/* Przycisk Krystal */
.btn-krystal-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, #22c55e, #3b82f6);
    color: white !important;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.btn-krystal-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

/* Obrazek i dekoracje */
.hero-image-container {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 2;
}

.floating-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

.blob-decor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

/* Animacja pływania */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Fala na dole */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    height: 100px;
    width: 100%;
}

/* Responsywność */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-description {
        margin: 0 auto 40px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
/* Tło sekcji - nawiązanie do czystej wody */
.krystal-newsletter {
    background: linear-gradient(180deg, #f8fafc 0%, #dbeafe 100%);
    padding: 150px 0 100px;
    position: relative;
}

/* Górna fala */
.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-top svg {
    height: 80px;
    width: 100%;
}

/* Magiczny boks newslettera */
.newsletter-crystal-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;;
}

.newsletter-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(59, 130, 246, 0.3));
}

.newsletter-content h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 15px;
}

/* Grupa input + przycisk */
.input-group {
    display: flex;
    background: #ffffff;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 30px 0 20px;
    border: 1px solid #e2e8f0;
    transition: focus-within 0.3s;
}

.input-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.15);
}

.input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 25px;
    font-size: 1rem;
    outline: none;
    color: #1e293b;
}

/* Przycisk zapisu */
.btn-krystal-submit {
    background: linear-gradient(to right, #22c55e, #3b82f6);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-krystal-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* RODO */
.newsletter-rodo {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    max-width: 550px;
    margin: 0 auto;
    cursor: pointer;
}

.rodo-text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.rodo-text a {
    color: #3b82f6;
    text-decoration: underline;
}

/* Responsywność */
@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 15px;
    }
    .input-group input {
        background: #fff;
        padding: 18px 25px;
        border-radius: 50px;
        border: 1px solid #e2e8f0;
    }
    .btn-krystal-submit {
        justify-content: center;
        padding: 18px;
    }
}


/* Karta korzyści - Efekt Kryształu */
.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px); /* Efekt rozmytego szkła */
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #22c55e;
}

/* Ikona z gradientem jak w Twoim logo/headerze */
.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6, #22c55e, #eab308);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsywność */
@media (max-width: 768px) {
    .krystal-features {
        padding: 60px 20px;
    }
}
/* Główne tło sekcji - czysta biel dla kontrastu z błękitem bestsellerów */
.krystal-values {
    background: #ffffff;
    position: relative;
}

/* Stylizacja kart Swipera */
.value-card-premium {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    margin: 20px 10px; /* Miejsce na cień */
}

.value-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.1);
}

/* Wrapper obrazka */
.value-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.value-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.value-card-premium:hover .value-image-wrapper img {
    transform: scale(1.1);
}

/* Overlay na obrazku - efekt czystości */
.image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.8));
}

/* Treść karty */
.value-content-premium {
    padding: 30px;
    text-align: center;
}

.value-content-premium h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.accent-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #22c55e, #eab308);
    margin: 15px auto;
    border-radius: 2px;
}

.value-content-premium p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Personalizacja nawigacji Swipera */
.swiper-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.custom-nav {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    background: #f8fafc !important;
    border-radius: 50% !important;
    color: #3b82f6 !important;
    transition: 0.3s !important;
}

.custom-nav:after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.custom-nav:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.custom-pagination .swiper-pagination-bullet-active {
    background: #22c55e !important;
}














/* =================================================
   KRYSTALSPACE PRODUCT CARD v2.0 – STYLES
   ================================================= */

/* 1. Kontener główny i Animacja wejścia */
.ks-product-card {
    list-style: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Klasa reveal-init (integracja z JS) */
.ks-product-card.reveal-init {
    opacity: 0;
    transform: translateY(20px);
}

.ks-product-card.reveal-init.is-visible {
    opacity: 1;
    transform: translateY(0);
    width: 100%;
}

/* 2. Szklany efekt i ramka karty */
.ks-product-inner {
    background: var(--ks-white, #ffffff);
    border-radius: 24px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ks-border, #e2e8f0);
    box-shadow: var(--ks-shadow, 0 10px 30px rgba(0,0,0,0.02));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ks-product-inner.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ks-product-card:hover .ks-product-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
    border-color: var(--ks-blue, #3b82f6);
    background: var(--ks-white, #ffffff);
}

/* 3. Media i Nakładki (Góra karty) */
.ks-product-img-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--ks-bg-light, #f8fafc);
}

.ks-product-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    object-fit: cover;
}

.ks-product-card:hover .ks-product-image {
    transform: scale(1.08);
}

/* Odznaki */
.ks-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ks-badge {
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.ks-badge-sale { background: var(--ks-error, #ef4444); }
.ks-badge-bestseller { background: var(--ks-yellow, #eab308); }
.ks-badge-out { background: var(--ks-slate, #64748b); }

/* Wishlista (YITH) positioning */
.ks-wishlist-pos {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

.ks-wishlist-pos .yith-wcwl-add-to-wishlist a {
    background: var(--ks-white, #ffffff);
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.ks-wishlist-pos .yith-wcwl-add-to-wishlist a:hover {
    background: var(--ks-blue, #3b82f6);
    color: #fff !important;
}

/* 4. Przyciski Akcji (Overlay) */
.ks-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
    display: flex;
    justify-content: center;
}

.ks-product-card:hover .ks-card-actions {
    transform: translateY(0);
}

.ks-btn-cart, .ks-btn-view {
    background: var(--ks-gradient, linear-gradient(135deg, #22c55e, #3b82f6));
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* 5. Body Karty (Informacje) */
.ks-card-body {
    padding: 15px 5px 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ks-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ks-card-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--ks-blue, #3b82f6);
    text-transform: uppercase;
}

.ks-attr-tag {
    font-size: 10px;
    background: var(--ks-bg-light, #f1f5f9);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--ks-slate, #64748b);
    font-weight: 600;
}

.ks-product-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ks-product-title a {
    color: var(--ks-navy, #1e293b);
    text-decoration: none;
    transition: 0.3s;
}

.ks-product-title a:hover { color: var(--ks-blue); }

.ks-product-desc {
    font-size: 13px;
    color: var(--ks-slate, #64748b);
    margin-bottom: 15px;
    line-height: 1.5;
}

/* 6. Footer Karty (Cena i Status) */
.ks-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--ks-border, #f1f5f9);
}

.ks-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--ks-navy, #1e293b);
}

.ks-price ins { text-decoration: none; }
.ks-price del { font-size: 14px; opacity: 0.5; margin-right: 5px; }

/* Status Magazynowy */
.ks-stock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.ks-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.instock .ks-dot { background: var(--ks-green, #22c55e); }
.outofstock .ks-dot { background: var(--ks-error, #ef4444); }
.instock .ks-status-text { color: var(--ks-green, #22c55e); }
.outofstock .ks-status-text { color: var(--ks-error, #ef4444); }

/* 7. RWD */
@media (max-width: 768px) {
    .ks-card-actions {
        position: static;
        transform: translateY(0);
        background: none;
        padding: 10px 0 0;
    }
    
    .ks-btn-cart, .ks-btn-view {
        width: 100%;
        justify-content: center;
    }
    
    .ks-product-inner {
        padding: 12px;
        border-radius: 18px;
    }
}














/* ============================
NOWY CSS NIE KASOWAĆ PONIŻEJ!
============================ */

/* ============================
   HERO SLIDER – FRONT PAGE
============================ */

.hero-swiper {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 620px;
    overflow: hidden;
}

/* SWIPER CORE */
.hero-swiper .swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    height: 100%;
}

/* SLIDE */
.hero-swiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
}

/* BACKGROUND IMAGE */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* DELIKATNY OVERLAY */
.slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,.85),
        rgba(255,255,255,.45),
        rgba(255,255,255,.15)
    );
}

/* CONTENT */
.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

/* HERO CARD */
.hero-card {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 48px 44px;
    max-width: 520px;
    margin-right: 60px;
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
    animation: heroIn .7s ease both;
}

.hero-card h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}

.hero-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 26px;
}

/* CTA */
.hero-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg,#22c55e,#3b82f6);
    color: #fff !important;
    padding: 15px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.hero-readmore:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59,130,246,.35);
}

/* PAGINATION */
.hero-swiper .swiper-pagination-bullet {
    background: #64748b;
    opacity: .4;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #3b82f6;
    opacity: 1;
}

/* ANIMATION */
@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-swiper {
        height: 70vh;
        min-height: 520px;
    }

    .slide-content {
        justify-content: center;
    }

    .hero-card {
        margin: 0 24px;
        padding: 36px 30px;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-swiper {
        height: 60vh;
        min-height: 460px;
    }

    .hero-card h2 {
        font-size: 1.8rem;
    }
}

/* ============================
   BESTSELLERS – FRONT PAGE
============================ */

.krystal-bestsellers {
    position: relative;
    padding: 120px 0 140px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

/* HEADER */
.krystal-bestsellers .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.krystal-bestsellers .subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #3b82f6;
    margin-bottom: 10px;
}

.krystal-bestsellers h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #0f172a;
}

.gradient-text {
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-line {
    width: 80px;
    height: 3px;
    margin: 20px auto 0;
    background: linear-gradient(to right, #22c55e, #3b82f6);
    border-radius: 3px;
}

/* GRID FIX (NADPISUJE WOO) */
.crystal-product-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 0;
    margin: 0;
}

.crystal-product-grid ul.products::before,
.crystal-product-grid ul.products::after {
    display: none !important;
}

/* PRODUKT */
.crystal-product-grid li.product {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform .35s ease, box-shadow .35s ease;
}

.crystal-product-grid li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(59,130,246,.15);
}

/* IMAGE */
.crystal-product-grid li.product img {
    border-radius: 18px;
    margin-bottom: 15px;
}

/* TITLE */
.crystal-product-grid .woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 10px 0;
}

/* PRICE */
.crystal-product-grid .price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 12px;
}

/* BUTTON */
.crystal-product-grid .button {
    width: 100%;
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    padding: 12px 0;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: #fff !important;
    border: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.crystal-product-grid .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59,130,246,.35);
}

/* WAVE */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-bottom svg {
    width: 100%;
    height: 90px;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .krystal-bestsellers {
        padding: 80px 0 100px;
    }
}








/* ============================
   FEATURES – FRONT PAGE
============================ */

.krystal-features {
    background: #f8fafc;
    padding: 120px 0 100px;
    position: relative;
}

.krystal-features .container {
    position: relative;
    z-index: 2;
}

/* GRID */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

/* CARD */
.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all .45s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

/* HOVER */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(59,130,246,0.15);
    border-color: #3b82f6;
    background: #ffffff;
}

/* ICONY (JEŚLI W WIDGETACH) */
.feature-card i,
.feature-card svg {
    font-size: 36px;
    color: #3b82f6;
    margin-bottom: 22px;
    display: inline-block;
}

/* TYTUŁ */
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1e293b;
    margin-bottom: 16px;
}

/* OPIS */
.feature-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* LINKI W WIDGETACH */
.feature-card a {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #3b82f6;
    text-decoration: none;
    gap: 6px;
    transition: gap .3s ease, color .3s ease;
}

.feature-card a:hover {
    gap: 12px;
    color: #1d4ed8;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .krystal-features {
        padding: 80px 0 60px;
    }

    .feature-card {
        padding: 30px 24px;
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }
}



/* ============================
   VALUES – SWIPER PREMIUM
============================ */

.krystal-values {
    padding: 120px 0 140px;
    background: #ffffff;
    position: relative;
}

/* Header */
.krystal-values .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.krystal-values .subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #22c55e;
    margin-bottom: 10px;
    display: inline-block;
}

.krystal-values h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #0f172a;
}

/* Swiper spacing */
.valuesSwiper {
    padding: 20px 0 70px;
}

/* Card */
.value-card-premium {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform .4s ease, box-shadow .4s ease;
}

.value-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(59,130,246,.15);
}

/* Image */
.value-image-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.value-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.value-card-premium:hover img {
    transform: scale(1.1);
}

/* Overlay */
.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.85));
}

/* Content */
.value-content-premium {
    padding: 35px 30px 40px;
    text-align: center;
}

.value-content-premium h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
}

/* Accent line */
.accent-line {
    width: 45px;
    height: 3px;
    margin: 15px auto;
    background: linear-gradient(to right, #22c55e, #3b82f6);
    border-radius: 2px;
}

.value-content-premium p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

/* Navigation */
.swiper-nav-wrapper {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.custom-nav {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    background: #f8fafc;
    color: #3b82f6 !important;
    transition: all .3s ease;
}

.custom-nav::after {
    font-size: 18px;
    font-weight: bold;
}

.custom-nav:hover {
    background: #3b82f6;
    color: #ffffff !important;
}

.custom-pagination .swiper-pagination-bullet {
    background: #c7d2fe;
    opacity: 1;
}

.custom-pagination .swiper-pagination-bullet-active {
    background: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .krystal-values {
        padding: 80px 0 100px;
    }

    .value-image-wrapper {
        height: 220px;
    }
}


/* =================================================
   OPINIONS / TESTIMONIALS – KRYSTALSPACE
================================================= */

.krystal-opinions {
    background: linear-gradient(180deg, #f6f3fb 0%, #ffffff 100%);
    padding: 120px 0;
    position: relative;
}

.krystal-opinions .section-header {
    margin-bottom: 60px;
}

.krystal-opinions .subtitle {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7c6bdc;
    margin-bottom: 12px;
}

/* Swiper spacing */
.opinionsSwiper {
    padding-bottom: 60px;
}

/* Card */
.opinion-card-premium {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.opinion-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0,0,0,.12);
}

/* Stars */
.stars-gold {
    color: #f5b301;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

/* Text */
.opinion-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 28px;
    font-style: italic;
}

/* Author */
.author-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a890d3, #7c6bdc);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.opinion-author {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Swiper pagination */
.opinionsSwiper .swiper-pagination-bullet {
    background: #b9b3e6;
    opacity: .6;
}

.opinionsSwiper .swiper-pagination-bullet-active {
    background: #7c6bdc;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .opinion-card-premium {
        padding: 32px 26px;
    }

    .opinion-text {
        font-size: 15px;
    }
}


/* =================================================
   NEWSLETTER – KRYSTALSPACE
================================================= */

.krystal-newsletter {
    position: relative;
    background: #f6f3fb;
    padding: 120px 0 100px;
    overflow: hidden;
}

/* Fala u góry */
.krystal-newsletter .wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.krystal-newsletter .wave-top svg {
    width: 100%;
    height: 90px;
    display: block;
}

/* Box */
.newsletter-crystal-box {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 60px 60px 50px;
    display: grid;
    grid-template-columns: 80px 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 30px 80px rgba(0,0,0,.12);
}

/* Ikona */
.newsletter-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a890d3, #7c6bdc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

/* Content */
.newsletter-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.newsletter-content p {
    font-size: 16px;
    color: #555;
}

/* Formularz */
.custom-newsletter {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom-newsletter .input-group {
    display: flex;
    background: #f4f1fa;
    border-radius: 50px;
    padding: 6px;
}

.custom-newsletter input[type="email"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 18px;
    font-size: 15px;
    outline: none;
}

.btn-krystal-submit {
    border: none;
    background: linear-gradient(135deg, #a890d3, #7c6bdc);
    color: #fff;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn-krystal-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(124,107,220,.4);
}

/* RODO */
.newsletter-rodo {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.newsletter-rodo input {
    margin-top: 3px;
}

.newsletter-rodo a {
    color: #7c6bdc;
    text-decoration: underline;
}

/* Responsywność */
@media (max-width: 992px) {
    .newsletter-crystal-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 50px 40px;
    }

    .newsletter-icon {
        margin: 0 auto;
    }

    .custom-newsletter .input-group {
        flex-direction: column;
        border-radius: 16px;
    }

    .btn-krystal-submit {
        width: 100%;
    }
}
/* =================================================
   BLOG – FRONT PAGE (KRYSTALSPACE)
================================================= */

.krystal-blog {
    background: #ffffff;
    padding: 120px 0 100px;
    position: relative;
}

.krystal-blog .section-header {
    margin-bottom: 60px;
}

.krystal-blog .subtitle {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7c6bdc;
    margin-bottom: 12px;
}

/* GRID */
.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* RESPONSIVE GRID */
@media (max-width: 1024px) {
    .blog-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid-modern {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =================================================
   POST CARD – BASE (CONTENT-POST-CARD)
================================================= */

/* Zakładamy, że template-part generuje .post-card lub .ks-post-card */
.post-card,
.ks-post-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,.06);
    transition: transform .35s ease, box-shadow .35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover,
.ks-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0,0,0,.12);
}

/* Obrazek */
.post-card img,
.ks-post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Body */
.post-card-body,
.ks-post-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Kategorie */
.post-card-category,
.ks-post-category a {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7c6bdc;
    margin-bottom: 12px;
    display: inline-block;
}

/* Tytuł */
.post-card-title,
.ks-post-title {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.post-card-title a,
.ks-post-title a {
    text-decoration: none;
    color: inherit;
}

/* Excerpt */
.post-card-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Read more */
.post-card-link,
.ks-post-more {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: #7c6bdc;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .3s ease, color .3s ease;
}

.post-card-link:hover,
.ks-post-more:hover {
    gap: 14px;
    color: #5e4fd4;
}


/* ============================
   FAQ – FRONT PAGE
============================ */

.krystal-faq {
    background: #f0f9ff;
    padding: 120px 0;
}

.krystal-faq details {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    transition: all .3s ease;
}

.krystal-faq details[open] {
    box-shadow: 0 10px 30px rgba(59,130,246,.08);
    border-color: #3b82f6;
}

.krystal-faq summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.krystal-faq summary::-webkit-details-marker {
    display: none;
}

.krystal-faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 22px;
    transition: transform .3s ease;
}

.krystal-faq details[open] summary::after {
    transform: rotate(45deg);
}

.krystal-faq details p {
    margin-top: 15px;
    color: #64748b;
    line-height: 1.6;
}
