h1,
h2 {
    color: black;
}

.status_zamowienia {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: black;
    padding: 30px 20px;
    text-align: center;
    width: 99%;
    padding: 2em;
}

.bouquet-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.img_class {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1.5px solid #eee;
    background: #fafafa;
}

.status_zamowienia h1 h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: gray;
}

.status_zamowienia p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.progress-bar {
    display: flex;
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    margin-top: 20px;
    border-radius: 4px;
}

.progress-step {
    flex: 1;
    height: 100%;
    background: rgb(0, 0, 0);
    border-radius: 4px;
    transition: var(--transition);
    opacity: 0.3;
}

.progress-step.active {
    opacity: 1;
}

.content {
    padding: 40px;
}

.step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: var(--wood-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 3px solid var(--primary);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(220px, 28vw, 320px);
    min-width: 100px;
    padding: 20px 16px 24px 16px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-image {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}



.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-card.popular {
  border: 2.5px solid #d32f2f; /* Czerwony */
}
.product-card.other {
  border: 2.5px solid #222; /* Czarny */
}
.product-card.coronet {
  border: 2.5px solid #11ad00; /* Zielony */
}
.product-card.funeral {
  border: 2.5px solid #5f00b9; /* Fioletowy */
}
.btn {
    display: inline-block;
    padding: 5px 10px;
    background: var(--primary);
    color: black;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    flex: 1;
    min-width: 100px;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: #e07102;
    box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-around;
}


.btn-secondary:hover {
    background: #7cb342;
    box-shadow: 0 4px 12px rgba(139, 195, 74, 0.4);
}

.btn-outline {
    background: rgba(120, 120, 120, 0.611);
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.btn-outline:hover {
    background: var(--primary);
    color: black;
}

.order-btn {
    background-color: #7cb342;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.order-btn:hover {
    color: var(--primary);
    background-color: var(--primary);
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    min-width: 50%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: #fafafa;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.error {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.error i {
    margin-right: 5px;
}

.summary-card {
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
}

.summary-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
}

.summary-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.summary-item-label {
    color: var(--text-light);
}

.summary-item-value {
    font-weight: 500;
}

.verification-info {
    background: #e8f5e9;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
}

.verification-info i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 15px;
}

.verification-text {
    color: var(--text);
}

.success-card {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
}

.success-title {
    font-size: 2rem;
    color: var(--success);
    margin-bottom: 15px;
}

.success-message {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

label#odbior1,
label#odbior2 {
    display: inline-flex;
    cursor: pointer;
    text-shadow: 0 0 1px #fff, 0 0 1px rgba(0, 0, 0, 0.6);
    padding: 10px;
    margin-right: 10px;
    font-size: 0.9em;
    max-width: 100%;
    min-width: 200px;
    border-radius: 20px;
    border: solid 1px #7cb342;
}

input[type=radio] {
    display: flex;
    max-width: 50px;
}

label#odbior1:has(input#odbior1:checked),
label#odbior2:has(input#odbior2:checked) {
    color: #d32f2f;
}

.radio {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.form-actions .btn {
    max-width: 300px;
    padding: 20px;
    margin: 10px 5px;
}

.form-actions .btn:first-child {
    display: flex;
    align-items: center;
    justify-content: space-evenly;

}

.form-actions .btn:last-child {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.popular-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin: 20px 0 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.popular-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.preview-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: black;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.cart-bar {
    display: none;
    width: 100%;
    background: var(--primary);
    color: black;
    min-height: 50px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cart-bar.visible {
    display: flex;
    background: rgb(212, 164, 4);
    position: fixed;
    bottom: 0px;
    max-width: 250px;
    height: auto;
    flex-wrap: wrap;
    padding: 10px;
    right: 0;
    border-radius: 10px;
}


.cart-info {
    display: flex;
    align-items: center;
    padding: 5px;
}

.cart-info i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.cart-summary {
    font-weight: 500;
    color: white;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text);
}

.modal-body {
    padding: 20px;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--text-light);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
}

.quantity-btn {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: #f0f0f0;
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    padding: 5px;
    font-size: 1rem;
}

.cart-item-remove {
    background: var(--error);
    color: black;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-remove:hover {
    background: #d32f2f;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
}

.details-modal {
    position: fixed;
    width: 100%;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: start;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.progress-status-text {
    display: flex;
    color: black;
}

.details-modal.active {
    opacity: 1;
    visibility: visible;
}

.details-content {
    background: white;
    border-radius: var(--border-radius);
    width: 56%;
    max-width: 1600px;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: var(--transition);
    overflow-y: auto;
    border-radius: 10px;
}

.details-modal.active .details-content {
    transform: scale(1);
}

.details-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.details-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.details-close:hover {
    background: #f0f0f0;
    color: var(--text);
}

.details-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    padding: 10px;
}

.details-image {
    background: var(--wood-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 5000;
    max-width: 60%;
}

.details-info {
    padding: 30px;
    overflow-y: auto;
}

.details-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
}

.details-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.details-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.details-features {
    margin-bottom: 30px;
}

.details-features h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text);
}

.details-features ul {
    list-style: none;
    padding-left: 0;
}

.details-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.details-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}
.product-details {
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    min-width: 180px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
.product-details {
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    width: 90%;
}
    .content {
        padding: 25px;
    }

    input[type="text"] {
        min-width: 80%;
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .form-actions .btn {
        margin: 10px 0;
    }

    .details-body {
        flex-direction: column;
    }

    .details-image {
        max-width: 95%;
        padding: 20px;
    }

    .details-content {
        width: 90%;
    }

    .cart-bar.visible {
        width: 25%
    }

    .cart-summary {
        display: none;
    }

    #order-set-btn {
        display: none;
    }

    .cart-info {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .btn {
        padding: 15px;
        margin: 2px;
    }


}