* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}


/* HEADER */

header {

    height: 75px;

    background: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 60px;

    border-bottom: 1px solid #eee;

    position: sticky;

    top: 0;

    z-index: 100;

}


.logo {

    font-size: 25px;

    font-weight: 800;

    letter-spacing: -1px;

}


nav {

    display: flex;

    gap: 35px;

}


nav a {

    text-decoration: none;

    color: #333;

    font-size: 15px;

    transition: 0.2s;

}


nav a:hover {

    color: #777;

}


.cart {

    cursor: pointer;

    font-size: 15px;

    font-weight: 600;

    padding: 10px 15px;

    border-radius: 6px;

    transition: 0.2s;

}


.cart:hover {

    background: #f3f3f3;

}


/* HERO */

.hero {

    text-align: center;

    padding: 120px 20px;

    background: #181818;

    color: white;

}


.hero h1 {

    font-size: 55px;

    letter-spacing: -2px;

    margin-bottom: 20px;

}


.hero p {

    font-size: 19px;

    color: #ccc;

    margin-bottom: 35px;

}


.hero button {

    background: white;

    color: #111;

    padding: 15px 30px;

    font-weight: bold;

    transition: 0.2s;

}


.hero button:hover {

    transform: translateY(-2px);

}


/* PRODUCTS */

.products {
    max-width: 1200px;

    margin: 60px auto;

    padding: 0 20px;
}

.products h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.product-list {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.product {
    background: white;

    padding: 20px;

    border-radius: 10px;

    text-align: center;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.08);
}

.product-image {
    height: 220px;

    background: #eee;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 80px;

    border-radius: 8px;

    margin-bottom: 20px;
}

.product h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.price {
    font-size: 20px;
    font-weight: bold;

    margin-bottom: 20px;
}

.product button {
    width: 100%;
}


/* FOOTER */

footer {
    text-align: center;

    padding: 30px;

    background: #222;

    color: white;
}


/* TELEFON */

@media (max-width: 800px) {

    header {
        padding: 0 20px;
    }

    nav {
        display: none;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 35px;
    }

}
/* KOSZYK */

.cart {
    cursor: pointer;
}


/* =========================
   WYSUWANY KOSZYK
========================= */

.cart-window {

    position: fixed;

    top: 0;
    right: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);

    display: none;

    z-index: 1000;

}


.cart-window.active {

    display: block;

}


.cart-box {

    position: absolute;

    top: 0;
    right: 0;

    width: 450px;
    max-width: 90%;

    height: 100%;

    background: white;

    padding: 30px;

    overflow-y: auto;

    box-shadow:
        -10px 0 30px rgba(0,0,0,0.15);

}


.cart-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 20px;

    border-bottom: 1px solid #ddd;

}


.cart-header h2 {

    font-size: 26px;

}


.cart-header button {

    background: transparent;

    color: #222;

    font-size: 22px;

    padding: 5px 10px;

}


.cart-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 20px 0;

    border-bottom: 1px solid #eee;

}


.cart-controls {

    display: flex;

    align-items: center;

    gap: 6px;

}


.cart-controls button {

    padding: 6px 9px;

    font-size: 13px;

}


.cart-summary {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 21px;

    margin-top: 30px;

    padding-top: 20px;

    border-top: 2px solid #222;

}


.checkout-button {

    width: 100%;

    padding: 16px;

    margin-top: 20px;

    font-size: 17px;

}


@media (max-width: 600px) {

    .cart-box {

        width: 100%;

        max-width: 100%;

    }

}


/* NOWE PRODUKTY */


.products-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;

}


.products-top p {

    color: #777;

    margin-top: 5px;

}


#category-filter {

    padding: 10px 15px;

    border: 1px solid #ddd;

    border-radius: 6px;

    background: white;

    font-size: 15px;

}


.product {

    overflow: hidden;

    padding: 0;

    transition: 0.2s;

}


.product:hover {

    transform: translateY(-5px);

}


.product-image {

    width: 100%;

    height: 250px;

    object-fit: cover;

    display: block;

    border-radius: 10px 10px 0 0;

}


.product-info {

    padding: 20px;

    text-align: left;

}


.category {

    font-size: 13px;

    color: #777;

    text-transform: uppercase;

}


.product-info h3 {

    font-size: 22px;

    margin: 8px 0;

}


.description {

    color: #666;

    line-height: 1.5;

    margin-bottom: 20px;

}


.product-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.product-bottom .price {

    margin: 0;

}


.product-bottom button {

    padding: 10px 16px;

}
/* STRONA PRODUKTU */


.product-page {

    max-width: 1200px;

    margin: 60px auto;

    padding: 20px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}


.product-page-image img {

    width: 100%;

    max-height: 600px;

    object-fit: cover;

    border-radius: 12px;

}


.product-page-info h1 {

    font-size: 42px;

    margin: 15px 0;

}


.big-price {

    font-size: 32px;

    font-weight: bold;

    margin: 30px 0;

}


.add-product-button {

    font-size: 18px;

    padding: 15px 30px;

}


.product-info h3 a {

    color: #222;

    text-decoration: none;

}


.product-info h3 a:hover {

    text-decoration: underline;

}



@media (max-width: 800px) {

    .product-page {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .product-page-info h1 {

        font-size: 32px;

    }

}
/* NARZĘDZIA SKLEPU */

.shop-tools {
    display: flex;
    gap: 15px;
    align-items: center;
}

#search-input {
    width: 300px;
    padding: 12px 15px;

    border: 1px solid #ddd;
    border-radius: 6px;

    font-size: 15px;
    outline: none;
}

#search-input:focus {
    border-color: #222;
}

.shop-tools select {
    padding: 12px 15px;

    border: 1px solid #ddd;
    border-radius: 6px;

    background: white;

    font-size: 15px;
}


@media (max-width: 800px) {

    .shop-tools {
        flex-direction: column;
        align-items: stretch;
    }

    #search-input {
        width: 100%;
    }

}
/* =========================
   KARTY PRODUKTÓW
========================= */

.product {

    border: 1px solid #eee;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.05);

    transition:
        transform 0.25s,
        box-shadow 0.25s;

}


.product:hover {

    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.12);

}


.product-image {

    transition:
        transform 0.4s;

}


.product:hover .product-image {

    transform: scale(1.03);

}


.product-info {

    padding: 22px;

}


.category {

    display: inline-block;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;

    margin-bottom: 5px;

}


.product-info h3 {

    font-size: 21px;

}


.description {

    font-size: 14px;

}


.product-bottom .price {

    font-size: 21px;

}
.hero-button {

    display: inline-block;

    background: white;

    color: #111;

    text-decoration: none;

    padding: 15px 30px;

    border-radius: 6px;

    font-weight: bold;

    transition: 0.2s;

}


.hero-button:hover {

    transform: translateY(-2px);

}
/* =========================
   STRONA ZAMÓWIENIA
========================= */

.checkout-page {

    max-width: 1200px;

    margin: 50px auto;

    padding: 20px;

}


.checkout-content {

    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 50px;

}


.checkout-form {

    background: white;

    padding: 35px;

    border-radius: 12px;

    border: 1px solid #eee;

}


.checkout-form h1 {

    font-size: 32px;

    margin-bottom: 35px;

}


.checkout-form h2 {

    font-size: 21px;

    margin-top: 35px;

    margin-bottom: 20px;

}


.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


.form-group {

    display: flex;

    flex-direction: column;

    margin-bottom: 20px;

}


.form-group label {

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 8px;

}


.form-group input {

    padding: 13px;

    border: 1px solid #ddd;

    border-radius: 6px;

    font-size: 15px;

    outline: none;

}


.form-group input:focus {

    border-color: #222;

}


.delivery-options {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.delivery-option {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    border: 1px solid #ddd;

    border-radius: 8px;

    cursor: pointer;

}


.delivery-option:hover {

    background: #f8f8f8;

}


.delivery-option span {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.delivery-option small {

    color: #777;

}


.order-button {

    width: 100%;

    margin-top: 30px;

    padding: 16px;

    font-size: 17px;

    font-weight: bold;

}


/* PODSUMOWANIE */

.order-summary {

    height: fit-content;

    background: white;

    padding: 30px;

    border-radius: 12px;

    border: 1px solid #eee;

}


.order-summary h2 {

    margin-bottom: 25px;

}


.summary-product {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 15px 0;

    border-bottom: 1px solid #eee;

}


.summary-line {

    display: flex;

    justify-content: space-between;

    padding-top: 18px;

}


.summary-total {

    display: flex;

    justify-content: space-between;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 2px solid #222;

    font-size: 22px;

}


@media (max-width: 800px) {

    .checkout-content {

        grid-template-columns: 1fr;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }

}
.product-list {
    width: 100%;
}

#products-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}

#products-container .product {
    width: 100%;
    box-sizing: border-box;
}

#products-container .product-image {
    width: 100%;
    height: 320px;
    object-fit: contain;
}

#products-container .product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

#products-container button {
    flex: 1;
}
/* POPRAWKA UKŁADU PRODUKTÓW */

.products {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.product-list {
    width: 100%;
    max-width: none;
}

#products-container {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 30px;
}

#products-container .product {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

#products-container .product-image {
    width: 100%;
    height: 320px;
    object-fit: contain;
}

#products-container .product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

#products-container button {
    flex: 1;
}
.checkout-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    margin-top: 20px;
    background: #111;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.checkout-button:hover {
    background: #333;
}
.tracking-section {
    max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    text-align: center;
    background: #f7f7f7;
    border-radius: 12px;
}

.tracking-section h2 {
    margin-bottom: 10px;
}

.tracking-section p {
    margin-bottom: 20px;
}

.tracking-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tracking-form input {
    padding: 12px;
    width: 220px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.tracking-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: #111;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.tracking-form button:hover {
    background: #333;
}

#trackingResult {
    margin-top: 25px;
    font-size: 16px;
}

#trackingResult h3 {
    margin-bottom: 15px;
}
/* ==========================
   POTWIERDZENIE ZAMÓWIENIA
========================== */

.order-confirmation {
    max-width: 600px;
    margin: 40px auto;
    padding: 35px 25px;
    text-align: center;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-top: 5px solid #28a745;
    animation: confirmationAppear 0.5s ease;
}

.order-confirmation h2 {
    margin-bottom: 18px;
    color: #28a745;
    font-size: 28px;
}

.order-confirmation p {
    color: #555;
    font-size: 16px;
    margin: 12px 0;
}

.order-confirmation .order-number {
    margin: 25px 0;
    padding: 18px;
    background: #f1f8f3;
    border-radius: 12px;
    font-size: 18px;
    color: #333;
}

.order-confirmation .order-number strong {
    display: block;
    margin-top: 8px;
    font-size: 32px;
    color: #28a745;
}

@keyframes confirmationAppear {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* PRZYCISK ŚLEDZENIA ZAMÓWIENIA */

.track-order-button {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 26px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.track-order-button:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* ==========================
   NOWOCZESNY NAGŁÓWEK I MENU
========================== */

header {
    background: #111827;
    color: white;
    padding: 25px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

header h1 {
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #28a745;
}

/* LEPSZE PRZYCISKI */

button,
.track-order-button {
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
}
/* ==========================
   NOWOCZESNE TŁO I SEKCJE
========================== */

body {
    background: #f3f4f6;
    color: #1f2937;
}

section {
    max-width: 1200px;
    margin: 35px auto;
    padding: 30px 25px;
}

section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #111827;
}

/* KARTY PRODUKTÓW */

.product-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}
/* ==========================
   UKŁAD KART PRODUKTÓW
========================== */

.products-container,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 20px;
    margin: 10px 0;
}

.product-card p {
    line-height: 1.5;
}

.product-card .price {
    font-size: 22px;
    font-weight: bold;
    color: #28a745;
    margin: 15px 0;
}
/* ==========================
   PRZYCISKI DODAWANIA DO KOSZYKA
========================== */

.product-card button {
    width: 100%;
    padding: 13px 18px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.product-card button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.product-card button:active {
    transform: scale(0.98);
}

/* ==========================
   POPRAWIONY DÓŁ KARTY PRODUKTU
========================== */

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.product-bottom .price {
    font-size: 22px;
    font-weight: bold;
    color: #2563eb;
    margin: 0;
}

.product-bottom .stock {
    font-size: 14px;
    color: #555;
    flex: 1;
}

.product-bottom button {
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.product-bottom button:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.product-bottom button:disabled {
    background: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
}

/* ==========================
   NOWOCZESNY BANER POWITALNY
========================== */

.hero {
    max-width: 1200px;
    margin: 30px auto;
    padding: 80px 30px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #111827, #2563eb);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 19px;
    margin-bottom: 30px;
    color: #e5e7eb;
}

.hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    background: white;
    color: #2563eb;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    transition: 0.3s ease;
}

.hero-button:hover {
    background: #dbeafe;
    transform: translateY(-3px);
}

/* ==========================
   WYSZUKIWARKA I FILTRY
========================== */

.products-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.shop-tools {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shop-tools input,
.shop-tools select {
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: white;
    color: #1f2937;
    font-size: 14px;
    outline: none;
    transition: 0.3s ease;
}

.shop-tools input:focus,
.shop-tools select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.shop-tools input {
    min-width: 220px;
}
/* ==========================
   NOWOCZESNY KOSZYK
========================== */

.cart-window {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90%;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
}

.cart-box {
    padding: 25px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.cart-header h2 {
    margin: 0;
    font-size: 24px;
}

.cart-header button {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 25px;
    font-size: 18px;
}

.checkout-button {
    display: block;
    text-align: center;
    margin-top: 25px;
    padding: 14px;
    background: #2563eb;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.checkout-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
/* ==========================
   NOWOCZESNY FORMULARZ ZAMÓWIENIA
========================== */

.checkout-page {
    max-width: 1250px;
    margin: 50px auto;
    padding: 20px;
}

.checkout-content {
    gap: 35px;
}

.checkout-form,
.order-summary {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.checkout-form {
    padding: 35px;
}

.checkout-form h1 {
    font-size: 32px;
    color: #111827;
    margin-bottom: 30px;
}

.checkout-form h2 {
    color: #1f2937;
    font-size: 21px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.3s ease;
}

.form-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

.form-group label {
    color: #374151;
    font-weight: 600;
}

.delivery-option {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}

.delivery-option:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.order-button {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.order-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
/* ==========================
   PODSUMOWANIE ZAMÓWIENIA
========================== */

.order-summary {
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 25px;
}

.order-summary h2 {
    font-size: 24px;
    color: #111827;
    margin-bottom: 25px;
}

.order-summary p {
    color: #4b5563;
    font-size: 15px;
    margin: 12px 0;
}

.order-summary .total,
.order-summary .summary-total {
    border-top: 2px solid #e5e7eb;
    margin-top: 25px;
    padding-top: 20px;
    font-size: 23px;
    font-weight: bold;
    color: #2563eb;
}

.order-summary button {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
}
/* ==========================
   RESPONSYWNOŚĆ ZAMÓWIENIA
========================== */

@media (max-width: 768px) {

    .checkout-page {
        margin: 20px auto;
        padding: 12px;
    }

    .checkout-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .checkout-form,
    .order-summary {
        padding: 22px;
        width: 100%;
    }

    .checkout-form h1 {
        font-size: 26px;
    }

    .order-summary {
        position: static;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .form-group input {
        font-size: 16px;
    }

    .order-button {
        width: 100%;
        padding: 16px;
    }
}
/* ==========================
   WYBÓR SPOSOBU DOSTAWY
========================== */

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.delivery-option:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}

.delivery-option input {
    accent-color: #2563eb;
    width: 18px;
    height: 18px;
}

.delivery-option label {
    cursor: pointer;
    font-weight: 600;
    color: #1f2937;
}
/* ==========================
   KOMUNIKATY I PRZYCISKI
========================== */

.success-message {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    font-weight: 600;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    font-weight: 600;
}

.order-button:hover {
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}
/* ==========================
   ODSTĘPY W FORMULARZU
========================== */

.checkout-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.checkout-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.checkout-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    resize: vertical;
}

.checkout-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

@media (max-width: 768px) {
    .checkout-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* ==========================
   PASEK POSTĘPU ZAMÓWIENIA
========================== */

.checkout-progress {
    max-width: 850px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.progress-step span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: bold;
}

.progress-step.active span {
    background: #2563eb;
    color: white;
}

.progress-step p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

.progress-line {
    width: 70px;
    height: 2px;
    background: #d1d5db;
}

@media (max-width: 600px) {
    .checkout-progress {
        gap: 6px;
    }

    .progress-line {
        width: 25px;
    }

    .progress-step p {
        font-size: 11px;
    }
}
/* OPCJE PŁATNOŚCI */

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.payment-option:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.payment-option:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}

.payment-option input {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.payment-option span {
    font-weight: 600;
    color: #1f2937;
}
/* INFORMACJA O PŁATNOŚCI */

.payment-info {
    margin-top: 15px;
    margin-bottom: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    font-size: 14px;
}
/* KOLORY STATUSÓW ZAMÓWIEŃ */

.status-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 2px solid #d1d5db;
    font-weight: 600;
    cursor: pointer;
}

/* Nowe */
.status-nowe {
    background: #fef3c7;
    color: #92400e;
    border-color: #f59e0b;
}

/* W realizacji */
.status-w-realizacji {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #3b82f6;
}

/* Wysłane */
.status-wysłane {
    background: #ede9fe;
    color: #6d28d9;
    border-color: #8b5cf6;
}

/* Zakończone */
.status-zakończone {
    background: #dcfce7;
    color: #166534;
    border-color: #22c55e;
}

/* Anulowane */
.status-anulowane {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}
/* WYMUSZONE KOLORY STATUSÓW */

select.status-select.status-nowe {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 2px solid #f59e0b !important;
}

select.status-select.status-w-realizacji {
    background-color: #dbeafe !important;
    color: #1d4ed8 !important;
    border: 2px solid #3b82f6 !important;
}

select.status-select.status-wysłane {
    background-color: #ede9fe !important;
    color: #6d28d9 !important;
    border: 2px solid #8b5cf6 !important;
}

select.status-select.status-zakończone {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    border: 2px solid #22c55e !important;
}

select.status-select.status-anulowane {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border: 2px solid #ef4444 !important;
}
/* DATA ZAMÓWIENIA */

.order-date {
    margin: 8px 0 15px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}
/* =========================
   NOWOCZESNY WYGLĄD
========================= */

button,
.hero-button {
    border-radius: 10px;
    transition: all 0.25s ease;
}

button:hover,
.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product {
    border-radius: 16px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-info h3 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.price {
    color: #111;
    font-weight: 800;
}
/* =========================
   NOWOCZESNY HEADER
========================= */

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

nav a {
    font-weight: 600;
    transition: color 0.25s ease;
}

nav a:hover {
    color: #000;
}

.cart {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.cart:hover {
    background: #111;
    color: white;
}
/* =========================
   NOWOCZESNY HERO
========================= */

.hero {
    padding: 150px 20px;
    background: linear-gradient(
        135deg,
        #111111,
        #292929,
        #111111
    );
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero p {
    max-width: 600px;
    margin: 25px auto 35px;
    line-height: 1.6;
}

.hero-button {
    border-radius: 12px;
    padding: 16px 34px;
    font-size: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.hero-button:hover {
    background: #eaeaea;
}
/* =========================
   ZDJĘCIA PRODUKTÓW
========================= */

.product-image {
    background: #f8f8f8;
    border-radius: 14px;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.4s ease;
}

.product:hover .product-image img {
    transform: scale(1.06);
}

.product-info {
    padding: 22px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info p {
    color: #777;
    line-height: 1.5;
}
/* =========================
   NOWOCZESNE PRZYCISKI
========================= */

button,
.hero-button,
.checkout-button {
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

button:active {
    transform: scale(0.97);
}

.checkout-button {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    background: #111;
    color: white;
    border: none;
}

.checkout-button:hover {
    background: #333;
    transform: translateY(-2px);
}
/* =========================
   RESPONSYWNOŚĆ
========================= */

@media (max-width: 768px) {

    header {
        padding: 15px;
    }

    .logo {
        font-size: 23px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product {
        max-width: 100%;
    }

    .product-info {
        padding: 18px;
    }
}
/* =========================
   NOWOCZESNA STOPKA
========================= */

footer {
    background: #111;
    color: #fff;
    padding: 45px 20px;
    margin-top: 60px;
    text-align: center;
}

footer p {
    color: #aaa;
    margin: 8px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
}

footer a:hover {
    color: #bbb;
}
/* =========================
   DROBNE DOPRACOWANIE
========================= */

html {
    scroll-behavior: smooth;
}

::selection {
    background: #111;
    color: white;
}

input,
textarea,
select {
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
/* =========================
   POPRAWA WIDOCZNOŚCI HEADERA
========================= */

.logo,
nav a {
    color: #111 !important;
}

nav a:hover {
    color: #555 !important;
}

.cart {
    color: #111;
}
/* =========================
   FILTRY PRODUKTÓW
========================= */

.products-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.products-header input,
.products-header select {
    min-height: 46px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .products-header {
        flex-direction: column;
        align-items: stretch;
    }

    .products-header input,
    .products-header select {
        width: 100%;
    }
}
/* =========================
   PRZYCISKI PRODUKTÓW
========================= */

.product button {
    width: 100%;
    margin-top: 15px;
    padding: 13px 18px;
    border-radius: 10px;
    background: #111;
    color: white;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.product button:hover {
    background: #333;
    transform: translateY(-2px);
}
/* =========================
   SEKCJA PRODUKTÓW
========================= */

.products {
    padding-top: 50px;
    padding-bottom: 70px;
}

.products h2 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.products > p {
    color: #777;
    font-size: 17px;
    margin-bottom: 35px;
}

@media (max-width: 768px) {
    .products h2 {
        font-size: 32px;
    }
}
/* =========================
   ANIMACJA KART PRODUKTÓW
========================= */

.product {
    animation: productAppear 0.6s ease both;
}

@keyframes productAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product:nth-child(2) {
    animation-delay: 0.1s;
}

.product:nth-child(3) {
    animation-delay: 0.2s;
}

.product:nth-child(4) {
    animation-delay: 0.3s;
}

.product:nth-child(5) {
    animation-delay: 0.4s;
}
/* =========================
   KOMFORT UŻYTKOWANIA
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* =========================
   SEKCJA KONTAKTOWA
========================= */

.contact-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 45px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-section p {
    color: #555;
    font-size: 17px;
    margin: 12px 0;
}

@media (max-width: 768px) {
    .contact-section {
        margin: 40px 20px;
        padding: 30px 20px;
    }
}
/* NOWOCZESNA STRONA PRODUKTU */

.product-page {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 30px;
}

.product-page img {
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.product-page h1 {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin: 20px 0;
}

.product-page .price {
    font-size: 34px;
    font-weight: 800;
    margin: 25px 0;
}

.product-page button {
    background: #111;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 17px 32px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.product-page button:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .product-page {
        margin: 35px auto;
        padding: 0 20px;
    }

    .product-page h1 {
        font-size: 36px;
    }
}
.back-to-products {
    display: block;
    width: fit-content;
   margin-top: 20px;
margin-bottom: 0;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s ease;
}

.back-to-products:hover {
    color: #111;
    transform: translateX(-4px);
}
.logo {
    display: inline-block;
    color: #111 !important;
    text-decoration: none;
    cursor: pointer;
}
/* STATYSTYKI ADMINA */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.stat-card h3 {
    font-size: 16px;
    color: #777;
    margin-bottom: 12px;
}

.stat-card p {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

@media (max-width: 768px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
}
/* ======================
   OPINIE PRODUKTÓW
====================== */

.reviews-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.review {
    padding: 15px;
    margin: 15px 0;
    border-bottom: 1px solid #ddd;
}

.review p {
    margin: 8px 0;
}

#review-form {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

#review-form input,
#review-form select,
#review-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

#review-form textarea {
    min-height: 100px;
    resize: vertical;
}

#review-form button {
    background: #111;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#review-form button:hover {
    background: #333;
}
/* ======================
   PRODUKT W PODSUMOWANIU
====================== */

.summary-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

.summary-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-product-image {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.summary-product-info strong {
    display: block;
    font-size: 15px;
}

.summary-product-info p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #666;
}
/* ======================
   ZDJĘCIA W KOSZYKU
====================== */

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-product-image {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

.cart-product-info strong {
    display: block;
    font-size: 14px;
}

.cart-product-info p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #666;
}