.h1, 
.h2, 
.h3, 
.h4, 
body {
    color: #12203d;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#wrapper {
  flex: 1;
}

#header .header-nav {
    background-color: #12203d;
}

#header nav a,
#header nav span {
    color: #fff;
}

#wrapper {
    background: #fff;
}

#header {
    box-shadow: 0 2px 5px 0 rgba(18, 32, 61, 0.9);
}

#header .header-top a[data-depth="0"] {
    color: #12203d;
}

#header .header-nav .blockcart,
#header .header-nav .cart-preview.active {
    background: #fe6218;
}

#header .header-nav .cart-preview .shopping-cart {
    color: #fff;
}

#header .header-top a[data-depth="0"]:hover {
    color: #fe6218;
}

#footer {
    background-color: #12203d;
}

#footer a,
#footer span,
#footer p,
#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer li {
    color: #fff !important;
}

#footer a:hover {
    color: #fe6218 !important;
}

body#checkout #footer {
    background-color: #12203d;
    color: #fff !important;
}

#custom-text h2 {
    position: relative;
    color: #12203d;
}

#custom-text h2:before {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform:translate(-50%, 16px);
    width: 100px;
    height: 2px;
    background: #12203d;
    content: '';
}

#wrapper .breadcrumb li a {
    color: #12203d;
}

#wrapper .breadcrumb li:last-child {
    color: #fe6218;
}

.block-categories a, .facets-title {
    color: #12203d;
}

.block-categories a:hover {
    color: #fe6218;
}

a.subcategory-name {
    color: #12203d;
}

#subcategories ul li:hover .subcategory-image a {
    border: 5px solid #fe6218;
}

.block-categories .collapse-icons .add:hover, 
.block-categories .collapse-icons .remove:hover {
    color: #fe6218;
}

.product-miniature .thumbnail-container:focus .product-description::after, 
.product-miniature .thumbnail-container:hover .product-description::after {
    display: none;
}

#category p,
#category span {
    color: #12203d;
}

#category .block-category {
    min-height: auto;
}

#product p,
#product span {
    color: #12203d;
}

.product-prices .tax-shipping-delivery-label {
    color: #12203d;
}

.btn-primary {
    background-color: #fe6218;
}

.btn-primary:hover {
    background-color: rgba(254, 99, 27, 0.8);
}

.btn-primary.disabled:hover, 
.btn-primary:disabled:hover {
    background-color: rgba(254, 99, 27, 0.8);
}

.form-control:focus {
    outline: 0.1875rem solid #fe6218;
    border-color: #fe6218;
}

.vehicle-input:focus-visible {
    outline-color: #fe6218;
}

#product .product-additional-info input {
    border: 1.6px solid #12203d;
}

.tabs .nav-tabs .nav-link.active, 
.tabs .nav-tabs .nav-link:hover {
    color: #fe6218;
}

.tabs .nav-tabs .nav-link {
    color: #12203d;
}

.tabs .nav-tabs .nav-link.active, 
.tabs .nav-tabs .nav-link:hover {
    border-bottom-color: #fe6218;
}

#product span.datepicker-cell.disabled {
    color: #adb5bd;
}

#blockcart-modal .product-name {
    color: #12203d;
}

.product-price {
    color: #12203d;
}

#header a:hover {
    color: #fe6218;
}

.products-sort-order .select-list:hover {
    background: #fe6218;
}

.page-customer-account a.view-order-details-link {
    color: #12203d;
}

.eg-order-actions a {
    color: #12203d;
}

.btn-pay {
    display: inline-block;
    padding: 30px 30px; /* Większa przestrzeń wokół tekstu */
    font-size: 18px; /* Powiększony tekst */
    font-weight: bold;
    color: #fff !important; /* Biały kolor czcionki */
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    border: none;
}

.btn-pay:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
    transform: scale(1.05); /* Efekt powiększenia przy najechaniu */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-pay:active {
    transform: scale(0.98);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.box.messages {
    width: 100%;
    max-width: 900px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.box.messages h3 {
    color: #333;
    font-size: 22px;
}

.message {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message .col-sm-4 {
    font-size: 12px;
    color: #555;
    font-weight: bold;
    min-width: 130px;
}

.message .col-sm-8 {
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    background: #bee5eb;
    color: #000;
}

.message.api .col-sm-8 {
    background: #007bff;
    color: #fff;
}

.message.automat .col-sm-8 {
    background: #535657;
    color: #fff;
}

.message:hover {
    transform: scale(1.02);
    transition: 0.3s ease-in-out;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

#order-products a {
    color: #12203d;
}

.forgot-password a {
    color: #12203d;
}

.no-account a {
    color: #12203d;
}

.register-form a {
    color: #12203d;
}

footer .js-checkout-modal.in a,
footer .js-checkout-modal.in span,
footer .js-checkout-modal.in p,
footer .js-checkout-modal.in h1,
footer .js-checkout-modal.in h2,
footer .js-checkout-modal.in h3,
footer .js-checkout-modal.in h4,
footer .js-checkout-modal.in h5,
footer .js-checkout-modal.in li {
    color: #12203d !important;
}
footer .js-checkout-modal.in a,
footer .js-checkout-modal.in span,
footer .js-checkout-modal.in p,
footer .js-checkout-modal.in h1,
footer .js-checkout-modal.in h2,
footer .js-checkout-modal.in h3,
footer .js-checkout-modal.in h4,
footer .js-checkout-modal.in h5,
footer .js-checkout-modal.in li {
    color: #12203d !important;
}

form#customer-form label.required[for=field-customer_privacy],
form#customer-form label.required[for=field-psgdpr] {
    position: relative;
}

form#customer-form label.required[for=field-customer_privacy]::before,
form#customer-form label.required[for=field-psgdpr]::before {
    position: absolute;
    font-size: 14px;
    line-height: 14px;
    color: #f00;
    content: "*";
    right: -11px;
    bottom: -6px;
}
form#customer-form label.required[for=field-customer_privacy],
form#customer-form label.required[for=field-psgdpr] {
    position: relative;
}

form#customer-form label.required[for=field-customer_privacy]::before,
form#customer-form label.required[for=field-psgdpr]::before {
    position: absolute;
    font-size: 14px;
    line-height: 14px;
    color: #f00;
    content: "*";
    right: -11px;
    bottom: -6px;
}

.invoice-type-list label[for=field-invoice_type] {
    display: none;
}

#order-detail .definition-list dl dt {
    flex: 0 0 40%;
}

#order-detail .definition-list dl dd {
    flex: 0 0 55%;
}

.product-miniature .product-title {
    text-transform: none;
}

.page-addresses .address .address-body h4 {
    color: #fe6218;
}

@media (max-width:767px) {
    .footer-container .links ul {
        margin-bottom: 0;
        background-color: rgb(246, 246, 246, 0.1)
    }
}

main > #wrapper > div.container > div.row > #content-wrapper > #main > footer.page-footer a {
    color: #7a7a7a
}

main > #wrapper > div.container > div.row > #content-wrapper > #main > footer.page-footer a:hover {
    color: #fe6218 !important;
}

.carousel .carousel-control .icon-next:hover i, .carousel .carousel-control .icon-prev:hover i, .dropdown:hover .expand-more, .page-my-account #content .links a:hover i, .search-widget form button[type=submit] .search:hover, .top-menu .sub-menu a:hover {
    color: #fe6218 !important;
}

#subcategories ul li .subcategory-name:hover, .block-categories .arrows .arrow-down:hover, .block-categories .arrows .arrow-right:hover, .block-categories .collapse-icons .add:hover, .block-categories .collapse-icons .remove:hover, .cart-grid-body a.label:hover {
    color: #fe6218 !important;
}

@media (max-width: 768px) {
  body#checkout .media {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
  }

  body#checkout .media-left {
    order: -1 !important; /* obrazek na górę */
    width: 100% !important;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  body#checkout .media-left img {
    max-width: 100px;
    height: auto;
  }

  body#checkout .media-body {
    width: 100% !important;
  }
}

@media (max-width: 500px) {
  body#cart .product-line-grid {
    font-size: xx-small;
  }

  body#cart .product-line-grid a.label {
    font-size: small;
    margin-bottom: 1vh;
  }

  body#cart .product-line-info span {
    display: block;
  }

  body#cart .product-line-info table {
    margin-top: -2vh;
    margin-left: -5px;
  }

  body#cart .product-line-info td:first-child {
    display: none;
  }
}

body#product .product-container a {
    color: #ffa500;
}