@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Rubik:wght@400;500;600;700&display=swap');

#leo_search_block_top .title_block:hover:before {
    color: #7a1b11;
}
    
.popup-over .popup-content {
    text-align: right;
    padding: 5px 10px;
    font-size: 16px;
}

.popup-over .popup-content li {
    display: block;
    margin: 4px 0;
}

/* Wklej w pole własnego CSS motywu. Reguły dotyczą wyłącznie nowych sekcji. */
.mb-home { --mb-red:#7a1b11; }
.mb-home .elementor-heading-title { text-transform:none; }
.mb-home .elementor-button { background:#7a1b11; border-radius:30px; }
.mb-home .elementor-button:hover { background:#54130c; }
.mb-home .elementor-button .elementor-button-icon { display:none; }
.mb-home .elementor-widget-heading p { margin-bottom:0; }
.mb-categories > .elementor-container,
.mb-tradition > .elementor-container,
.mb-blog > .elementor-container,
.mb-history > .elementor-container,
.mb-contact > .elementor-container,
.mb-product-tabs > .elementor-container { max-width:1300px; margin:auto; }
.mb-categories img { display:block; width:100%; height:auto; }
.mb-tradition .elementor-heading-title,
.mb-history .elementor-heading-title { color:#fff; }
.mb-tradition .elementor-widget-image { margin-top:auto; }
.mb-tradition .elementor-widget-image img { width:100%; max-width:673px; }
.mb-history .elementor-widget-heading p,
.mb-tradition .elementor-widget-heading p { line-height:1.65; }
.mb-blog .elementor-heading-title { text-align:left; }
.mb-blog .elementor-widget-LeoBlog img { border-radius:10px; }
.mb-contact iframe { width:100%; border:0; border-radius:8px; }
@media(max-width:767px) {
 .mb-home > .elementor-container { flex-wrap:wrap; }
 .mb-home > .elementor-container > .elementor-column { width:100%!important; }
 .mb-categories .elementor-column { margin-bottom:22px; }
 .mb-categories img { max-width:404px; margin:auto; }
 .mb-tradition { background-position:65% center!important; }
 .mb-tradition > .elementor-container { background:rgba(27,29,32,.72); padding:25px 10px; border-radius:8px; }
 .mb-tradition .elementor-widget-image { margin-top:25px; }
 .mb-history { background-image:none!important; background-color:#48525a; }
 .mb-history > .elementor-container > .elementor-column:first-child { min-height:260px; background:url('https://masarniabrzozowiec.pl/img/cms/home-bottom-bg.jpg') left center / auto 100% no-repeat; margin-bottom:25px; }
 .mb-blog > .elementor-container > .elementor-column + .elementor-column,
 .mb-contact > .elementor-container > .elementor-column + .elementor-column { margin-top:25px; }
 .mb-contact iframe { max-height:380px; }
}

.thumbnail-container .product-title a {
    color: #7a1b11;
    font-size: 16px;
    font-weight: 500;
}

.elementor-9 .elementor-element.elementor-element-3dfd39e5 .widget-tab-title {
    cursor: pointer;
}

.elementor-9 .elementor-element.elementor-element-3dfd39e5 .widget-tabs-wrapper {
    border-bottom: 1px solid RGB(255,255,255,0.5);
}

.leo-plist-style-9-2 .thumbnail-container .product-meta .group-name-price::after {
    display: none;
}

.leo-plist-style-9-2 .thumbnail-container .product-meta .group-name-price .product-title,
.leo-plist-style-9-2 .thumbnail-container .product-meta .group-name-price .product-price-and-shipping {
    padding: 0;
    background: none;
}


:root, body {
 --mb-accent:#7a1b11;
 --mb-accent-hover:#54130c;
 --font-family-base: 'Roboto', Arial, sans-serif;
 --font-family-heading: 'Rubik', Arial, sans-serif;
 --font-family-megamenu: 'Rubik', Arial, sans-serif;
 --font-family-slider: 'Rubik', Arial, sans-serif;
 --font-family-senary: 'Roboto', Arial, sans-serif;
 --font-family-septenary: 'Roboto', Arial, sans-serif;
 --theme-color-default:#7a1b11;
 --headings-color:#7a1b11;
 --link-color:#7a1b11;
 --link-color-hover:#54130c;
 --text-color:#333333;
 --price-color:#303030;
 --btn-bg:#7a1b11;
 --btn-bg-hover:#54130c;
 --btn-color:#ffffff;
 --btn-color-hover:#ffffff;
 --product-name-color:#7a1b11;
 --product-name-color-hover:#54130c;
 --product-price-color:#303030;
 --product-regular-price-color:#777777;
 --product-button-bg:#fff0e8;
 --product-button-color:#7a1b11;
 --product-button-bg-hover:#7a1b11;
 --product-button-color-hover:#ffffff;
 --block-heading-color:#7a1b11;
 --block-link-color-hover:#7a1b11;
}
/* Reset także dla deklaracji generowanych przez edytor. */
body, body *, body *::before, body *::after {
 letter-spacing: normal !important;
 text-transform: none !important;
}


.elementor-widget-heading p.elementor-heading-title {
 font-family: 'Rubik', Arial, sans-serif;
}

body { color:var(--text-color); }
h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6,
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title,
.elementor-widget-heading h5.elementor-heading-title,
.elementor-widget-heading h6.elementor-heading-title,
.block .title_block,.block-title,.page-title,.modal-title,
.product-title,.product-title a,.product-detail-name,
.widget-tab-title,.nav-tabs .nav-link,
.leo-megamenu .navbar-nav > li > a,
.elementor-widget-LeoBlog .blog-title {
 font-family: 'Rubik', Arial, sans-serif !important;
 font-weight:700!important;
}
h1,h2,h3,h4,h5,h6,.page-title,.block .title_block,
.product-title a,.widget-tab-title.active { color:#7a1b11; }
button,input[type=button],input[type=submit],.btn,.button,
.elementor-button,.elementor-button-text {
 font-family: 'Rubik', Arial, sans-serif !important;
 font-weight:500;
}
.btn-primary,.elementor-button {
 background-color:#7a1b11;
 color:#fff;
 border-color:#7a1b11;
 border-radius:30px;
}
.btn-primary:hover,.btn-primary:focus,.elementor-button:hover,.elementor-button:focus {
 background-color:#54130c;
 color:#fff;
 border-color:#54130c;
}
.thumbnail-container .product-title a { color:#7a1b11; font-weight:700; }
.thumbnail-container .price { color:#303030; font-family: 'Rubik', Arial, sans-serif; }
/* Fontów ikon i pseudo-elementów nie nadpisujemy fontem tekstowym. */
img { border-radius:15px!important; }
/* Pełnoszerokie bannery stanowią tło sekcji zgodnie z projektem. */
.mb-tradition .elementor-heading-title,
.mb-history .elementor-heading-title { color:#fff; }

.btn-secondary, .btn-tertiary {
    border-radius: 30px;
}

.product-add-to-cart .add-to-cart {
    padding: 13px 2rem;
    font-size: 19px;
}

.product-manufacturer .manufacturer-logo {
    height: 65px;
}

.product-tabs.tabs .nav-tabs {
    padding-top: 20px;
}

.latest-blogs .blog-container .right-block .blog-meta {
    border-top: none;
    padding-top: 0;
}

.block_newsletter form .btn {
    padding: 15px 10px;
    font-size: 14px;
}

.block_newsletter form input[type="email"] {
    color: #000;
    font-weight: 400;
    font-size: 16px;
}

body#cms p {
    line-height: 1.55;
}

.page-content.page-cms {
    padding: 0;
}

#wrapper {
    padding-bottom: 25px;
}

body#cms .container.container-parent {
    padding-left: 0;
    padding-right: 0;
}
.breadcrumb-full {
    margin-bottom: 45px;
}

/* O nas */
.mb-about{--mb-red:#7a1b11;--mb-ink:#303030;--mb-muted:#f6f3ef;max-width:1300px;margin:0 auto;color:var(--mb-ink);font:400 16px/1.7 'Roboto',Arial,sans-serif;text-align:left}
.mb-about,.mb-about *{box-sizing:border-box;letter-spacing:normal!important;text-transform:none!important}
.mb-about h1,.mb-about h2,.mb-about h3{font-family:'Rubik',Arial,sans-serif!important;font-weight:700!important;line-height:1.18;margin:0 0 24px;color:var(--mb-red)}
.mb-about h1{font-size:clamp(34px,4.3vw,60px)}
.mb-about h2{font-size:clamp(28px,3vw,42px)}
.mb-about h3{font-size:21px;line-height:1.35;margin-bottom:14px}
.mb-about p{font-family:'Roboto',Arial,sans-serif!important;font-size:16px;line-height:1.7;margin:0 0 20px;color:inherit}
.mb-about p:last-child{margin-bottom:0}
.mb-about img{display:block;width:100%;height:auto;border-radius:15px!important}
.mb-about a{color:var(--mb-red);text-decoration:underline;text-underline-offset:4px}
.mb-about a:hover{color:#54130c}
.mb-about a:focus-visible{outline:3px solid currentColor;outline-offset:5px}
.mb-about .mb-about__eyebrow{font-family:'Rubik',Arial,sans-serif!important;font-weight:500;font-size:17px;margin-bottom:18px}
.mb-about .mb-about__button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 28px;border-radius:30px;background:var(--mb-red);color:#fff;font:500 16px/1.4 'Rubik',Arial,sans-serif;text-decoration:none;text-align:center}
.mb-about .mb-about__button:hover{background:#54130c;color:#fff}
.mb-about__hero{position:relative;isolation:isolate;min-height:570px;display:flex;align-items:center;justify-content:flex-end;padding:65px;border-radius:15px;overflow:hidden;background:#394047}
.mb-about .mb-about__hero-photo{position:absolute;inset:0;height:100%;object-fit:cover;object-position:center;z-index:-2}
.mb-about__hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,25,27,.02) 20%,rgba(22,25,27,.88) 75%);z-index:-1}
.mb-about__hero-copy{width:48%;color:#fff}
.mb-about .mb-about__hero-copy h1{color:#fff}
.mb-about__hero-copy .mb-about__button{margin-top:10px}
.mb-about__section{padding:95px 35px}
.mb-about__section.mb-about__contact { padding-bottom: 0 }
.mb-about__story{display:grid;grid-template-columns:1fr 1.15fr;gap:70px;align-items:start}
.mb-about .mb-about__lead{font-size:19px;font-weight:500}
.mb-about__production{padding:75px 55px;background:var(--mb-muted);border-radius:15px;scroll-margin-top:30px}
.mb-about__section-heading{max-width:760px;margin:0 auto 45px;text-align:center}
.mb-about__principles{display:grid;grid-template-columns:1fr 1fr;gap:35px 60px}
.mb-about__principles article{padding-top:25px;border-top:1px solid #ddd0c8}
.mb-about__yield{margin-top:50px;padding:32px 38px;display:grid;grid-template-columns:210px 1fr;gap:35px;align-items:center;background:#fff;border-radius:15px}
.mb-about .mb-about__yield-number{font:700 45px/1.2 'Rubik',Arial,sans-serif!important;color:var(--mb-red);margin:0}
.mb-about__yield-number span{display:block;font:400 16px/1.7 'Roboto',Arial,sans-serif;margin-top:6px;color:var(--mb-ink)}
.mb-about__yield h3{margin-bottom:10px}
.mb-about__smoke{position:relative;isolation:isolate;overflow:hidden;border-radius:15px;margin-top:95px;min-height:440px;padding:65px;display:flex;align-items:center;background:#25282b}
.mb-about__smoke>img{position:absolute;inset:0;height:100%;object-fit:cover;z-index:-2}
.mb-about__smoke:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,23,25,.93),rgba(20,23,25,.1));z-index:-1}
.mb-about__smoke>div{max-width:530px;color:#fff}
.mb-about .mb-about__smoke h2{color:#fff}
.mb-about__award-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px}
.mb-about__award-grid article{padding:30px 0 0;border-top:2px solid var(--mb-red)}
.mb-about .mb-about__year{font:700 42px/1.2 'Rubik',Arial,sans-serif!important;color:var(--mb-red);margin-bottom:20px}
.mb-about__cooperation{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center;background:var(--mb-muted);padding:40px;border-radius:15px}
.mb-about__cooperation>img{height:100%;min-height:340px;object-fit:cover;object-position:30% center}
.mb-about__cooperation>div{padding:15px 10px}
.mb-about__contact-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px}
.mb-about__contact-grid>div{min-width:0;padding-top:25px;border-top:1px solid #e4dcd6}
.mb-about__contact-grid a{overflow-wrap:anywhere}
.mb-about address{font-style:normal;margin-bottom:20px;line-height:1.7}
@media(max-width:991px){
 .mb-about__hero{padding:40px;min-height:520px}.mb-about__hero-copy{width:53%}
 .mb-about__story{gap:35px}.mb-about__section{padding:65px 25px}
 .mb-about__production{padding:50px 30px}.mb-about__principles{gap:25px 35px}
 .mb-about__cooperation{gap:30px;padding:30px}.mb-about__contact-grid{gap:25px}
 .mb-about__smoke{margin-top:65px;padding:40px}
}
@media(max-width:640px){
 .mb-about{font-size:16px}.mb-about__hero{padding:28px 22px;min-height:620px;align-items:flex-end}
 .mb-about .mb-about__hero-photo{object-position:35% center}
 .mb-about__hero:after{background:linear-gradient(0deg,rgba(20,23,25,.97),rgba(20,23,25,.04) 100%)}
 .mb-about__hero-copy{width:100%}.mb-about__hero-copy h1{max-width:380px}
 .mb-about__section{padding:50px 12px}.mb-about__story{grid-template-columns:1fr;gap:10px}
 .mb-about__production{padding:40px 22px}.mb-about__section-heading{margin-bottom:30px}
 .mb-about__principles,.mb-about__award-grid,.mb-about__contact-grid{grid-template-columns:1fr;gap:28px}
 .mb-about__yield{grid-template-columns:1fr;gap:20px;padding:25px;margin-top:35px}
 .mb-about__smoke{margin-top:50px;min-height:400px;padding:35px 22px}
 .mb-about__smoke:after{background:rgba(20,23,25,.72)}
 .mb-about__cooperation{grid-template-columns:1fr;gap:20px;padding:22px}
 .mb-about__cooperation>img{min-height:0;height:230px}.mb-about__cooperation>div{padding:0}
}



/* Slider — typografia */

.slide_config {
    max-width: 1350px;
    position: relative;
    margin: auto;
}


#slideshow-form_5846351677680492 .very_large_text,
#slideshow-form_5846351677680492 .very_large_text .caption-contain {
  font-family: 'Rubik', Arial, sans-serif !important;
  font-weight: 700 !important;
}

#slideshow-form_5846351677680492 .slider-description,
#slideshow-form_5846351677680492 .slider-description .caption-contain {
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 23px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

/* Cień tekstu i brak wymuszonej kapitalizacji */
#slideshow-form_5846351677680492 .very_large_text,
#slideshow-form_5846351677680492 .slider-description {
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7);
}

#slideshow-form_5846351677680492 .tp-caption,
#slideshow-form_5846351677680492 .caption-contain {
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Większa wysokość dla opisu */
#slideshow-form_5846351677680492 .slider-description,
#slideshow-form_5846351677680492 .slider-description .caption-contain {
  height: auto !important;
  overflow: visible !important;
}

/* Przycisk zgodny z pozostałymi */
#slideshow-form_5846351677680492 .button-slide {
  background: #7a1b11 !important;
  border: 1px solid #7a1b11 !important;
  border-radius: 30px !important;
  padding: 0 !important;
  height: auto !important;
  cursor: pointer;
  text-shadow: none !important;
}

#slideshow-form_5846351677680492 .button-slide .caption-contain {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  min-height: 48px;
  padding: 13px 28px !important;
  background: transparent !important;
  color: #fff !important;
  font-family: 'Rubik', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: nowrap;
  text-shadow: none !important;
}

#slideshow-form_5846351677680492 .button-slide:hover {
  background: #54130c !important;
  border-color: #54130c !important;
}

#slideshow-form_5846351677680492 .button-slide .fas {
  display: none !important;
}

.sidebar #search_filters > section {
    padding: 25px 0 5px;
}

.block-category h1 {
    font-size: 33px;
}

.block-category #category-description p {
    color: #000;
    font-size: 17px;
    line-height: 1.65;
}

.leo-plist-style-9 .thumbnail-container .leo-price-cart .button-container .btn-product span span, 
.leo-plist-style-9 .thumbnail-container .leo-price-cart .button-container .quick-view span span 
.leo-plist-style-9 .thumbnail-container .functional-buttons .btn-product span span,
.leo-plist-style-9 .thumbnail-container .functional-buttons .quick-view span span {
    font-size: 11px;
}

.product-detail-name {
    font-size: 30px;
    color: #7a1b11 !important;
}


/* Masarnia Brzozowiec — dopisz na końcu custom.css motywu. */
/* Pełny opis produktu w zakładce Opis. */
.product-tabs #description .product-description {
  padding: 12px 0 24px;
  color: #333;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
}


.product-tabs #description .product-description h2,
.product-tabs #description .product-description h3,
.product-tabs #description .product-description h4 {
  position: relative;
  margin: 38px 0 20px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid #e8ded9;
  color: #7a1b11;
  font-family: 'Rubik', Arial, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.35;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Krótki bordowy akcent na delikatnej linii. */
.product-tabs #description .product-description h2::after,
.product-tabs #description .product-description h3::after,
.product-tabs #description .product-description h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  background: #7a1b11;
  border-radius: 3px;
}

.product-tabs #description .product-description h2 {
  font-size: 26px;
}

.product-tabs #description .product-description h3 {
  font-size: 21px;
}

.product-tabs #description .product-description h4 {
  font-size: 18px;
}

.product-tabs #description .product-description > :first-child {
  margin-top: 0;
}

.product-tabs #description .product-description p {
  margin: 0 0 20px;
  padding: 0;
  color: #333;
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.product-tabs #description .product-description > h2:first-child + p {
  font-size: 17px;
}

.product-tabs #description .product-description ul,
.product-tabs #description .product-description ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.product-tabs #description .product-description ul {
  list-style: disc outside;
}

.product-tabs #description .product-description ol {
  list-style: decimal outside;
}

.product-tabs #description .product-description li {
  margin-bottom: 9px;
  padding-left: 4px;
  line-height: 1.8;
}

.product-tabs #description .product-description li::marker {
  color: #7a1b11;
}

.product-tabs #description .product-description strong {
  font-weight: 700;
}

.product-tabs #description .product-description a {
  color: #7a1b11;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-tabs #description .product-description a:hover {
  color: #54130c;
}

.product-tabs #description .product-description > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .product-tabs #description .product-description {
    padding: 6px 0 18px;
  }

  .product-tabs #description .product-description h2 {
    font-size: 23px;
  }

  .product-tabs #description .product-description h3 {
    font-size: 20px;
  }

  .product-tabs #description .product-description h2,
  .product-tabs #description .product-description h3,
  .product-tabs #description .product-description h4 {
    margin-top: 30px;
    margin-bottom: 17px;
    padding-bottom: 12px;
  }

  .product-tabs #description .product-description > :first-child {
    margin-top: 0;
  }

  .product-tabs #description .product-description > h2:first-child + p {
    font-size: 16px;
  }
}





/* Masarnia Brzozowiec — dopisz na końcu custom.css motywu. */
/* Pełny opis produktu w zakładce Opis. */
.product-tabs #description .product-description {

  padding: 12px 0 24px;
  color: #333;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.product-tabs #description .product-description h2,
.product-tabs #description .product-description h3,
.product-tabs #description .product-description h4 {
  position: relative;
  margin: 38px 0 20px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid #e8ded9;
  color: #7a1b11;
  font-family: 'Rubik', Arial, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.35;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Krótki bordowy akcent na delikatnej linii. */
.product-tabs #description .product-description h2::after,
.product-tabs #description .product-description h3::after,
.product-tabs #description .product-description h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  background: #7a1b11;
  border-radius: 3px;
}

.product-tabs #description .product-description h2 {
  font-size: 26px;
}

.product-tabs #description .product-description h3 {
  font-size: 21px;
}

.product-tabs #description .product-description h4 {
  font-size: 18px;
}

.product-tabs #description .product-description > :first-child {
  margin-top: 0;
}

.product-tabs #description .product-description p {
  margin: 0 0 20px;
  padding: 0;
  color: #333;
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.product-tabs #description .product-description > h2:first-child + p {
  font-size: 17px;
}

.product-tabs #description .product-description ul,
.product-tabs #description .product-description ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.product-tabs #description .product-description ul {
  list-style: disc outside;
}

.product-tabs #description .product-description ol {
  list-style: decimal outside;
}

.product-tabs #description .product-description li {
  margin-bottom: 9px;
  padding-left: 4px;
  line-height: 1.8;
}

.product-tabs #description .product-description li::marker {
  color: #7a1b11;
}

.product-tabs #description .product-description strong {
  font-weight: 700;
}

.product-tabs #description .product-description a {
  color: #7a1b11;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-tabs #description .product-description a:hover {
  color: #54130c;
}

.product-tabs #description .product-description > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .product-tabs #description .product-description {
    padding: 6px 0 18px;
  }

  .product-tabs #description .product-description h2 {
    font-size: 23px;
  }

  .product-tabs #description .product-description h3 {
    font-size: 20px;
  }

  .product-tabs #description .product-description h2,
  .product-tabs #description .product-description h3,
  .product-tabs #description .product-description h4 {
    margin-top: 30px;
    margin-bottom: 17px;
    padding-bottom: 12px;
  }

  .product-tabs #description .product-description > :first-child {
    margin-top: 0;
  }

  .product-tabs #description .product-description > h2:first-child + p {
    font-size: 16px;
  }
}


/* Masarnia Brzozowiec — karta produktu, Leo Bakevo. */
/* Dopisz po CSS motywu. Reguły nie zmieniają wymiarów wyliczanych przez galerię. */
#main.product-detail {
  --mb-product-accent: #7a1b11;
  --mb-product-hover: #54130c;
  --mb-product-border: #e8ded9;
  --mb-product-soft: #fbf8f5;
}

/* Jedna ramka obejmuje zdjęcie i miniatury, również przy aktywnym Leo Gallery. */
#main.product-detail #content.page-content {
  position: relative;
  box-sizing: border-box;
  padding: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--mb-product-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 25px rgba(70, 35, 20, .045);
}

#main.product-detail #content .product-cover {
  margin-bottom: 0;
  background: #fff;
}

#main.product-detail #content .product-cover img,
#main.product-detail #content #lightSlider > li > img {
  border-radius: 15px !important;
}

#main.product-detail #content #lightSlider > li {
  background: #fff;
}

/* Fontów ikon i mechaniki powiększania zdjęcia nie nadpisujemy. */
#main.product-detail #content .product-flags {
  position: absolute;
  top: 18px;
  left: 18px;
  right: auto;
  bottom: auto;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

#main.product-detail #content .product-flags .product-flag.new {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: auto;
  min-width: 68px;
  height: auto;
  min-height: 31px;
  margin: 0;
  padding: 7px 16px;
  border: 1px solid #7a1b11;
  border-radius: 30px;
  background: #7a1b11;
  color: #fff;
  font-family: 'Rubik', Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: normal !important;
  text-transform: none !important;
  transform: none;
  box-shadow: none;
}

#main.product-detail #content .product-flag.new::before,
#main.product-detail #content .product-flag.new::after {
  content: none;
}

/* Miniatury zachowują wymiary i układ nadane przez moduł galerii. */
#main.product-detail #content .thumb-container > a,
#main.product-detail #content .lSGallery > li > a {
  display: block;
  padding: 3px;
  border: 1px solid var(--mb-product-border);
  border-radius: 15px;
  background: #fff;
}

#main.product-detail #content .thumb-container.active > a,
#main.product-detail #content .lSGallery > li.active > a,
#main.product-detail #content .thumb-container > a:hover,
#main.product-detail #content .lSGallery > li > a:hover {
  border-color: #7a1b11;
}

#main.product-detail .product-detail-name {
  margin: 0 0 22px;
  color: #7a1b11;
  font-family: 'Rubik', Arial, sans-serif !important;
  font-size: clamp(27px, 2.4vw, 36px);
  font-weight: 700 !important;
  line-height: 1.25;
  letter-spacing: normal !important;
  text-transform: none !important;
}

#main.product-detail .product-prices {
  margin: 0 0 24px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--mb-product-border);
}

#main.product-detail .product-prices .current-price-value {
  color: #7a1b11;
  font-family: 'Rubik', Arial, sans-serif !important;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.3;
}

#main.product-detail .tax-shipping-delivery-label {
  margin-top: 7px;
  color: #6d6662;
  font: 400 13px/1.5 'Roboto', Arial, sans-serif;
}

#main.product-detail .description-short {
  margin: 0 0 28px;
  color: #333;
}

#main.product-detail .description-short p {
  margin: 0 0 14px;
  color: inherit;
  font: 400 16px/1.8 'Roboto', Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

#main.product-detail .description-short p:last-child {
  margin-bottom: 0;
}

#main.product-detail .product-add-to-cart .control-label {
  display: block;
  margin-bottom: 12px;
  font: 500 15px/1.5 'Rubik', Arial, sans-serif;
}

#main.product-detail .product-quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

#main.product-detail .product-quantity > .qty,
#main.product-detail .product-quantity > .add {
  float: none;
  margin: 0;
}

#main.product-detail .product-quantity .bootstrap-touchspin {
  box-shadow: none;
}

#main.product-detail #quantity_wanted {
  height: 48px;
  border-color: #d8cac3;
  border-radius: 10px 0 0 10px;
  color: #333;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: none;
}

#main.product-detail #quantity_wanted:focus {
  border-color: #7a1b11;
  outline: 2px solid rgba(122, 27, 17, .18);
  outline-offset: 2px;
}

#main.product-detail .product-quantity .btn-touchspin {
  border-color: #d8cac3;
  background: var(--mb-product-soft);
  color: #7a1b11;
}

#main.product-detail .product-quantity .btn-touchspin:hover {
  background: #f4e8df;
}

#main.product-detail .product-quantity .add-to-cart {
  min-height: 48px;
  height: auto;
  padding: 13px 30px;
  border: 1px solid #7a1b11;
  border-radius: 30px;
  background: #7a1b11;
  color: #fff;
  font: 500 16px/1.3 'Rubik', Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  box-shadow: none;
}

#main.product-detail .product-quantity .add-to-cart:not(:disabled):hover {
  border-color: #54130c;
  background: #54130c;
  color: #fff;
}

#main.product-detail .product-quantity .add-to-cart:disabled {
  opacity: .5;
  cursor: not-allowed;
}

#main.product-detail .product-quantity .add-to-cart::after {
  content: none;
}

#main.product-detail .product-quantity .add-to-cart .shopping-cart {
  display: none;
}

#main.product-detail .product-quantity button:focus-visible,
#main.product-detail .product-tabs .nav-link:focus-visible {
  outline: 2px solid #7a1b11;
  outline-offset: 4px;
}

#main.product-detail .social-sharing {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--mb-product-border);
  color: #6d6662;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Zakładki i dane techniczne. */
#main.product-detail .product-tabs {
  margin-top: 10px;
}

#main.product-detail .product-tabs > .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--mb-product-border);
}

#main.product-detail .product-tabs > .nav-tabs .nav-item {
  float: none;
  margin: 0;
}

#main.product-detail .product-tabs > .nav-tabs .nav-link {
  margin: 0 0 -1px;
  padding: 14px 0;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #5b504a;
  font: 500 25px/1.4 'Rubik', Arial, sans-serif;
  text-decoration: none;
  letter-spacing: normal !important;
  text-transform: none !important;
}

#main.product-detail .product-tabs > .nav-tabs .nav-link.active,
#main.product-detail .product-tabs > .nav-tabs .nav-link:hover {
  border-bottom-color: #7a1b11;
  color: #7a1b11;
}

#main.product-detail .product-tabs > .nav-tabs .nav-link::after {
  content: none;
}

#main.product-detail #product-details .data-sheet {
  display: grid;
  grid-template-columns: minmax(140px, 34%) minmax(0, 1fr);
  margin: 18px 0 30px;
  border: 1px solid var(--mb-product-border);
  border-radius: 15px;
  overflow: hidden;
}

#main.product-detail #product-details .data-sheet dt,
#main.product-detail #product-details .data-sheet dd {
  float: none;
  width: auto;
  margin: 0;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--mb-product-border);
  font: 400 15px/1.6 'Roboto', Arial, sans-serif;
  overflow-wrap: anywhere;
}

#main.product-detail #product-details .data-sheet dt {
  background: var(--mb-product-soft);
  color: #7a1b11;
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 500;
}

#main.product-detail #product-details .data-sheet dd {
  background: #fff;
  color: #333;
}

#main.product-detail #product-details .data-sheet dt:nth-last-child(2),
#main.product-detail #product-details .data-sheet dd:last-child {
  border-bottom: 0;
}

@media (max-width: 767px) {
  #main.product-detail #content.page-content {
    padding: 12px;
    margin-bottom: 28px;
  }

  #main.product-detail .product-detail-name {
    margin-bottom: 18px;
    font-size: 28px;
  }

  #main.product-detail .product-prices {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  #main.product-detail .product-tabs {
    margin-top: 24px;
  }

  #main.product-detail .product-tabs > .nav-tabs {
    gap: 8px 20px;
  }

  #main.product-detail .product-tabs > .nav-tabs .nav-link {
    font-size: 16px;
  }

  #main.product-detail #product-details .data-sheet dt,
  #main.product-detail #product-details .data-sheet dd {
    padding: 12px;
    font-size: 14px;
  }
}


#main.product-detail .product-tabs .tab-content {
    padding: 20px 0 10px;
}

@media (max-width: 380px) {
  #main.product-detail .product-quantity > .add {
    width: 100%;
  }

  #main.product-detail .product-quantity .add-to-cart {
    width: 100%;
  }

  #main.product-detail #product-details .data-sheet {
    grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
  }
}
