/* GLOBAL FIX */
body {
    overflow-x: hidden;
}

/* RESPONSIVE IMAGES */
img {
    max-width: 100%;
    height: auto;
}

/* CONTAINER FIX */
.container {
    max-width: 100%;
}

/* HEADER ALIGN */
.header-nav .blockcart,
.header-nav .user-info {
    display: flex;
    align-items: center;
}
/* FIX SLIDER FULL WIDTH CLEAN */
#carousel {
  width: 100%;
}

.carousel-inner {
  width: 100%;
}

/* usuń padding w bootstrap */
#wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

#wrapper [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}
/* ===== B2B LOGIN CLEAN ===== */

body#authentication #wrapper {
  padding-top: 80px;
}

.b2b-login-wrapper {
  max-width: 400px;
  margin: 80px auto;
  text-align: center;
}

.b2b-header {
  margin-bottom: 25px;
}

.b2b-header .bar {
  height: 6px;
  width: 100px;
  display: inline-block;
  margin: 0 10px;
}

.b2b-header .green {
  background: #2e7d32;
}

.b2b-header .orange {
  background: #ef6c00;
}

.b2b-header p {
  margin-top: 15px;
  font-size: 16px;
  color: #555;
}

.b2b-login-box {
  background: #fff;
  padding: 25px;
  border-radius: 6px;
}
/* ===== B2B LOGIN CLEAN - HIDE SHOP ===== */

body.b2b-login-page header,
body.b2b-login-page #carousel,
body.b2b-login-page .breadcrumb,
body.b2b-login-page #footer {
  display: none !important;
}

.b2b-login-box {
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.b2b-login-box form {
  width: 100%;
}

.b2b-login-box input {
  width: 100%;
}

.b2b-login-box .btn {
  width: 100%;
}
/* INPUTY */
.b2b-login-box .form-control {
  width: 100%;
  height: 42px;
  font-size: 14px;
}

/* LABEL */
.b2b-login-box .form-control-label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: 500;
}

/* BUTTON */
.b2b-login-box button {
  width: 100%;
  height: 42px;
  font-weight: 600;
}

/* PASSWORD WRAPPER */
.b2b-login-box .input-group {
  width: 100%;
}
/* CENTROWANIE LOGINU */
.b2b-login-wrapper {
  margin: 80px auto;
}
/* ======================================================
   B2B LOGIN – FINAL STABLE VERSION
   ====================================================== */

/* WRAPPER */
.b2b-login-wrapper {
  max-width: 520px;
  margin: 100px auto;
  text-align: center;
}

/* HEADER */
.b2b-header {
  margin-bottom: 30px;
}

.b2b-header .bar {
  height: 6px;
  width: 100px;
  display: inline-block;
  margin: 0 10px;
}

.b2b-header .green {
  background: #2e7d32;
}

.b2b-header .orange {
  background: #ef6c00;
}

.b2b-header p {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

/* BOX */
.b2b-login-box {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* FORM */
.b2b-login-box form {
  width: 100%;
}

/* FORM GROUP */
.b2b-login-box .form-group {
  margin-bottom: 18px;
}

/* LABEL */
.b2b-login-box .form-control-label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

/* INPUT */
.b2b-login-box .form-control {
  width: 100%;
  height: 52px;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 4px;
}

/* PASSWORD WRAPPER */
.b2b-login-box .input-group {
  width: 100%;
}

/* SHOW BUTTON */
.b2b-login-box .input-group-text{
  height: 52px;
  display: flex;
  align-items: center;
}

/* LINK */
.b2b-login-box a {
  display: block;
  margin: 10px 0;
  font-size: 14px;
}

/* CLEAN SHOP ELEMENTS */
body.b2b-login-page header,
body.b2b-login-page #carousel,
body.b2b-login-page .breadcrumb,
body.b2b-login-page #footer {
  display: none !important;
}
/* ===== FIX INPUT + SHOW (PRESTA 8 REAL FIX) ===== */

.b2b-login-box .input-group {
  display: flex;
  align-items: stretch;
}

/* INPUT */
.b2b-login-box .input-group .form-control {
  flex: 1;
  min-width: 0;
}

/* WRAPPER BUTTONA */
.b2b-login-box .input-group-btn {
  display: flex;
}

/* BUTTON SHOW */
.b2b-login-box .input-group-btn .btn {
  height: 52px;
  border-radius: 0 4px 4px 0;
  border-left: none;
  padding: 0 14px;
}

/* INPUT – łączenie z buttonem */
.b2b-login-box .input-group .form-control {
  border-radius: 4px 0 0 4px;
}
.b2b-login-box .form-group.row {
  display: block;
}

.b2b-login-box .form-group.row > div,
.b2b-login-box .form-group.row > label {
  width: 100%;
  max-width: 100%;
}
/* FIX CLICK SHOW BUTTON */
.b2b-login-box .input-group-btn {
  position: relative;
  z-index: 2;
}

.b2b-login-box .input-group-btn .btn {
  pointer-events: auto;
  position: relative;
  z-index: 3;
}
/* HIDE OLD SHOW BUTTON */
.b2b-login-box .input-group-btn {
  display: none !important;
}
/* =========================
   B2B LOGIN – MAX LEVEL (WOW SaaS)
========================= */

/* TŁO */
body.b2b-login-page {
  background: radial-gradient(circle at 30% 20%, #e8f5e9 0%, #ffffff 60%);
}

/* WRAPPER */
.b2b-login-wrapper {
  max-width: 540px;
  margin: 90px auto;
  text-align: center;
  padding: 0 20px;
}

/* HEADER */
.b2b-header p {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 18px;
  line-height: 1.4;
}

/* BOX */
.b2b-login-box {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  padding: 50px 45px;
  border-radius: 18px;
  margin-top: 30px;

  box-shadow:
    0 30px 80px rgba(0,0,0,0.08),
    0 0 0 1px rgba(0,0,0,0.04);

  position: relative;
}

/* SUBTLE GLOW */
.b2b-login-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(46,125,50,0.15), rgba(76,175,80,0.15));
  z-index: -1;
  filter: blur(20px);
}

/* FORM */
.b2b-login-box .form-group {
  margin-bottom: 22px;
}

/* LABEL */
.b2b-login-box .form-control-label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}

/* INPUT */
.b2b-login-box .form-control {
  height: 54px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  padding: 0 16px;
  background: #f9fafb;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);

  transition: all 0.25s ease;
}

/* INPUT HOVER */
.b2b-login-box .form-control:hover {
  border-color: #c8e6c9;
}

/* PASSWORD */
.b2b-login-box .input-group {
  display: flex;
}

/* INPUT PASSWORD */
.b2b-login-box .input-group .form-control {
  border-radius: 10px 0 0 10px;
}

/* IKONA (oko) */
.b2b-login-box .input-group-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #e2e2e2;
  border-left: none;
  border-radius: 0 10px 10px 0;
  background: #f9f9f9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.b2b-login-box .input-group-btn:hover {
  background: #f1f1f1;
}

/* LINK */
.b2b-login-box a {
  font-size: 13px;
  color: #2e7d32;
  margin: 12px 0;
}

/* BUTTON */
.b2b-login-box button {
  width: 100%;
  height: 56px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  color: #fff;

  background: linear-gradient(135deg, #2e7d32, #4caf50);
  position: relative;
  overflow: hidden;

  transition: all 0.25s ease;
  cursor: pointer;
}

/* BUTTON HOVER */
.b2b-login-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

/* SHINE EFFECT */
.b2b-login-box button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.6s;
}

.b2b-login-box button:hover::after {
  left: 100%;
}

/* ACTIVE */
.b2b-login-box button:active {
  transform: scale(0.97);
}

/* MOBILE */
@media (max-width: 480px) {

  .b2b-login-wrapper {
    margin: 50px auto;
  }

  .b2b-login-box {
    padding: 30px 20px;
    border-radius: 14px;
  }

  .b2b-header p {
    font-size: 19px;
  }

}
/* ===== PREMIUM FINAL TOUCH ===== */

/* INPUTY */
.b2b-login-box .form-control {
  background: #fff;
  border: 1px solid #e5e7eb;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  border-radius: 8px;
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.b2b-login-box .form-control:focus {
  border-color: #2e7d32;
  background: #fff;

  box-shadow:
    0 0 0 3px rgba(46,125,50,0.12),
    0 4px 12px rgba(0,0,0,0.08);

  outline: none;
  transform: translateY(-1px);
}

/* LABEL */
.b2b-login-box .form-control-label {
  font-weight: 600;
  color: #333;
}

/* BOX (karta loginu) */
.b2b-login-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 45px 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* MOBILE poprawka */
@media (max-width: 768px) {
  .b2b-login-box {
    padding: 25px 20px;
  }
}

/* LINK */
.b2b-login-box a {
  color: #2e7d32;
  font-weight: 500;
}
/* ===== BACKGROUND PREMIUM ===== */
body#authentication {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
}

.b2b-header p {
  letter-spacing: -0.3px;
}
@media (max-width: 768px) {
  .b2b-login-box .input-group-btn {
    min-width: 50px;
    justify-content: center;
  }

  .b2b-login-box .input-group .form-control {
    border-right: none;
  }
}
/* ===== INPUT HOVER FINAL ===== */
.b2b-login-box .form-control:hover {
  border-color: #4caf50;
}
.b2b-login-box .form-control:hover {
  border-color: #4caf50;
}
html {
  scroll-behavior: auto !important;
}

body.page-product {
  scroll-behavior: auto !important;
}

/* USUNIĘTE - psuło layout produktu */
/*
#wrapper {
  margin-top: 0 !important;
}

body.page-product #main {
  padding-top: 0 !important;
}
*/
body.page-product #main {
  padding-top: 20px;
}
/* FIX: product page offset (Presta 8 bug / theme issue) */
body.page-product #wrapper,
body.page-cart #wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-product #main,
body.page-cart #main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-product .container,
body.page-cart .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* FIX: remove hidden offset */
body.page-product,
body.page-cart {
    position: static !important;
    top: 0 !important;
}
.cms-id-1 .page-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.cms-id-1 .page-content {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 15px;
    text-align: left;
    line-height: 1.6;
}
.product-prices {
  margin-bottom: 20px;
}

.current-price {
  margin-bottom: 15px;
  display: block;
  font-size: 22px;
  font-weight: 600;
}

.product-information p {
  margin-bottom: 8px;
}

.product-add-to-cart {
  margin-top: 20px;
}

.product-tabs {
  margin-top: 30px;
}
.product-features {
    max-width: 500px;
    margin-top: 20px;
}

.product-features dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 5px 15px;
}

.product-features dt {
    font-weight: 600;
    color: #333;
}

.product-features dd {
    margin: 0;
    color: #666;
}
.product-features-simple {
  margin-top: 15px;
  font-size: 14px;
}

.product-features-simple p {
  margin: 0 0 6px 0;
}

.product-features-simple strong {
  font-weight: 600;
  color: #333;
}

.product-features-simple span {
  color: #333;
}
.product-prices .current-price {
    font-size: 32px;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
}

.product-information p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    font-weight: 500;
}
.product-information p:first-child {
    font-weight: 600;
}
.product-title {
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 8px;
}
.product-short-desc {
    padding-left: 18px;
    margin: 10px 0 15px;
}

.product-short-desc li {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 4px;
}

.product-prices .current-price {
    font-size: 34px;
    font-weight: 800;
    color: #111;
}
#main h1.h1 {
    text-transform: none !important;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* LEKKIE PODBICIE PRZESTRZENI */
.product-information {
    padding-left: 10px;
}

/* PRODUCT IMAGE FIX */
.product-cover img {
    width: 100%;
    max-width: none;
}
#main .product-container .row > div:first-child {
    width: 60% !important;
    max-width: 60% !important;
}

#main .product-container .row > div:last-child {
    width: 40% !important;
    max-width: 40% !important;
}