/* Wyposażenie Sklepów - Frontend styles */
.wyposazenie-sklepow-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Eurostile', 'Bank Gothic', 'Roboto Condensed', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    background: transparent;
}
.wyposazenie-sklepow-container * { box-sizing: border-box; }

/* Hero Slider */
.wsk-hero-slider {
    position: relative;
    width: calc(100% - 40px);
    height: 740px;
    overflow: hidden;
    background: transparent;
    border-radius: 16px;
    margin: 0 20px;
}
.wsk-slider-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 100%;
}
.wsk-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    color: #333;
    text-align: center;
    padding: 60px 20px;
    flex-shrink: 0;
    box-sizing: border-box;
}
.wsk-slide::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    background-image: var(--wsk-bg);
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: blur(3px);
}
.wsk-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.wsk-slide-content { max-width: 1000px; z-index: 2; position: relative; }
.wsk-slide h1 {
    font-size: 3.8em;
    font-weight: 700;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: white;
}
.wsk-slide p {
    font-size: 1.3em;
    margin: 0 0 35px 0;
    line-height: 1.6;
    color: white;
    font-family: 'CartographMonoCF-Regular', 'Courier New', monospace;
    font-weight: 500;
}
.wsk-slide-cta {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'MonumentExtended-Regular', sans-serif;
}
.wsk-slide-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
    color: white;
}
.wsk-slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.wsk-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.wsk-slider-dot:hover { background: white; border-color: white; }
.wsk-slider-dot.active { background: white; border-color: white; width: 40px; border-radius: 6px; }
.wsk-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.22);
    border: none;
    color: white;
    font-size: 2em;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: Arial, sans-serif;
    padding: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.wsk-slider-arrow:hover { background: rgba(255, 255, 255, 0.4); color: white; }
.wsk-slider-arrow.prev { left: 16px; }
.wsk-slider-arrow.next { right: 16px; }

/* Intro */
.wsk-intro {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}
.wsk-intro h2 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.wsk-intro p {
    font-size: 1.05em;
    color: white;
    line-height: 1.8;
    font-family: 'CartographMonoCF-Regular', 'Courier New', monospace;
    font-weight: 500;
}

/* Products */
.wsk-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 40px 20px 80px;
    background: transparent;
    max-width: 1400px;
    margin: 0 auto;
}
/* Gdy w ostatnim rzdzie zostaje TYLKO 1 kafelek  wycentruj go */
.wsk-products-grid .wsk-product-card:last-child:nth-child(3n+1) {
    grid-column: 2 / 3;
}
/* Gdy w ostatnim rzdzie zostaj 2 kafelki  wycentruj je razem */
.wsk-products-grid .wsk-product-card:last-child:nth-child(3n+2) {
    grid-column: 3 / 4;
}
.wsk-products-grid .wsk-product-card:nth-last-child(2):nth-child(3n+1) {
    grid-column: 2 / 3;
}
.wsk-product-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: inherit;
}
.wsk-product-card:hover {
    transform: translateY(-4px);
    border-color: white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}
.wsk-product-image {
    width: 100%;
    height: 220px;
    background-color: #111;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.wsk-product-content {
    padding: 30px;
    background: transparent;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.wsk-product-title {
    font-size: 1.4em;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.25;
}
.wsk-product-title a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.wsk-product-title a:hover {
    opacity: 0.75;
    text-decoration: none;
}
.wsk-product-description {
    color: white;
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'CartographMonoCF-Regular', 'Courier New', monospace;
    font-weight: 500;
}
.wsk-product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex: 1 1 auto;
}
.wsk-product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: white;
    font-size: 0.9em;
    font-family: 'CartographMonoCF-Regular', 'Courier New', monospace;
    font-weight: 500;
    line-height: 1.4;
}
.wsk-product-features .wsk-feat-icon {
    flex-shrink: 0;
    display: block;
}
.wsk-product-features li span { display: block; }

/* Przyciski na kafelkach */
.wsk-product-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 6px;
}
.wsk-product-btn {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 50px;
    font-family: 'MonumentExtended-Regular', 'Eurostile', sans-serif;
    font-weight: 700;
    font-size: 0.78em;
    letter-spacing: 1px;
    text-transform: lowercase;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}
.wsk-product-btn:hover {
    background: white;
    color: #0e1226;
    text-decoration: none;
    transform: translateY(-2px);
}

/* CTA */
.wsk-cta {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 60px 20px;
    text-align: center;
}
.wsk-cta h2 {
    font-size: 2.2em;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}
.wsk-cta p {
    font-size: 1.2em;
    margin: 0 0 30px 0;
    color: white;
    font-family: 'CartographMonoCF-Regular', 'Courier New', monospace;
    font-weight: 500;
}
.wsk-btn {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'MonumentExtended-Regular', sans-serif;
}
.wsk-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: white;
    transform: translateY(-2px);
    color: #222;
}

/* Responsive */
@media (max-width: 768px) {
    .wsk-hero-slider { height: 460px; }
    .wsk-slide { padding: 40px 15px; }
    .wsk-slide-content { padding: 0 10px; max-width: 100%; }
    .wsk-slide h1 {
        font-size: 1.5em; letter-spacing: 1px; margin: 0 0 15px 0;
        padding: 0 5px; word-wrap: break-word; overflow-wrap: break-word;
    }
    .wsk-slide p { font-size: 0.9em; margin: 0 0 25px 0; padding: 0 5px; }
    .wsk-slide-cta { font-size: 0.95em; padding: 12px 30px; }
    .wsk-slider-arrow { display: none; }
    .wsk-slider-nav { bottom: 20px; }
    .wsk-intro h2, .wsk-cta h2 { font-size: 1.6em; }
    .wsk-product-image { height: 180px; }
    .wsk-products-grid { grid-template-columns: 1fr; padding: 20px; }
    /* Reset centrowania na mobile  jedna kolumna, kady kafelek na pen szeroko */
    .wsk-products-grid .wsk-product-card:last-child:nth-child(3n+1),
    .wsk-products-grid .wsk-product-card:last-child:nth-child(3n+2),
    .wsk-products-grid .wsk-product-card:nth-last-child(2):nth-child(3n+1) {
        grid-column: auto;
    }
    .wsk-product-content { padding: 22px; }
    .wsk-product-btn { font-size: 0.72em; padding: 9px 16px; min-width: 100px; }
    .wsk-cta { text-align: center; }
    .wsk-cta h2, .wsk-cta p { text-align: center; }
}
