/* Stylizacja ogólna */
body_shop {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Kontener dla formularza */
.container_shop {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.4); /* Czarny z przezroczystością 80% */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	box-sizing: border-box; /* Dodano box-sizing, aby zawartość dobrze skalowała się w kontenerze */
    overflow-x: auto; /* Dodano przewijanie poziome dla kontenera */
}

/* Stylizacja formularza */
form {
    width: 100%;
}

fieldset {
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 30px;  /* Zwiększenie odstępu między sekcjami */
    border-radius: 5px;
	font-size: 13px;
}

legend {
    font-weight: bold;
    padding: 0 10px;
    font-size: 25px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input, select, button, textarea {
    width: 100%; /* Zmieniono z calc(100% - 20px) na 100% */
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

textarea {
    resize: vertical;
}

button[type="button"], button[type="submit"] {
    width: auto;
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    background-color: #cda45e;
    color: black;
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
}

button[type="submit"] {
    margin-top: 20px;
}

button[type="button"]:hover, button[type="submit"]:hover {
    background-color: #c08116;
}

/* Stylizacja tabeli */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: transparent;
	font-size: 13px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
	word-wrap: break-word; /* Dodano, aby zawartość tabeli nie wychodziła poza komórki */
}

th {
    background-color: #f2f2f2;
}



.remove-product-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.remove-product-button img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.remove-product-button:focus {
    outline: none;
}

.remove-product-button:hover {
    color: red;
}

/* Stylizacja pola "Całkowity koszt" */
.summary-table {
    width: 100%;
    margin-bottom: 20px;
    background: transparent;
    border-collapse: collapse;
}

.summary-table th, .summary-table td {
    padding: 10px;
    text-align: right;
    border-bottom: 1px solid #ddd;
	word-wrap: break-word; /* Dodano, aby zawartość tabeli nie wychodziła poza komórki */
	background: black;
}

.summary-table th {
    background-color: #000;
}

.summary-table td {
    font-weight: bold;
}

/* Stylizacja checkboxa i linku do regulaminu */
fieldset legend, label {
    margin-bottom: 5px;
}

a {
    color: #cda45e;
    text-decoration: none;
}


.terms-label {
display: flex;
    align-items: baseline;
    gap: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.terms-label input[type="checkbox"] {
    margin: 0;
}

/* Dodatkowy odstęp dla danych kontaktowych */
.contact-details {
    margin-top: 20px;
}

        .price {
            font-weight: bold;
            color: #fff;
            font-size: 25px;
            margin-bottom: 20px;
        }
		
		/* Media Queries dla lepszej responsywności */
@media (max-width: 760px) {
    .container {
        padding: 10px;
    }

    input, select, button, textarea {
        font-size: 0.9em;
    }

    .summary-table th, .summary-table td {
        padding: 5px;
    }

    th, td {
        padding: 5px;
    }

    button[type="button"], button[type="submit"] {
        width: 100%;
        margin-bottom: 10px;
    }

    table, thead, tbody, th, td, tr {
        display: block; /* Ustawienie tabeli jako bloki na małych ekranach */
        width: 100%;
    }

    th, td {
        box-sizing: border-box; /* Zapewnienie, że komórki tabeli dobrze się skalują */
    }

    th {
        background-color: #f2f2f2;
        text-align: left;
    }
}

.order-summary {
    border: 1px solid #ddd;
    padding: 15px;
}

.order-summary-header {
    margin-bottom: 10px;
}

.order-summary-header h5 {
    margin: 0;
}

.order-summary-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}

.item-name, .item-price, .item-quantity, .item-total {
    flex: 1;
}

.item-name {
    font-weight: bold;
}

.order-summary-total {
    text-align: right;
    font-weight: bold;
}

.total-cost {
    margin-top: 10px;
}

    .centered-text {
      color: #d9ba85;
      background-color: rgba(0, 0, 0, 0.5); /* transparent black background */
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      text-decoration: none; /* Remove underline from link */
      display: inline-block;
      margin-top: 20px; /* Space between logo and text */
    }
    .centered-text:hover {
      background-color: rgba(0, 0, 0, 0.7); /* Darker background on hover */
    }
	#hero h6 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 56px;
    font-family: "Poppins", sans-serif;
}