:root {
    --tide-500: #39AED3;
    --tide-600: #0184AD;
    --tide-pale: #EAF3FA;
    --navy-900: #3D5B78;
    --navy-900-hover: #2C4A65;
    --gold-500: #C9A24B;
    --gold-600: #A6822F;
    --rose-500: #D6788C;
    --rose-600: #B5486A;
    --ink-900: #1C1C1C;
    --ink-700: #4E4E4E;
    --ink-500: #7C7C7C;
    --surface-0: #fff;
    --surface-100: #F6F5F8;
    --hairline: #E6E6E6;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Quicksand', sans-serif;
    --max: 1200px;
    --radius-lg: 14px;
    --shadow-md: 0 12px 32px rgba(61, 91, 120, .14);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s;
    letter-spacing: .02em;
    white-space: nowrap
}

.btn-tide {
    background: var(--tide-500);
    color: #fff !important
}

.btn-tide:hover {
    background: var(--tide-600)
}

.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tide-500) !important;
    margin-bottom: 14px
}

.shop-hero {
    position: relative;
    overflow: hidden;
    background: var(--navy-900);
    padding: 96px 40px 80px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.shop-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
}

.shop-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 32, 30, .45) 0%, rgba(20, 32, 30, .25) 45%, rgba(20, 32, 30, .7) 100%);
}

.shop-hero-wrap {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center
}

.shop-hero-wrap .eyebrow {
    text-align: center
}

.shop-hero-wrap h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 3.6vw, 40px);
    ;
    line-height: 1.15;
    color: #fff;
    margin: 16px 0 18px
}

.shop-hero-wrap h1 em {
    font-style: italic;
    color: var(--tide-500)
}

.shop-hero-wrap p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
    margin: 0 auto 32px !important;
    font-family: 'Quicksand', sans-serif;
    max-width: 480px;
}

.shop-hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-connector {
    position: relative;
    margin-top: -56px;
    z-index: 5;
    text-align: center;
    padding: 0 32px
}

.product-connector img {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .22))
}

.shop-header .e-con-inner {
    padding-top: 0;
}

.tb-sec {
    background: var(--surface-0);
    border-bottom: 1px solid var(--hairline);
    padding: 56px 48px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.tb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max);
    margin: 0 auto
}

.tb-cell {
    text-align: center;
    padding: 8px 20px
}

.tb-n {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 34px;
    color: #39AED3;
    margin-bottom: 8px
}

.tb-l {
    font-size: 12px;
    color: #7C7C7C;
    line-height: 1.4;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.shop-text {
    max-width: var(--max);
    margin: 100px auto 0;
}

.shop-text p {
    font-family: "Quicksand", Sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #39AED3;
}

.shop-text h2 {
    font-family: "Playfair Display", Sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #1C1C1C;
}

.shop-products {
    margin: 60px auto 0;
    max-width: var(--max);
}

@media(max-width:900px) {
    .tb-sec {
        padding: 28px 22px
    }

    .tb-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 24px
    }

    .shop-grid {
        grid-template-columns: 1fr 1fr
    }

    .shop-text {
        margin: 64px auto 0;
        padding: 0 22px;
    }

    .shop-products {
        padding: 0 22px;
    }

    .sec {
        padding: 64px 0
    }

    .site-header {
        padding: 14px 20px
    }

    .shop-hero {
        padding: 64px 22px 56px
    }

    .product-connector {
        margin-top: -22px;
        padding: 0 22px
    }

    .shop-hero-wrap p {
        font-size: 16px;
    }

    .tb-n {
        font-size: 24px;
    }

    .tb-l {
        font-size: 10.5px;
        line-height: 140%;
        display: block;
    }
}

@media(max-width:560px) {
    .shop-grid {
        grid-template-columns: 1fr
    }

    .tb-grid {
        grid-template-columns: 1fr 1fr
    }

    .product-connector {
        margin-top: -36px
    }
}

/* 1. Siatka produktów */
.shop-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    margin-top: 8px !important;
    padding: 0 !important;
    list-style: none !important;
}

.shop-products ul.products:before {
    display: none;
}

/* 2. Pojedyncza karta produktu */
.shop-products ul.products li.product {
    background: var(--surface-0, #ffffff) !important;
    border: 1px solid var(--hairline, #e2e8f0) !important;
    border-radius: var(--radius-lg, 16px) !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;

    box-shadow: 0 6px 24px rgba(57, 174, 211, 0.10) !important;

    margin: 0 !important;
    width: 100% !important;
    float: none !important;

    position: relative !important;
    box-sizing: border-box !important;
}


/* Karta wyprzedana / niedostępna */
.shop-products ul.products li.product.outofstock {
    opacity: 0.65;
    box-shadow: none !important;
}


/* 3. Główny link produktu */
.shop-products ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;

    padding: 16px 16px 0 16px !important;

    text-decoration: none !important;
    color: inherit !important;

    font-size: 13.5px;
    line-height: 1.6;
}


/* 4. Zdjęcie produktu */
.shop-products ul.products li.product a.woocommerce-LoopProduct-link img {
    order: 0 !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;

    object-fit: cover !important;

    border: 1px dashed var(--hairline, #e2e8f0) !important;
    border-radius: 8px !important;

    background: var(--surface-0, #ffffff) !important;

    margin: 0 0 16px 0 !important;

    display: block !important;
}


/* 5. Tytuł produktu */
.shop-products ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-display, inherit) !important;
    font-weight: 500 !important;
    font-size: 22px !important;

    color: #1C1C1C !important;

    margin: 0 0 8px 0 !important;
    padding: 0 12px !important;

    line-height: 1.65 !important;
}

.shop-products ul.products li.product .woocommerce-loop-product__title em {
    font-style: italic !important;
    color: var(--tide-500, #39aed3) !important;
}


/* 6. Opis produktu */
.shop-products ul.products li.product .shop-card-desc {
    font-size: 13.5px !important;
    color: var(--ink-700, #374151) !important;
    line-height: 1.6 !important;

    padding: 0 12px !important;

    flex: 1 !important;
}


/* 7. Cena */
.shop-products ul.products li.product .price {
    order: 4 !important;

    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;

    margin-bottom: 12px !important;
    padding: 0 12px !important;

    background: transparent !important;
}

.shop-products ul.products li.product .price .amount,
.shop-products ul.products li.product .price bdi {
    font-family: var(--font-display, inherit) !important;
    font-size: 22px !important;
    font-weight: 500 !important;

    color: var(--ink-900, #111827) !important;
}


/* Dopisek przy cenie */
.shop-products ul.products li.product .price::after {
    content: "raty dostępne";

    font-size: 12px !important;
    color: var(--ink-500, #6b7280) !important;
    font-weight: 400 !important;

    margin-left: 4px !important;

    display: inline-block !important;

    font-family: 'Quicksand', sans-serif;
}


/* 8. Przycisk */
.shop-products ul.products li.product a.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: calc(100% - 56px) !important;

    margin: 0 28px 28px 28px !important;
    padding: 14px 30px !important;

    font-family: var(--font-body, inherit) !important;
    font-size: 14px !important;
    font-weight: 700 !important;

    text-align: center !important;

    border-radius: 4px !important;

    background: var(--navy-900, #0f172a) !important;
    color: #ffffff !important;

    border: none !important;

    transition:
        background 0.2s ease,
        transform 0.1s ease !important;

    text-decoration: none !important;

    box-sizing: border-box !important;

    line-height: 1.65;
}

.shop-products ul.products li.product a.button:hover {
    background: var(--navy-900-hover, #1e293b) !important;
    color: #ffffff !important;
}


/* TABLET */
@media (max-width: 1024px) {
    .shop-products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* MOBILE */
@media (max-width: 640px) {
    .shop-products ul.products {
        grid-template-columns: 1fr !important;
    }
}