body {
    background-color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1110px;
    width: 100%;
    margin: 0 auto;
    padding: 10px; /* Optional padding for breathing room on small screens */
}

header img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-header {
    position: relative;
    width: 100%;
    min-height: 300px;
    background-color: #000;
    background-image: url("../images/common/header.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.topbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 14px 22px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.35);
    box-sizing: border-box;
    color: #fff;
}

.brand {
    justify-self: center;
    padding: 0 50px;
    font-size: 35px;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    color: #ffb000;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.brand:hover {
    opacity: 0.9;
}

.page-title{
    margin: 40px auto 50px;
    text-align: center;
    font-size: 70px;
    line-height: 1.05;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

.title {
    font-size: 36px;
    color: #ffb000;
    text-align: center;
    margin-bottom: 10px;
}
.subtitle {
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 28px;
    font-weight: 400;
    color: #ffb000;
    opacity: 0.85;
    margin-top: 8px;
    text-align: center;
    line-height: 1.4;
}

.section {
    margin-bottom: 30px;
}
.section h2 {
    font-size: 24px;
    color: #333333;
    text-align: left;
    margin-bottom: 10px;
}
.highlight {
    font-size: 25px;
    color: #ffa41b;
    text-align: left;
}
/* Tables styling copied from CheckoutSummary */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.product-table th {
    border-bottom: 2px solid #ddd; /* Stronger line below the header */
    padding: 8px;
    text-align: left;
    background-color: transparent;
    font-weight: bold;
    height: 105px;
    vertical-align: middle;
}

.product-table td {
    border-bottom: 1px solid #ddd; /* Line under each cell */
    text-align: left;
    height: 105px;
    vertical-align: middle;
    padding: 6px 10px 6px 10px;
}
.product-table th {
    padding: 4px 8px;       /* Reduce top/bottom padding */
    font-size: 18px;
    height: 40px;           /* Optional: fixed height */
    font-weight: bold;
    background-color: transparent; /* If you're removing background */
}
.product-table img {
    max-height: 100px;
    width: auto;
    display: block;
}
/* Cost summary styling */
.product-table tfoot td {
    border: 1px solid #ddd;
    padding: 8px;
}
.product-table tfoot .label {
    text-align: right;
    font-weight: bold;
}
.product-table tfoot .total {
    font-weight: bold;
}
.product-table tfoot .vat-note {
    display: block;
    font-size: 12px;
    color: #555;
}
.product-info {
    display: flex;
    align-items: center; /* Vertically center image and name */
    gap: 10px; /* Horizontal space between image and name */
}

.product-info img {
    max-height: 100px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.email-summary-wrapper {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
/* Panel z polami Google Maps (po lewej na desktopie) */
.email-panel {
    flex: 0 0 48%;
    background-color: #e4dede; /* np. jasne tło, opcjonalnie */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-weight: bold;
}

/* Panel z podsumowaniem koszyka (po prawej na desktopie) */
.summary-panel {
    flex: 0 0 48%;
}

/* Sekcja z tabelą podsumowania */
.summary-box {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #9c9e9d;
    border-radius: 15px;
}

/* Podstawowy styl nagłówka paneli */
.email-panel h2,
.summary-box h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

/* Style dla label i input wewnątrz email-panel */
.email-label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.email-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Validation */
.validation-error {
    color: red;
    font-size: 13px;
    margin-top: -6px;
    margin-bottom: 10px;
}

.checkbox-input {
    width: auto;
    margin-right: 8px;
    margin-top: 2px;
}

.checkbox-label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

/* Summary table */
.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.summary-table .label {
    text-align: left;
    padding: 8px 0;
}

.summary-table .value {
    text-align: right;
    padding: 8px 0;
}

.summary-table .total-row .label,
.summary-table .total-row .value {
    font-size: 18px;
    font-weight: bold;
}

.divider-row td {
    padding: 0;
}
.line-divider {
    border-top: 2px solid #ddd;
    margin: 10px 0;
}

/* Terms Wrapper */
.terms-wrapper {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

/* Order Button */
.place-order-button {
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    background-color: #ffb000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    
}

.promo-box {
    display: flex;
    background-color: #a59c9c;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-family: sans-serif;
    gap: 20px;
}

.promo-left, .promo-right {
    width: 50%;
    display: flex;
}

.promo-left {
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.promo-image {
    width: 80px;
    height: auto;
    border-radius: 4px;
    flex-shrink: 0;
}

.promo-content {
    flex: 1;
    text-align: left;
    color: #000;
}

.promo-content h2 {
    margin: 0;
    font-size: 1.4em;
    font-weight: bold;
}
.promo-right {
    justify-content: center;
    align-items: center;
}
.promo-button {
    background-color: #ffb000;
    border: none;
    padding: 15px 25px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    width: 400px;
    max-width: 100%;
    text-align: center;
    color: #000;
}
input[type="email"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.confirmation-img {
    display: block;
    max-width: 75%;
    margin: 10px auto;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-social-icon {
    width: 20px;
    height: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.btn-youtube {
    color: white;
    background-color: red;
}

.btn-youtube:hover {
    background-color: red;
    color: white;
    filter: brightness(0.9); /* Makes it ~10% darker */
}

/* Footer style  */
.footer {
background-color: #2e2e2e;
color: #f1f1f1;
padding: 50px 20px 10px;
font-size: 14px;
}

.footer-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
max-width: 1110px;
margin: 0 auto;
gap: 30px;
}

.footer-column {
flex: 1 1 220px;
min-width: 220px;
}

.footer-column h4 {
font-size: 16px;
color: #ffb000;
margin-bottom: 15px;
}

.footer-column ul {
list-style: none;
padding: 0;
margin: 0;
}

.footer-column ul li {
margin-bottom: 8px;
}

.footer-column ul li a {
color: #ddd;
text-decoration: none;
transition: color 0.3s;
}

.footer-column ul li a:hover {
color: #ffb000;
}

.footer-column p {
margin-bottom: 10px;
}

.footer-column a {
color: #ffb000;
text-decoration: none;
}

.footer-column a[href^="mailto:"]:hover {
color: #dddddd;
}

.footer-social a {
margin-right: 10px;
color: #fff;
font-size: 18px;
display: inline-block;
}

.footer-social a:hover {
color: #ffb000;
}

.footer-bottom {
text-align: center;
margin-top: 30px;
font-size: 12px;
color: #aaa;
}

@media (max-width: 768px) {
.topbar {
    gap: 0;
}

.topbar .nav-link {
    display: none;
}

.brand{ 
    font-size: 24px; 
}  

.page-title{ 
    font-size: 45px; 
}

.hero-header {
    min-height: 180px;
}

.product-table,
.product-table thead,
.product-table tbody,
.product-table th,
.product-table td,
.product-table tr {
display: block;
width: 100%;
}

.product-table thead {
display: none;
}

.product-table tr {
margin-bottom: 16px;
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-table td {
display: flex;
justify-content: space-between;
align-items: center;
text-align: right;
border: none;
position: relative;
height: auto; 
min-height: 30px;
}

.product-table td::before {
content: attr(data-label);
flex: 0 0 auto;
align-self: center;
font-weight: bold;
text-align: left;
color: #444;
}

.product-table td > * {
align-self: center;
}

.produkt-cell {
min-height: auto;
}

.product-info {
display: flex;
flex-direction: row-reverse;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
}

.product-info img {
height: 100px;
width: auto;
margin: 0;
}

.product-name {
font-weight: bold;
font-size: 14px;
flex: 1;
word-break: break-word;
text-align: left;
}

.email-summary-wrapper {
    flex-direction: column;
}

.email-panel,
.summary-panel {
    flex: 0 0 100%;
    width: 100%;
}

.email-panel {
    order: 1;
    margin-bottom: 20px;
}
.summary-panel {
    order: 2;
}

.promo-box {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    padding: 20px;
    border-radius: 8px;
    background-color: #a59c9c;
}

.promo-left {
    display: contents;
}

.promo-image {
    grid-column: 1;
    grid-row: 1;
    width: 80px;
    height: auto;
    border-radius: 4px;
}

.promo-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
}

.promo-content h2 {
    text-align: left;
    margin-top: 0;
}

.promo-right {
    grid-column: 1 / span 2;
    grid-row: 2;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.promo-button {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: bold;
    background-color: #ffb000;
    border: none;
    cursor: pointer;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-column {
    min-width: 0;
}
}
