@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

@media (min-width: 769px) {
  .hide_above_768 {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hide_below_768 {
    display: none !important;
  }
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  --mb-main-color: #F37021;
  --mb-main-color-hover: #EF6009;
  --btn-dark: #222222;
  --btn-dark-hover: #000000;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  font-family: "Montserrat", sans-serif;
  background-color: var(--bakery-cream);
}

#page.site {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

:root {
  --cc-text: black;
  --cc-btn-primary-bg: var(--mb-main-color);
  --cc-btn-primary-hover-bg: var(--mb-main-color-hover);
  --bakery-orange: #F37021;
  --bakery-orange-dark: #EF6009;
  --bakery-ink: #1a1108;
  --bakery-ink-hover: var(--btn-dark-hover);
  --bakery-cream: #fff8ee;
  --bakery-dot-color: rgba(0, 0, 0, 0.18);
  --bg-orange: #F37021;
  --bg-white: #fff;
}

a {
  color: inherit;
  outline: none;
  text-decoration: none;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1320px;
  width: calc(100% - 80px);
  margin: 0 auto;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

/* Header start */
:root {
  --topheader-sticky-height: 58px;
}

.site-header {
  position: sticky;
  /* Above main content (e.g. hb-design 3D cards); below .topheader */
  z-index: 1010;
  top: var(--topheader-sticky-height, 58px);
}

/* Only #masthead is sticky. Inner sticky + top:0 pinned the bar to the viewport
   and overlapped .topheader; keep this wrapper in normal flow. */
.header_outside_wrapper {
  width: 100%;
  position: relative;
  transition: ease-in-out 0.3s;
}

/* Keep hero / main below the sticky header stack (avoids hb-design painting over #masthead). */
#primary.site-main {
  position: relative;
  z-index: 0;
}

.header_wrapper {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
}

.header_logo {
  max-width: 323px;
}

.header_navigation_wrapper {
  /* padding-left: 10%; */
  -webkit-box-flex: 1;-ms-flex: 1;flex: 1;
}

.header_navigation_wrapper ul {
  display: flex;
  gap: 50px;
}

.header_navigation_wrapper ul li a {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: white;
  position: relative;
  text-decoration: none;
  transition: ease-in-out 0.3s;
}

.header_navigation_wrapper ul li a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: white;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.header_navigation_wrapper ul li a:hover::before {
  transform: scaleX(1);
}



div.header_language_wrapper ul {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

div.header_language_wrapper ul li a {
  width: 34px;
  height: 34px;
  border: 2px solid #c8d0d6;
  background: white;
  font-size: 16px;
  line-height: 19px;
  color: #707070;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.2s;
}

div.header_language_wrapper ul li.wpml-ls-current-language a {
  border: 2px solid var(--mb-main-color);
  background: var(--mb-main-color);
  color: white;
}

div.header_language_wrapper ul li a:hover {
  border: 2px solid var(--mb-main-color);
  background: var(--mb-main-color);
  color: white;
}

.header_language_wrapper .wpml-ls-legacy-list-horizontal {
  padding: 0;
  border: none;
}

.header-bg {
  background: #F3EDE4;
  /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
}

.header-bg .header_navigation_wrapper ul li a {
  color: #64564F;
}

.header-bg .header_navigation_wrapper ul li a::before {
  background-color: black;
}

.header_logo img {
  /* height: 105px; */
  width: 100%;
}

.topheader {
  background: var(--bg-orange);
  padding: 17px 0px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

@media (max-width: 768px) {
  :root {
    /* Match real bar height (padding + line); 48px was too short and caused overlap */
    --topheader-sticky-height: 58px;
  }
}

/* Smart sticky header on mobile: keep .topheader and .site-header sticky as
   usual, but hide the whole header stack while the user scrolls down and slide
   it back into view when the user scrolls up. Body gets `.is-header-hidden`
   from JS; the CSS only takes effect on mobile widths. */
@media (max-width: 1199px) {
  .topheader,
  .site-header {
    transition: transform 0.3s ease;
    will-change: transform;
  }

  body.is-header-hidden .topheader {
    transform: translateY(-100%);
  }

  body.is-header-hidden .site-header {
    transform: translateY(
      calc(-100% - var(--topheader-sticky-height, 58px))
    );
  }
}

.topheader p {
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin-bottom: 0px;
  color: var(--bg-white);
}

.h-phone a {
  width: 130px;
  height: 55px;
  background: var(--bg-orange);
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  grid-gap: 6px;
  color: #fff;
  transition: background-color 0.2s ease;
}

.h-phone a:hover {
  background: var(--mb-main-color-hover);
}

.header_wrapper .right-sec {
  display: flex;
  align-items: center;
  grid-gap: 40px;
}

.header_navigation_wrapper > div {
  display: table;
  margin: 0 auto;
}

.header_wrapper .right-sec .custom-cart {
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    font-size: 20px;
}

.header_wrapper .right-sec .cart-icon {
    font-size: 28px;
}

.header_wrapper .right-sec .cart-count {
    position: absolute;
    top: -12px;
    left: 15px;
    background: var(--bg-orange);
    color: var(--bg-white);
    font-size: 12px;
    border-radius: 50%;
    padding: 0;
    width: 24px;
    height: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 600;
    font-size: 10px;
}

.header_wrapper .right-sec .cart-total {
    font-size: 14px;
    font-weight: 600;
}
.header_wrapper .right-sec .woocommerce-Price-currencySymbol {
  display: none;
}

div.header_language_wrapper.new-wrp .custom-lang-switcher {
  position: relative;
  display: inline-block;
}

div.header_language_wrapper.new-wrp .lang-current {
  background: var(--btn-dark);
  color: #fff;
  height: 55px;
  padding: 0 28px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

div.header_language_wrapper.new-wrp .lang-current:hover {
  background: var(--btn-dark-hover);
}

div.header_language_wrapper.new-wrp .lang-current .arrow {
  font-size: 14px;
}

div.header_language_wrapper.new-wrp .lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  border-radius: 20px;
  padding: 10px;
  display: none;
  list-style: none;
  width: 100%;
}

div.header_language_wrapper.new-wrp .lang-dropdown li {
  margin: 5px 0;
}

div.header_language_wrapper.new-wrp .lang-dropdown a {
  text-decoration: none;
  font-weight: 500;
}

div.header_language_wrapper.new-wrp ul li a {
  width: 100%;
  border: 2px solid transparent;
  background: transparent;
  color: #fff;
}
div.header_language_wrapper ul li a:hover {
  background: transparent !important;
  border: none !important;
  color: #F37021 !important;
}

/* Header end */

.home_slider_block {
  width: 100%;
  height: 720px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.home_slider_text_part {
  padding-top: 244px;
  max-width: 482px;
}

.home_slider_text_part h1 {
  font-size: 66px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  line-height: 89px;
  margin: 0 0 40px 0;
  color: var(--mb-main-color);
  position: relative;
  left: -200px;
  opacity: 0;
}

.home_slider_text_part p {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: white;
  position: relative;
  left: -300px;
  opacity: 0;
}

.home_slider_text_part p a {
  display: inline-block;
  font-weight: 600;
  color: var(--mb-main-color);
}

.home_slider_text_part p a:hover {
  text-decoration: underline;
}

.home_btn {
  padding: 15px 72px 15px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: black;
  position: relative;
  background: white;
  margin: 40px 0 0 0;
  border-radius: 5px;
  display: inline-block;
  bottom: -200px;
  opacity: 0;
}

.home_btn::after {
  content: url("/wp-content/uploads/2022/09/orange-arrow-down.svg");
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
}

.home_btn:hover::after {
  -webkit-animation-name: vert-hang;
  animation-name: vert-hang;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
}

@keyframes vert-hang {
  0% {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  10% {
    -webkit-transform: translateY(-60%);
    transform: translateY(-60%);
  }

  50% {
    -webkit-transform: translateY(-15%);
    transform: translateY(-15%);
  }

  100% {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

.home_slider_block .container {
  display: flex;
  position: relative;
}

.home_slider_image_part {
  padding: 145px 0 0 128px;
  position: relative;
  height: 669px;
  width: 624px;
}

.home_slider_nav {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
  top: 50%;
  right: 0;
}

.home_slider_box {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
  height: 26px;
}

.home_slider_box p {
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: white;
  transition: ease-in-out 0.4s;
}

.home_slider_box div {
  width: 15px;
  height: 15px;
  border: 1px solid #707070;
  background-color: white;
  border-radius: 50%;
  transition: ease-in-out 0.4s;
}

.sb_active div {
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--mb-main-color);
  background-color: var(--mb-main-color);
}

.sb_active p {
  color: var(--mb-main-color);
}

.home_produkti_block {
  overflow: hidden;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.home_produkti_block h2 {
  font-size: 34px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
  font-optical-sizing: auto;
  line-height: 77px;
  color: var(--mb-main-color);
  margin: 30px 0 20px 0;
  text-align: left;
}

.home_produkti_block h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  color: black;
  margin: 0 0 22px 0;
  text-align: left;
}

.home_produkti_wrap {
  background: #ffffff 0% 0% no-repeat padding-box;
  border-radius: 5px;
}

.home_produkti_upper.carousel {
  height: 173px;
  margin: 0;
  display: flex;
}

.product_category_box img {
  width: 80px;
  height: 80px;
}

.home_produkti_upper .product_category_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  width: 146.5px;
  max-width: 146.5px;
  height: 171px;
  padding: 20px 0 0 0;
}

.product_category_box p {
  font-size: 15px;
  font-weight: 600;
  line-height: 16px;
  color: black;
  margin-top: auto;
  padding-bottom: 12px;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  max-width: 94%;
}

.pcb_active {
  border-bottom: 4px solid var(--mb-main-color);
}

.pcb_active p {
  margin-bottom: -4px;
}

.product_category_box:hover:not(.pcb_active) p {
  color: var(--mb-main-color);
}

.home_produkti_lower > div {
  padding: 56px 0 72px 0;
}

.home_produkti_tab {
  height: 540px;
}

.home_produkti_row {
  padding: 0 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 84px 20px;
}

.home_produkti_row:nth-child(2) {
  padding-top: 84px;
}

@media (min-width: 1000px) {
  .home_produkti_tab .product_box:nth-child(4),
  .home_produkti_tab .product_box:nth-child(5),
  .home_produkti_tab .product_box:nth-child(6) {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
}

.product_box {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: default;
}

.product_box_title {
  font-size: 16px;
  font-weight: 600;
  line-height: 23px;
  color: black;
  margin: 0 0 12px 0;
}

.product_box_price {
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  color: black;
}

.product_box_description {
  font-size: 13px;
  font-weight: 400;
  line-height: 15px;
  color: black;
  margin: 9px 0 0 0;
  max-width: 170px;
}

.product_box_text {
  width: 170px;
}

.product_box_image {
  width: 180px;
  height: 170px;
}

.product_box_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1600px) {
  .product_box_image {
    flex-shrink: 0;
  }
}

.home_produkti_pagination {
  height: 151px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination_wrap {
  display: flex;
  gap: 2px;
}

.pagination_box {
  width: 28px;
  height: 28px;
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: ease-in-out 0.2s;
}

.pagination_box:hover {
  color: white;
  background: var(--mb-main-color);
}

.pagination_active {
  color: white;
  background: var(--mb-main-color);
}

/* ── Product category showcase (design: sidebar + 3-col grid) ── */
.product-showcase-section {
  --pcb-orange: var(--mb-main-color, #f37021);
  --pcb-page-bg: #f4f1eb;
  --pcb-card-tan: #e5d9c5;
  --pcb-text-muted: #8c8c8c;
  --pcb-text-body: #5a5a5a;
  --pcb-border: #e4e4e4;
  position: relative;
}

.product-showcase-section__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.product-showcase-section__head {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.product-showcase-section__title {
  margin: 0 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(28px, 4vw, 46px);
}

.product-showcase-section__title-line {
  display: block;
}

.product-showcase-section__title-accent {
  color: var(--pcb-orange);
}

.product-showcase-section__title-sep {
  color: var(--pcb-orange);
  font-weight: 700;
}

.product-showcase-section__title-sub {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.02em;
}

.product-showcase-section__lead {
  margin: 0;
  max-width: 52em;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--pcb-text-body);
  text-align:left;
}

.product-showcase-section__layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 56px);
}

.product-showcase-section__sidebar {
  flex: 0 0 26%;
  max-width: 320px;
  min-width: 220px;
}

.product-showcase-section__sidebar-heading {
  margin: 0 0 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #000000;
  text-transform: uppercase;
}

.product-showcase-section__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--pcb-border);
}

.product-showcase-section__nav-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--pcb-border);
}

.product-showcase-section__nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-showcase-section__nav-link {
  display: block;
  flex: 1 1 auto;
  padding: 18px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-showcase-section__nav-link:hover {
  color: var(--pcb-orange);
}

.product-showcase-section__nav-link.is-active {
  color: var(--pcb-orange);
  font-weight: 600;
}

.product-showcase-section__nav-toggle {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  position: relative;
  cursor: pointer;
  color: #000000;
  transition: color 0.2s ease;
}

.product-showcase-section__nav-toggle:hover {
  color: var(--pcb-orange);
}

.product-showcase-section__nav-toggle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.product-showcase-section__nav-toggle-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 14px;
  background-color: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: opacity 0.15s ease;
}

.product-showcase-section__nav-item--has-children.is-open
  > .product-showcase-section__nav-row
  .product-showcase-section__nav-toggle-icon::before {
  opacity: 0;
}

.product-showcase-section__nav-children {
  display: flex;
  flex-direction: column;
  padding: 0 0 8px 16px;
}

.product-showcase-section__nav-children[hidden] {
  display: none;
}

.product-showcase-section__nav-children .product-showcase-section__nav-item {
  border-bottom: 0;
}

.product-showcase-section__nav-children .product-showcase-section__nav-link {
  padding: 10px 0;
  font-size: 16px;
}

/* Mobile-only "subcategory" strip. Hidden on desktop (tree handles children). */
.product-showcase-section__nav-subnav {
  display: none;
}

.product-showcase-section__main {
  flex: 1;
  min-width: 0;
  position: relative;
}

.product-showcase-section__loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  z-index: 3;
  pointer-events: none;
}

.product-showcase-section__main.is-loading .product-showcase-section__loader {
  display: flex;
}

.product-showcase-section__loader img {
  display: block;
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
}

.product-showcase-section__card-zoom {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: inherit;
  overflow: hidden;
}

.product-showcase-section__card-title-link {
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}

.product-showcase-section__card-title-link:hover {
  color: var(--pcb-orange);
}

/* Product showcase detail popup (Magnific inline) */
.pcb-mfp .mfp-content {
  max-width: 920px;
  margin: 32px auto;
}

.pcb-popup {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.pcb-popup__dialog {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
  position: relative;
}

.pcb-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

.pcb-popup__layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 360px;
}

.pcb-popup__media {
  flex: 0 0 44%;
  max-width: 44%;
  background: transparent;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  position: relative;
}

.pcb-popup__media .pcb-popup__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  right: auto;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.pcb-popup__media .pcb-popup__badge--new {
  background: var(--pcb-orange);
}

.pcb-popup__media .pcb-popup__badge--featured {
  background: #111217;
}

.pcb-popup__img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}

.pcb-popup__body {
  flex: 1;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px) 28px;
  overflow: auto;
  max-height: min(88vh, 720px);
}

.pcb-popup__cat {
  margin: 0 0 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--pcb-text-muted);
}

.pcb-popup__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 14px;
}

.pcb-popup__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  flex: 1 1 200px;
  min-width: 0;
}

.pcb-popup__unit-price {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--mb-main-color);
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
  padding: 8px 14px;
  line-height: 1.25;
}

#pcb-product-popup .pcb-popup__unit-price,
#pcb-product-popup .pcb-popup__unit-price * {
  color: var(--mb-main-color) !important;
}

.pcb-popup__unit-price .woocommerce-Price-amount {
  color: inherit !important;
}

.pcb-popup__unit-price .pcb-popup__price-suffix {
  color: inherit !important;
  font-weight: 700;
}

.pcb-popup__desc {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pcb-text-body);
  margin-bottom: 16px;
}

.pcb-popup__desc p {
  margin: 0 0 0.75em;
}

.pcb-popup__label {
  margin: 0 0 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
}

.pcb-popup__label--allergen {
  color: var(--pcb-orange);
}

.pcb-popup__ingredients {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 14px;
  color: var(--pcb-text-body);
}

.pcb-popup__allergen-section {
  margin-bottom: 16px;
  color: var(--mb-main-color);
}

.pcb-popup__allergen-section .pcb-popup__label--allergen {
  margin-bottom: 8px;
}

.pcb-popup__allergen {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 0;
  color: var(--pcb-text-body);
}

.pcb-popup__allergen-link {
  color: inherit;
  text-decoration: none;
}

.pcb-popup__allergen-link:hover,
.pcb-popup__allergen-link:focus {
  color: var(--mb-main-color-hover);
  text-decoration: underline;
}

.pcb-popup__sastavs-section.is-empty,
.pcb-popup__allergen-section.is-empty {
  display: none;
}

.pcb-popup__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 4px;
}

.pcb-popup__qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  padding: 5px 10px 5px 6px;
  background: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.pcb-qty-minus,
.pcb-qty-plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #333333;
  border: none;
}

.pcb-qty-minus:hover,
.pcb-qty-plus:hover {
  border-color: var(--pcb-orange);
  background: rgba(243, 112, 33, 0.08);
  color: var(--pcb-orange);
}

.pcb-qty-val {
  min-width: 2.5ch;
  text-align: center;
}

.pcb-qty-suffix {
  font-weight: 500;
  color: #555;
}

#pcb-product-popup .pcb-popup__add,
.pcb-popup__add.pcb-popup__add-submit {
  flex: 1 1 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 20px;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: none !important;
  background: var(--mb-main-color) !important;
  background-image: none !important;
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
}

#pcb-product-popup .pcb-popup__add:hover,
#pcb-product-popup .pcb-popup__add:focus,
.pcb-popup__add.pcb-popup__add-submit:hover,
.pcb-popup__add.pcb-popup__add-submit:focus {
  background: var(--mb-main-color-hover) !important;
  filter: none;
  color: #ffffff !important;
}

.pcb-popup__add img {
  flex-shrink: 0;
}

.pcb-popup__add:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pcb-allergen-mfp .mfp-content {
  max-width: 1160px;
}

.pcb-allergen-popup {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.pcb-allergen-popup__dialog {
  overflow: visible;
  position: relative;
}

.pcb-allergen-popup__layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: 24px 0;
}

.pcb-allergen-popup__left {
  min-width: 0;
  padding-top: 8px;
}

.pcb-allergen-popup__right {
  min-width: 0;
  margin-top: 96px;
}

.pcb-allergen-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 100%;
  max-height: 416px;
  border-radius: 16px;
  overflow: visible;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pcb-allergen-product__visual {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
}

.pcb-allergen-product__img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pcb-allergen-popup__title {
  margin: 0 0 60px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 700;
  color: #111;
}

.pcb-allergen-page__intro {
  margin: 0 0 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.pcb-allergen-popup__content {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-height: none;
  overflow: visible;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 30px;
  color: #222;
}

.pcb-allergen-popup__empty {
  margin: 0;
  color: #777;
}

.pcb-allergen-card {
  background: #fff;
  border-radius: 0 16px 16px 0;
  padding: 12px 16px;
  box-shadow: none;
  min-width: 0;
  min-height: 416px;
  display: flex;
  flex-direction: column;
}

.pcb-allergen-card__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 0 10px 0 20px;
}

.pcb-allergen-card__cat {
  margin: 0 0 4px;
  font-size: 12px;
  color: #7a7a7a;
  text-transform: lowercase;
}

.pcb-allergen-card__headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 14px;
}

.pcb-allergen-card__name {
  margin: 0;
  font-size: 18px;
  line-height: 100%;
  font-weight: 700;
  flex: 1;
  min-width: 0;
}

.pcb-allergen-card__price {
  color: var(--mb-main-color);
  font-weight: 600;
  margin-bottom: 0;
  font-size: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pcb-allergen-card__price * {
  color: inherit !important;
}

.pcb-allergen-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pcb-allergen-card__desc p {
  margin: 0;
}

.pcb-allergen-card__ingredients,
.pcb-allergen-card__allergen {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: #333;
}

.pcb-allergen-card__allergen {
  color: var(--mb-main-color);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.pcb-allergen-card__footer {
  margin-top: auto;
}

.pcb-allergen-card__footer .pcb-popup__qty {
  min-width: 108px;
}

.pcb-allergen-card__add {
  min-width: 180px;
  min-height: 42px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
}

.pcb-allergen-page__codes {
  max-width: none;
  width: 100%;
  max-width: 100%;
  padding: 22px 0 0;
}

.pcb-allergen-page__codes h3 {
  margin: 0 0 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
}

.pcb-allergen-page__codes p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.5 !important;
  color: #333;
}

@media (max-width: 1240px) {
  .pcb-allergen-popup__layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .pcb-allergen-product {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    min-height: 416px;
    margin-left: 0;
  }

  .pcb-allergen-product__visual {
    height: 416px;
  }

  .pcb-allergen-card__name {
    font-size: 22px;
  }

  .pcb-allergen-card__price {
    font-size: 18px;
  }
}

@media (max-width: 1450px) {
  .pcb-allergen-popup__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .pcb-allergen-popup__left {
    max-width: none;
  }

  .pcb-allergen-product,
  .pcb-allergen-page__codes {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .pcb-allergen-product {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr 1fr;
  }

  .pcb-allergen-product__visual,
  .pcb-allergen-card {
    height: 360px;
  }

  .pcb-allergen-page__codes {
    padding-top: 8px;
  }
}

@media (max-width: 720px) {
  /* Narrower modal + side breathing room (matches reference phone layout) */
  .pcb-mfp .mfp-content {
    max-width: none;
    width: calc(100% - 24px);
    margin: 12px auto;
    padding: 0;
  }

  .pcb-popup {
    max-width: 100%;
  }

  .pcb-popup__dialog {
    border-radius: 18px;
  }

  .pcb-popup__close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .pcb-popup__layout {
    flex-direction: column;
    min-height: 0;
  }

  .pcb-popup__media {
    flex: none;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: min(38vh, 280px);
  }

  .pcb-popup__img {
    max-height: min(38vh, 280px);
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .pcb-popup__body {
    max-height: min(52vh, 480px);
    overflow-y: auto;
    padding: 14px 16px 16px;
    -webkit-overflow-scrolling: touch;
  }

  .pcb-popup__headline {
    gap: 8px 12px;
    margin-bottom: 10px;
  }

  .pcb-popup__title {
    font-size: 1.125rem;
    flex: 1 1 140px;
  }

  .pcb-popup__unit-price {
    font-size: 14px;
    padding: 6px 10px;
  }

  .pcb-popup__desc {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .pcb-popup__ingredients,
  .pcb-popup__allergen {
    font-size: 12px;
  }

  .pcb-popup__allergen-section {
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  .pcb-popup__footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
    margin-top: 14px;
    padding-top: 2px;
  }

  .pcb-popup__qty {
    grid-column: 1;
    grid-row: 1;
    flex: none;
    justify-content: center;
    gap: 6px;
    padding: 4px 8px 4px 6px;
    font-size: 13px;
  }

  .pcb-qty-minus,
  .pcb-qty-plus {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }

  #pcb-product-popup .pcb-popup__add,
  .pcb-popup__add.pcb-popup__add-submit {
    grid-column: 2;
    grid-row: 1;
    flex: none;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    max-height: 44px;
    padding: 8px 12px;
    font-size: 14px;
    gap: 6px;
    border-radius: 999px;
  }

  .pcb-popup__footer .added_to_cart,
  .pcb-popup__footer a.added_to_cart.wc-forward {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: static !important;
    display: block;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--mb-main-color, #f37021) !important;
    text-decoration: underline;
  }

  .pcb-popup__footer .added_to_cart:hover,
  .pcb-popup__footer a.added_to_cart.wc-forward:hover {
    color: var(--mb-main-color-hover, #ef6009) !important;
  }

  #pcb-product-popup .pcb-popup__add img,
  .pcb-popup__add.pcb-popup__add-submit img {
    width: 18px;
    height: 18px;
  }

  .pcb-popup__add-sep {
    flex-shrink: 0;
  }

  .pcb-popup__add-total {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .pcb-allergen-mfp .mfp-content {
    width: calc(100% - 20px);
    max-width: none;
  }

  .pcb-allergen-popup__layout {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .pcb-allergen-product {
    grid-template-columns: 1fr;
    border-radius: 12px;
    width: 100%;
    height: auto;
  }

  .pcb-allergen-product__visual {
    height: 220px;
    padding: 12px;
    border-radius: 12px 12px 0 0;
  }

  .pcb-allergen-product__img {
    width: 100%;
    height: auto;
    max-width: min(100%, 220px);
    max-height: 200px;
  }

  .pcb-allergen-card {
    border-radius: 0 0 12px 12px;
    height: auto;
  }

  .pcb-allergen-card__name {
    font-size: 18px;
  }

  .pcb-allergen-card__headline {
    flex-direction: column;
  }

  .pcb-allergen-card__price {
    font-size: 16px;
  }

  .pcb-allergen-card__footer {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .pcb-allergen-card__add {
    min-width: 0;
    flex: 1 1 auto;
  }

  .pcb-allergen-page__codes {
    padding: 0 12px 16px;
  }

  .pcb-allergen-page__codes h3 {
    font-size: 24px;
  }
}

.product-showcase-section__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.product-showcase-section__card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
}

.product-showcase-section__card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--pcb-card-tan);
  border-radius: 20px 20px 0 0;
}

.product-showcase-section__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  pointer-events: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
  max-width: calc(100% - 28px);
  text-align: center;
}

.product-showcase-section__badge--new {
  background: var(--pcb-orange);
}

.product-showcase-section__badge--featured {
  background: #111217;
}

.product-showcase-section__card-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-showcase-section__card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.product-showcase-section__card-cat {
  margin: 0 0 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--pcb-text-muted);
  line-height: 1.3;
}

.product-showcase-section__card-title {
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #000000;
}

.product-showcase-section__card-desc {
  margin: 0 0 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--pcb-text-body);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.product-showcase-section__card-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-showcase-section__card-price {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pcb-orange);
}

.product-showcase-section__card-price .woocommerce-Price-amount,
.product-showcase-section__card-price .amount {
  color: var(--pcb-orange);
}

.product-showcase-section__price-unit {
  font-size: 16px;
  font-weight: 600;
}

.product-showcase-section__add-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pcb-orange);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  border: none !important;
  box-shadow: none !important;
  min-width: 44px;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.product-showcase-section__add-btn img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
}

.product-showcase-section__add-btn:hover {
  background: var(--mb-main-color-hover);
  opacity: 1;
  transform: scale(1.04);
}

.product-showcase-section__add-btn.add_to_cart_button::after {
  display: none !important;
}

.product-showcase-section__add-btn--view {
  text-decoration: none;
}

.product-showcase-section__empty {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: var(--pcb-text-body);
  margin: 0;
}

@media (max-width: 1199px) {
  .product-showcase-section__layout {
    flex-direction: column;
    align-items: stretch;
  }

  .product-showcase-section__main {
    width: 100%;
    max-width: 100%;
  }

  .product-showcase-section__sidebar {
    max-width: none;
    width: 100%;
    min-width: 0;
  }

  .product-showcase-section__sidebar-heading {
    text-align: center;
  }

  .product-showcase-section__nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px 10px;
    border-top: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* Hidden until user scrolls the strip (.pcb-nav--has-been-scrolled from JS). */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 4px 4px 0;
    margin: 0;
    overscroll-behavior-x: contain;
    background-color: #fff;
    border-radius: 20px;
  }

  .product-showcase-section__nav::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }

  .product-showcase-section__nav.pcb-nav--has-been-scrolled {
    scrollbar-width: thin;
  }

  .product-showcase-section__nav.pcb-nav--has-been-scrolled::-webkit-scrollbar {
    display: block;
    height: 6px;
  }

  .product-showcase-section__nav.pcb-nav--has-been-scrolled::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
  }

  .product-showcase-section__nav.pcb-nav--has-been-scrolled::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 4px;
  }

  /* Tree wrappers collapse on mobile so each <a> participates directly in
     the horizontal pill strip. */
  .product-showcase-section__nav-item,
  .product-showcase-section__nav-row {
    display: contents;
  }

  /* Children of a top-level parent are shown in a dedicated mobile sub-strip,
     not inline with the parent strip. */
  .product-showcase-section__nav-children {
    display: none !important;
  }

  .product-showcase-section__nav-toggle {
    display: none;
  }

  .product-showcase-section__nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    border-bottom: none;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 999px;
    font-weight: 500;
    color: #1a1108;
  }

  .product-showcase-section__nav-link:hover {
    color: var(--pcb-orange);
  }

  .product-showcase-section__nav-link.is-active {
    background: var(--pcb-orange);
    color: #ffffff;
    font-weight: 600;
  }

  /* Mobile subcategory strip (populated by JS for the active top-level parent).
     The white background hugs the actual pills (one wide for a single subcategory,
     wider as more subcategories appear), and only horizontally scrolls when the
     total content exceeds the sidebar width. */
  .product-showcase-section__nav-subnav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px 10px;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px;
    margin: 8px 0 0;
    overscroll-behavior-x: contain;
    background-color: #fff;
    border-radius: 20px;
  }

  .product-showcase-section__nav-subnav[hidden] {
    display: none;
  }

  .product-showcase-section__nav-subnav::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }

  .product-showcase-section__nav-subnav.pcb-nav--has-been-scrolled {
    scrollbar-width: thin;
  }

  .product-showcase-section__nav-subnav.pcb-nav--has-been-scrolled::-webkit-scrollbar {
    display: block;
    height: 6px;
  }

  .product-showcase-section__nav-subnav.pcb-nav--has-been-scrolled::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
  }

  .product-showcase-section__nav-subnav.pcb-nav--has-been-scrolled::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 4px;
  }

  .product-showcase-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  /* Not a .container — needs its own gutters (Figma mobile inset) */
  .product-showcase-section__container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .product-showcase-allergeni-section__container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .product-showcase-section__grid {
    grid-template-columns: 1fr;
  }
}

.home_kafejnicas_block {
  padding: 50px 0;
  position: relative;
}

.home_kafejnicas_block .container {
  display: flex;
  gap: 20px;
  height: 532px;
  max-width: 1320px;
  width: calc(100% - 80px);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.kafejnicas_left {
  background: white;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  max-width: 385px;
}

.kafejnicas_l_upper {
  height: 89px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e4e7ea;
}

.kafejnicas_l_upper h3 {
  font-size: 34px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  line-height: 41px;
  color: var(--mb-main-color);
  padding-left: 24px;
  margin: 0;
}

.kafejnicas_l_lower {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kafejnicas_adress {
  font-weight: 500;
  line-height: 19px;
  color: black;
  transition: ease-in-out 0.2s;
  max-width: initial;
}

.kb_active .kafejnicas_adress {
  color: var(--mb-main-color);
}

.kafejnicas_box_right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 106px;
}

.home_kafejnicas_block > .container > .kafejnicas_right {
  background: #000000;
  border-radius: 20px;
  padding: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 40px;
}

/* All branch tab panels — was mistakenly scoped to .kafejnica_r_1 only, which broke tabs 2+. */
.home_kafejnicas_block > .container > .kafejnicas_right .kafejnica_branch_panel {
  /* display:flex is re-applied in JS on tab switch (fadeIn() would set display:block) */
  display: flex;
  width: 50%;
  max-width: 50%;
  min-width: 0;
  box-sizing: border-box;
  background: transparent;
}
.home_kafejnicas_block .kafejnicas_right #map {
  overflow: hidden;
  width: 50%;
  max-width: 50%;
  min-width: 0;
  position: relative;
  height: 100%;
  border-radius: 12px;
}
.home_kafejnicas_block > .container > .kafejnicas_right .kafejnica_branch_panel > .kafejnica_right {
  display: none;
}
.home_kafejnicas_block > .container > .kafejnicas_right .kafejnica_branch_panel > .kafejnica_left {
  width: 100%;
}
.home_kafejnicas_block .kafejnicas_left {
  background: transparent;
}

.home_kafejnicas_block .kafejnicas_left_column {
  display: flex;
  flex-direction: column;
  max-width: 385px;
  width: 100%;
  min-width: 0;
  height: 100%;
  align-self: stretch;
  box-sizing: border-box;
}

.home_kafejnicas_block .kafejnicas_left_column .kafejnicas_left {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
}

.home_kafejnicas_block .kafejnicas_l_upper {
  border-bottom: 0px;
}
.home_kafejnicas_block .kafejnicas_l_upper h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 30px;
  padding-left: 0px;
  color: #000;
  line-height: 1;
}
.home_kafejnicas_block .kafejnicas_l_lower {
  padding: 0px;
  gap: 0px;
}
.home_kafejnicas_block .kafejnicas_adress {
  font-weight: 400;
  font-size: 18px;
  padding: 20px 0px;
  width: 100%;
  transition: background-color 0.45s ease, color 0.45s ease, padding 0.45s ease;
}
.home_kafejnicas_block .kafejnica_branch_panel {
  transition: opacity 0.45s ease;
}
.home_kafejnicas_block .kafejnicas_right #map {
  transition: opacity 0.45s ease;
}
.home_kafejnicas_block .kafejnica_left_content {
  padding: 0px;
  min-width: 0;
}
.home_kafejnicas_block .kafejnica_left h6 {
  color: #ffffff;
  font-weight: 700;
}
.home_kafejnicas_block .kafejnicas_box.kb_active .kafejnicas_adress {
  background: #000;
  color: var(--bg-white);
  padding-left: 25px;
  padding-right: 25px;
  text-decoration: underline;
  border-radius: 15px 0px 0px 15px;
}
.home_kafejnicas_block > .container {
  gap: 0px;
}
.home_kafejnicas_block .kafejnica_left_image {
  margin-bottom: 20px;
}
.home_kafejnicas_block .kafejnica_left_image img {
  border-radius: 12px;
}
.waze-btn {
  background: #F6F1EA;
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  color: #000 !important;
}
.kafejnica_location .waze-btn img, .kafejnica_location .gmaps-btn img {
  width: auto !important;
  height: 30px;
}
.gmaps-btn {
  background: var(--bg-orange);
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  color: var(--bg-white) !important;
  transition: background-color 0.2s ease;
}

.gmaps-btn:hover {
  background: var(--mb-main-color-hover);
}
.mob-num {
  color: #8b8c8e !important;
}

.kafejnicas_light {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ab739;
}

.kafejnicas_work_time {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: black;
}

.kafejnicas_box {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.kafejnicas_box:hover .kafejnicas_adress {
  color: var(--mb-main-color);
}

.kafejnicas_right {
  background: white;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.kafejnica_left_content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 10px 24px 24px;
  height: 310px;
}

.kafejnica_info_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* WYSIWYG branch timings: avoid clipping and cramped lines on all tabs */
.home_kafejnicas_block .kafejnica_info_wrap {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.home_kafejnicas_block .kafejnica_info_wrap p,
.home_kafejnicas_block .kafejnica_info_wrap li {
  margin: 0 0 10px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.home_kafejnicas_block .kafejnica_info_wrap p:last-child {
  margin-bottom: 0;
}
.opening-hours .calender_main_title {
  display: block;
  margin: 10px 0 0px;
  font-weight: bold;
}
.opening-hours .calender_main_title + br {
  display: none;
}

.kafejnica_left h6 {
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  color: black;
  margin: 0;
}

.kafejnica_info,
.kafejnica_info_value {
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
}

.kafejnica_info {
  color: #8b8c8e;
}

.kafejnica_info_value {
  color: var(--mb-main-color);
  font-weight: 600;
}

.kafejnica_location {
  display: flex;
  gap: 37px;
}

.kafejnica_location img {
  display: block;
  height: auto;
}

.kafejnica_location a:nth-child(1) img {
  width: 101px;
}

.kafejnica_location a:nth-child(2) img {
  width: 109px;
}

.kafejnica_left_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kafejnica_left_image {
  height: 280px;
  width: 100%;
}

.kafejnica_left {
  width: 450px;
}

.kafejnica_right {
  width: 100%;
  max-width: 465px;
}

.kafejnica_right #map {
  width: 100%;
  height: 100%;
  position: absolute !important;
  max-width: 525px;
  z-index: 1000000;
}

.kafejnicas_right > div {
  display: flex;
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 915px;
  background: white;
}

.kb_closed .kafejnicas_adress,
.kb_closed .kafejnicas_work_time {
  opacity: 0.5;
}

.kb_closed .kafejnicas_light {
  background: #b70a0a;
}

.home_jaunumu_subscribe .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  width: calc(100% - 80px);
  background: url(../../images/cta-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 40px;
  border-radius: 20px;
  margin: 100px auto;
  box-sizing: border-box;
}

.js-1,
.js-2 {
  color: white;
}

.js-1 {
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.js-2 {
  font-size: 44px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 53px;
}

.home_jaunumu_subscribe .js-1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 25px;
  line-height: 1;
}

.home_jaunumu_subscribe .js-2 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0px;
}

.home_jaunumu_subscribe .jaunumu_subscribe_right input::-webkit-input-placeholder {
  color: #000000;
  opacity: 1;
}
.home_jaunumu_subscribe .jaunumu_subscribe_right input::-moz-placeholder {
  color: #000000;
  opacity: 1;
}
.home_jaunumu_subscribe .jaunumu_subscribe_right input:-ms-input-placeholder {
  color: #000000;
  opacity: 1;
}
.home_jaunumu_subscribe .jaunumu_subscribe_right input::-ms-input-placeholder {
  color: #000000;
  opacity: 1;
}
.home_jaunumu_subscribe .jaunumu_subscribe_right input::placeholder {
  color: #000000;
  opacity: 1;
}
.home_jaunumu_subscribe .jaunumu_subscribe_right input {
  height: 67px;
  border-radius: 40px;
  color: #000;
  margin-right: 15px;
}
.home_jaunumu_subscribe .jaunumu_subscribe_right .jaunumu-save {
  height: 67px;
  border-radius: 40px;
  background-color: var(--btn-dark) !important;
  text-transform: uppercase;
  color: var(--bg-white);
  padding-left: 30px;
  padding-right: 30px;
  transition: background-color 0.2s ease;
}

.home_jaunumu_subscribe .jaunumu_subscribe_right .jaunumu-save:hover {
  background-color: var(--btn-dark-hover) !important;
}


.jaunumu_subscribe_right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.jaunumu_subscribe_right form > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jaunumu_subscribe_right input {
  height: 50px;
  width: 272px;
  border-radius: 5px;
  background: white;
  border: none;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #909193;
  outline: none;
}

.jaunumu_subscribe_right .jaunumu-save {
  height: 50px;
  width: auto;
  border-radius: 5px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  color: white;
  background: var(--btn-dark);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.jaunumu_subscribe_right .jaunumu-save::placeholder {
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  color: white;
}

.jaunumu_subscribe_right .jaunumu-save:hover {
  background: var(--btn-dark-hover);
}

.footer_wrapper {
  height: auto;
  background: #101010;
  padding: 55px 0 0 0;
  position: relative;
  border-radius: 40px 40px 0px 0px;
}

.footer_wrapper .container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.footer_contact_btn {
  border-radius: 5px;
  border: 1.5px solid #47484a;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: #909193;
  padding: 16px 20px;
  margin: 50px 0;
  transition: 0.2s ease-in-out;
  width: fit-content;
}

.footer_contact_btn:hover {
  background: #47484a;
}

.footer_social_wrap {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.footer_social_wrap img {
  width: 24px;
  height: 24px;
  -webkit-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  -webkit-filter: brightness(0) saturate(100%) invert(50%) sepia(27%) saturate(2198%) hue-rotate(346deg) brightness(98%) contrast(94%);
  filter: brightness(0) saturate(100%) invert(50%) sepia(27%) saturate(2198%) hue-rotate(346deg) brightness(98%) contrast(94%);
}

.footer_social_wrap img:hover {
  opacity: 0.7;
}

.footer_wrapper .footer_upper h6 {
  font-size: 34px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  line-height: 41px;
  color: white;
  margin: 0 0 30px 0;
}

.footer_wrapper .footer_upper p {
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  color: #D0D0D0;
}

.footer_upper {
  display: flex;
}

.footer_column_1 {
  width: 100%;
  max-width: 270px;
}

.footer_column_2 {
  width: 100%;
  max-width: 386px;
}

.footer_column_3 {
  width: 100%;
  max-width: 325px;
}

.footer_column_4 {
  width: 100%;
  max-width: 335px;
  margin-left: auto;
}

.footer_contact_box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.footer_contact_box img {
  width: 18px;
  height: auto;
}

.footer_contact_box p {
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  color: white;
}

.footer_wrapper .footer_upper .fc4-1 {
  text-align: center;
  font-size: 12px;
}

.footer_wrapper .footer_upper .fc4-2 {
  text-align: center;
  margin-bottom: 8px;
  max-width: 335px;
  font-weight: 400;
  font-size: 10px;
  line-height: 17px;
}

.footer_column_4 img {
  background: white;
  margin: 0 auto;
  max-width: 335px;
  padding: 4px;
}

.copyrights {
  background: #0A0A0A;
  margin-top: 80px;
}

.footer_lower {
  height: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0px;
}

.footer_lower p {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  color: white;
}

.footer_lower p a {
  color: var(--mb-main-color);
  font-weight: 700;
  display: inline-block;
}

.footer_lower p a:hover {
  text-decoration: underline;
}

.footer_lower_t2 {
  text-align: right;
}

.footer_middle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.top-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;-ms-flex-align: center;align-items: center;
  margin-bottom: 60px;
}

.top-footer .right p {
  text-align: right;
  font-size: 18px;
  color: var(--bg-orange);
}

.top-footer .footer_logo {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .top-footer {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .top-footer .left,
  .top-footer .right {
    width: 100%;
    max-width: 100%;
  }

  .top-footer .left {
    text-align: center;
  }

  .top-footer .right p {
    text-align: left;
    font-size: 13px;
  }
  .product-showcase-section__lead {
    text-align:center;
  }
}

.top-footer .footer_middle .left, .top-footer .footer_middle .right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.footer_lower .copyright-first {
  color: #D0D0D0;
  font-size: 14px;
  margin-bottom: 30px;
}
.footer_lower .left .flt1 {
  color: #D0D0D0;
  font-weight: 700;
  font-size: 10px;
  margin-bottom: 7px;
  text-align: left;
}
.footer_lower .copyright-last {
  color: #D0D0D0;
  font-weight: 600;
  font-size: 10px;
}
.footer_lower > .left, .footer_lower > .right {
  width: 55%;
}
.footer_lower > .right {
  width: 45%;
  text-align: right;
}

.footer_bottom_inline {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 42px;
  flex-wrap: nowrap;
}

.footer_bottom_inline p {
  margin: 0;
  color: #d0d0d0;
  white-space: nowrap;
}

.footer_bottom_inline .copyright-first {
  font-size: 14px;
}

.footer_bottom_inline .flt1,
.footer_bottom_inline .copyright-last {
  font-size: 12px;
  font-weight: 600;
}

.footer_bottom_inline .flt1 {
  flex: 1 1 auto;
  text-align: center;
}

.footer_bottom_inline .copyright-last {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  text-align: right;
}

.footer_bottom_inline .copyright-last a {
  display: inline !important;
  color: var(--mb-main-color);
}

.footer_bottom_inline .copyright-last a:hover {
  color: var(--mb-main-color-hover);
}

.footer_bottom_inline .copyright-last br {
  display: none;
}

@media (max-width: 768px) {
  .footer_bottom_inline {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 0;
    text-align: left;
  }

  .footer_bottom_inline p {
    white-space: normal;
    text-align: left;
    width: 100%;
    max-width: 100%;
  }

  .footer_bottom_inline .flt1 {
    flex: 0 1 auto;
    text-align: left;
  }

  .footer_bottom_inline .copyright-last {
    justify-content: flex-start;
    text-align: left;
    flex-wrap: wrap;
  }

  .container.page-main-content h2.wp-block-heading {
    line-height: 100%;
  }
}

.footer_funding_liaa_row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 36px 0 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer_funding_liaa_row__text {
    flex: 1 1 auto;
    max-width: 670px;
    min-width: min(100%, 280px);
    margin-top: 45px;
}

.footer_funding_liaa_row__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 14px;
}

.footer_funding_liaa_row__body {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.65;
  color: #d0d0d0;
  margin: 0;
}

.footer_funding_liaa_row__aside {
  flex: 0 0 auto;
  width: auto;
  max-width: min(100%, 320px);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer_funding_liaa_row__flagImg {
  display: block;
  width: 139px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer_funding_liaa_row__meta {
  text-align: center;
}

.footer_funding_liaa_row__meta p {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.55;
  color: #d0d0d0;
  margin: 0 0 6px;
  max-width: 380px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.footer_funding_liaa_row__meta p:last-child {
  margin-bottom: 0;
}

.footer_middle > div {
  width: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  grid-gap: 60px;
}
.footer_middle .footer_column_4 {
  margin-left: 0px;
}
.footer_wrapper .footer_upper h6 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 40px;
}
.social-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--bg-white);
  margin-top: 90px;
}
.footer_middle .footer_column_4, .footer_middle .footer_column_3, .footer_middle .footer_column_2, .footer_middle .footer_column_5 {
  width: auto;
}
.footer_middle .footer_column_4 ul, .footer_middle .footer_column_5 ul { 
  line-height: 30px;
}
.footer_middle .footer_column_4 ul li a, .footer_middle .footer_column_5 ul li a { 
  font-size: 14px;
  color: #D0D0D0;
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
  transform: translateX(0px);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.footer_middle .footer_column_4 ul li a:hover, .footer_middle .footer_column_5 ul li a:hover {
  color: var(--bg-orange);
  -webkit-transform: translateX(20px);-ms-transform: translateX(20px);transform: translateX(20px);
}


.home_slider_image_part img {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 496px;
  max-height: 525px;
}

.home_produkti_upper .carousel__dots {
  display: none;
}

.home_produkti_block .carousel__nav .carousel__button.is-prev {
  left: -50px;
}

.home_produkti_block .carousel__nav .carousel__button.is-next {
  right: -50px;
}

label.hb_label {
  display: flex;
  flex-direction: column;
  width: 35px;
  cursor: pointer;
  margin-left: auto;
}

label.hb_label span {
  background: black;
  border-radius: 15px;
  height: 3px;
  margin: 5px 0;
  transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.hb_label span:nth-of-type(1) {
  width: 100%;
}

.hb_label span:nth-of-type(2) {
  width: 100%;
}

.hb_label span:nth-of-type(3) {
  width: 100%;
}

.hb_label input[type="checkbox"] {
  display: none;
}

.hb_label input[type="checkbox"]:checked ~ span:nth-of-type(1) {
  width: 50%;
  transform-origin: bottom;
  transform: rotatez(45deg) translate(7px, 2px);
}

.hb_label input[type="checkbox"]:checked ~ span:nth-of-type(2) {
  width: 100%;
  transform-origin: top;
  transform: rotatez(-45deg);
}

.hb_label input[type="checkbox"]:checked ~ span:nth-of-type(3) {
  transform-origin: bottom;
  width: 50%;
  transform: translate(15px, -8px) rotatez(45deg);
}

/* Mobile drawer: dark panel from the left (~half viewport width) */
.header_menu {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: 50vw;
  max-width: 50vw;
  height: 100vh;
  height: 100dvh;
  background: #000000;
  z-index: 10000;
  padding: 96px 18px 28px 18px;
  box-sizing: border-box;
  box-shadow: 8px 0 36px rgba(0, 0, 0, 0.35);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
}

nav.main-navigation.header_menu:not(.hidden) {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.slide-in-left {
  -webkit-animation: slide-in-left 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-left 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

.slide-out-left {
  -webkit-animation: slide-out-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-out-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-out-left {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

@keyframes slide-out-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 1199px) {
  /* Drawer sits below the sticky header stack — header bars stay visible
     above the drawer, and the drawer is fixed to that viewport position
     (does not scroll with the page). --header-stack-height is set by JS on
     load/resize to the real measured height. */
  #site-navigation.header_menu,
  .header_menu {
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 50vw !important;
    max-width: 50vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding: 16px 18px 28px;
    z-index: 10050;
  }

  #site-navigation.header_menu:not(.hidden) {
    z-index: 10050;
  }

  .header_menu:not(.hidden) .mobile_header_close {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    margin: 0;
  }
}

@media (min-width: 1200px) {
  #site-navigation {
    display: none !important;
  }
}

nav.main-navigation.header_menu.hidden {
  z-index: 2;
  display: none !important;
}

body.mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}

.mobile_header_close {
  position: absolute;
  top: 16px;
  left: 16px;
  right: auto;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--mb-main-color, #f37021);
}

.mobile_header_close-x {
  display: block;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: inherit;
}

.mobile_header_navigation_wrapper {
  flex: 0 0 auto;
}

.mobile_header_navigation_wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 100px 0 0 0;
  padding: 0;
  align-items: flex-start;
}

.mobile_header_navigation_wrapper ul li {
  width: 100%;
  text-align: left;
}

.mobile_header_navigation_wrapper ul li a {
  display: inline-block !important;
  text-decoration: none;
  color: var(--mb-main-color, #f37021);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.mobile-nav-call {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 16px;
  margin-bottom: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--mb-main-color, #f37021);
  color: #fff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  text-decoration: none;
  line-height: 1;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  transition: background-color 0.2s ease;
}

.mobile-nav-call:hover {
  background: var(--mb-main-color-hover);
}

.mobile-nav-call__inner {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 0;
}

.mobile-nav-call__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1);
}

.mobile-nav-call__text {
  color: #fff;
  white-space: nowrap;
}

/* Language dropdown under Zvanīt (mobile drawer) — Figma pill + curve icon */
#site-navigation .mobile-nav-lang {
  margin-top: 14px;
  padding-top: 0;
  align-self: center;
  width: 100%;
  justify-content: center;
}

#site-navigation .mobile-nav-lang .custom-lang-switcher {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
}

#site-navigation .mobile-nav-lang .lang-current {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff !important;
  color: #000000 !important;
  border-radius: 999px;
  height: auto;
  min-height: 48px;
  min-width: 88px;
  padding: 0 !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  overflow: visible;
}

#site-navigation .mobile-nav-lang .lang-current__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 6px 12px 20px;
  flex: 0 0 auto;
  min-width: 0;
}

#site-navigation .mobile-nav-lang .lang-current__aside {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 16px 0 2px;
}

#site-navigation .mobile-nav-lang .lang-current__curve {
  display: block;
  width: 24px;
  height: 24px;
  max-width: 24px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

#site-navigation .mobile-nav-lang .lang-current.is-open .lang-current__curve {
  transform: rotate(180deg);
}

#site-navigation .mobile-nav-lang .lang-current .arrow {
  display: none !important;
}

#site-navigation .mobile-nav-lang ul.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #ffffff !important;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  z-index: 2;
}

#site-navigation .mobile-nav-lang ul.lang-dropdown li {
  margin: 0;
  width: 100%;
  text-align: center;
}

#site-navigation .mobile-nav-lang ul.lang-dropdown a {
  width: 100% !important;
  min-width: 0;
  height: 44px !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  border-radius: 999px !important;
  background: transparent !important;
  color: #000000 !important;
  border: none !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  box-sizing: border-box;
}

#site-navigation .mobile-nav-lang ul.lang-dropdown li.lang-item--active a {
  background: var(--mb-main-color, #f37021) !important;
  color: #ffffff !important;
}

#site-navigation .mobile-nav-lang ul.lang-dropdown a:hover {
  color: var(--mb-main-color, #f37021) !important;
  background: rgba(243, 112, 33, 0.08) !important;
}

#site-navigation .mobile-nav-lang ul.lang-dropdown li.lang-item--active a:hover {
  color: #ffffff !important;
  background: var(--mb-main-color-hover, #e0651c) !important;
}

.kafejnicas_right #map {
  position: absolute;
  top: 0;
  left: initial;
  right: 0;
  width: 465px;
  height: 532px;
  height: 100%;
}

.hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* Icon */
.hint .info-icon {
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  margin-left: 5px;
}

.hint:hover .info-icon {
  opacity: 1;
}

/* Tooltip wrapper */
.hint-wrapper {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 999;
  width: 200px;
}

/* Tooltip box */
.hint .hint-content {
  background: #fff; /* dark slate */
  color: #111;
  font-size: 12px;
  font-weight: normal;
  display: block;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 8px;
  max-width: 240px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  margin: 0 !important;
}

/* Tooltip arrow */
.hint-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* Hover state */
.hint:hover .hint-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hint:before {
  content: "";
  /* inset: -35px; */
  display: inline-block;
  position: absolute;
}

@media (max-width: 767px) {
  .hint:hover .hint-wrapper {
    transform: translateX(0%) translateY(0);
  }
  .hint-wrapper {
    left: auto;
    right: -10px;
  }
  .hint-wrapper::after {
    left: auto;
    right: 6px;
  }
}

@media (max-width: 768px) {
  .home_jaunumu_subscribe .container {
    padding: 34px 22px;
    border-radius: 18px;
    margin: 50px auto;
  }

  .home_jaunumu_subscribe .js-1 {
    font-size: 28px;
    line-height: 1.02;
    margin-bottom: 18px;
    text-align: left;
  }

  .home_jaunumu_subscribe .js-2 {
    font-size: 20px;
    line-height: 1.15;
    text-align: left;
  }

  .home_jaunumu_subscribe .jaunumu_subscribe_right form > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
  }

  .home_jaunumu_subscribe .jaunumu_subscribe_right input#jaunumu-email {
    width: 100%;
    max-width: none;
    height: 64px;
    margin-right: 0;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
  }

  .home_jaunumu_subscribe .jaunumu_subscribe_right .jaunumu-save {
    width: 100%;
    min-width: 0;
    height: 56px;
    border-radius: 999px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }
}

.wolt-proxy-wrapper > label.wolt-proxy-card {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
@media (max-width: 768px) {
  .wolt-proxy-wrapper > label.wolt-proxy-card {
    justify-content: flex-start;
  }
}
.error404 .site-main {
  padding: 42px 0 64px;
}

.error-404-modern {
  text-align: center;
}

.error-404-modern__inner {
  max-width: 960px;
  margin: 0 auto;
}

.error-404-modern__title {
  margin: 0 auto 14px;
  max-width: 760px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 3.1vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: #1a1108;
}

.error-404-modern__subtitle {
  margin: 0 auto 26px;
  max-width: 760px;
  font-size: clamp(22px, 2vw, 36px);
  line-height: 1.2;
  color: #1a1108;
}

.error-404-modern__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 280px;
  padding: 12px 30px;
  border-radius: 999px;
  background: var(--btn-dark);
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background-color .2s ease;
}

.error-404-modern__btn:hover {
  background: var(--btn-dark-hover);
}

@media (max-width: 991px) {
  .error404 .site-main {
    padding: 24px 0 44px;
  }

  .error-404-modern__title {
    max-width: 94%;
  }

  .error-404-modern__subtitle {
    max-width: 94%;
  }
}

@media (max-width: 767px) {
  .error404 .site-main {
    padding: 18px 0 36px;
  }

  .error-404-modern .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .error-404-modern__image {
    width: min(100%, 390px);
    margin: 4px auto 20px;
  }

  .error-404-modern__title {
    max-width: 390px;
    font-size: 40px;
    line-height: 1.02;
    margin-bottom: 16px;
  }

  .error-404-modern__subtitle {
    max-width: 390px;
    font-size: 34px;
    line-height: 1.12;
    margin-bottom: 24px;
  }

  .error-404-modern__btn {
    width: min(100%, 430px);
    min-width: 0;
    min-height: 67px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    padding: 12px 26px;
  }
}

/* Keep desktop/tablet 404 typography independent from mobile */
@media (min-width: 768px) {
  .error-404-modern__title {
    font-size: clamp(32px, 3.1vw, 52px) !important;
    line-height: 1.1 !important;
  }

  .error-404-modern__subtitle {
    font-size: clamp(22px, 2vw, 36px) !important;
    line-height: 1.2 !important;
  }
}

.jaunumu-feedback {
  margin-top: 4px;
  border-radius: 12px;
  padding: 8px 12px;
  width: 100%;
  max-width: 360px;
}

.jaunumu-feedback p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.jaunumu-feedback--success {
  background: rgba(19, 161, 14, 0.18);
  border: 1px solid rgba(19, 161, 14, 0.55);
}

.jaunumu-feedback--success p {
  color: #e9ffe8;
}

.jaunumu-feedback--info {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.jaunumu-feedback--info p {
  color: #fff;
}

.jaunumu-feedback--error {
  background: rgba(199, 21, 21, 0.2);
  border: 1px solid rgba(199, 21, 21, 0.6);
}

.jaunumu-feedback--error p {
  color: #fff0f0;
}

.par_mums_wrapper p {
  font-size: 17px;
  line-height: 26px;
  max-width: 800px;
  margin: 12px 0;
}

.grid:after {
  content: "";
  display: block;
  clear: both;
}

.grid-sizer,
.grid-item {
  width: 32.333%;
  padding-right: 5px;
  padding-left: 5px;
  padding-top: 10px;
}

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
  width: 100%;
}

.grid-item img {
  cursor: pointer;
}

.gallery_title {
  padding-top: 100px;
  font-size: 48px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  color: var(--mb-main-color);
  margin: 0 0 20px 0;
}

.par_mums_banner {
  height: 195px;
  width: 100%;
  background-position: center;
  background-size: cover;
  display: none;
}

.par_mums_banner .container {
  position: relative;
  height: 100%;
}

.page-main.about-main {
  margin: 0;
}

.par_mums_title {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin: 0;
  color: white;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-size: 48px;
}

.par_mums_b {
  display: flex;
  gap: 160px;
  flex-wrap: wrap;
}

.par_mums_b_item {
  width: 100%;
  max-width: 320px;
  position: relative;
}

.par_mums_b_item:first-child {
  max-width: 360px;
}

.par_mums_block {
  background: #f1efe8;
  padding: 65px 0 110px 0;
}

.par_mums_block h1 {
  font-size: 48px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  color: var(--mb-main-color);
  margin: 0 0 55px 0;
}

.par_mums_block h3 {
  font-size: 30px;
  line-height: 32px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  color: var(--mb-main-color);
  margin: -8px 0 24px 0;
}

.par_mums_block p {
  font-size: 17px;
  font-weight: 600;
  line-height: 30px;
  color: black;
}

.par_mums_b_item img {
  position: absolute;
  left: -9px;
  top: 1px;
  transform: translateX(-50%) translateY(-50%);
}

.page_part {
  background-image: url("/wp-content/uploads/2022/09/mb-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header-offset {
  position: absolute;
  top: -190px;
  width: 0;
  height: 0;
}

.gallery {
  margin-bottom: 0;
  padding-bottom: 124px;
}

.page-info-bar {
  background-color: var(--mb-main-color);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  width: 100%;
  top: 130px;
  z-index: 100;
  transition: ease-in-out 0.2s;
  padding: 10px 20px;
}

.page-info-bar p {
  color: white;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  transition: ease-in-out 0.2s;
}

.page-info-bar.info-bar-expanded {
  height: auto;
}

.page-info-bar.info-bar-expanded p {
  max-width: 1100px;
}

html[lang="de-DE"] .page-info-bar:not(.info-bar-expanded) {
  height: auto;
}

@media (min-width: 768px) {
  .home_produkti_wrap .carousel__viewport::before,
  .home_produkti_wrap .carousel__viewport::after {
    content: "";
    position: absolute;
    height: 171px;
    width: 146.5px;
    background: white;
    opacity: 0.5;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 0 12px 12px white;
    pointer-events: none;
  }

  .home_produkti_wrap .carousel__viewport::after {
    left: initial;
    right: 0;
  }
}

.footer_logo {
  width: 192px;
  height: 262px;
}

.kafejnica_special_1 {
  color: var(--mb-main-color);
  font-size: 18px;
  font-weight: 600;
}

.p_sm_text {
  font-size: 12px;
  display: inline;
}

.flt1 {
  text-align: center;
}

@media (min-width: 1300px) {
  html[lang="ru-RU"] .home_slider_text_part h1 {
    font-size: 60px;
    line-height: 78px;
  }

  html[lang="de-DE"] .home_slider_text_part h1 {
    font-size: 70px;
    line-height: 86px;
  }
}

@media (min-width: 1200px) {
  .product_box:nth-child(1),
  .product_box:nth-child(2),
  .product_box:nth-child(3) {
    margin-left: auto;
  }

  .product_box:nth-child(4),
  .product_box:nth-child(5),
  .product_box:nth-child(6) {
    margin-right: auto;
  }

  .product_box_text {
    width: auto;
    max-width: 240px;
  }

  .product_box_image
    img[data-src="/wp-content/uploads/2022/09/produkts-2.png"] {
    background-color: red;
  }

  .product_box {
    gap: 5px;
  }
}

.page-main-content {
  padding: 60px 0 40px 0;
}

.page-main-content p {
  margin: 1rem 0;
  line-height: 29px;
}

.page-main-content a {
  display: inline-block;
}

.page-main-content ul {
  list-style: initial;
  padding: 0 0 0 25px;
}

.jaunumu_subscribe_right .jaunumu_checkbox {
  width: auto;
  height: auto;
  opacity: 0;
  position: absolute;
  left: 4px;
}

.jaunumi_check_wrap {
  display: flex;
  align-items: center;
  height: 43px;
  gap: 10px;
  position: relative;
}

.jaunumi_check_wrap a {
  display: inline-block;
  text-decoration: underline;
}

.jaunumi_check_wrap p {
  font-weight: 500;
  line-height: 21px;
  color: white;
}

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background-color: #eee;
  position: relative;
}

.jaunumi_check_wrap .jaunumu_checkbox:checked ~ label .checkmark {
  background-color: #2196f3;
}

.jaunumi_check_wrap .jaunumu_checkbox:checked ~ label .checkmark:after {
  display: block;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkmark:after {
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.jaunumi_check_wrap label:hover .checkmark {
  background-color: #ccc;
}

.jaunumi_check_wrap label {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 1200px) {
  .header_logo_mobile {
    display: none;
  }
}

@media (max-width: 1199px) {
  .header-bg .header_logo_desktop {
    display: none;
  }

  .header_outside_wrapper:not(.header-bg) .header_logo_mobile {
    display: none;
  }
}

.home_kafejnicas_block .container {
  height: auto;
  min-height: 560px;
}

.kafejnicas_left,
.kafejnicas_right {
  height: auto;
}

.kafejnica_left_content {
  height: auto;
}

.kafejnica_ad_text p {
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
  color: #8b8c8e;
  margin: 0 0 14px 0;
}

.kafejnica_ad_text p strong,
.kafejnica_ad_text p b {
  color: var(--mb-main-color);
  font-weight: 600;
}

.kafejnica_ad_text h6 {
  margin: 10px 0 10px 0;
}

.kafejnica_ad_text h6 {
  font-weight: 700;
}

.kafejnica_left_content td {
  color: #8b8c8e;
  font-size: 17px;
  line-height: 1.3em;
  font-weight: 500;
  padding: 2px 5px;
}

.kafejnica_left_content td strong {
  color: var(--mb-main-color);
  font-weight: 600;
}

@media (max-width: 500px) {
  .kafejnica_left_content td {
    font-size: 15px;
  }
}

#popup-content,
#popup-content--clone {
  border-radius: 10px;
  max-width: 770px;
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 0;
  flex-wrap: initial;
  flex-direction: column;
  background: white;
}

.popup_upper {
  height: 352px;
  width: 100%;
  background: #f26522;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  padding: 96px 58px 20px 58px;
  position: relative;
}

.popup_element_1 {
  display: block;
  position: absolute;
  bottom: 0;
  right: 38px;
}

.popup_element_2 {
  left: 25px;
  top: -38px;
  position: absolute;
}

.popup_upper p:nth-child(1) {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  max-width: 250px;
  position: relative;
  z-index: 6;
}

.popup_upper p:nth-child(2) {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  position: relative;
  z-index: 6;
}

.popup_lower {
  padding: 54px 56px 12px 56px;
  width: 100%;
}

.popup_lower table {
  width: 100%;
  border-spacing: 0;
  margin: 0;
  border: initial;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.popup_lower table thead th {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2em;
  text-align: center;
  color: black;
}

@media (min-width: 1200px) {
  .popup_lower table thead th {
    padding-left: 28px;
    padding-right: 28px;
  }
}

.popup_lower table thead tr th {
  padding-bottom: 20px;
  border-bottom: 1px solid #c9c9c9;
}

.popup_lower table tbody tr:nth-child(1) td {
  padding-top: 20px;
}

.popup_lower table tbody tr {
  font-size: 16px;
  text-align: center;
  color: black;
}

.popup_lower table tbody td:nth-child(1) {
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .popup_upper {
    padding: 52px 25px 16px 25px;
    height: auto;
  }

  .popup_upper p:nth-child(1) {
    font-size: 22px;
    margin: 0 0 18px 0;
    max-width: 165px;
  }

  .popup_upper p:nth-child(2) {
    font-size: 18px;
  }

  .popup_element_1 {
    width: 190px;
    height: 174px;
    right: 16px;
    z-index: 1;
  }

  .popup_element_2 {
    width: 94px;
    height: 47px;
    left: 25px;
    top: -17px;
  }

}

.pmt_content {
  display: flex;
  flex-direction: column;
}

.pmt_row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  margin: 0;
}

.pmt_row:not(:last-of-type) {
  border-bottom: 1px solid #c9c9c9;
}

.pmt_row p {
  font-size: 16px;
  color: black;
  margin: 0;
}

.pmt_row p:nth-child(1) {
  font-weight: 600;
}

.pmt_row p:nth-child(2) {
  text-align: right;
}

.pmt_navigation {
  display: flex;
  gap: 10px;
  padding: 20px 0 32px 0;
  margin: 20px 0 0 0;

  overflow: auto;
  width: calc(100% + 50px);
  position: relative;
  left: -25px;
  padding-left: 25px;
  padding-right: 25px;
}

.pmt_navigation button {
  background: #efefef;
  border-radius: 23px;
  padding: 12px 16px;
  margin: 0;
  border: initial;
  flex-shrink: 0;

  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  color: black;
  line-height: 1.25em;
}

.pmt_navigation button.active {
  background: #f26522;
  font-weight: 700;
  color: white;
}

.pmt_controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin: 0 0 44px 0;
}

.pmt_controls .pmt_name {
  font-weight: 500;
  font-size: 18px;
  color: #000000;
  text-align: center;
  margin: 0;
}

.pmt_prev,
.pmt_next {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: initial;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-position: center;
  outline: 2px solid transparent;
  border: initial;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.25s;
}

.pmt_prev {
  background-image: url("../../images/mb_2024_ligo_left_arrow.svg");
}

.pmt_next {
  background-image: url("../../images/mb_2024_ligo_right_arrow.svg");
}

.pmt_prev:focus-visible,
.pmt_next:focus-visible {
  outline: 2px solid black;
}

.pmt_prev.disabled,
.pmt_next.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .popup_lower {
    padding: 38px 25px 0 25px;
  }
}

#view_holiday_worktime_btn {
  background: var(--mb-main-color);
  border: initial;
  border-radius: 5px;
  padding: 8px 14px;
  cursor: pointer;
  width: fit-content;
  color: white;
  font-weight: 500;
  font-family: inherit;

  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease;
}

#view_holiday_worktime_btn:hover {
  background: var(--mb-main-color-hover);
}

#view_holiday_worktime_btn img {
  display: block;
  width: 20px;
  height: 20px;
  filter: invert(1);
}

@media (max-width: 768px) {
  #view_holiday_worktime_btn {
    font-size: 14px;
  }

  .home_kafejnicas_block .container {
    min-height: initial !important;
  }
}

.kafejnica_left .kafejnica_holiday_title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2em;
  color: var(--mb-main-color);
  margin: 8px 0 0 0;
}

.tortes_tab_left {
  width: 100%;
  max-width: 910px;
  display: grid;
  grid-template-columns: 225px 210px 365px;
  gap: 32px 40px;
}

.tortes_custom_tab.home_produkti_tab {
  height: auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tortes_custom_tab.home_produkti_tab .product_box {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: initial;
  margin: 0;
  width: 100%;
}

.tortes_custom_tab.home_produkti_tab .product_box .product_box_title {
  display: flex;
  align-items: baseline;
  gap: 1px 16px;
  margin: 0 0 5px 0;
  flex-wrap: wrap;
}

.tortes_custom_tab.home_produkti_tab .product_box .product_box_title span {
  display: flex;
  align-items: center;
  height: 25px;
  border-radius: 13px;
  background: #f26522;
  padding: 5px 10px;
  margin: 0;

  font-weight: 600;
  font-size: 12px;
  color: white;
}

.tortes_custom_tab.home_produkti_tab .product_box .product_box_price {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 10px 0;
}

.tortes_custom_tab.home_produkti_tab .product_box .product_box_description {
  margin: 0;
}

.tortes_tab_right {
  width: 100%;
  max-width: 406px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 46px 42px 50px 42px;
  box-shadow: rgba(0, 0, 0, 0.1) 6px 10px 15px;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.tortes_tab_right::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -72px;
  right: -10px;
  width: 250px;
  height: 284px;
  background-image: url("../../images/tortes_bg_element.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.tortes_tab_right p {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: black;
}

.tortes_text_1,
.tortes_text_2,
.tortes_text_3 {
  margin: 0 0 16px 0;
  font-size: 16px;
}

p.tortes_text_1 {
  font-weight: 600;
  font-size: 18px;
  color: #f26522;
}

.tortes_text_3 {
  font-weight: 600;
}

.tortes_text_4 {
  font-size: 18px;
}

@media (max-width: 1400px) {
  .tortes_custom_tab.home_produkti_tab {
    flex-direction: column;
    gap: 30px;
  }

  .tortes_tab_left {
    max-width: initial;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .tortes_tab_left {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tortes_tab_left {
    gap: 0;
  }

  .tortes_custom_tab.home_produkti_tab .product_box {
    padding: 22px 2px;
  }

  .tortes_custom_tab.home_produkti_tab .product_box:not(:last-child) {
    border-bottom: 1px solid #e1e1e1;
  }

  .tortes_tab_right {
    max-width: initial;
    padding: 52px 30px;
  }
}

@media (max-width: 600px) {
  .tortes_tab_left {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Menu Grid Design 29_Dec_25 */

.product-box-inner {
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
}

.product-box-inner .product_box_image {
  width: 100%;
  max-width: 100%;
  position: relative;
  height: 280px;
  background-color: #f1efe8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem 1.5rem 0 0;
  overflow: hidden;
}

.product-box-inner .product_box_image img {
  mix-blend-mode: multiply;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.product-box-inner .qty-wrap {
  border: 1px solid #ada9a9;
  border-radius: 5px;
  margin-bottom: 8px;
  display: flex;
  width: 105px;
}

.product-box-inner .qty-wrap button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
}

.product-box-inner .qty-wrap .qty {
  border: none;
  text-align: center;
  width: calc(100% - 60px);
  appearance: none;
  height: 36px;
  outline: none !important;
}

.product-box-inner
  .qty-wrap
  input.qty[type="number"]::-webkit-outer-spin-button,
.product-box-inner
  .qty-wrap
  input.qty[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-box-inner .qty-wrap input.qty[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.product-box-inner .product_box_buttons {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
}

.product_box_buttons .out-of-stock {
  color: #b70a0a;
}

.qty-error {
  margin-bottom: 10px;
  line-height: 1.2;
}

.view_cart_btn button {
  background-color: var(--btn-dark);
  border: none;
  color: #fff;
  padding: 6px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Montserrat";
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.view_cart_btn button:hover {
  background-color: var(--btn-dark-hover);
}

.product-cats-tags {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 5px;
  padding: 12px;
  font-size: 14px;
}

.product-cats-tags > div {
  display: inline-block;
  padding: 3px 11px;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

.product-box-inner .product_box_text {
  width: 100%;
  max-width: 100%;
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-other-details {
  position: relative;
  padding: 35px 25px;
  border-radius: 10px;
  max-width: 700px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.product-other-details > div:not(:first-child) {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f2662226;
}

.product-other-details .product_box_description {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  max-width: 100%;
}

.product-other-details h4 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #000000;
}

.product-other-details .mfp-close {
  background-color: var(--mb-main-color);
  border-radius: 100%;
  color: #fff;
  right: 5px;
  top: 5px;
  width: 32px;
  height: 32px;
  line-height: 34px;
}

.product-other-details ul {
  list-style: unset;
}

.product-other-details ul,
.product-other-details ol {
  padding-left: 20px;
  margin: 10px 0;
}

.mfp-auto-cursor .mfp-content {
  margin: 50px auto;
}

/* Header Cart CSS */

.cart-icon a.my-cart-link {
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: var(--mb-main-color);
  color: #fff;
  position: relative;
}

.cart-icon {
  margin-left: 0px;
}

.cart-icon span.my-cart-icon {
  filter: invert(1) brightness(1);
  display: flex;
  width: 20px;
}

.cart-icon span.my-cart-count {
  position: absolute;
  width: 17px;
  height: 17px;
  background: var(--wc-content-bg);
  border-radius: 100%;
  color: #000;
  font-size: 9px;
  line-height: 17px;
  text-align: center;
  top: 6px;
  right: 8px;
}

.cart-icon span.my-cart-icon img {
  transform: scale(1.3);
}

@media (max-width: 1200px) {
  .cart-icon {
    margin-left: auto;
  }

  .cart-icon ~ label.hb_label {
    margin-left: 20px;
  }
}

@media (max-width: 500px) {
  .product-box-inner .product_box_image {
    height: 200px;
  }

  body .branch-tabbing .home_produkti_row {
    gap: 30px 0;
  }

  body .branch-tabbing .home_produkti_row {
    padding: 0 10px;
  }
}

@media (min-width: 1001px) and (max-width: 1200px) {
  .home_produkti_block .branch-tabbing .home_produkti_row .product_box {
    width: 50%;
  }
}

.page_video_popup {
  position: fixed;
  z-index: 110;
  right: 40px;
  bottom: 40px;
  width: 390px;
  height: auto;
}

#page_video_container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

#page_video_popup_close {
  border: initial;
  border-radius: 50%;
  background: white;
  padding: 0;
  margin: 0;
  width: 24px;
  height: 24px;
  background-image: url("../../images/x-solid.svg");
  background-repeat: no-repeat;
  background-size: 12px 12px;
  background-position: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  cursor: pointer;

  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

@media (max-width: 1400px) {
  .page_video_popup {
    width: 250px;
  }
}

@media (max-width: 320px) {
  .page_video_popup {
    display: none;
  }
}

#page_video_prev,
#page_video_next {
  width: 38px;
  height: 38px;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  border: initial;
  display: block;
  background: initial;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: center;
}

#page_video_prev {
  background-image: url("../../images/chevron-left.svg");
  left: -40px;
  right: initial;
}

#page_video_next {
  background-image: url("../../images/chevron-right.svg");
  left: initial;
  right: -40px;
}
.calender_sub_title {
  color: #8b8c8e;
}
.calender_value {
  color: var(--mb-main-color);
}
.kafejnica_info {
  color: var(--mb-main-color);
  font-weight: 700;
}

.kafejnica_location {
  gap: 15px;
}
.kafejnica_location > a {
  color: var(--mb-main-color);
  font-weight: 600;
}
.kafejnica_location a:nth-child(1) img {
  width: 80px;
}
.kafejnica_location a:nth-child(2) img {
  width: 100px;
}

/* Home Kafejnīcas — dark card content colors (design: #000 panel, white primary, #a0a0a0 labels, Waze #f0f0f0, Maps #e87121) */
.home_kafejnicas_block .kafejnica_left_content {
  color: #ffffff;
}

.home_kafejnicas_block .mob-num {
  color: #ffffff !important;
  font-weight: 700;
}

.home_kafejnicas_block .kafejnica_info {
  color: #a0a0a0;
  font-weight: 600;
}

.home_kafejnicas_block .kafejnica_info_value {
  color: #ffffff;
  font-weight: 700;
}

.home_kafejnicas_block .kafejnica_info_wrap,
.home_kafejnicas_block .kafejnica_info_wrap p:not(.kafejnica_info),
.home_kafejnicas_block .kafejnica_info_wrap li,
.home_kafejnicas_block .kafejnica_info_wrap td {
  color: #ffffff;
}

.home_kafejnicas_block .kafejnica_info_wrap p.kafejnica_info {
  color: #a0a0a0;
}

.home_kafejnicas_block .kafejnica_info_wrap strong,
.home_kafejnicas_block .kafejnica_info_wrap b {
  color: #ffffff;
}

.home_kafejnicas_block .kafejnica_left_content td {
  color: #ffffff;
}

.home_kafejnicas_block .kafejnica_left_content td strong {
  color: #ffffff;
}

.home_kafejnicas_block .calender_sub_title,
.home_kafejnicas_block .opening-hours .calender_sub_title {
  color: #a0a0a0;
}

.home_kafejnicas_block .calender_value,
.home_kafejnicas_block .opening-hours .calender_main_title {
  color: #ffffff;
  font-weight: 700;
}

.home_kafejnicas_block .kafejnica_location .waze-btn {
  background: #f0f0f0;
  color: #000000 !important;
}

.home_kafejnicas_block .kafejnica_location .gmaps-btn {
  background: var(--mb-main-color);
  color: #ffffff !important;
}

.home_kafejnicas_block .kafejnica_location .gmaps-btn:hover {
  background: var(--mb-main-color-hover);
}

/* ── Outer section wrapper ── */
.bakery-order-section {
  position: relative;
  width: 100%;
  padding-inline: 2rem;
  overflow: hidden;
  background: var(--mb-main-color);
  background: linear-gradient(235deg, #e8650a 0%, #f07b1d 55%, #f98c2a 100%);
}

/* ── Brand header ── */
.bakery-brand-header {
  position: relative;
  z-index: 1;
  padding: 40px 32px 14px;
  display: flex;
  align-items: center;
  gap: 10px;

  border-bottom: 4px dotted var(--bakery-ink);
}

.bakery-brand-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.bakery-brand-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--bakery-ink);
  text-transform: lowercase;
}

/* ── Headline row ── */
.bakery-headline-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 61% 39%;
  align-items: center;
  gap: 15px;
  padding-block: 5px;
  border-top: 4px dotted var(--bakery-ink);
  border-bottom: 4px dotted var(--bakery-ink);
}

.bakery-order-title {
  margin: 0;
  font-size: clamp(52px, 9vw, 79px);
  line-height: 1;
  color: var(--bakery-ink);
  padding: 20px 10px 10px 15px;
  border-right: 4px dotted var(--bakery-ink);
}

.bakery-order-subtitle {
  font-size: clamp(28px, 4.5vw, 48px);
  color: #f59e2d;
  font-weight: 600;
  line-height: 1;
}

/* ── Two-column content area ── */
.bakery-content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 61% 39%;
  min-height: 340px;
  padding-block: 5px;
  border-bottom: 4px dotted var(--bakery-ink);
}

/* ── Map panel ── */
.bakery-map-panel {
  padding: 5px 10px 5px 0px;
  position: relative;
  border-right: 4px dotted var(--bakery-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bakery-map-canvas {
  position: relative;
  width: 100%;
  /* max-width: 280px; */
  height: 100%;
}
.bakery-order-section #bakery-map {
  height: 100%;
}

/* ── Address list panel ── */
.bakery-address-panel {
  padding: 0px 0px 0px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bakery-address-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 14px 15px;
  border-bottom: 4px dotted var(--bakery-ink) !important;
  cursor: pointer;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

/* slide-in hover fill */
.bakery-address-row::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.06);
  transition: left 0.22s ease;
}

.bakery-address-row:hover::after {
  left: 0;
}
.bakery-address-row.bekery-active::after {
  left: 0;
}
.bakery-address-row:last-child {
  border-bottom: none !important;
}

.bakery-address-street {
  font-size: clamp(20px, 1.9vw, 22px);
  font-weight: 600;
  color: var(--bakery-ink);
  letter-spacing: 0.01em;
}

.bakery-address-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.15s,
    transform 0.15s;
  font-size: 14px;
  color: var(--bakery-ink);
}

.bakery-address-row:hover .bakery-address-arrow {
  opacity: 0.6;
  transform: translateX(0);
}

.bakery-address-row.bekery-active .bakery-address-arrow {
  opacity: 0.6;
  transform: translateX(0);
}

.bakery-order-subtitle.show-in-mobile {
  display: none;
}
/* ── Responsive ── */
@media (max-width: 600px) {
  .bakery-content-grid {
    grid-template-columns: 1fr;
  }
  .bakery-order-subtitle {
    display: none;
  }
}
.page-id-7102 .header_outside_wrapper,
.page-id-7162 .header_outside_wrapper,
.page-id-7163 .header_outside_wrapper {
  position: fixed;
  top: var(--topheader-sticky-height);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1010;
  background: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.page-id-7102 .header_outside_wrapper.header-bg,
.page-id-7162 .header_outside_wrapper.header-bg,
.page-id-7163 .header_outside_wrapper.header-bg {
  position: relative;
}
.page-id-7102 .header_navigation_wrapper ul li a,
.page-id-7162 .header_navigation_wrapper ul li a,
.page-id-7163 .header_navigation_wrapper ul li a {
  color: black;
}

/* Branch Tooltip Card */
.tooltip-card {
  width: 390px;
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

/* Image Side */
.tooltip-image {
  width: 160px;
  height: 100%;
  min-height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Text Side */
.tooltip-text {
  flex: 1;
  padding: 0px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}

.tooltip-title {
  margin: 0 0 8px 0;
  font-size: 19px;
  color: #222;
}

.tooltip-address {
  margin: 0 0 12px 0;
  color: #555;
  line-height: 1.4;
}

/* Links Row */
.tooltip-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.tooltip-link {
  text-decoration: none;
}
.tooltip-link img {
  width: 80px;
}
.tooltip-link:hover {
  color: #000;
}

/* Phone */
.tooltip-phone {
  color: var(--mb-main-color);
  font-weight: 600;
}

.tooltip-phone a {
  color: inherit;
  text-decoration: none;
}

/* Timing */
.tooltip-timing {
  margin: 12px 0 15px 0;
  font-size: 14px;
}
.tooltip-timing_info {
  font-weight: bold;
}

.confidentiality {
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 29px !important;
  padding: 20px 0 20px 0 !important;
}

.page-id-7198 .par_mums_banner, .page-id-7245 .par_mums_banner, .page-id-7215 .par_mums_banner, .page-id-7258 .par_mums_banner {
  margin-top: 0 !important;
  height: auto !important;

}

.page-id-7198 .par_mums_title, .page-id-7245 .par_mums_title, .page-id-7215 .par_mums_title, .page-id-7258 .par_mums_title {
  color: #000 !important;
  font-size: 34px !important;
  font-family: Montserrat !important;
  font-weight: 700 !important;
  line-height: 20px !important;
}

/* .page-template-page-test-php .site-header,
.page-template-page-test-php .page-info-bar {
  display: none;
} */

@media (max-width: 767px) {
  .bakery-order-title {
    margin: 0;
    font-size: clamp(30px, 9vw, 34px);
  }
  .site-header {
    top: var(--topheader-sticky-height, 58px);
  }
  
  .bakery-headline-row,
  .bakery-content-grid {
    grid-template-columns: 1fr;
  }
  .bakery-headline-row,
  .bakery-order-title,
  .bakery-map-panel {
    border-width: 3px;
  }
  .bakery-map-panel {
    padding-bottom: 10px;
    border-bottom: 3px dotted var(--bakery-ink);
  }
  .bakery-headline-row .bakery-order-subtitle {
    display: none;
  }
  .bakery-address-panel {
    margin-top: 10px;
    margin-left: 5px;
    border-left: 4px dotted var(--bakery-ink);
    /* border-bottom: 4px dotted var(--bakery-ink); */
  }
  .bakery-order-subtitle.show-in-mobile {
    display: block;
    padding: 12px 11px 25px;
    border-bottom: 4px dotted var(--bakery-ink) !important;
  }
  .bakery-map-canvas {
    min-height: 250px;
  }
}
@media (max-width: 767px) {
  .tooltip-card {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding-right: 10px;
  }
  .tooltip-image {
    width: 100%;
  }
  .tooltip-text {
    padding: 0px 0px;
  }
  .tooltip-image {
    min-height: 140px;
  }
}
@media (max-width: 480px) {
  .gm-style .gm-style-iw {
    max-width: 70vw !important;
    width: 70vw !important;
  }

  .gm-style .gm-style-iw-d {
    overflow: auto !important;
  }
  .gm-ui-hover-effect {
    width: 35px !important;
    height: 35px !important;
  }
  .gm-ui-hover-effect > span {
    margin: 5px !important;
  }
}

/* Final 404 typography lock to avoid override/caching order issues */
@media (max-width: 767px) {
  body.error404 .error-404-modern__title {
    font-size: 40px !important;
    line-height: 1.02 !important;
  }

  body.error404 .error-404-modern__subtitle {
    font-size: 34px !important;
    line-height: 1.12 !important;
  }
}

@media (min-width: 768px) {
  body.error404 .error-404-modern__title {
    font-size: 40px !important;
    line-height: 1.1 !important;
  }

  body.error404 .error-404-modern__subtitle {
    font-size: 34px !important;
    line-height: 1.2 !important;
  }
}

/* ============================================================
   Static hero banner markup (hb-design) — desktop + mobile
   ============================================================ */
.hb-branch-dependent--hidden {
  display: none !important;
}

.hb-design {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  padding: clamp(40px, 5vw, 50px) 0;
  background: linear-gradient(rgba(219, 101, 29, 0.7)), url(../../images/hero_banner_bg.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 0;
  overflow: hidden;
  overflow-x: clip;
}

.hb-design__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(232, 119, 34, 0.82) 0%,
    rgba(232, 119, 34, 0.55) 42%,
    rgba(26, 17, 8, 0.4) 100%
  );
  pointer-events: none;
}

.hb-design .container.hb-design__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.hb-design__head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hb-design__title {
  margin: 0 0 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 70px;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.hb-design__lead {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.25;
  color: #ffffff;
  text-transform: none;
}

.hb-design__locations {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 440px;
}

.hb-design__location {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 10px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
  text-transform: none;
}

.hb-design__location:last-child {
  border-bottom: none;
}

.hb-design__location-bar {
  width: 4px;
  flex-shrink: 0;
  margin-right: 14px;
  border-radius: 2px;
  background: transparent;
}

.hb-design__location.is-active .hb-design__location-bar {
  background: #fff;
}

.hb-design__location.is-active .hb-design__location-text {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hb-design__card-slider {
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(24px, 5vw, 48px) clamp(20px, 4vw, 40px)
    clamp(20px, 4vw, 40px);
  touch-action: pan-y;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  container-type: inline-size;
  container-name: hb-card-slider;
}

.hb-design__card-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: max-content;
  max-width: none;
  will-change: transform;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.hb-design__col--card {
  min-width: 0;
}

.hb-design__card {
  flex: 0 0 500px;
  width: 500px;
  max-width: min(500px, 94vw);
  margin-right: -120px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.5s ease, box-shadow 1.5s ease;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  height: 740px;
}

.hb-design__card:last-child {
  margin-right: 0;
}

.hb-design__card--distant,
.hb-design__card:not(.hb-design__card--active):not(.hb-design__card--prev):not(.hb-design__card--next) {
  opacity: 0.48;
  z-index: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.hb-design__card--next .hb-design__card-body,
.hb-design__card--prev .hb-design__card-body {
  background: white;
  opacity: 0;
}

/* Side cards: explicit radius + rounded media so outer corners stay curved when clipped
   by the slider and so the image matches the card (translateZ on active can affect stacking). */
.hb-design__card--prev,
.hb-design__card--next {
  opacity: 0.96;
  z-index: 2;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  height: 600px;
}

.hb-design__card--active {
  transform: translateZ(88px) scale(1);
  opacity: 1;
  z-index: 4;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

/* Keep branch photos visible while the 3D stack animates (content/body already worked). */
.hb-design__card--active .hb-design__card-media,
.hb-design__card--prev .hb-design__card-media,
.hb-design__card--next .hb-design__card-media {
  opacity: 1;
  visibility: visible;
}

.hb-design__card--active .hb-design__card-media {
  transform: translate3d(0, 0, 1px);
}

.hb-design__card--active .hb-design__card-media img,
.hb-design__card--prev .hb-design__card-media img,
.hb-design__card--next .hb-design__card-media img {
  opacity: 1;
  visibility: visible;
}

.hb-design__card:not(.hb-design__card--active) .hb-design__dots {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hb-design__card-media {
  margin: 0;
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  overflow: clip;
  clip-path: inset(0 round 18px 18px 0 0);
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

@media (min-width: 992px) {
  /* Back-stack cards must not intercept clicks over the front image */
  .hb-design__card:not(.hb-design__card--active) {
    pointer-events: none !important;
  }

  .hb-design__card--active {
    pointer-events: auto !important;
    cursor: pointer;
  }

  .hb-design__card--active .hb-design__card-media,
  .hb-design__card--active .hb-design__card-media img,
  .hb-design__card--active .hb-design__card-body {
    pointer-events: auto;
  }

  .hb-design__card--active a,
  .hb-design__card--active button,
  .hb-design__card--active .hb-design__dot {
    cursor: pointer;
  }
}

.hb-design__card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 18px 18px 0 0 !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hb-design__card {
  border-radius: 18px !important;
  overflow: hidden !important;
  overflow: clip !important;
  clip-path: inset(0 round 18px);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  contain: paint;
}

.hb-design__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  row-gap: 6px;
  padding: 12px 0 8px;
  transition: opacity 0.4s ease;
  position: absolute;
  top: 192px;
  right: 198px;
}

.hb-design__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a1108;
  opacity: 0.35;
}

.hb-design__dot--active {
  width: 28px;
  height: 8px;
  border-radius: 999px;
  opacity: 1;
  background: var(--mb-main-color);
}

.hb-design__card-body {
  padding: 16px clamp(16px, 4vw, 22px) 22px;
}

.hb-design__card-title {
  margin: 0 0 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #000000;
}

.hb-design__card-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}

/* Global `a { display: block }` breaks flex on links — inner row centers icon + label (mobile-safe). */
a.hb-design__btn {
  flex: 1 1 0;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 48px;
  padding: 0;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.hb-design__btn:hover {
  opacity: 0.92;
}

.hb-design__btn-inner {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  box-sizing: border-box;
}

.hb-design__btn-icon {
  flex-shrink: 0;
  width: auto;
  height: 20px;
  max-height: 20px;
  object-fit: contain;
  display: block;
  margin: 0;
}

.hb-design__btn-text {
  white-space: nowrap;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.hb-design__btn--dark {
  min-width: 0;
  background: var(--btn-dark);
  color: #ffffff !important;
}

.hb-design__btn--dark:hover {
  background: var(--btn-dark-hover);
  opacity: 1;
}

.hb-design__btn--orange {
  min-width: 0;
  background: var(--mb-main-color);
  color: #ffffff !important;
}

.hb-design__btn--orange:hover {
  background: var(--mb-main-color-hover);
  opacity: 1;
}

.hb-design__card-info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600 !important;
  color: #d99152;
}

.hb-design__card-info p {
  margin: 0 0 10px;
}

.hb-design__card-info h3,
.hb-design__card-info h4,
.hb-design__card-info h5 {
  margin: 10px 0 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #000000;
  text-transform: none;
}

.hb-design__card-info h3:first-child,
.hb-design__card-info h4:first-child,
.hb-design__card-info h5:first-child {
  margin-top: 0;
}

.hb-design__card-info strong,
.hb-design__card-info b {
  color: #d97b29;
  font-weight: 700;
}

.hb-design__card-info-title {
  margin-top: 12px !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
  color: #000000 !important;
}

.hb-design__card-info-title strong {
  color: #000000 !important;
}

.hb-design__card-info .opening-hours .calender_main_title,
.hb-design__card-info .calender_main_title {
  display: block;
  color: #000000;
  font-weight: 700;
}

.hb-design__card-info .opening-hours .calender_sub_title,
.hb-design__card-info .calender_sub_title {
  color: #d99152;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hb-design__card-info .opening-hours .calender_value,
.hb-design__card-info .calender_value {
  color: #d97b29;
  font-weight: 700;
}

.hb-design__card-phone {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.hb-design__card-phone-label {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #d99152;
}

.hb-design__card-phone-num {
  font-weight: 700;
  font-size: clamp(14px, 3.5vw, 17px);
  color: #d97b29;
  text-decoration: none;
}

.hb-design__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--btn-dark);
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.hb-design__cta:hover {
  background: var(--btn-dark-hover);
  color: #ffffff !important;
}

@media (max-width: 991px) {
  .hb-design {
    overflow-x: clip;
  }

  .hb-design .container.hb-design__inner {
    grid-template-columns: 1fr;
  }

  .hb-design__col--card {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    overflow-x: clip;
  }

  .hb-design__col--list {
    order: 1;
  }

  .hb-design__locations {
    max-width: none;
  }

  .hb-design__card-slider {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
    perspective: none;
    contain: layout;
  }

  .hb-design__card {
    flex: 0 0 var(--hb-card-width, 100%);
    width: var(--hb-card-width, 100%);
    max-width: var(--hb-card-width, 100%);
    margin-right: 0 !important;
    height: auto !important;
    min-height: 0;
    box-sizing: border-box;
    align-self: flex-start;
  }

  .hb-design__card--active {
    transform: none;
    height: auto !important;
  }

  .hb-design__card--prev,
  .hb-design__card--next {
    height: auto !important;
  }

  .hb-design__card-body {
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hb-design__card-title {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hb-design__card-actions {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .hb-design__card-actions .hb-design__btn,
  .hb-design__card-actions .hb-design__btn--dark,
  .hb-design__card-actions .hb-design__btn--orange {
    flex: 1 1 calc(50% - 5px) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100%;
  }

  .hb-design__card-actions .hb-design__btn-text {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }

  .hb-design__head,
  .hb-design__locations {
    max-width: 100%;
  }

  /* Horizontal slide (1.5s): only active card visible; others fade out slowly */
  .hb-design__card-slider {
    overflow: hidden !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 0 !important;
    isolation: isolate;
  }

  .hb-design__card-track {
    width: max-content !important;
    max-width: none !important;
    align-items: flex-start !important;
    justify-content: flex-start;
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hb-design__card {
    transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 1.5s !important;
  }

  .hb-design__card--active {
    position: relative;
    z-index: 2;
    transform: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s !important;
  }

  /* Collapse hidden slides vertically so the viewport height matches the active card */
  .hb-design__card:not(.hb-design__card--active) {
    position: relative;
    z-index: 1;
    transform: none;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border-width: 0 !important;
  }

  .hb-design__card--prev .hb-design__card-body,
  .hb-design__card--next .hb-design__card-body,
  .hb-design__card--distant .hb-design__card-body {
    opacity: 1;
  }

  .hb-design.hb-design--sliding .hb-design__card:not(.hb-design__card--active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Dots: in document flow between image and title (not absolute over text) */
  .hb-design__dots {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px 6px;
    margin: 0;
    box-sizing: border-box;
    z-index: 2;
  }
}

@media (max-width: 767px) {
  .hb-design {
    padding: 36px 0 44px;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
  }

  .hb-design .container,
  .hb-design .container.hb-design__inner {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  /* Figma mobile typography — do not scale down */
  .hb-design__title {
    font-size: 64px;
    font-weight: 800;
  }

  .hb-design__lead {
    font-size: 25px;
    font-weight: 700;
  }

  .hb-design__location {
    font-size: 28px;
    font-weight: 700;
  }

  .hb-design__card-slider {
    padding-top: clamp(16px, 4vw, 32px);
    padding-bottom: clamp(16px, 4vw, 32px);
  }

  .hb-design__card-actions {
    gap: 10px;
  }

  .hb-design__card-actions .hb-design__btn,
  .hb-design__card-actions .hb-design__btn--dark,
  .hb-design__card-actions .hb-design__btn--orange {
    min-height: 54px;
    height: 54px;
    padding: 12px 4px;
    border-radius: 30px;
    font-size: clamp(10px, 2.9vw, 12px);
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .hb-design__card-actions .hb-design__btn-inner {
    min-height: 0;
    height: auto;
    padding: 0;
    gap: 5px;
  }

  .hb-design__card-actions .hb-design__btn-text {
    font-size: inherit;
    letter-spacing: inherit;
  }

  .hb-design__card-actions .hb-design__btn-icon {
    height: 16px;
    max-height: 16px;
  }

  .hb-design__card-body {
    padding: 16px 16px 20px;
  }
}

/* Prevent wide branch/map panels from stretching the document on phones */
@media (max-width: 991px) {
  .kafejnicas_right > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  .topheader,
  .site-header,
  .header_outside_wrapper {
    width: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-design__card-track,
  .hb-design__card {
    transition-duration: 0.01ms !important;
  }
}


.grandem-side-cart__shipping {
  display: none;
}

.woocommerce-cart .cart-totals-shipping-section {
  display: none;
}