:root {
  --primary-color: #ff6900;
  --secondary-color: #1c398e;

  --primary-color-darker: #f54a00;
  --primary-color-lighter: #ffb86a;
  --secondary-color-darker: #142b6d;
  --secondary-color-lighter: #5062b2;

  --color-light: #fff;
  --color-dark: #000;
  --color-gray: #d1d5dc;
  --color-blue-light: #8ec5ff;
  --color-green: #008236;
  --color-red: #b00020;
}

body {
  font-family: "Red Hat Display", sans-serif !important;
}

a {
  transition: all 0.2s;
  color: var(--primary-color);
}
a:hover {
  color: var(--primary-color-darker);
}

h3 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
}

p {
  color: #000;
}

/* Global form styles */
.form-group label,
label {
  display: block;
  font-weight: bold;
  color: #000;
  font-size: 1rem;
  margin-bottom: 5px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label.required {
  display: inline-flex;
}

label.required:before {
  content: "*";
  color: red;
  margin-right: 2px;
}

.form-group .js-input-column {
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  border: 2px solid var(--color-gray);
  background-color: #fff;
  padding: 10px;
  font-size: 1rem;
  border-radius: 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.color-primary {
  color: var(--primary-color) !important;
}
.color-secondary {
  color: var(--secondary-color) !important;
}
.color-light {
  color: var(--color-light) !important;
}
.color-dark {
  color: var(--color-dark) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.d-flex {
  display: flex !important;
}
.align-items-center {
  align-items: center !important;
}
.justify-content-between {
  justify-content: space-between !important;
}
.justify-content-center {
  justify-content: center !important;
}
.justify-content-end {
  justify-content: flex-end !important;
}
.flex-column {
  flex-direction: column !important;
}
.flex-wrap {
  flex-wrap: wrap !important;
}

.gap-5 {
  gap: 5px !important;
}
.gap-10 {
  gap: 10px !important;
}
.gap-15 {
  gap: 15px !important;
}
.gap-20 {
  gap: 20px !important;
}
.gap-40 {
  gap: 40px !important;
}

.text-center {
  text-align: center;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #fff;
  background-color: var(--primary-color);
  border-color: transparent;
  transition: all 0.3s;
  outline: none;
  text-transform: none;
  padding: 0.5rem 0.625rem;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-color-lighter) !important;
}
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: transparent;
  transition: all 0.3s;
  outline: none;
  text-transform: none;
  padding: 0.5rem 0.625rem;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: var(--secondary-color-lighter) !important;
}
.btn-arrow {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
}
.btn-arrow i {
  font-size: 12px;
}
.btn-tertiary {
  background-color: transparent;
  color: var(--secondary-color);
  font-size: 1rem;
  padding: 0.5rem;
  border: 0;
  outline: none;
}
.btn-tertiary:hover,
.btn-tertiary:focus,
.btn-tertiary:active {
  border: 0;
  outline: none;
  background-color: transparent;
  color: var(--primary-color) !important;
  text-decoration: none;
}

#wrapper .breadcrumb {
  margin-bottom: 20px;
  display: block !important;
}
#wrapper .breadcrumb ol li span {
  font-family: inherit;
  font-size: 12px;
  color: #000;
  opacity: 0.5;
}
#wrapper .breadcrumb ol li span:hover {
  opacity: 1;
}
#wrapper .breadcrumb ol li:last-child span {
  opacity: 1;
  font-weight: bold;
}
.page-index #wrapper .breadcrumb {
  display: none !important;
}

.header-top-left {
  display: flex;
  align-items: center;
}
.header-top-left #search_widget {
  flex-grow: 1;
  max-width: 100%;
}

#header {
  margin-bottom: 20px;
}
.page-index #header {
  margin-bottom: 0;
}
#header #_desktop_logo {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
}
#header .header-nav {
  padding-top: 16px;
  padding-top: 19px;
  height: 62px;
  max-height: none;
  border: 0;
}
#header .sg-headerinfo {
  padding: 0;
  text-align: left;
  margin: 0;
  color: var(--primary-color);
  font-size: 1rem;
}
#header .header-nav .right-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  height: 27px;
  position: relative;
}
#header .header-nav .currency-selector,
#header .header-nav .language-selector,
#header .header-nav .user-info {
  margin-top: 0;
}
#header .header-nav .material-icons.expand-more {
  height: 0.75em;
}
#header a {
  transition: all 0.3s;
}
#header a:hover {
  color: var(--color-blue-light) !important;
}

/* Moduł medgtranslate */
#header .header-nav .right-nav .clearBoth {
  position: absolute;
  top: -22px;
  right: -34px;
  width: 100%;
  text-align: right;
  scale: 0.85;
}

#header .header-hr hr {
  border-color: var(--color-gray);
  margin: 0;
}

.header-top #search_widget input {
  padding: 6px 10px;
  border-radius: 0;
  margin-right: -2px;
  border: 1px solid var(--color-gray);
  background: #fff;
}
.header-top .search-widgets form button[type="submit"] {
  transform: none;
  width: 95px;
  padding: 6px 8px;
  text-transform: none;
}

.header-top-left #search_widget {
  margin-right: 30px;
}
.header-top-left #search_widget form i {
  position: relative;
  padding: 0;
  margin-right: 6px;
}

#header .header-bottom .menu {
  width: 100%;
}
#header .header-bottom .menu .top-menu[data-depth="0"] {
  display: flex;
  justify-content: space-between;
}
#header .header-bottom .menu .top-menu[data-depth="0"] li a {
  color: var(--color-light);
  transition: all 0.3s;
}
#header .header-bottom .menu .top-menu[data-depth="0"] li:first-child a {
  padding-left: 0;
}
#header .header-bottom .menu .top-menu[data-depth="0"] li:last-child a {
  padding-right: 0;
}
#header .header-bottom .menu .top-menu[data-depth="0"] li:is(:hover, :focus) a[data-depth="0"] {
  color: var(--color-blue-light) !important;
}
#header .header-bottom .menu .top-menu[data-depth="0"] .sub-menu {
  padding-top: 15px;
  background: transparent;
  width: auto;
  min-width: auto;
  box-shadow: none;
}
#header .header-bottom .menu .top-menu[data-depth="0"] .sub-menu .top-menu {
  background-color: var(--primary-color);
  margin: 0;
  padding: 10px;
  -webkit-box-shadow: 2px 1px 11px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 2px 1px 11px 2px rgba(0, 0, 0, 0.1);
}
#header .header-bottom .menu .top-menu[data-depth="1"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  list-style: none;
}
#header .header-bottom .menu .top-menu[data-depth="1"] li {
  margin: 0;
}
#header .header-bottom .menu .top-menu[data-depth="1"] li a {
  color: var(--color-light);
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: none;
  transition: none;
}
#header .header-bottom .menu .top-menu[data-depth="1"] li:is(:hover, :focus) a {
  color: var(--color-light) !important;
  font-weight: 600;
}
#header .header-bottom .menu .top-menu[data-depth="1"] li,
#header .header-bottom .menu .top-menu[data-depth="2"] li {
  position: relative;
}
#header .header-bottom .menu .top-menu[data-depth="1"] li > .collapse,
#header .header-bottom .menu .top-menu[data-depth="2"] li > .collapse {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  padding: 10px;
  background-color: var(--primary-color);
  -webkit-box-shadow: 2px 1px 11px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 2px 1px 11px 2px rgba(0, 0, 0, 0.1);
  z-index: 1001;
}
#header .header-bottom .menu .top-menu[data-depth="1"] li:hover > .collapse,
#header .header-bottom .menu .top-menu[data-depth="1"] li:focus-within > .collapse,
#header .header-bottom .menu .top-menu[data-depth="2"] li:hover > .collapse,
#header .header-bottom .menu .top-menu[data-depth="2"] li:focus-within > .collapse {
  display: block;
}

.page-home #custom-text {
  padding: 0 0 40px 0;
  text-align: left;
  margin: 0;
  font-size: 1rem;
}
.page-home #custom-text strong {
  color: var(--secondary-color);
  font-weight: 700;
}

.page-header h1 {
  color: var(--secondary-color);
}

.home-categories {
  padding: 20px 0 40px;
}
.home-categories .category-item {
  position: relative;
  display: block;
  overflow: hidden;
}
.home-categories .category-image-wrapper {
  position: relative;
}
.home-categories .category-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  z-index: 1;
  transition: all 0.3s ease;
  pointer-events: none;
}
.home-categories .category-item:hover .category-image-wrapper::after {
  background: linear-gradient(to top, rgba(255, 105, 0, 0.75) 0%, transparent 100%);
}
.home-categories .category-item img {
  display: block;
  width: 100%;
  height: auto;
  z-index: 0;
}
.home-categories .category-item h4 {
  position: absolute;
  bottom: 10px;
  left: 20px;
  color: #fff;
  font-weight: bold;
  font-size: 1.25rem; /* 20px */
  margin: 0;
  z-index: 2;
}

.block-category {
  min-height: auto;
  background: var(--secondary-color);
  padding: 10px 20px !important;
}
.block-category h1 {
  color: var(--color-light);
  font-size: 1.5rem;
  text-transform: none;
  margin: 0;
}
.page-prices-drop h1#js-product-list-header {
  min-height: auto;
  background: var(--secondary-color);
  padding: 10px 20px !important;
  color: var(--color-light);
  font-size: 1.5rem;
  text-transform: none;
  margin: 0 0 1.5rem 0;
}

.product-miniature,
.product-miniature .product {
  justify-content: flex-start;
}

.dropdown .expand-more {
  color: var(--secondary-color);
}

.language-selector.dropdown button {
  cursor: pointer;
}
.language-selector.dropdown .dropdown-menu {
  left: initial;
  right: 0;
}

.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: var(--color-blue-light) !important;
  transition: all 0.3s;
}

.block_newsletter form input[type="text"]:focus + button .search,
.btn-unstyle:focus .expand-more,
.search-widget form input[type="text"]:focus + button .search {
  color: var(--color-blue-light) !important;
  transition: all 0.3s;
}

#wrapper {
  padding-top: 0;
  background: var(--color-light);
}

.carousel {
  overflow: hidden;
  position: relative;
}
.carousel .carousel-inner {
  height: 620px;
  margin: 0;
}
.carousel .direction {
  display: none !important;
}
.carousel .carousel-item figure {
  height: 100%;
  width: 100%;
}
.carousel .carousel-item figure::before {
  /* content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1; */
}
.carousel .carousel-item figure .caption {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  max-width: 1000px;
  width: 100%;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.carousel .carousel-item img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel .carousel-item .caption .display-1 {
  font-weight: bold;
  font-size: 4rem;
  position: relative;
  z-index: 2;
}
.carousel .carousel-item .caption .display-1::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 30px;
  width: 347px; /* dopasuj rozmiar */
  height: 10px;
  background: url("/themes/autotronic/assets/img/underline.svg") no-repeat center;
  background-size: cover;
  z-index: -1;
}
.carousel-indicators {
  display: none;
}

/* Styl głównego kontenera SmartBlog */
.block.smart-block {
  margin: 0 auto 60px;
  padding: 0 0 20px 0;
  box-shadow: none;
  border: 0;
}
/* Tytuł sekcji */
.block.smart-block .smart-block-title {
}
/* Grid na 3 kolumny */
.recentArticles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
/* Karta posta */
.smart-post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease;
}
/* Obrazek posta z borderem w :after */
.smart-post-image {
  position: relative;
  display: block;
  overflow: hidden;
}
.smart-post-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: var(--secondary-color);
  pointer-events: none;
}
.smart-post-image img {
  width: 100%;
  height: 220px; /* wysokość obrazka */
  object-fit: cover;
  transition: all 0.2s ease;
}
/* Efekt hover tylko na obrazku */
.smart-post-card:hover .smart-post-image img {
  transform: scale(1.05);
}
/* Treść posta */
.smart-post-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 0;
}
/* Tytuł posta */
.smart-post-title {
  font-size: 1.25rem; /* ~20px */
  font-weight: bold;
  color: #000;
  text-decoration: none;
  line-height: 1.3;
  transition: all 0.2s ease;
}
.smart-post-title:hover {
  color: var(--primary-color);
}
/* Data */
.smart-post-date {
  font-size: 1rem; /* 16px */
  color: #000;
  opacity: 0.5;
}
/* Opis */
.smart-post-desc {
  font-size: 1rem;
  color: #000;
  margin-bottom: 5px;
  line-height: 1.4;
  text-align: justify;
}
/* Guzik */
.smart-post-body .btn.btn-primary {
  align-self: flex-start;
}

.breadcrumb.smart-blog-breadcrumb {
  box-shadow: none;
  padding: 0 !important;
}
.breadcrumb.smart-blog-breadcrumb ol li a {
  font-family: inherit;
  font-weight: 400;
}

.smartblog-sidebars .card-block {
  padding: 0 15px;
}
.smart-blog-posts-title,
.smart-blog-single-post-title {
  font-family: inherit;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 10px;
}
.smart-blog-posts-title a,
.smart-blog-single-post-title {
  color: #000;
  text-decoration: none;
}
.smart-blog-posts-header-area .smart-blog-posts-info {
  font-family: inherit;
  padding-bottom: 0;
}
.smart-blog-posts-header-area .smart-blog-posts-info span {
  font-size: 1rem;
  font-weight: 400;
  color: #000;
  opacity: 0.5;
}

#module-smartblog-details #wrapper {
  background: inherit;
}
#module-smartblog-details .page-content,
#module-smartblog-category .page-content,
#module-smartblog-tagpost .page-content,
#module-smartblog-archive .page-content,
#module-smartblog-search .page-content {
  box-shadow: none;
  padding: 0 15px;
}

#search_filters,
#search_filters_brands,
#search_filters_suppliers {
  padding: 0;
  background-color: #bedbff;
}
#search_filters .filters-title,
#search_filters_brands .filters-title,
#search_filters_suppliers .filters-title {
  background-color: var(--secondary-color);
  padding: 13px 20px;
  color: #fff;
  position: relative;
  display: flex;
  gap: 10px;
  font-size: 1rem;
  margin: 0 0 10px 0;
}
#search_filters .filters-title:before,
#search_filters_brands .filters-title:before,
#search_filters_suppliers .filters-title:before {
  content: "";
  position: relative;
  width: 20px;
  height: 20px;
  background: url("/themes/autotronic/assets/img/filters.svg") no-repeat center;
  background-size: contain;
}
#search_filters .clear-all-wrapper,
#search_filters_brands .clear-all-wrapper,
#search_filters_suppliers .clear-all-wrapper {
  padding: 0 10px;
}
#search_filters .facet,
#search_filters_brands .facet,
#search_filters_suppliers .facet {
  padding: 10px 0 0 0;
  margin: 0 20px;
  border-bottom: 1px solid var(--color-blue-light);
}
#search_filters .facet .facet-title,
#search_filters_brands .facet .facet-title,
#search_filters_suppliers .facet .facet-title {
  color: var(--secondary-color);
  margin-bottom: 10px;
}
#search_filters .facet .facet-label a,
#search_filters_brands .facet .facet-label a,
#search_filters_suppliers .facet .facet-label a,
#search_filters .facet .collapse p,
#search_filters_brands .facet .collapse p,
#search_filters_suppliers .facet .collapse p {
  color: var(--secondary-color);
  font-size: 0.875rem;
}
#search_filters .ui-widget-header {
  background-color: var(--secondary-color);
}
.custom-checkbox input[type="checkbox"] + span {
  border-color: var(--secondary-color);
  width: 10px;
  height: 10px;
}
.custom-checkbox input[type="checkbox"] + span .checkbox-checked {
  margin: -2px;
  font-size: 12px;
  color: var(--secondary-color);
}
#search_filters_wrapper {
  margin-top: 45px;
}

#content-wrapper .sort-by-row {
  margin-bottom: 10px;
  color: var(--secondary-color);
}
#content-wrapper .sort-by-row .products-sort-order {
  color: var(--secondary-color);
}
#content-wrapper .sort-by-row .products-sort-order button {
  border: 0;
  padding: 5px;
  color: var(--secondary-color);
}
.brands-sort .select-list:hover,
.products-sort-order .select-list:hover,
.suppliers-sort .select-list:hover {
  background-color: var(--primary-color);
}

.block-category.card-block:after {
  display: none;
}
.block-category.card-block p {
  color: var(--color-light);
  margin: 0;
  opacity: 0.5;
  font-size: 0.875rem;
}

/* Product List */
#products .products,
.featured-products .products,
.product-accessories .products {
}
#products .products .product article,
.featured-products .products .product article,
.product-accessories .products .product article {
  border-bottom: 1px solid var(--color-blue-light);
}
.product-miniature .product-title {
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
}
.product-miniature .product-title a {
  font-weight: bold;
  font-size: 1.25rem;
  color: #000;
  text-align: left;
}
.product-miniature .thumbnail-top {
  width: 160px;
  flex-shrink: 0;
  padding: 20px 10px;
}
.product-miniature .thumbnail-container {
  margin-bottom: 0;
  width: 100%;
}
.product-miniature .thumbnail-container .product-thumbnail {
  display: block;
  height: 100%;
  background-color: #fff;
  -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-miniature .thumbnail-container .product-thumbnail img {
  width: 140px;
  padding: 10px;
}
.products article .wishlist-button-add,
.product-miniature .thumbnail-container:focus .product-description::after,
.product-miniature .thumbnail-container:hover .product-description::after {
  display: none;
}
.products-selection {
  margin-top: 0;
  margin-bottom: 0;
}
.product-miniature .product-description {
  padding: 20px 0;
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.product-miniature .product-description-left {
  display: flex;
  gap: 20px;
  flex-direction: column;
}
.product-miniature .product-description-left-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 5px;
  position: relative;
}
.product-miniature .product-description-left-details,
.product-miniature .product-description-left-details .product-manufacturer,
.product-miniature .product-description-left-details .in-stock,
.product-miniature .product-description-left-warehouse p {
  font-size: 0.75rem;
  line-height: 1;
  color: #000;
  margin: 0;
}
.product-miniature .product-description-left-details p {
  font-size: 0.75rem;
  color: #000;
  margin: 0;
  padding-right: 5px;
  border-right: 1px solid var(--color-gray);
}
.product-miniature .product-description-left-details p span {
  color: var(--primary-color);
  font-weight: bold;
}
.product-miniature .product-price-and-shipping {
  font-weight: bold;
  font-size: 1.25rem;
  text-align: right;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: flex-end;
}
.product-miniature .product-description-right {

}
.product-miniature .product-description-right .product-quantities-wrapper {
  margin-top: 5px;
}
.product-miniature .product-description-right .warehouse-stocks-section .stock-section {
  margin-top: 5px;
  display: flex;
  gap: 5px;
  flex-direction: column;
  text-align: right;
}
.product-miniature .product-flags li.product-flag {
  min-width: auto;
  min-height: auto;
  font-weight: 400;
  padding: 5px;
  font-size: 11px;
  line-height: 1;
}

/* Product Page */
.product-container {
}
.product-container .product-title-with-category {
  background-color: var(--secondary-color);
  padding: 8px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product-container .product-title-with-category * {
  font-size: 1.5rem;
  color: var(--color-light);
  margin: 0;
  text-transform: capitalize;
}
.product-container .wishlist-button-add {
  display: none;
}
.product-container .images-container .product-cover img {
  padding: 10px;
}
.product-container .images-container img {
  -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
}
.product-container .product-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.images-container .product-images > li.thumb-container .thumb {
  margin: 0;
  width: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 5px;
  border: 0;
}
.product-container .product-images > li.thumb-container .thumb.selected,
.product-container .product-images > li.thumb-container .thumb:hover {
  -webkit-box-shadow: inset 0px 0px 5px 0px rgba(255, 105, 0, 0.5);
  -moz-box-shadow: inset 0px 0px 5px 0px rgba(255, 105, 0, 0.5);
  box-shadow: inset 0px 0px 5px 0px rgba(255, 105, 0, 0.5);
}

.free-delivery-box {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  margin-top: 8px;
  cursor: pointer;
}

.free-delivery-box__label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  background: #f5f5f5;
  color: #222;
}

.free-delivery-box__label img {
  width: 18px;
  height: auto;
  display: block;
}

.free-delivery-box.is-qualified .free-delivery-box__label {
  background: #e9f8ee;
  color: #1d7a35;
}

.free-delivery-box.is-not-qualified .free-delivery-box__label {
  background: #f3f3f3;
  color: #555;
}

.free-delivery-box__tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 240px;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #1f1f1f;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s ease;
  pointer-events: none;
}

.free-delivery-box__tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 18px;
  width: 12px;
  height: 12px;
  background: #1f1f1f;
  transform: rotate(45deg);
}

.free-delivery-box:hover .free-delivery-box__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* produkt - sidebar z ceną */
.product-container .product-prices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
  text-align: right;
  font-family: inherit;
  margin: 0;
}
/* Cena i promocja */
.product-container .product-prices .product-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.product-container .product-prices .product-price-block .price-label {
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}
.product-container .product-prices .product-price-block .current-price {
  font-weight: 700;
  font-size: 1.94rem;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 0;
}
.product-container .product-prices .product-price-block .promo-price {
  color: var(--primary-color);
}
.product-container .product-prices .product-price-block .product-discount,
.product-container .product-prices .product-price-block .has-discount {
  margin-bottom: 0;
}
.product-container .product-prices .product-price-block .product-discount .regular-price {
  font-weight: 700;
  font-size: 1.25rem;
  color: #000;
  text-decoration: line-through;
  margin-right: 0;
}
.product-container .product-prices .product-price-block .lowest-price {
  font-size: 0.75rem;
  color: #99a1af;
  font-weight: 400;
  margin-top: 0.25rem;
  margin-bottom: 0;
  text-align: right;
}
/* Cena netto */
.product-container .product-prices .product-net-price {
  font-size: 0.75rem; /* ~12px */
  color: #000;
  margin: 0;
}

.product-container .product-discounts {
  margin-bottom: 0;
}

/* Ilośc i Koszyk */
.product-container .product-add-to-cart {
  text-align: right;
}
.product-container .product-add-to-cart .control-label {
  font-size: 0.75rem;
  color: #000;
  margin-bottom: 0;
}
.product-container .product-add-to-cart .product-quantity {
  flex-direction: column;
  gap: 10px;
}
.product-container .product-add-to-cart .product-quantity .qty {
  margin: 0;
  flex-direction: column;
  position: relative;
}
.product-container .product-add-to-cart .product-quantity .qty input#quantity_wanted {
  width: 100%;
  height: 40px;
  border: 1px solid var(--color-gray);
  border-radius: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #000;
}
.product-container .product-add-to-cart .product-quantity .qty .bootstrap-touchspin {
  width: 100%;
  position: relative;
  z-index: 3;
}
.product-container .product-add-to-cart .product-quantity .qty .bootstrap-touchspin .input-group-btn-vertical {
  width: 100%;
  z-index: 3;
  float: none;
  height: 38px;
  position: absolute;
  left: 0;
  right: 0;
}
.product-container .product-add-to-cart .product-quantity .qty .bootstrap-touchspin .input-group-btn-vertical .btn {
  border: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
}
.product-container
  .product-add-to-cart
  .product-quantity
  .qty
  .bootstrap-touchspin
  .input-group-btn-vertical
  .btn.bootstrap-touchspin-up {
  right: 5px;
}
.product-container
  .product-add-to-cart
  .product-quantity
  .qty
  .bootstrap-touchspin
  .input-group-btn-vertical
  .btn.bootstrap-touchspin-down {
  left: 5px;
}
.product-container
  .product-add-to-cart
  .product-quantity
  .qty
  .bootstrap-touchspin
  .input-group-btn-vertical
  .touchspin-up::after {
  content: "+";
  font-family: inherit;
  font-weight: bold;
  font-size: 1rem;
  color: #000;
}
.product-container
  .product-add-to-cart
  .product-quantity
  .qty
  .bootstrap-touchspin
  .input-group-btn-vertical
  .touchspin-down::after {
  content: "-";
  font-family: inherit;
  font-weight: bold;
  font-size: 1rem;
  color: #000;
}
.product-container .product-add-to-cart .product-quantity .add {
  width: 100%;
  flex-direction: column;
}

/* Stan magazynowy */
.product-container .product-quantities-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
#product-availability {
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: right;
}
#product-availability .material-icons {
  font-size: 1.2rem;
}

/* Natychmiastowa wysyłka */
.product-quantities-wrapper .immediate-shipping {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: var(--color-green);
  font-size: 0.73rem;
  font-weight: 400;
  text-align: right;
}

.product-quantities-wrapper .immediate-shipping img {
  width: 16px; /* dopasuj do projektu */
  height: 16px;
}

/* Darmowa wysyłka w headerze */
.free-shipping-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-green);
  font-size: 0.73rem;
  font-weight: 400;
  margin-right: 15px;
}

.free-shipping-badge img {
  width: 16px;
  height: 16px;
}

/* Przycisk Zapytaj o produkt */
.product-ask-question {
  margin-top: 15px;
  width: 100%;
}

.product-ask-question .btn {
  width: 100%;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Modal Zapytaj o produkt */
#productInquiryModal .modal-header {
  background-color: var(--secondary-color);
  color: white;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

#productInquiryModal .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

#productInquiryModal .close {
  color: white;
  opacity: 1;
}

#productInquiryModal .form-group label {
  font-weight: 500;
  margin-bottom: 5px;
}

#productInquiryModal .form-control {
  border-radius: 4px;
  border: 1px solid #ddd;
}

#productInquiryModal .form-control:focus {
  border-color: var(--color-primary, #0066cc);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Stany magazynowe */
.product-container .product-quantities-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  text-align: right;
}
.product-container .product-quantities-wrapper .stock-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-container .product-quantities-wrapper .stock-section .stock-title {
  font-size: 0.75rem; /* 12px */
  font-weight: 400;
  color: #000;
}
.product-container .product-quantities-wrapper .stock-section .stock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 1px solid var(--color-gray);
  padding: 5px 7px;
}
.product-container .product-quantities-wrapper .stock-section .stock-item .stock-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: #000;
  line-height: 1.2;
}
.product-container .product-quantities-wrapper .stock-section .stock-item .stock-quantity {
  font-size: 0.75rem;
  font-weight: bold;
  color: #000;
  line-height: 1.2;
}

/* Szczegóły */
.product-container .product-details-custom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.75rem; /* 12px */
  color: #000;
}
.product-container .product-details-custom .product-line-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}
.product-container .product-details-custom .product-line-status .line-text {
  color: var(--secondary-color);
}
.product-container .product-details-custom .product-line-status .line-icon {
  width: 16px;
  height: 16px;
}
.product-container .product-details-custom .product-meta {
  font-size: 0.75rem;
  font-weight: 400;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.product-container .product-details-custom .product-meta strong {
  color: var(--primary-color);
  font-size: 0.875rem;
}
.product-container .product-details-custom .product-meta .active {
  color: var(--color-green);
}
.product-container .product-details-custom .product-meta .inactive {
  color: var(--color-red);
}
.product-container .product-details-custom .product-features-custom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 20px;
}
.product-container .product-details-custom .product-features-custom .h6 {
  font-size: 1rem;
  font-weight: bold;
}
.product-container .product-details-custom .product-features-custom .data-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 kolumny */
  width: 100%;
  border-top: 1px solid #ffd6a8;
}
.product-container .product-details-custom .product-features-custom .data-sheet-item {
  display: flex;
  gap: 10px;
  padding: 5px 20px;
  border: 1px solid #ffd6a8;
  border-top: 0;
}
.product-container .product-details-custom .product-features-custom .data-sheet-item:first-child {
  border-top: 1px solid #ffd6a8;
}
.product-container .product-details-custom .product-features-custom .data-sheet-item * {
  /* flex: 1; */
}
.product-container .product-details-custom .product-features-custom .data-sheet-item:nth-child(even) {
  background-color: #ffedd4;
}
.product-container .product-details-custom .product-features-custom .data-sheet .name {
  color: #000;
  font-weight: 400;
  font-size: 0.75rem; /* 12px */
}
.product-container .product-details-custom .product-features-custom .data-sheet .value {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.75rem; /* 12px */
}
.product-container .product-details-custom .product-features-custom .sg-features-table .data-sheet-item:first-child {
  border-top: 0;
}
.product-container .product-details-custom .product-features-custom .sg-features-table .data-sheet-item:nth-child(even) {
  background-color: transparent;
}
.product-container .product-details-custom .product-features-custom .sg-features-table .data-sheet-item:nth-child(4n+3), .product-container .product-details-custom .product-features-custom .sg-features-table .data-sheet-item:nth-child(4n+4) {
  background-color: #ffedd4;
}
.product-container .product-details-custom .product-features-custom .sg-substitutes-table .data-sheet-item *, 
.product-container .product-details-custom .product-features-custom .sg-sources-list .data-sheet-item * {
  flex: 1;
}
.product-container .sg-applications-section .h6 {
  font-size: 1rem;
  font-weight: bold;
}
.product-container .sg-applications-section .sg-applications-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-container .sg-applications-section .sg-applications-list .application-item {
  border: 1px solid #ffd6a8;
  padding: 5px 15px;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-container .sg-applications-section .sg-applications-list .application-item:hover,
.product-container .sg-applications-section .sg-applications-list .application-item.active {
  background-color: var(--primary-color);
  color: #fff;
}

/* Vehicle applications tables */
.product-container .sg-applications-table .application-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.product-container .sg-applications-table .application-table th,
.product-container .sg-applications-table .application-table td {
  padding: 5px 20px;
  font-size: 0.75rem;
  color: #000;
}
.product-container .sg-applications-table .application-table thead th {
  border: none;
  background-color: transparent;
}
.product-container .sg-applications-table .application-table tbody td {
  border: 1px solid #ffd6a8;
}
.product-container .sg-applications-table .application-table tbody .model-header td {
  background-color: #ffedd4;
  font-weight: bold;
}
.product-container .product-details-custom .product-features-custom .sg-substitutes-table {
  max-height: 350px;
  overflow: auto;
}

.product-container .product-accessories {
  margin-top: 20px;
}
.product-container .product-accessories .h5 {
  margin-bottom: 5px;
  font-weight: bold;
  text-transform: none;
}
.product-container .product-accessories .accessories-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-container .product-accessories .accessory-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.product-container .product-accessories .accessory-item img {
  margin-top: 2px;
}
.product-container .product-accessories .accessory-item .product-name {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.875rem;
  text-decoration: none;
  padding-right: 15px;
}
.product-container .product-accessories .accessory-item .product-name:hover {
  text-decoration: underline;
}
.product-container .product-related-autostarter {
  margin-top: 30px;
}
.product-container .product-related-autostarter .products {
  margin-top: 15px;
}
.product-container .product-related-autostarter .product {
  width: 100%;
}
.warehouse-stocks-wrapper .stock-countdown-standalone {
  font-size: 0.75rem;
  line-height: 1.2;
  color: #000;
  margin-bottom: 8px;
  text-align: right;
}
.warehouse-stocks-wrapper .stock-countdown-standalone .stock-delivery-message {
  margin-bottom: 2px;
}
.warehouse-stocks-wrapper .stock-countdown-standalone .stock-delivery-highlight {
  font-weight: 700;
}
.warehouse-stocks-wrapper .stock-countdown-standalone .stock-countdown-message {
  font-size: 0.75rem;
}
.warehouse-stocks-wrapper .stock-countdown-standalone .stock-countdown-value {
  font-weight: 700;
}
.warehouse-stocks-section .stock-section {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 8px;
}
.warehouse-stocks-section .stock-section .stock-title {
  font-size: 0.75rem; /* 12px */
  font-weight: 400;
  color: #000;
  flex-grow: 1;
  width: 100%;
}
.warehouse-stocks-section .stock-section .stock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: 100%; */
  min-width: 140px;
  border: 1px solid var(--color-gray);
  padding: 3px 5px;
}
.warehouse-stocks-section .stock-section .stock-item .stock-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: #000;
  line-height: 1.2;
}
.warehouse-stocks-section .stock-section .stock-item .stock-quantity {
  font-size: 0.75rem;
  font-weight: bold;
  color: #000;
  line-height: 1.2;
  padding-left: 5px;
}
.warehouse-stocks-section .stock-section .stock-item.available {
  border-color: var(--color-green);
  background-color: var(--color-green);
}
.warehouse-stocks-section .stock-section .stock-item.available .stock-label,
.warehouse-stocks-section .stock-section .stock-item.available .stock-quantity {
  color: #fff;
}

/* Koszyk - modal */
#blockcart-modal .product-name {
  color: var(--primary-color);
}

/* Koszyk - strona */
.cart-grid-body .card-block,
.cart-grid-body .cart-overview {
  padding: 8px 0;
}
.cart-grid-body .card-block h1 {
  color: var(--secondary-color);
  font-weight: bold;
  text-transform: none;
}
.cart-grid-body .cart-items .cart-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-gray);
}
.cart-grid-body .cart-items .cart-item .product-line-grid-left {
  padding-left: 0;
}
.cart-grid-body .cart-items .cart-item .product-image {
  display: block;
  height: 100%;
  background-color: #fff;
  -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-grid-body .cart-items .cart-item .product-image img {
  padding: 10px;
  width: 140px;
}
.cart-grid-body .cart-items .cart-item .product-discount .discount {
  display: none;
}
.cart-grid-body .cart-items .cart-item .product-line-grid-body > .product-line-category {
  text-transform: capitalize;
  margin-bottom: 5px;
}
.cart-grid-body .cart-items .cart-item .product-line-grid-body > .product-line-info > .label {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.2;
  display: block;
  margin-bottom: 5px;
}

.cart-grid-body .cart-items .cart-item .product-line-grid-body .qty .control-label {
  font-size: 1rem;
  color: #000;
  margin-bottom: 0;
}
.cart-grid-body .cart-items .cart-item .product-line-grid-body .qty input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--color-gray);
  border-radius: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #000;
}
.cart-grid-body .cart-items .cart-item .product-line-grid-body .qty .bootstrap-touchspin {
  width: 100%;
  position: relative;
  z-index: 3;
}
.cart-grid-body .cart-items .cart-item .product-line-grid-body .qty .bootstrap-touchspin .input-group-btn-vertical {
  width: 100%;
  z-index: 3;
  float: none;
  height: 38px;
  position: absolute;
  left: 0;
  right: 0;
}
.cart-grid-body
  .cart-items
  .cart-item
  .product-line-grid-body
  .qty
  .bootstrap-touchspin
  .input-group-btn-vertical
  .btn {
  border: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
}
.cart-grid-body
  .cart-items
  .cart-item
  .product-line-grid-body
  .qty
  .bootstrap-touchspin
  .input-group-btn-vertical
  .btn.bootstrap-touchspin-up {
  right: 5px;
}
.cart-grid-body
  .cart-items
  .cart-item
  .product-line-grid-body
  .qty
  .bootstrap-touchspin
  .input-group-btn-vertical
  .btn.bootstrap-touchspin-down {
  left: 5px;
}
.cart-grid-body
  .cart-items
  .cart-item
  .product-line-grid-body
  .qty
  .bootstrap-touchspin
  .input-group-btn-vertical
  .touchspin-up::after {
  content: "+";
  font-family: inherit;
  font-weight: bold;
  font-size: 1rem;
  color: #000;
}
.cart-grid-body
  .cart-items
  .cart-item
  .product-line-grid-body
  .qty
  .bootstrap-touchspin
  .input-group-btn-vertical
  .touchspin-down::after {
  content: "-";
  font-family: inherit;
  font-weight: bold;
  font-size: 1rem;
  color: #000;
}
.cart-grid-body .cart-items .cart-item .product-line-grid-right .product-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-grid-body .cart-items .cart-item .product-line-grid-right .product-meta .value {
  font-weight: bold;
  font-size: 0.875rem;
  color: var(--primary-color);
}
.cart-grid-body .cart-items .cart-item .product-line-grid-right .product-meta .value.status.active {
  color: var(--color-green);
}
.cart-grid-body .cart-items .cart-item .product-line-grid-right .product-meta .value.status.inactive {
  color: var(--color-red);
}

.cart-grid-body .cart-items .cart-item .product-line-grid-right .cart-line-product-actions,
.cart-grid-body .cart-items .cart-item .product-line-grid-right .product-price {
  line-height: 1.2;
}
.cart-grid-body .cart-items .cart-item .product-line-grid-right .product-discount .regular-price {
  margin-right: 0;
}
.cart-grid-body .cart-items .cart-item .product-line-grid-right .full-price {
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--primary-color);
}

#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: var(--primary-color);
}
.separator {
  border-color: var(--color-blue-light);
}
.product-price {
  color: var(--primary-color);
  font-weight: bold;
}

.cart-grid-right .checkout-steps .steps {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
}
.cart-grid-right .checkout-steps .steps .step {
  mask-position: left center;
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: #bedbff;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 10px;
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.cart-grid-right .checkout-steps .steps .step:nth-child(1) {
  mask-image: url("/themes/autotronic/assets/img/basket-step-1.svg");
  justify-content: flex-start;
}
.cart-grid-right .checkout-steps .steps .step:nth-child(2) {
  mask-image: url("/themes/autotronic/assets/img/basket-step-2.svg");
  justify-content: center;
}
.cart-grid-right .checkout-steps .steps .step:nth-child(3) {
  mask-image: url("/themes/autotronic/assets/img/basket-step-3.svg");
  justify-content: flex-end;
}
.cart-grid-right .checkout-steps .steps .step.current {
  background-color: var(--secondary-color);
}
.cart-grid-right .cart-summary {
  display: block;
  background-color: #fff;
  -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
}

.cart-grid-right .cart-summary .order-details {
  margin-bottom: 0px;
}
.cart-grid-right .cart-summary .order-details h3 {
  color: #000;
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.cart-grid-right .cart-summary .order-details .order-line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}
.cart-grid-right .cart-summary .order-details .order-line .label {
  font-weight: bold;
  font-size: 1rem;
}
.cart-grid-right .cart-summary .order-details .order-line.total .label, 
.cart-grid-right .cart-summary .order-details .order-line.total .value {
  font-size: 1.2rem;
}

/* Strona potwierdzenia zamówienia */
.order-confirmation-table .order-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-gray);
}
.order-confirmation-table .order-item .product-line-grid-left {
  padding-left: 0;
}
.order-confirmation-table .order-item .product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}
.order-confirmation-table .order-item .product-image img {
  padding: 10px;
  width: 140px;
}
.order-confirmation-table .order-item .product-line-grid-body > .product-line-category {
  text-transform: capitalize;
  margin-bottom: 5px;
}
.order-confirmation-table .order-item .product-line-grid-body > .product-line-info > .label {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.2;
  display: block;
}
.order-confirmation-table .order-item .product-line-grid-body .qty {
  margin-top: 10px;
}
.order-confirmation-table .order-item .product-line-grid-body .qty .control-label {
  font-size: 1rem;
  color: #000;
  margin-right: 5px;
}
.order-confirmation-table .order-item .product-line-grid-body .qty strong {
  font-size: 1rem;
  font-weight: bold;
  color: #000;
}
.order-confirmation-table .order-item .product-line-grid-right .product-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.order-confirmation-table .order-item .product-line-grid-right .product-meta .value {
  font-weight: bold;
  font-size: 0.875rem;
  color: var(--primary-color);
}
.order-confirmation-table .order-item .product-line-grid-right .product-meta .value.status.active {
  color: var(--color-green);
}
.order-confirmation-table .order-item .product-line-grid-right .product-meta .value.status.inactive {
  color: var(--color-red);
}
.order-confirmation-table .order-item .product-line-grid-right .full-price {
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--primary-color);
}
.page-order-confirmation .actions {
  margin-top: 30px;
  margin-bottom: 60px;
}

/* Zamówienie checkout */
body#checkout a:hover {
  color: var(--primary-color-darker);
}
body#checkout section.checkout-step .content {
  padding: 5px;
}
body#checkout section.checkout-step .step-title {
  color: var(--secondary-color);
  text-transform: none;
  font-weight: bold;
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
}
body#checkout section.checkout-step .step-number {
  border: 0;
}
body#checkout section.checkout-step.-reachable.-current .step-number {
  background-color: transparent;
  color: var(--secondary-color);
  font-size: 1.25rem;
  font-weight: bold;
}
body#checkout section.checkout-step #customer-form .form-group,
body#checkout section.checkout-step #login-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.custom-radio input[type="radio"]:checked + span {
  background-color: var(--primary-color);
}
body#checkout section.checkout-step .address-item.selected {
  border-color: var(--primary-color);
}

.page-content.page-cms {
  padding: 1.25rem 0;
}
.page-content.page-cms table {
  border-collapse: collapse;
  width: 100%;
}
.page-content.page-cms table tbody tr td {
  vertical-align: top;
  padding: 5px 20px;
}
.page-content.page-cms table tbody tr td:first-child {
  padding-left: 0;
}
.page-content.page-cms table tbody tr td:last-child {
  padding-right: 0;
}

.page-content.page-cms ul {
  color: #000
}

.page-contact h1 {
  color: var(--secondary-color);
  font-weight: bold;
  text-transform: none;
  margin-bottom: 20px;
}
.page-contact .sg-contactleft h3,
.page-contact .contact-form h3 {
  color: var(--secondary-color);
  font-weight: bold;
  text-transform: none;
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.page-contact .contact-form form .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-contact .contact-form form .form-group label {
  text-align: left;
}

.account-header .customer-name {
  font-weight: normal;
  color: #000;
  font-size: 1rem;
  padding-left: 15px;
}

.account-header .account-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* B2B Account Header Styles */
.account-header.b2b {
  background-color: var(--secondary-color);
  padding: 5px 15px;
}

.account-header.b2b .account-title h1,
.account-header.b2b .account-title,
.account-header.b2b .customer-name,
.account-header.b2b .customer-name strong {
  color: #fff !important;
}

.account-header.b2b h1 {
  margin: 0;
  font-size: 1.5rem;
}

.account-header.b2b .b2b-label,
.account-header.b2b .discount-info {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0 10px;
}

.account-header.b2b .discount-info {
  font-size: 1.1rem;
}

.account-header.b2b .btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.account-header.b2b .btn-secondary:hover {
  background-color: #fff !important;
  color: var(--secondary-color) !important;
}

/* Ukryj ikony SVG dla wszystkich - pokaż tylko dla B2B */
.account-nav .nav-icon {
  display: none;
}

/* Style dla B2B account navigation */
.account-nav.b2b .nav-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(17%) sepia(73%) saturate(2177%) hue-rotate(210deg) brightness(92%) contrast(92%);
  transition: filter 0.2s ease;
}

.account-nav.b2b .nav-link {
  border: none !important;
  position: relative;
  padding: 8px 15px !important;
}

.account-nav.b2b .nav-link:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background-color: var(--color-gray);
}

.account-nav.b2b .nav-link:hover .nav-icon,
.account-nav.b2b .nav-link.active .nav-icon {
  filter: brightness(0) saturate(100%) invert(48%) sepia(93%) saturate(3178%) hue-rotate(360deg) brightness(102%) contrast(104%);
}

.account-nav.b2b .nav-link:hover,
.account-nav.b2b .nav-link.active {
  color: var(--primary-color) !important;
  background: transparent !important;
}

/* Page header dla customer account */
body.page-my-account #main .page-header, 
body.page-customer-account #main .page-header {
  margin-bottom: 0;
}
body.page-my-account .page-header h1, 
body.page-customer-account .page-header h1 {
  margin-bottom: 0;
}

/* Account nav bez B2B */
.links .account-nav:not(.b2b) {
  margin-top: 1.5rem;
}

/* Account nav z B2B */
.account-nav.b2b {
  border: 1px solid var(--color-gray);
  border-top: none;
  border-radius: 0 0 25px 25px;
  padding: 10px 5px 0;
}

/* Nav link span dla B2B - kolor secondary i inline-flex */
.account-nav.b2b .nav-link {
  display: inline-flex !important;
  align-items: center;
}

.account-nav.b2b .nav-link span {
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
}

/* Hover i active - ikony i napisy primary */
.account-nav.b2b .nav-link:hover span,
.account-nav.b2b .nav-link.active span {
  color: var(--primary-color);
}

.page-my-account #content .links {
  display: flex;
}
.links .account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: 100%;
  margin-bottom: 30px;
}
.links .account-nav .nav-link {
  border: 1px solid var(--primary-color);
  background: transparent;
  padding: 4px 15px !important;
  color: var(--primary-color) !important;
  font-weight: bold !important;
  font-size: 0.9rem !important;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 10px !important;
  text-transform: none !important;
}
.links .account-nav .nav-link .link-item {
  background-color: transparent !important;
  padding: 0 !important;
}
.links .account-nav .nav-link:hover {
  background: var(--primary-color);
  color: #fff !important;
}
.links .account-nav .nav-link.active {
  background: var(--primary-color);
  color: #fff !important;
}

.page-customer-account #content {
  color: #000;
  padding: 0;
}
.thead-default th {
  background-color: transparent;
  font-weight: bold;
  color: #000;
  font-size: 16px;
  border: 0;
  border-bottom: 1px solid #ffd6a8;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #ffedd4;
}

.page-authentication #content,
.page-registration #content {
  max-width: 100%;
}
.login-register-wrapper {
  display: flex;
  gap: 50px;
  align-items: stretch;
}
/* Kolumna lewa */
.login-register-wrapper .login-left {
  flex: 1;
}
/* Formularz logowania - kolumna lewa */
.login-register-wrapper .login-left form {
  width: 100%;
}
/* Labelki */
.login-register-wrapper .login-left label {
  display: block;
  font-weight: bold;
  color: #000;
  font-size: 1rem;
  margin-bottom: 5px;
  text-align: left;
}
.login-register-wrapper .login-left .form-group {
  display: flex;
  flex-direction: column;
}
/* Czerwona gwiazdka */
.login-register-wrapper .login-left .form-group label.required {
  display: inline-flex;
}
.login-register-wrapper .login-left label.required:before {
  content: "*";
  color: red;
}
/* Pola input */
.login-register-wrapper .login-left .form-group .js-input-column {
  width: 100%;
}
.login-register-wrapper .login-left input[type="email"],
.login-register-wrapper .login-left input[type="password"] {
  width: 100%;
  border: 2px solid var(--color-gray);
  background-color: #fff;
  padding: 10px;
  font-size: 1rem;
}
/* Guzik logowania */
.login-register-wrapper .login-left button.btn-primary {
  display: inline-block;
  font-size: 1rem;
  padding: 12px;
  font-weight: bold;
}

/* Linia pionowa */
.login-register-wrapper .login-divider {
  width: 1px;
  background-color: #ccc;
}

/* Kolumna prawa */
.login-register-wrapper .login-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.login-register-wrapper .login-right .overlay-content {
  padding: 10px 20px;
  background-size: cover;
  background-position: top left;
  min-height: 215px;
}
/* Tytuł w prawej kolumnie */
.login-register-wrapper .login-right .title {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem; /* ok. 24px */
  margin-bottom: 10px;
}
/* Podtytuł w prawej kolumnie */
.login-register-wrapper .login-right .subtitle {
  color: #fff;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 20px;
}
/* Box z CTA rejestracji */
.login-register-wrapper .login-right .register-box {
  padding: 20px 0;
  margin-top: auto;
}
/* Tekst w boxie rejestracji */
.login-register-wrapper .login-right .register-box p {
  font-size: 1rem;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
}

/* Stroan rejestracji */
#registration .page-header {
  text-align: center;
}
#registration .register-form form {
  transform: translateX(25%);
  width: 65%;
}
#registration .register-form form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
#registration .register-form form .form-group .form-control-label {
  text-align: left;
}
#registration .register-form form .form-footer {
  display: flex;
}

.forgot-password {
  text-align: right !important;
}
.forgot-password a {
 font-size: 16px;
 font-weight: bold;
 text-decoration: underline;
}
.forgot-password a:not(:hover) {
 color: var(--color-gray);
}

#footer {
  background-color: var(--secondary-color);
  color: var(--color-light);
  padding: 20px 0;
}
#footer p {
  font-size: 0.875rem;
}
#footer img.footer-logo {
  max-width: 170px;
}
#footer .footer-left p {
  margin-bottom: 5px;
}
#footer .footer-container {
  padding-bottom: 2.5rem;
}
#footer .footer-container .h3 {
  color: var(--primary-color);
  text-transform: none;
}
#footer .footer-container li a,
#footer .footer-copy a {
  color: var(--color-light);
  transition: all 0.3s;
}
#footer .footer-container li:hover a,
#footer .footer-copy a:hover {
  color: var(--color-blue-light);
}
#footer ul#footer_sub_menu_1 {
  columns: 2;
  column-gap: 40px;
  list-style: none;
}

.sg-footerinfo p {
  color: var(--color-light);
}
.sg-footerinfo .company,
.sg-footerinfo .phone,
.sg-footerinfo .fax {
  position: relative;
  padding-left: 30px;
  font-size: 0.875rem;
}
.sg-footerinfo .company::before,
.sg-footerinfo .phone::before,
.sg-footerinfo .fax::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.sg-footerinfo .company::before {
  background-image: url("/themes/autotronic/assets/img/location.svg");
}
.sg-footerinfo .phone::before {
  background-image: url("/themes/autotronic/assets/img/phone.svg");
}
.sg-footerinfo .fax::before {
  background-image: url("/themes/autotronic/assets/img/fax.svg");
}

/*
* Responsive Styles 
*/

@media (max-width: 767px) {
  #header .top-logo {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 5px;
  }
  #header .sg-headerinfo {
    font-size: 0.625rem;
  }
  #header .header-nav {
    padding: 10px 15px;
    height: 140px;
  }
  #header .header-nav #menu-icon,
  #header .header-nav #_mobile_cart,
  #header .header-nav #_mobile_user_info {
    position: absolute;
    top: 85px;
  }
  #header .header-nav #menu-icon {
    right: 15px;
    margin: 0;
  }
  #header .header-nav #menu-icon .material-icons {
    color: var(--secondary-color);
    font-size: 2.063rem;
  }
  #header .header-nav #_mobile_cart {
    right: 55px;
  }
  #header .header-nav #_mobile_cart .blockcart {
    background: none;
  }
  #header .header-nav #_mobile_cart .cart-preview .shopping-cart {
    color: var(--secondary-color);
  }
  #header .header-nav #_mobile_user_info {
    right: 140px;
    height: 56px;
    display: flex;
    align-items: center;
  }
  #header .header-nav #_mobile_user_info .user-info {
    margin: 0;
  }
  #header .header-nav #_mobile_user_info .material-icons {
    font-size: 1.75rem;
  }

  #header .header-hr {
    position: absolute;
    top: 80px;
    left: -15px;
    right: -15px;
  }

  #header .header-top {
    padding: 0;
    position: absolute;
    top: 30px;
    right: 0;
    left: 0;
  }
  #header .header-top > .container > .row:first-of-type {
    justify-content: flex-end;
  }
  #header .header-top .header-top-left {
    gap: 0 !important;
    justify-content: flex-end !important;
  }
  #header .header-top .header-top-left #search_widget {
    margin: 0;
    max-width: 85%;
  }
  .header-top #search_widget input {
    padding: 4px 8px;
    font-size: 0.875rem;
  }
  #header .header-top .search-widgets form button[type="submit"] {
    width: auto;
    padding: 4px 6px;
  }
  #header .header-top .header-top-left #search_widget form i {
    margin-right: 0;
  }

  #mobile_top_menu_wrapper {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 111px;
    background: var(--primary-color);
    color: var(--color-light);
  }
  #header .header-top a[data-depth="0"] {
    color: var(--color-light);
    border: 0;
  }

  #footer .footer-container .links ul {
    background-color: transparent;
  }

  #footer .sg-footerinfo {
    padding: 30px 30px 10px 30px;
  }
}
@media (max-width: 991px) {
  .carousel .carousel-item .caption .display-1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-light);
  }
  .carousel .carousel-item .caption .display-1::before {
    right: 50%;
    transform: translateX(50%);
    width: 220px;
    height: 8px;
  }
  .carousel .carousel-inner {
    height: 56vw;
  }
  .carousel .carousel-item figure {
    height: 100%;
  }
  .carousel .carousel-item figure .caption {
    bottom: 40%;
  }
  .carousel .carousel-item img {
    height: 100%;
  }
  .img_with_title {
    object-fit: cover!important;
  }

  .product-miniature .thumbnail-container {
    flex-wrap: wrap;
  }

  .product-container .product-prices {
    margin-top: 30px;
  }
}

