.product-thumb .content {
  display: flex;
  flex-direction: column;
  height: 100%; }

html, body {
  width: 100%;
  height: 100%;
}

/* Site-wide typography: use Poppins for all text (sizes unchanged) */
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #222;
  background-color: #fff;
}

/* Headings also use Poppins (site-wide) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #333;
}

legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5; }

label {
  font-size: 12px;
  font-weight: normal; }

/* Chrome border line */
button:focus {
  outline: none !important; }

/* container */
#container {
  width: 100%;
  /* Ensure container fills viewport and uses flex layout so footer can stick to bottom when content is short */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative; /* keep for absolute-positioned children if needed */
  margin-bottom: 0; }

/* Make the main content area grow to fill available space so footer is pushed to bottom */
main {
  flex: 1 0 auto;
  /* spacing: ensure there is a gap between main and footer */
  margin-bottom: 40px;
}

/* Reduce bottom spacing on small screens to avoid large gaps on mobile */
@media (max-width: 576px) {
  main {
    margin-bottom: 20px;
  }
}

/* Background wrapper: użyj `/image/background.webp` jako tapety z ciemnym overlayem */
.background-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('/image/background.webp') center/cover fixed;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Ensure footer sits above the background image */
footer {
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  background: #ffffff;
}

/* content */
#content, #column-left, #column-right {
  padding-bottom: 0px;
  /* White card-style background for main content area */
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 0px; } }

#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px; }

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px; } }

@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px; } }

@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px; } }

#alert .alert {
  margin-bottom: 15px; }

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgba(13, 110, 253, 0.1); }

#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgba(108, 117, 125, 0.1); }

#alert .alert-success {
  box-shadow: 0 0 0 5px rgba(25, 135, 84, 0.1); }

#alert .alert-warning {
  box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.1); }

#alert .alert-danger {
  box-shadow: 0 0 0 5px rgba(220, 53, 69, 0.1); }

#alert .alert-info {
  box-shadow: 0 0 0 5px rgba(13, 202, 240, 0.1); }

#alert .alert-light {
  box-shadow: 0 0 0 5px rgba(248, 249, 250, 0.1); }

#alert .alert-dark {
  box-shadow: 0 0 0 5px rgba(33, 37, 41, 0.1); }

/* top */
#top {
  background-color: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px; }

#top ul.list-inline {
  margin-bottom: 0; }

#top .list-inline-item > a, #top .list-inline-item .dropdown > a {
  font-size: 1.1em;
  color: var(--bs-gray-600);
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0px 5px 0px; }

/* logo */
#logo {
  text-align: center;
  margin: 0;
  padding: 10px 0; }

#logo img {
  max-width: 200px; }

@media (min-width: 768px) {
  #logo {
    text-align: left; } }

/* search */
#search {
  margin-bottom: 10px;
  padding: 10px 0; }

#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px; }

#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #FFF; }

/* cart */
#cart {
  margin-bottom: 10px; }

#cart .img-thumbnail {
  min-width: 100px; }

#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px; }

#information-contact table.table {
  font-size: 1.15rem;
  line-height: 1.65;
}

#information-contact address,
#information-contact td strong,
#information-contact td a,
#information-contact td {
  font-size: 1.15rem;
  line-height: 1.65;
}

#cart .dropdown-menu {
  background: #eee; }

#cart .dropdown-menu li {
  min-width: 300px; }

@media (max-width: 768px) {
  #cart .dropdown-menu li {
    min-width: 100%; } }

/* menu */
#menu {
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  border: 1px solid #1f90bb;
  border-color: #1f90bb #1f90bb #145e7a;
  min-height: 40px;
  border-radius: 4px;
  padding: 0 1rem;
  margin-bottom: 20px; }

#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px 10px 15px;
  background-color: transparent; }

#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.1); }

#menu .dropdown-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

#menu .dropdown-inner {
  display: flex;
  flex-direction: column; }

#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px; }

@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block; }
  #menu .dropdown-inner {
    flex-direction: row; }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -200px; }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -400px; }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
    left: -200px; }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -400px; }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -600px; } }

#category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); }

#menu .navbar-toggler i {
  color: #fff;
  border-color: #fff;
  font-size: 0.9em; }

/* default boostrap changes */
div.required .col-form-label:before, div.required .form-label:before {
  content: '* ';
  color: #F00;
  font-weight: bold; }

.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px; }

.nav-tabs {
  margin-bottom: 15px; }

.form-check .form-check-input {
  margin-top: 0.25rem; }

@media (min-width: 768px) {
  .col-form-label {
    text-align: right; } }

/* footer */
footer {
  border: 1px solid #000000;
  position: relative; /* keep footer in normal flow */
  bottom: auto;
  width: 100%;
  padding-top: 30px;
  background-color: #303030;
  border-top: 1px solid #ddd;
  color: #e2e2e2; }

footer hr {
  border-top: none;
  border-bottom: 1px solid #666; }

footer a {
  color: #ccc;
  text-decoration: none; }

footer a:hover {
  color: #fff; }

footer h5 {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px; }

/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg); }
  .breadcrumb i {
    font-size: 15px; }
  .breadcrumb > li.breadcrumb-item {
    text-shadow: 0 1px 0 #FFF;
    padding: 0 20px;
    position: relative;
    white-space: nowrap; }
    .breadcrumb > li.breadcrumb-item > a {
      text-decoration: none; }
    .breadcrumb > li.breadcrumb-item:after {
      content: '';
      display: block;
      position: absolute;
      top: -3px;
      right: -5px;
      width: 29px;
      height: 29px;
      border-right: 1px solid var(--bs-border-color);
      border-bottom: 1px solid var(--bs-border-color);
      transform: rotate(-45deg); }
    .breadcrumb > li.breadcrumb-item + li:before {
      content: '';
      padding: 0; }

.product-thumb {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column; }

.product-thumb .image {
  text-align: center; }

.product-thumb .image a:hover {
  opacity: 0.8; }

.product-thumb .description {
  padding-top: 15px;
  padding-bottom: 0;
  padding-left: 15px;
  padding-right: 15px;
  flex: 1 1 auto; }

.product-thumb .description h4 {
  font-weight: bold; }

.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0; }

.product-price {
  margin-top: auto;
  margin-bottom: 50px;
  padding-right: 15px;
  text-align: right; }

.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center; }

.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer; }

.product-thumb .button button + button {
  border-left: 1px solid var(--bs-border-color); }

@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex; }
  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0px; }
  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative; }
  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% -  15px);
    margin-left: 15px; } }

.rating .fa-stack {
  width: 20px; }

.rating .fa-star {
  color: #999;
  font-size: 15px; }

.rating .fa-star {
  color: #FC0;
  font-size: 15px; }

.rating .fa-star + .fa-star {
  color: #E69500; }

/* product list */
.price {
  color: #444; }

.price-new {
  font-weight: 600; }

.price-old {
  color: #dc512c;
  text-decoration: line-through; }

.price-tax {
  color: #999;
  font-size: 12px;
  display: block; }

/* blog */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px; }

.blog-thumb h4 {
  font-weight: bold; }

.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px; }

.blog-thumb .image a:hover {
  opacity: 0.8; }

.blog-thumb .description {
  padding: 15px; }

/* Theme Custom CSS */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40; }

#cookie div {
  font-size: 16px;
  color: #FFFFFF; }

 /* ========================================
   ANIMOWANE LOGO: tarabaseny.com.pl (DZIAŁA W OPENCART)
   ======================================== */

.logo-container {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  /* Logo uses handwritten Permanent Marker for visual identity */
  font-family: 'PermanentMarkerTTF', 'Permanent Marker', cursive;
  min-height: auto;
  padding: 0;
  margin: 0;
  margin-right: auto;
  overflow: visible;
  flex-shrink: 0;
}

/* Featured module intro - uses logo font and a subtle professional entrance animation */
.module-featured-intro {
  /* Use Poppins for readable multi-line intro copy */
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #0a4b7a; /* deep professional blue */
  font-size: 16px; /* reduced size for paragraph copy */
  line-height: 1.6;
  width: 100%; /* span the full container */
  text-align: justify; /* make paragraph text justified */
  text-justify: inter-word;
  hyphens: auto;
  /* Ensure the last line is not stretched in justification */
  text-align-last: left;
  -moz-text-align-last: left;
  margin: 0 0 1rem 0;
  padding: 0.25rem 0 0.6rem 0;
  will-change: opacity, transform;
  opacity: 0;
  transform: translateY(6px) scale(0.998);
  animation: featuredIntroIn 560ms cubic-bezier(.22,.9,.35,1) 80ms forwards;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.module-featured-intro p { margin: 0 0 0.7rem 0; }
.module-featured-intro::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, rgba(10,75,122,0.95), rgba(0,102,204,0.9));
  border-radius: 2px;
  margin-top: 8px;
  opacity: 0;
  transform-origin: left center;
  animation: featuredIntroBar 520ms cubic-bezier(.22,.9,.35,1) 520ms forwards;
}

@keyframes featuredIntroIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes featuredIntroBar {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 768px) {
  .module-featured-intro { font-size: 15px; width: 100%; }
}

/* Ensure product descriptions also use Poppins (site-wide uniformity) */
.product-description-container {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Obrazek logo – ukryty */
.logo-img-link {
  display: none;
}
.logo-img-link img {
  max-width: 100%;
  height: auto;
}

/* Animowany tekst – głównie */
#animated-logo {
  display: block;
  font-size: 36px;
  font-weight: 400; /* Permanent Marker regular */
  text-transform: none; /* use natural case for handwritten font */
  letter-spacing: 1px; /* give handwritten font some breathing room */
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  z-index: 10;
  word-break: break-word;
  background: transparent;
  padding: 0;
}

/* Make the handwritten logo feel slightly bolder and more tactile */
#animated-logo {
  -webkit-text-stroke: 0.9px rgba(0,0,0,0.8);
  text-shadow: 
    0 2px 4px rgba(0,0,0,0.35),
    0 6px 12px rgba(0,0,0,0.3),
    0 12px 24px rgba(0,0,0,0.25),
    0 1px 0 rgba(255,255,255,0.5);
  font-weight: 600; /* use the font's natural weight for a truer look */
  transition: transform 160ms ease, text-shadow 160ms ease;
}

/* Subtle hover/tap emphasis to make logo feel interactive */
#animated-logo:hover {
  /* hover effects removed */
}

/* If the fallback logo is an SVG file (served via <img>), add a soft drop shadow and slight stroke illusion */
.logo-img-link img[src$=".svg"] {
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.12)) saturate(1.05);
  transform-origin: center center;
  transition: transform 160ms ease, filter 160ms ease;
}
.logo-img-link img[src$=".svg"]:hover {
  transform: translateY(-1px) scale(1.01);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.14)) saturate(1.08);
}

/* Tekst logo bez animacji */
#animated-logo span {
  display: inline-block;
  opacity: 1;
  transform: none;
}

/* Fala wodna - wyłączona */
#animated-logo::after {
  display: none;
}

/* Odbicie - wyłączone */
#animated-logo::before {
  display: none;
}

/* Responsywność */
@media (max-width: 1200px) {
  #animated-logo, #animated-logo::before { font-size: 32px; }
}
@media (max-width: 992px) {
  #animated-logo, #animated-logo::before { font-size: 28px; }
}
@media (max-width: 768px) {
  #animated-logo, #animated-logo::before { font-size: 24px; }
}
@media (max-width: 480px) {
  #animated-logo, #animated-logo::before { font-size: 20px; }
}

/* Wydajność */
#animated-logo span,
#animated-logo::before,
#animated-logo::after {
  will-change: transform, opacity;
}

/* Carousel banner spacing override: remove default bottom margin */
#carousel-banner-0 {
  margin-bottom: 0 !important;
}

/* Product Description Luxury Styles */
.product-description-container .luxury-desc {
  font-family: "Poppins", Arial, sans-serif !important;
  background: #ffffff !important;
  color: #333 !important;
  padding: 25px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  max-width: none !important;
  margin: 0 !important;
  animation: fadeIn 1s ease !important;
}

.product-description-container .luxury-desc .header h1 {
  font-size: 2em !important;
  color: #0d47a1 !important;
  margin-bottom: 0.2em !important;
}

.product-description-container .luxury-desc .subtitle {
  font-size: 1.1em !important;
  color: #666 !important;
  margin-bottom: 20px !important;
}

.product-description-container .luxury-desc h2 {
  font-size: 1.4em !important;
  color: #0d47a1 !important;
  border-bottom: 2px solid #0d47a1 !important;
  display: inline-block !important;
  padding-bottom: 4px !important;
  margin-bottom: 12px !important;
}

.product-description-container .luxury-desc h3 {
  color: #1a237e !important;
  font-size: 1.1em !important;
  margin-top: 18px !important;
}

.product-description-container .luxury-desc ul {
  list-style: none !important;
  padding: 0 !important;
}

.product-description-container .luxury-desc ul li {
  margin: 6px 0 !important;
  position: relative !important;
  padding-left: 18px !important;
}

.product-description-container .luxury-desc ul li::before {
  content: "•" !important;
  color: #0d47a1 !important;
  position: absolute !important;
  left: 0 !important;
}

.product-description-container .luxury-desc .sections .section {
  background: #f9f9f9 !important;
  border-left: 4px solid #0d47a1 !important;
  padding: 12px 16px !important;
  margin: 12px 0 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.product-description-container .luxury-desc .sections .section:hover {
  background: #e3f2fd !important;
}

.product-description-container .luxury-desc .specs table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.95em !important;
  margin-top: 10px !important;
}

.product-description-container .luxury-desc .specs td {
  padding: 6px 8px !important;
  border-bottom: 1px solid #ddd !important;
}

.product-description-container .luxury-desc .specs tr:nth-child(even) {
  background: #fafafa !important;
}

.product-description-container .luxury-desc .guarantee {
  margin-top: 20px !important;
  background: #e8f0fe !important;
  padding: 10px 15px !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-weight: 500 !important;
  color: #0d47a1 !important;
}

.product-description-container .luxury-desc .internal-links {
  background: #f0f7ff !important;
  border-left: 4px solid #0d47a1 !important;
  padding: 15px !important;
  margin: 20px 0 !important;
  border-radius: 8px !important;
}

.product-description-container .luxury-desc .internal-links h3 {
  color: #0d47a1 !important;
  margin: 0 0 10px 0 !important;
  font-size: 1em !important;
}

.product-description-container .luxury-desc .internal-links ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.product-description-container .luxury-desc .internal-links li {
  margin: 5px 0 !important;
  padding-left: 15px !important;
}

.product-description-container .luxury-desc .internal-links li:before {
  content: "→ " !important;
  color: #0d47a1 !important;
  font-weight: bold !important;
  margin-right: 5px !important;
}

.product-description-container .luxury-desc .internal-links a {
  color: #0d47a1 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.product-description-container .luxury-desc .internal-links a:hover {
  text-decoration: underline !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .product-description-container .luxury-desc { padding: 15px !important; }
  .product-description-container .luxury-desc .header h1 { font-size: 1.5em !important; }
}

/* Inverter Pump Product Description Styles */
.product-description-container .inverter-desc {
  font-family: "Poppins", Arial, sans-serif !important;
  background: #ffffff !important;
  color: #333 !important;
  padding: 25px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  max-width: none !important;
  margin: 0 !important;
  animation: fadeIn 1s ease !important;
}

.product-description-container .inverter-desc .header h1 {
  font-size: 2em !important;
  color: #0d47a1 !important;
  margin-bottom: 0.2em !important;
}

.product-description-container .inverter-desc .subtitle {
  font-size: 1.1em !important;
  color: #666 !important;
  margin-bottom: 20px !important;
}

.product-description-container .inverter-desc h2 {
  font-size: 1.4em !important;
  color: #0d47a1 !important;
  border-bottom: 2px solid #0d47a1 !important;
  display: inline-block !important;
  padding-bottom: 4px !important;
  margin-bottom: 12px !important;
}

.product-description-container .inverter-desc h3 {
  color: #1a237e !important;
  font-size: 1.1em !important;
  margin-top: 18px !important;
}

.product-description-container .inverter-desc ul {
  list-style: none !important;
  padding: 0 !important;
}

.product-description-container .inverter-desc ul li {
  margin: 6px 0 !important;
  position: relative !important;
  padding-left: 18px !important;
}

.product-description-container .inverter-desc ul li::before {
  content: "•" !important;
  color: #0d47a1 !important;
  position: absolute !important;
  left: 0 !important;
}

.product-description-container .inverter-desc .sections .section {
  background: #f9f9f9 !important;
  border-left: 4px solid #0d47a1 !important;
  padding: 12px 16px !important;
  margin: 12px 0 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.product-description-container .inverter-desc .sections .section:hover {
  background: #e3f2fd !important;
}

.product-description-container .inverter-desc .specs table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.95em !important;
  margin-top: 10px !important;
}

.product-description-container .inverter-desc .specs td {
  padding: 6px 8px !important;
  border-bottom: 1px solid #ddd !important;
}

.product-description-container .inverter-desc .specs tr:nth-child(even) {
  background: #fafafa !important;
}

.product-description-container .inverter-desc .guarantee {
  margin-top: 20px !important;
  background: #e8f0fe !important;
  padding: 10px 15px !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-weight: 500 !important;
  color: #0d47a1 !important;
}

@media (max-width: 600px) {
  .product-description-container .inverter-desc { padding: 15px !important; }
  .product-description-container .inverter-desc .header h1 { font-size: 1.5em !important; }
}