:root {
  --dark: #330000;
  --red: #b32236;
  --text: #333;
  --muted: #777;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* Logo w menu */
ul.menu > li.nav-logo > a { padding: 8px 22px 8px 0; }
ul.menu > li.nav-logo > a:hover { background: transparent; }
.nav-logo img { height: 52px; width: auto; display: block; }
ul.menu > li > a, ul.menu > li > span { line-height: 36px; }

/* Nawigacja */
nav.mainnav { background: var(--dark); position: sticky; top: 0; z-index: 100; }
nav.mainnav .container { display: flex; align-items: center; flex-wrap: wrap; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #664444;
  color: #fff;
  font-size: 22px;
  padding: 6px 14px;
  margin: 8px 0;
  cursor: pointer;
}
ul.menu { list-style: none; display: flex; flex-wrap: wrap; }
ul.menu > li { position: relative; }
ul.menu > li > a, ul.menu > li > span {
  display: block;
  padding: 16px 18px;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
}
ul.menu > li > a:hover, ul.menu > li:hover > a,
ul.menu > li:hover > span, ul.menu > li.active > a {
  background: var(--red);
  text-decoration: none;
}
ul.submenu {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 101;
}
ul.menu > li:hover > ul.submenu { display: block; }
ul.submenu li { position: relative; }
ul.submenu a, ul.submenu span.subhead {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
}
ul.submenu span.subhead { font-weight: 700; background: #f4f4f4; }
ul.submenu a:hover { background: var(--red); color: #fff; text-decoration: none; }

/* Stopka */
footer { background: var(--dark); color: #fff; padding: 45px 0 0; margin-top: 30px; }
footer a { color: #ddd; }
footer a:hover { color: #fff; }
footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
footer h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 6px; }
footer ul a { font-size: 14px; }
footer .mission { font-style: italic; font-size: 14px; margin-bottom: 20px; }
footer .social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #664444;
  border-radius: 50%;
  margin-right: 8px;
  font-size: 16px;
}
footer .social a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
footer .contact p { font-size: 14px; margin-bottom: 8px; }
footer .footer-bottom {
  border-top: 1px solid #4a1a1a;
  margin-top: 40px;
  padding: 16px 0 22px;
  text-align: center;
}
footer .copyright {
  font-size: 12px;
  color: #bb9999;
}
footer .copyright .sep {
  margin: 0 0.5em;
  color: #886666;
}
footer .copyright a {
  color: #c4a0a0;
  text-decoration: none;
  transition: color 0.2s;
}
footer .copyright a:hover {
  color: #fff;
  text-decoration: none;
}

#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 22px;
  cursor: pointer;
  display: none;
  z-index: 99;
}

/* Treść stron */
.page-content { padding: 30px 0; }
.page-content h1.page-title { font-size: 30px; font-weight: 700; margin-bottom: 25px; }
.page-content table { max-width: 100%; }
.page-content iframe { max-width: 100%; border: 0; }

/* Klasy z szablonu jux_dalaco */
@media only screen and (max-width: 767px) { .no-phones { display: none !important; } }
@media (min-width: 768px) { .no-screen { display: none !important; } }
.image_SL { overflow: hidden; display: inline-block; max-width: 100%; }
.image_SL img { transition: all 1s ease-out; }
.image_SL img:hover { transform: scale(1.1); }
.read-more_SL {
  line-height: 2em;
  margin-top: 60px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}
.read-more_SL:hover { background: #b32236; }
.read-more_SL a:hover { text-decoration: none; }
@media (max-width: 768px) { .width100-SL { width: 100% !important; } }
.widthSL img:hover {
  transform: scale(1.2) !important;
  transition: all 0.3s ease-in-out 0s !important;
  box-shadow: 0 1.6rem 3rem 0 rgba(0, 0, 0, 0.2);
}
.widthSL img.is-selected {
  transform: scale(1.25);
  box-shadow: 0 1.6rem 3.8rem 0 rgba(0, 0, 0, 0.2);
}
@media (min-width: 769px) { .width80 { width: 80%; margin-left: auto; margin-right: auto; } }
@media (max-width: 769px) { .width80 { padding-left: 10px; padding-right: 10px; } }
.block-SL { height: 50px; }
.td_SL td:hover {
  transform: scale(1.2) !important;
  transition: all 0.3s ease-in-out 0s !important;
  box-shadow: 0 1.6rem 3rem 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.table_SL {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-collapse: separate;
  border-spacing: 5px;
}
.table_SL td { height: 50px; position: relative; vertical-align: middle; text-align: center; }
.td_SL-title {
  color: #000;
  background-color: #fff;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: normal;
  border-radius: 20px;
  vertical-align: middle;
}
.table_SL td a { position: absolute; left: 0; right: 0; top: 0; bottom: 0; padding: 14px; }
.btn_color_SL { border: none; outline: none; cursor: pointer; font-size: 18px; }
.color_picker_active, .btn_color_SL:hover {
  transform: scale(1.25);
  box-shadow: 0 1.6rem 3.8rem 0 rgba(0, 0, 0, 0.2);
  border: 3px solid gray;
}

/* Galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: 6px; background: #eee; }
.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-grid a:hover img { transform: scale(1.07); }

.objects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px 22px;
  margin: 25px 0;
}
.objects-grid .card { border: 1px solid #e5e5e5; border-radius: 6px; overflow: hidden; background: #fff; }
.objects-grid .card img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.4s; }
.objects-grid .card:hover img { transform: scale(1.06); }
.objects-grid .card .t { padding: 10px 14px; font-size: 16px; color: var(--text); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px 24px;
  margin: 25px 0;
}
.shop-grid .pcard { border: 1px solid #e8e8e8; border-radius: 6px; padding: 16px; text-align: center; background: #fff; }
.shop-grid .pcard img { max-height: 220px; object-fit: contain; margin: 0 auto 12px; }
.shop-grid .pcard h3 { font-size: 18px; font-weight: 400; margin-bottom: 8px; }
.shop-grid .pcard h3 a { color: var(--text); }
.shop-grid .pcard .sd { font-size: 13.5px; color: var(--muted); text-align: justify; }

.prod-desc { max-width: 900px; margin: 0 auto; }
.prod-desc img { display: block; margin: 14px auto; }

/* Lightbox */
#lb {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
#lb img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
#lb .x { position: absolute; top: 12px; right: 22px; color: #fff; font-size: 38px; cursor: pointer; }
#lb .p, #lb .n {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 52px;
  cursor: pointer;
  padding: 0 18px;
  user-select: none;
}
#lb .p { left: 0; }
#lb .n { right: 0; }

/* Responsywność */
@media (max-width: 900px) {
  nav.mainnav .container { align-items: center; }
  .nav-toggle { display: block; order: 1; margin-right: auto; }
  ul.menu { display: contents; }
  ul.menu > li.nav-logo { order: 2; margin-left: auto; }
  ul.menu > li.nav-logo > a { padding: 8px 0 8px 12px; }
  ul.menu > li:not(.nav-logo) { order: 3; width: 100%; display: none; }
  ul.menu.open > li:not(.nav-logo) { display: block; }
  ul.submenu { position: static; box-shadow: none; background: #4a1a1a; }
  ul.submenu a, ul.submenu span.subhead { color: #fff; background: none; padding-left: 32px; }
  ul.submenu ul.submenu a { padding-left: 48px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  footer .cols { grid-template-columns: 1fr; }
}
