.vesuvi-checkout-extra{padding:12px;margin:10px 0;border:1px solid #e3e3e3;border-radius:4px;background:#fafafa}.vesuvi-discount-flag{position:absolute;top:8px;left:-8px;z-index:4;background:#d71920;color:#fff;font-weight:700;font-size:16px;padding:7px 12px;border-radius:0 4px 4px 0;box-shadow:0 2px 7px rgba(0,0,0,.15)}.product-preview__thumbnails-wrap,.product-thumb__image{position:relative}.vesuvi-price-request{font-size:22px;font-weight:700;line-height:1.25;color:#d71920;margin:8px 0}.vesuvi-price-request.--small{font-size:16px}.vesuvi-product-terms{margin:18px 0 0;padding:14px 16px;background:#f7f8fa;border-left:4px solid #2d6ca2;font-size:14px;line-height:1.55}.vesuvi-product-terms>div+div{margin-top:8px}@media(max-width:767px){.vesuvi-discount-flag{left:0;top:4px;font-size:14px;padding:5px 9px}.vesuvi-product-terms{margin-top:12px}.product-preview__price-main{display:flex;flex-wrap:wrap;gap:8px;align-items:center}}

/* Reserve space for discount labels so they never cover product photos. */
.product-thumb.has-vesuvi-discount{padding-top:50px}.product-thumb.has-vesuvi-discount>.product-thumb__discount{top:12px;left:15px}.product-preview__thumbnails-wrap.has-vesuvi-discount{padding-top:44px}.product-preview__thumbnails-wrap.has-vesuvi-discount>.vesuvi-discount-flag{top:0;left:0}@media(max-width:767px){.product-thumb.has-vesuvi-discount{padding-top:44px}.product-preview__thumbnails-wrap.has-vesuvi-discount{padding-top:38px}}

/* Berlin v12: compact zero-price label in product cards.
   Keep the large label on the product page, but make catalog/home cards readable. */
.showintab .product-thumb__price.vesuvi-price-request {
  width: 52%;
  margin: 0;
  padding-right: 7px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow: visible;
  vertical-align: middle;
}
.showintab .product-thumb__price.vesuvi-price-request + .product-thumb__button-wrap {
  width: 48%;
  margin-left: -4px;
}
.showintab .product-thumb__price.vesuvi-price-request + .product-thumb__button-wrap .btn {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 11px;
}

/* Other grid cards that use the same zero-price marker. */
.product-layout.product-grid .product-thumb__price.vesuvi-price-request {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
}

@media (max-width: 991px) {
  .showintab .product-thumb__price.vesuvi-price-request {
    width: 100%;
    padding-right: 0;
    margin-bottom: 8px;
    font-size: 14px;
    text-align: center;
  }
  .showintab .product-thumb__price.vesuvi-price-request + .product-thumb__button-wrap {
    width: 100%;
    margin-left: 0;
  }
}

/* Berlin v15: one responsive header/footer system for desktop, tablet and phone.
   The old theme switched several elements at 992/768px, so the header/footer
   looked like different designs on different devices. These overrides keep the
   same content and visual hierarchy while only changing layout to fit the screen. */

/* Footer: keep all content available on every device, including the logo. */
.footer .footer-col {
  box-sizing: border-box;
}
.footer .footer-logo-col .logo a {
  display: inline-block;
}
.footer .footer-logo-col .logo img {
  width: auto;
  max-width: 190px;
  max-height: 82px;
}
.footer .footer-contact-col,
.footer .footer-phone-col,
.footer .footer-menu-col {
  line-height: 1.7;
}

@media screen and (max-width: 992px) {
  /* Stable compact header for both tablets and phones. */
  body {
    padding-top: 68px !important;
  }
  header.header {
    height: 68px !important;
    min-height: 68px !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: 0 2px 14px rgba(0,0,0,.10);
    display: block;
  }
  header.header .container,
  header.header .row,
  header.header .header-action-wrap {
    height: 68px !important;
    min-height: 68px !important;
  }
  header.header .container {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  header.header .row {
    position: relative;
    margin-left: -15px;
    margin-right: -15px;
  }
  header.header .header-action-wrap {
    position: static !important;
    float: none !important;
    width: 100% !important;
    padding: 0 15px !important;
  }
  header.header .header-action {
    height: 68px !important;
    margin: 0 !important;
    display: block !important;
  }
  header.header .header-action .mob-menu-btn {
    display: block !important;
    position: absolute;
    z-index: 4;
    left: 15px;
    top: 50%;
    margin: 0 !important;
    transform: translateY(-50%);
    color: #143d45 !important;
    font-size: 0;
    line-height: 1;
  }
  header.header .header-action .mob-menu-btn i.fa {
    font-size: 26px;
    line-height: 1;
  }
  /* Hide the varying tablet-only action row. Search, cart and language stay in the drawer. */
  header.header .header-action .phone-block,
  header.header .header-action .phone-call,
  header.header .header-action .lang-wrap,
  header.header .header-action .right-block {
    display: none !important;
  }
  header.header .header-nav {
    display: none !important;
  }
  header.header .logo-wrap {
    position: absolute !important;
    z-index: 3;
    float: none !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    width: auto !important;
    max-width: calc(100% - 110px);
    padding: 0 !important;
    text-align: center !important;
    transform: translate(-50%, -50%) !important;
  }
  header.header .logo-wrap a {
    display: block !important;
  }
  header.header .logo-wrap img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 190px !important;
    max-height: 48px !important;
    margin: 0 auto;
  }

  /* Drawer starts exactly below the responsive header at every mobile breakpoint. */
  .mob-menu {
    top: 68px !important;
    height: calc(100vh - 68px) !important;
    height: calc(100dvh - 68px) !important;
    width: 340px !important;
    min-width: 0 !important;
    max-width: 88vw !important;
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    z-index: 1000 !important;
  }
  .mob-menu > #mob-menu-list {
    flex: 1 0 auto;
    padding-bottom: 16px;
  }
  .mob-menu__footer {
    position: sticky !important;
    left: auto !important;
    bottom: 0 !important;
    flex: 0 0 48px;
    height: 48px !important;
    margin: auto -10px 0;
    padding: 9px 10px !important;
    background: #dcdcdc;
    border-top: 1px solid rgba(20,61,69,.15);
    z-index: 6;
  }
  .mob-menu .search-wrap,
  .mob-menu .btn-cart {
    top: 9px !important;
  }
  .mob-menu .lang-wrap {
    line-height: 30px;
  }

  /* Footer becomes a balanced 2x2 grid on tablets. */
  .footer {
    padding: 24px 0 12px !important;
    text-align: left !important;
    font-size: 14px !important;
  }
  .footer .footer-col {
    min-height: 118px;
    margin-bottom: 16px !important;
  }
  .footer .footer-logo-col,
  .footer .footer-phone-col {
    clear: left;
  }
  .footer .footer-logo-col .logo img {
    max-width: 180px;
    max-height: 72px;
  }
}

@media screen and (max-width: 767px) {
  /* Same header design as tablet; only scale it for narrower screens. */
  body {
    padding-top: 62px !important;
  }
  header.header,
  header.header .container,
  header.header .row,
  header.header .header-action-wrap,
  header.header .header-action {
    height: 62px !important;
    min-height: 62px !important;
  }
  header.header .header-action .mob-menu-btn {
    left: 14px;
  }
  header.header .header-action .mob-menu-btn i.fa {
    font-size: 24px;
  }
  header.header .logo-wrap {
    max-width: calc(100% - 90px);
  }
  header.header .logo-wrap img {
    max-width: 170px !important;
    max-height: 43px !important;
  }
  .mob-menu {
    top: 62px !important;
    height: calc(100vh - 62px) !important;
    height: calc(100dvh - 62px) !important;
    width: 320px !important;
    max-width: 90vw !important;
  }

  /* One consistent footer stack on phones. */
  .footer {
    padding: 22px 0 10px !important;
    text-align: center !important;
    font-size: 14px !important;
  }
  .footer .footer-col {
    float: none !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 18px !important;
  }
  .footer .footer-logo-col {
    display: block !important;
  }
  .footer .footer-logo-col .logo img {
    max-width: min(180px, 62vw);
    max-height: 68px;
    margin: 0 auto;
  }
  .footer .list-unstyled {
    margin-bottom: 0;
  }
  .footer .icon-wrap {
    width: 22px;
  }
  .footer .row:last-child .col-sm-12 {
    margin-bottom: 8px !important;
  }
}

@media screen and (max-width: 420px) {
  body {
    padding-top: 58px !important;
  }
  header.header,
  header.header .container,
  header.header .row,
  header.header .header-action-wrap,
  header.header .header-action {
    height: 58px !important;
    min-height: 58px !important;
  }
  header.header .header-action .mob-menu-btn i.fa {
    font-size: 22px;
  }
  header.header .logo-wrap img {
    max-width: 145px !important;
    max-height: 39px !important;
  }
  .mob-menu {
    top: 58px !important;
    height: calc(100vh - 58px) !important;
    height: calc(100dvh - 58px) !important;
    width: 300px !important;
    max-width: 92vw !important;
  }
  .mob-menu ul > li a {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer {
    font-size: 13px !important;
  }
}

/* Berlin v16: mobile header — centered language selector and symmetric actions. */
.berlin-mobile-extras,
.berlin-mobile-search-panel {
  display: none;
}
.berlin-language-desktop-host {
  display: inline-block;
  vertical-align: top;
}
header.header .header-nav .berlin-search-desktop-host {
  display: inline-block;
  vertical-align: middle;
  width: 180px;
}
header.header .header-nav .berlin-search-desktop-host .search-wrap {
  width: 100%;
}

@media screen and (max-width: 992px) {
  body {
    padding-top: 124px !important;
  }
  header.header,
  header.header .container {
    height: 124px !important;
    min-height: 124px !important;
  }
  header.header .row,
  header.header .header-action-wrap,
  header.header .header-action {
    height: 54px !important;
    min-height: 54px !important;
  }
  header.header .row {
    margin-bottom: 0 !important;
  }
  header.header .header-action .mob-menu-btn {
    top: 27px !important;
    left: 18px !important;
  }
  header.header .logo-wrap {
    top: 27px !important;
    max-width: calc(100% - 110px) !important;
  }
  header.header .logo-wrap img {
    max-width: 168px !important;
    max-height: 42px !important;
  }
  header.header .berlin-language-desktop-host,
  header.header .berlin-search-desktop-host {
    display: none !important;
  }

  .berlin-mobile-extras {
    display: block;
    height: 70px;
    margin: 0 -15px;
    border-top: 1px solid rgba(20,61,69,.08);
    background: #fff;
  }
  .berlin-mobile-language-slot {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .berlin-mobile-language-slot .lang-wrap {
    display: block !important;
    float: none !important;
    margin: 0 !important;
  }
  .berlin-mobile-language-slot .flags-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
  }
  .berlin-mobile-language-slot .flags-inline > li {
    padding: 0;
  }
  .berlin-mobile-language-slot .flags-inline img {
    display: block;
    width: 30px;
    height: 21px;
    object-fit: cover;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
  }
  .berlin-mobile-actions {
    height: 42px;
    max-width: 246px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
  }
  .berlin-mobile-action {
    appearance: none;
    -webkit-appearance: none;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(20,61,69,.23);
    border-radius: 50%;
    background: #fff;
    color: #143d45 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    font-size: 17px;
    line-height: 1;
  }
  .berlin-mobile-action:hover,
  .berlin-mobile-action:focus,
  .berlin-mobile-action:active {
    color: #fa8c00 !important;
    border-color: #fa8c00;
    outline: 0;
    background: #fff;
  }

  .berlin-mobile-search-panel {
    position: fixed;
    z-index: 1200;
    top: 124px;
    left: 0;
    right: 0;
    display: block;
    padding: 10px 14px 12px;
    background: #fff;
    border-top: 1px solid rgba(20,61,69,.08);
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .berlin-mobile-search-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .berlin-mobile-search-slot,
  .berlin-mobile-search-slot .search-wrap,
  .berlin-mobile-search-slot #search {
    width: 100% !important;
    max-width: 620px;
    margin: 0 auto;
  }
  .berlin-mobile-search-slot #search {
    display: flex !important;
    align-items: stretch;
  }
  .berlin-mobile-search-slot #search > div:first-child {
    position: relative;
    flex: 1 1 auto;
    display: block !important;
  }
  .berlin-mobile-search-slot #search > div:last-child {
    flex: 0 0 44px;
    display: block !important;
  }
  .berlin-mobile-search-slot #search input {
    width: 100% !important;
    height: 42px !important;
    padding: 9px 12px !important;
    border: 1px solid #cfd7d9 !important;
    border-right: 0 !important;
    border-radius: 8px 0 0 8px !important;
    background: #fff !important;
    color: #143d45 !important;
    font-size: 15px !important;
    box-shadow: none !important;
  }
  .berlin-mobile-search-slot #search input::placeholder {
    color: #87979b !important;
  }
  .berlin-mobile-search-slot #search .s-input-add {
    display: none !important;
  }
  .berlin-mobile-search-slot #search button {
    display: flex !important;
    width: 44px !important;
    height: 42px !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #fa8c00 !important;
    border-radius: 0 8px 8px 0 !important;
    background: #fa8c00 !important;
    color: #fff !important;
  }

  .mob-menu {
    top: 124px !important;
    height: calc(100vh - 124px) !important;
    height: calc(100dvh - 124px) !important;
  }
  .mob-menu > #mob-menu-list {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  body {
    padding-top: 116px !important;
  }
  header.header,
  header.header .container {
    height: 116px !important;
    min-height: 116px !important;
  }
  header.header .row,
  header.header .header-action-wrap,
  header.header .header-action {
    height: 50px !important;
    min-height: 50px !important;
  }
  header.header .header-action .mob-menu-btn {
    top: 25px !important;
    right: 14px !important;
  }
  header.header .logo-wrap {
    top: 25px !important;
  }
  header.header .logo-wrap img {
    max-width: 154px !important;
    max-height: 39px !important;
  }
  .berlin-mobile-extras {
    height: 66px;
  }
  .berlin-mobile-language-slot {
    height: 26px;
  }
  .berlin-mobile-actions {
    height: 40px;
    max-width: 220px;
  }
  .berlin-mobile-action {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .berlin-mobile-search-panel {
    top: 116px;
  }
  .mob-menu {
    top: 116px !important;
    height: calc(100vh - 116px) !important;
    height: calc(100dvh - 116px) !important;
  }
}

@media screen and (max-width: 420px) {
  body {
    padding-top: 108px !important;
  }
  header.header,
  header.header .container {
    height: 108px !important;
    min-height: 108px !important;
  }
  header.header .row,
  header.header .header-action-wrap,
  header.header .header-action {
    height: 46px !important;
    min-height: 46px !important;
  }
  header.header .header-action .mob-menu-btn {
    top: 23px !important;
  }
  header.header .logo-wrap {
    top: 23px !important;
  }
  header.header .logo-wrap img {
    max-width: 138px !important;
    max-height: 35px !important;
  }
  .berlin-mobile-extras {
    height: 62px;
  }
  .berlin-mobile-language-slot {
    height: 24px;
  }
  .berlin-mobile-language-slot .flags-inline img {
    width: 27px;
    height: 19px;
  }
  .berlin-mobile-actions {
    height: 38px;
    max-width: 204px;
  }
  .berlin-mobile-action {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .berlin-mobile-search-panel {
    top: 108px;
    padding: 8px 10px 10px;
  }
  .mob-menu {
    top: 108px !important;
    height: calc(100vh - 108px) !important;
    height: calc(100dvh - 108px) !important;
  }
}

/* Berlin v16: unified product-list sorting controls. */
.berlin-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(20,61,69,.13);
  border-radius: 12px;
  background: #f7f9f9;
}
.berlin-catalog-toolbar__view {
  flex: 0 0 auto;
}
.berlin-catalog-toolbar__sort,
.berlin-catalog-toolbar__limit {
  display: flex;
  align-items: center;
  gap: 8px;
}
.berlin-catalog-toolbar__sort {
  margin-left: auto;
  min-width: 280px;
}
.berlin-catalog-toolbar__limit {
  flex: 0 0 auto;
}
.berlin-catalog-toolbar label {
  margin: 0;
  color: #143d45;
  font-weight: 600;
  white-space: nowrap;
}
.berlin-catalog-toolbar select.form-control {
  height: 38px;
  border-color: #cbd5d7;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: none;
}
.berlin-catalog-toolbar__sort select {
  min-width: 210px;
}
.berlin-catalog-toolbar__limit select {
  width: 84px;
}

@media screen and (max-width: 767px) {
  .berlin-catalog-toolbar {
    padding: 9px 10px;
    margin-bottom: 12px;
    display: block;
  }
  .berlin-catalog-toolbar__view,
  .berlin-catalog-toolbar__limit {
    display: none !important;
  }
  .berlin-catalog-toolbar__sort {
    width: 100%;
    min-width: 0;
    margin: 0;
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
  }
  .berlin-catalog-toolbar__sort label {
    font-size: 13px;
  }
  .berlin-catalog-toolbar__sort select {
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }
}

/* Berlin v17: hard mobile-width normalization.
   Prevent any home-page block from keeping desktop/tablet width and pushing
   the document sideways on narrow phones. */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
img,
video,
iframe {
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  /* Bootstrap's container/negative-row margins are neutralised on the home
     page so the actual content width always equals the visible viewport. */
  body.common-home > .container,
  body.common-home #content,
  body.common-home #content > .box,
  body.common-home #content > div,
  body.common-home .custom-category-list,
  body.common-home .showintab-module,
  body.common-home .grid_holder,
  body.common-home .showintab {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body.common-home > .container {
    padding-right: 12px !important;
    padding-right: 12px !important;
  }
  body.common-home > .container > .row,
  body.common-home #content > .row,
  body.common-home .custom-category-list > .row,
  body.common-home .showintab.row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.common-home #content {
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Home category tiles: one correctly sized row per category on phones. */
  body.common-home .custom-category-list {
    padding-top: 16px !important;
  }
  body.common-home .custom-category-list .row > [class*="col-"] {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.common-home .custom-category-list__item {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 92px;
    margin: 0 0 12px !important;
    padding: 10px 12px !important;
    overflow: hidden;
    box-sizing: border-box !important;
    border: 1px solid #809fa6 !important;
    border-radius: 16px !important;
    background: #dcdcdc !important;
  }
  body.common-home .custom-category-list__item-image {
    flex: 0 0 78px;
    width: 78px !important;
    min-width: 78px !important;
    min-height: 68px !important;
    max-width: 78px !important;
    margin: 0 12px 0 0 !important;
  }
  body.common-home .custom-category-list__item-image img {
    display: block;
    width: 100% !important;
    max-width: 78px !important;
    max-height: 72px !important;
    object-fit: contain;
  }
  body.common-home .custom-category-list__item-name {
    flex: 1 1 auto;
    min-width: 0;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  /* Home product cards: never inherit a narrow desktop carousel width. */
  body.common-home .showintab {
    display: block !important;
    padding: 0 !important;
  }
  body.common-home .showintab > .product-layout,
  body.common-home .showintab > [class*="product-layout"] {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 0 14px !important;
  }
  body.common-home .showintab .product-thumb {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 12px 56px !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
  body.common-home .showintab .product-thumb__image {
    display: block !important;
    width: min(180px, 58vw) !important;
    max-width: 180px !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0 auto 10px !important;
  }
  body.common-home .showintab .product-thumb__image img {
    width: 100% !important;
    height: auto !important;
  }
  body.common-home .showintab .product-thumb__caption,
  body.common-home .showintab .product-thumb__title,
  body.common-home .showintab .product-thumb__price-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body.common-home .showintab .product-thumb__title {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 0 10px !important;
    padding: 0 4px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    overflow-wrap: anywhere;
  }
  body.common-home .showintab .product-thumb__price-wrap {
    text-align: center !important;
  }
  body.common-home .showintab .product-thumb__price,
  body.common-home .showintab .product-thumb__price.vesuvi-price-request {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
  }
  body.common-home .showintab .product-thumb__button-wrap,
  body.common-home .showintab .product-thumb__price + .product-thumb__button-wrap,
  body.common-home .showintab .product-thumb__price.vesuvi-price-request + .product-thumb__button-wrap {
    position: absolute !important;
    right: 12px !important;
    right: 12px !important;
    bottom: 10px !important;
    width: auto !important;
    height: 38px !important;
    margin: 0 !important;
    text-align: center !important;
  }
  body.common-home .showintab .product-thumb__button,
  body.common-home .showintab .product-thumb__button-cell {
    width: 100% !important;
    height: 38px !important;
  }
  body.common-home .showintab .product-thumb__button .btn {
    max-width: 100%;
    min-height: 36px;
    padding: 7px 16px !important;
    font-size: 12px !important;
    white-space: normal;
  }
  body.common-home .showintab .product-thumb__button .btn span {
    display: inline !important;
  }

  /* Mobile header: use a fixed top row instead of percentage/translateY
     positioning. This keeps the logo fully inside the header on every DPR. */
  header.header .row,
  header.header .header-action-wrap,
  header.header .header-action {
    overflow: visible !important;
  }
  header.header .logo-wrap {
    top: 0 !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    width: min(52vw, 190px) !important;
    max-width: min(52vw, 190px) !important;
    height: 50px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateX(-50%) !important;
    overflow: visible !important;
  }
  header.header .logo-wrap .logo,
  header.header .logo-wrap a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  header.header .logo-wrap img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 38px !important;
    margin: 0 auto !important;
  }
}

@media screen and (max-width: 420px) {
  body.common-home > .container {
    padding-right: 10px !important;
    padding-right: 10px !important;
  }
  body.common-home .custom-category-list__item {
    min-height: 82px;
    padding: 8px 10px !important;
  }
  body.common-home .custom-category-list__item-image {
    flex-basis: 66px;
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    margin-right: 10px !important;
  }
  body.common-home .custom-category-list__item-image img {
    max-width: 66px !important;
    max-height: 64px !important;
  }
  body.common-home .custom-category-list__item-name {
    font-size: 13px !important;
  }
  header.header .logo-wrap {
    height: 46px !important;
    width: min(50vw, 158px) !important;
    max-width: min(50vw, 158px) !important;
  }
  header.header .logo-wrap img {
    max-height: 34px !important;
  }
}

/* Berlin v19: additional mobile refinements for cart/category pages.
   Goals based on current screenshots:
   1) empty-cart page should not keep desktop alignment;
   2) mobile category cards should not look broken or overly wide;
   3) filter/sorting and left-column blocks should fit narrow screens cleanly. */
@media screen and (max-width: 767px) {
  /* General mobile page spacing */
  .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  #content.category,
  #content.checkout-cart,
  body.checkout-cart #content,
  body.product-category #content,
  body.product-search #content,
  body.product-special #content,
  body.product-manufacturer #content {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Left-column modules (category tree / filter) become regular full-width cards. */
  #column-left,
  #column-right {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }
  #column-left .box,
  #column-left .module,
  #column-left .box-category,
  #column-left .ocfilter,
  #column-left .list-group,
  #column-left .category-block,
  #column-left .blog-category {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile toolbar/filter row */
  .berlin-catalog-toolbar {
    margin-top: 8px !important;
  }
  .ocfilter-mobile-handle,
  .btn-ocf-mobile,
  .btn-ocf-filter,
  .ocfilter-mobile-trigger,
  .ocfilter-mobile {
    max-width: 100%;
  }

  /* Product list cards on category/search/manufacturer pages. */
  .product-layout.product-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .product-layout.product-list .product-thumb {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 14px 14px 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 22px !important;
  }
  .product-layout.product-list .product-thumb__image {
    float: none !important;
    width: min(210px, 58vw) !important;
    max-width: 210px !important;
    margin: 0 auto 12px !important;
  }
  .product-layout.product-list .product-thumb__image img {
    width: 100% !important;
    height: auto !important;
  }
  .product-layout.product-list .product-thumb__caption {
    display: block !important;
    padding-left: 0 !important;
  }
  .product-layout.product-list .product-thumb__desc-wrap,
  .product-layout.product-list .product-thumb__price-wrap {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding-left: 0 !important;
    margin: 0 !important;
  }
  .product-layout.product-list .product-thumb__title {
    margin: 0 0 10px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    height: auto !important;
  }
  .product-layout.product-list .product-thumb__desc {
    display: block !important;
    margin: 0 0 14px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
  .product-layout.product-list .product-thumb__price-wrap {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  .product-layout.product-list .product-thumb__price,
  .product-layout.product-list .vesuvi-price-request.--small {
    flex: 1 1 auto;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .product-layout.product-list .product-thumb__price-number {
    font-size: 18px !important;
    line-height: 1.15 !important;
  }
  .product-layout.product-list .product-thumb__price-number.--old {
    font-size: 14px !important;
    margin-bottom: 3px;
  }
  .product-layout.product-list .product-thumb__button-wrap {
    flex: 0 0 auto;
    width: auto !important;
    text-align: right !important;
  }
  .product-layout.product-list .product-thumb__button,
  .product-layout.product-list .product-thumb__button-cell {
    width: auto !important;
    display: block !important;
  }
  .product-layout.product-list .product-thumb__button .btn,
  .product-layout.product-list .product-thumb__button-wrap .btn,
  .product-layout.product-list .product-thumb__button-wrap button {
    min-width: 144px;
    min-height: 42px;
    padding: 10px 14px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }

  /* Empty cart / empty list pages. */
  body.checkout-cart .buttons,
  .checkout-cart .buttons,
  .checkout-cart .text-center,
  #content .buttons {
    text-align: center !important;
  }
  body.checkout-cart .buttons .pull-right,
  body.checkout-cart .buttons .pull-left,
  .checkout-cart .buttons .pull-right,
  .checkout-cart .buttons .pull-left {
    float: none !important;
  }
  body.checkout-cart .buttons .btn,
  .checkout-cart .buttons .btn,
  .checkout-cart .btn-shopping,
  #content .buttons .btn {
    display: inline-block !important;
    min-width: 180px;
    margin: 10px auto 0 !important;
  }

  /* Cart totals/actions should not stay desktop-right aligned on phone. */
  .cart > .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    text-align: center !important;
  }
  .cart > .row > [class*="col-"] table {
    margin: 0 auto 12px !important;
  }
  .cart > .row > [class*="col-"] .btn-primary {
    display: inline-block !important;
    min-width: 180px;
  }
}

@media screen and (max-width: 420px) {
  .product-layout.product-list .product-thumb {
    padding: 12px 12px 14px !important;
    border-radius: 20px !important;
  }
  .product-layout.product-list .product-thumb__image {
    width: min(180px, 60vw) !important;
    max-width: 180px !important;
  }
  .product-layout.product-list .product-thumb__title {
    font-size: 14px !important;
  }
  .product-layout.product-list .product-thumb__desc {
    font-size: 13px !important;
  }
  .product-layout.product-list .product-thumb__price-wrap {
    display: block !important;
  }
  .product-layout.product-list .product-thumb__price,
  .product-layout.product-list .vesuvi-price-request.--small {
    width: 100% !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }
  .product-layout.product-list .product-thumb__button-wrap {
    width: 100% !important;
    text-align: center !important;
  }
  .product-layout.product-list .product-thumb__button .btn,
  .product-layout.product-list .product-thumb__button-wrap .btn,
  .product-layout.product-list .product-thumb__button-wrap button {
    min-width: 0;
    width: 100% !important;
    max-width: 100%;
  }
}

/* Berlin v21: swap mobile menu and language positions.
   Menu returns to the upper-left corner; vertical language flags move to the upper-right. */
@media screen and (max-width: 992px) {
  header.header,
  header.header .container {
    height: 114px !important;
    min-height: 114px !important;
  }
  body {
    padding-top: 114px !important;
  }
  header.header .container {
    position: relative !important;
  }
  header.header .row,
  header.header .header-action-wrap,
  header.header .header-action {
    height: 64px !important;
    min-height: 64px !important;
  }

  /* Language: top-left, one flag under another. */
  .berlin-mobile-language-slot {
    position: absolute !important;
    z-index: 8;
    top: 7px !important;
    left: auto !important;
    right: 14px !important;
    width: 38px !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    line-height: 1 !important;
  }
  .berlin-mobile-language-slot .lang-wrap {
    display: block !important;
    width: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .berlin-mobile-language-slot .flags-inline {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    width: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .berlin-mobile-language-slot .flags-inline > li {
    display: block !important;
    float: none !important;
    width: 32px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .berlin-mobile-language-slot .flags-inline a {
    display: block !important;
    width: 32px !important;
    height: 22px !important;
    padding: 0 !important;
  }
  .berlin-mobile-language-slot .flags-inline img {
    display: block !important;
    width: 32px !important;
    height: 22px !important;
    margin: 0 !important;
    object-fit: cover;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
  }

  /* Top row: centered logo, menu on the opposite side from languages. */
  header.header .logo-wrap {
    top: 0 !important;
    left: 50% !important;
    width: min(54vw, 190px) !important;
    max-width: min(54vw, 190px) !important;
    height: 64px !important;
    transform: translateX(-50%) !important;
  }
  header.header .logo-wrap img {
    max-height: 43px !important;
  }
  header.header .header-action .mob-menu-btn {
    left: 16px !important;
    right: auto !important;
    top: 32px !important;
    transform: translateY(-50%) !important;
  }
  header.header .header-action .mob-menu-btn i.fa {
    font-size: 27px !important;
  }

  /* Second row contains only the three main actions. */
  .berlin-mobile-extras {
    position: relative !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 -15px !important;
    border-top: 1px solid rgba(20,61,69,.08);
  }
  .berlin-mobile-actions {
    height: 50px !important;
    max-width: 240px !important;
  }
  .berlin-mobile-action {
    width: 38px !important;
    height: 38px !important;
  }

  .berlin-mobile-search-panel {
    top: 114px !important;
  }
  .mob-menu {
    top: 114px !important;
    height: calc(100vh - 114px) !important;
    height: calc(100dvh - 114px) !important;
  }
}

@media screen and (max-width: 767px) {
  body {
    padding-top: 108px !important;
  }
  header.header,
  header.header .container {
    height: 108px !important;
    min-height: 108px !important;
  }
  header.header .row,
  header.header .header-action-wrap,
  header.header .header-action {
    height: 60px !important;
    min-height: 60px !important;
  }
  .berlin-mobile-language-slot {
    top: 6px !important;
    left: auto !important;
    right: 12px !important;
    width: 36px !important;
  }
  .berlin-mobile-language-slot .lang-wrap,
  .berlin-mobile-language-slot .flags-inline {
    width: 36px !important;
  }
  .berlin-mobile-language-slot .flags-inline > li,
  .berlin-mobile-language-slot .flags-inline a,
  .berlin-mobile-language-slot .flags-inline img {
    width: 30px !important;
    height: 21px !important;
  }
  header.header .logo-wrap {
    width: min(52vw, 174px) !important;
    max-width: min(52vw, 174px) !important;
    height: 60px !important;
  }
  header.header .logo-wrap img {
    max-height: 40px !important;
  }
  header.header .header-action .mob-menu-btn {
    left: 14px !important;
    right: auto !important;
    top: 30px !important;
  }
  header.header .header-action .mob-menu-btn i.fa {
    font-size: 25px !important;
  }
  .berlin-mobile-extras {
    height: 48px !important;
    min-height: 48px !important;
  }
  .berlin-mobile-actions {
    height: 48px !important;
    max-width: 220px !important;
  }
  .berlin-mobile-action {
    width: 36px !important;
    height: 36px !important;
  }
  .berlin-mobile-search-panel {
    top: 108px !important;
  }
  .mob-menu {
    top: 108px !important;
    height: calc(100vh - 108px) !important;
    height: calc(100dvh - 108px) !important;
  }
}

@media screen and (max-width: 420px) {
  body {
    padding-top: 102px !important;
  }
  header.header,
  header.header .container {
    height: 102px !important;
    min-height: 102px !important;
  }
  header.header .row,
  header.header .header-action-wrap,
  header.header .header-action {
    height: 56px !important;
    min-height: 56px !important;
  }
  .berlin-mobile-language-slot {
    top: 5px !important;
    left: auto !important;
    right: 10px !important;
    width: 34px !important;
  }
  .berlin-mobile-language-slot .lang-wrap,
  .berlin-mobile-language-slot .flags-inline {
    width: 34px !important;
    gap: 3px !important;
  }
  .berlin-mobile-language-slot .flags-inline > li,
  .berlin-mobile-language-slot .flags-inline a,
  .berlin-mobile-language-slot .flags-inline img {
    width: 28px !important;
    height: 19px !important;
  }
  header.header .logo-wrap {
    width: min(50vw, 158px) !important;
    max-width: min(50vw, 158px) !important;
    height: 56px !important;
  }
  header.header .logo-wrap img {
    max-height: 36px !important;
  }
  header.header .header-action .mob-menu-btn {
    left: 11px !important;
    right: auto !important;
    top: 28px !important;
  }
  header.header .header-action .mob-menu-btn i.fa {
    font-size: 23px !important;
  }
  .berlin-mobile-extras {
    height: 46px !important;
    min-height: 46px !important;
  }
  .berlin-mobile-actions {
    height: 46px !important;
    max-width: 204px !important;
  }
  .berlin-mobile-action {
    width: 34px !important;
    height: 34px !important;
  }
  .berlin-mobile-search-panel {
    top: 102px !important;
  }
  .mob-menu {
    top: 102px !important;
    height: calc(100vh - 102px) !important;
    height: calc(100dvh - 102px) !important;
  }
}

/* Berlin v22: raise mobile language flags higher.
   The language slot lives inside the second mobile row, so we lift it upward
   into the top row to make the composition look cleaner. */
@media screen and (max-width: 992px) {
  .berlin-mobile-extras {
    overflow: visible !important;
  }
  .berlin-mobile-language-slot {
    top: -56px !important;
    right: 12px !important;
    z-index: 12 !important;
  }
}

@media screen and (max-width: 767px) {
  .berlin-mobile-language-slot {
    top: -52px !important;
    right: 10px !important;
  }
}

@media screen and (max-width: 420px) {
  .berlin-mobile-language-slot {
    top: -49px !important;
    right: 8px !important;
  }
}

/* Berlin v24: category cards on phones use the same visual language as the home page. */
@media screen and (max-width: 767px) {
  #content.category {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #content.category > h2 {
    margin: 28px 0 14px !important;
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.12 !important;
    text-align: center !important;
  }
  #content.category .breadcrumb {
    margin-bottom: 18px !important;
  }

  /* Saved desktop grid/list preference must not change the phone layout. */
  #content.category .product-layout.product-grid,
  #content.category .product-layout.product-list {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 0 18px !important;
  }
  #content.category .product-layout.product-grid .product-thumb,
  #content.category .product-layout.product-list .product-thumb {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 18px 18px 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    background: #dcdcdc !important;
  }
  #content.category .product-layout.product-grid .product-thumb__image,
  #content.category .product-layout.product-list .product-thumb__image {
    float: none !important;
    flex: 0 0 auto !important;
    width: min(280px, 78vw) !important;
    max-width: 280px !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto 16px !important;
  }
  #content.category .product-layout.product-grid .product-thumb__image img,
  #content.category .product-layout.product-list .product-thumb__image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  #content.category .product-layout.product-grid .product-thumb__caption,
  #content.category .product-layout.product-list .product-thumb__caption {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
  }
  #content.category .product-layout.product-grid .product-thumb__desc-wrap,
  #content.category .product-layout.product-list .product-thumb__desc-wrap {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  #content.category .product-layout.product-grid .product-thumb__title,
  #content.category .product-layout.product-list .product-thumb__title {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 14px !important;
    padding: 0 4px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    overflow: visible !important;
  }
  #content.category .product-layout.product-grid .product-thumb__title a,
  #content.category .product-layout.product-list .product-thumb__title a {
    color: #191919 !important;
  }

  /* Home page cards do not overload the phone with the whole attribute table. */
  #content.category .product-layout.product-grid .product-thumb__desc,
  #content.category .product-layout.product-list .product-thumb__desc {
    display: none !important;
  }
  #content.category .product-layout.product-grid .product-thumb__price-wrap,
  #content.category .product-layout.product-list .product-thumb__price-wrap {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  #content.category .product-layout.product-grid .product-thumb__price,
  #content.category .product-layout.product-list .product-thumb__price,
  #content.category .product-layout.product-grid .vesuvi-price-request.--small,
  #content.category .product-layout.product-list .vesuvi-price-request.--small {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-align: center !important;
  }
  #content.category .product-layout.product-grid .vesuvi-price-request.--small,
  #content.category .product-layout.product-list .vesuvi-price-request.--small {
    color: #d71920 !important;
  }
  #content.category .product-layout.product-grid .product-thumb__price-number,
  #content.category .product-layout.product-list .product-thumb__price-number {
    font-size: 26px !important;
    line-height: 1.15 !important;
  }
  #content.category .product-layout.product-grid .product-thumb__price-number.--old,
  #content.category .product-layout.product-list .product-thumb__price-number.--old {
    margin-bottom: 4px !important;
    font-size: 16px !important;
  }
  #content.category .product-layout.product-grid .product-thumb__button-wrap,
  #content.category .product-layout.product-list .product-thumb__button-wrap {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    text-align: center !important;
  }
  #content.category .product-layout.product-grid .product-thumb__button,
  #content.category .product-layout.product-list .product-thumb__button,
  #content.category .product-layout.product-grid .product-thumb__button-cell,
  #content.category .product-layout.product-list .product-thumb__button-cell {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  #content.category .product-layout.product-grid .product-thumb__button .btn,
  #content.category .product-layout.product-list .product-thumb__button .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(250px, 86%) !important;
    min-height: 46px !important;
    padding: 10px 18px !important;
    border-radius: 24px !important;
    font-size: 13px !important;
    white-space: normal !important;
  }
  #content.category .product-layout.product-grid .product-thumb__button .btn span,
  #content.category .product-layout.product-list .product-thumb__button .btn span {
    display: inline !important;
  }

  /* Filter button should be obvious and easy to tap. */
  #ocfilter-mobile.berlin-filter-launcher {
    width: 100% !important;
    margin: 12px 0 18px !important;
  }
  #ocfilter-mobile .berlin-filter-open-btn {
    width: 100% !important;
    min-height: 46px !important;
  }
}

@media screen and (max-width: 420px) {
  #content.category {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #content.category .product-layout.product-grid .product-thumb,
  #content.category .product-layout.product-list .product-thumb {
    padding: 14px 14px 16px !important;
    border-radius: 24px !important;
  }
  #content.category .product-layout.product-grid .product-thumb__image,
  #content.category .product-layout.product-list .product-thumb__image {
    width: min(245px, 78vw) !important;
    max-width: 245px !important;
  }
  #content.category .product-layout.product-grid .product-thumb__title,
  #content.category .product-layout.product-list .product-thumb__title {
    font-size: 16px !important;
  }
  #content.category .product-layout.product-grid .product-thumb__price-number,
  #content.category .product-layout.product-list .product-thumb__price-number {
    font-size: 23px !important;
  }
}

/* Berlin v25: final mobile category card normalization.
   Reset legacy <=768px absolute title and 130px image clipping rules. */
@media screen and (max-width: 767px) {
  #content.category .product-layout.product-grid .product-thumb,
  #content.category .product-layout.product-list .product-thumb {
    padding: 16px 16px 18px !important;
  }

  #content.category .product-layout.product-grid .product-thumb__image,
  #content.category .product-layout.product-list .product-thumb__image {
    display: block !important;
    position: static !important;
    float: none !important;
    width: min(270px, 78vw) !important;
    max-width: 270px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 auto 14px !important;
    overflow: visible !important;
  }
  #content.category .product-layout.product-grid .product-thumb__image a,
  #content.category .product-layout.product-list .product-thumb__image a {
    display: block !important;
    width: 100% !important;
  }
  #content.category .product-layout.product-grid .product-thumb__image img,
  #content.category .product-layout.product-list .product-thumb__image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
  }

  #content.category .product-layout.product-grid .product-thumb__caption,
  #content.category .product-layout.product-list .product-thumb__caption,
  #content.category .product-layout.product-grid .product-thumb__desc-wrap,
  #content.category .product-layout.product-list .product-thumb__desc-wrap {
    position: static !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #content.category .product-layout.product-grid .product-thumb__title,
  #content.category .product-layout.product-list .product-thumb__title {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 0 14px !important;
    padding: 0 3px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    overflow: visible !important;
  }

  #content.category .product-layout.product-grid .product-thumb__price-wrap,
  #content.category .product-layout.product-list .product-thumb__price-wrap {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
  }
  #content.category .product-layout.product-grid .product-thumb__price,
  #content.category .product-layout.product-list .product-thumb__price {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 12px !important;
    text-align: center !important;
  }
  #content.category .product-layout.product-grid .product-thumb__price-number,
  #content.category .product-layout.product-list .product-thumb__price-number {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    font-size: 25px !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }
  #content.category .product-layout.product-grid .product-thumb__button-wrap,
  #content.category .product-layout.product-list .product-thumb__button-wrap {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }
  #content.category .product-layout.product-grid .product-thumb__button .btn,
  #content.category .product-layout.product-list .product-thumb__button .btn {
    width: min(260px, 88%) !important;
    min-height: 48px !important;
    margin: 0 auto !important;
  }
}

@media screen and (max-width: 420px) {
  #content.category .product-layout.product-grid .product-thumb__image,
  #content.category .product-layout.product-list .product-thumb__image {
    width: min(235px, 76vw) !important;
    max-width: 235px !important;
  }
  #content.category .product-layout.product-grid .product-thumb__title,
  #content.category .product-layout.product-list .product-thumb__title {
    font-size: 15px !important;
  }
  #content.category .product-layout.product-grid .product-thumb__price-number,
  #content.category .product-layout.product-list .product-thumb__price-number {
    font-size: 23px !important;
  }
}

/* Berlin v29: responsive home information blocks below products.
   Legacy HTML modules contain inline widths (1170px/360px), which caused
   horizontal overflow and cropped text on phones. */
.berlin-home-info-module {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.berlin-home-info-module > h2 {
  max-width: 1180px;
  margin: 44px auto 24px;
  padding: 0 18px;
  color: #143d45;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}
.berlin-home-info-module .container,
.berlin-home-info-module .row,
.berlin-home-info-module .col-xs-12 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.berlin-home-info-module .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.berlin-home-info-module .col-xs-12 {
  float: none !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* Advantages: centered responsive grid instead of fixed 360px inline blocks. */
.berlin-home-info-module .advanteges_wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 18px 28px !important;
  max-width: 1180px;
  margin: 36px auto 0 !important;
  text-align: center !important;
}
.berlin-home-info-module .advant_item {
  display: flex !important;
  align-items: center !important;
  flex: 0 1 calc(33.333% - 24px) !important;
  width: auto !important;
  max-width: 350px !important;
  min-width: 250px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  text-align: left !important;
  box-sizing: border-box !important;
}
.berlin-home-info-module .advant_item > p {
  margin: 0 0 0 12px !important;
  line-height: 1.45 !important;
}
.berlin-home-info-module .advant_item > p:first-child {
  flex: 0 0 112px;
  width: 112px;
  margin-left: 0 !important;
  text-align: center !important;
}
.berlin-home-info-module .advant_item img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 108px !important;
  max-height: 108px !important;
  margin: 0 auto !important;
}

/* Long description: readable centered measure, no fixed 1170px child. */
.berlin-home-info-module .buleryan_description {
  width: 100% !important;
  max-width: 100% !important;
  margin: 48px 0 42px !important;
}
.berlin-home-info-module .buleryan_description h2 {
  max-width: 900px;
  margin: 0 auto 28px !important;
  padding: 0 18px;
  font-size: 34px !important;
  line-height: 1.2 !important;
  text-align: center !important;
}
.berlin-home-info-module .buleryan_description .col-xs-12 {
  max-width: 920px !important;
  margin: 0 auto !important;
  text-align: left;
}
.berlin-home-info-module .buleryan_description p {
  margin: 0 0 16px !important;
  font-size: 17px !important;
  line-height: 1.68 !important;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Payment/delivery legacy tiles also fit the viewport. */
.berlin-home-info-module .pay_methods {
  width: calc(33.333% - 28px) !important;
  max-width: 342px !important;
  min-width: 260px !important;
  margin: 22px 12px !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.berlin-home-info-module .pay_methods p {
  max-width: calc(100% - 100px);
  margin-left: 12px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}
.berlin-home-info-module .pay_methods img {
  max-width: 82px !important;
  height: auto !important;
}

@media screen and (max-width: 991px) {
  .berlin-home-info-module > h2 {
    margin-top: 34px;
    font-size: 28px;
  }
  .berlin-home-info-module .advant_item {
    flex-basis: calc(50% - 22px) !important;
    max-width: 410px !important;
  }
  .berlin-home-info-module .pay_methods {
    width: calc(50% - 28px) !important;
    max-width: 380px !important;
  }
}

@media screen and (max-width: 767px) {
  .berlin-home-info-module > h2 {
    margin: 30px auto 18px;
    padding: 0 16px;
    font-size: 25px;
  }
  .berlin-home-info-module .col-xs-12 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .berlin-home-info-module .advanteges_wrap {
    display: block !important;
    margin-top: 20px !important;
  }
  .berlin-home-info-module .advant_item {
    display: flex !important;
    width: 100% !important;
    max-width: 430px !important;
    min-width: 0 !important;
    margin: 0 auto 10px !important;
    padding: 10px 6px !important;
  }
  .berlin-home-info-module .advant_item > p:first-child {
    flex-basis: 96px;
    width: 96px;
  }
  .berlin-home-info-module .advant_item img {
    max-width: 90px !important;
    max-height: 90px !important;
  }
  .berlin-home-info-module .advant_item > p:not(:first-child) {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px !important;
  }
  .berlin-home-info-module .buleryan_description {
    margin: 34px 0 30px !important;
  }
  .berlin-home-info-module .buleryan_description h2 {
    margin-bottom: 22px !important;
    padding: 0 16px;
    font-size: 28px !important;
  }
  .berlin-home-info-module .buleryan_description p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  .berlin-home-info-module .pay_methods,
  .berlin-home-info-module .pay_methods.text-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 430px !important;
    min-width: 0 !important;
    margin: 10px auto !important;
    padding: 10px 8px !important;
    text-align: left !important;
  }
  .berlin-home-info-module .pay_methods p {
    flex: 1 1 auto;
    max-width: none !important;
    margin: 0 0 0 14px !important;
  }
  .berlin-home-info-module .pay_methods p:first-child {
    flex: 0 0 82px;
    width: 82px;
    margin-left: 0 !important;
    text-align: center !important;
  }
  .berlin-home-info-module .pay_methods img {
    float: none !important;
    max-width: 76px !important;
    margin: 0 auto !important;
  }
}

@media screen and (max-width: 420px) {
  .berlin-home-info-module .advant_item > p:first-child {
    flex-basis: 82px;
    width: 82px;
  }
  .berlin-home-info-module .advant_item img {
    max-width: 78px !important;
    max-height: 78px !important;
  }
  .berlin-home-info-module .advant_item > p:not(:first-child) {
    font-size: 15px !important;
  }
  .berlin-home-info-module .buleryan_description h2 {
    font-size: 25px !important;
  }
  .berlin-home-info-module .buleryan_description p {
    font-size: 15px !important;
  }
}

/* Berlin v30: unified professional home-page information blocks.
   Replaces inconsistent legacy text with modern e-commerce copy in RU/UA. */
.berlin-home-info-module {
  width: 100%;
  max-width: 100%;
}
.berlin-home-info-module > h2 {
  max-width: 1180px;
  margin: 46px auto 24px;
  padding: 0 18px;
  color: #143d45;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 700;
  text-align: center;
}
.berlin-home-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  gap: 22px;
  box-sizing: border-box;
}
.berlin-home-grid--advantages {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.berlin-home-grid--payments {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.berlin-home-card {
  min-height: 100%;
  padding: 24px 22px;
  border: 1px solid #d7dee2;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 61, 69, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}
.berlin-home-card__icon {
  width: 66px;
  height: 66px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(250, 140, 0, 0.12);
  color: #fa8c00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.berlin-home-card__title {
  margin-bottom: 10px;
  color: #143d45;
  font-size: 22px;
  line-height: 1.28;
  font-weight: 700;
}
.berlin-home-card__text {
  color: #385961;
  font-size: 16px;
  line-height: 1.58;
}

.berlin-home-article {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.berlin-home-article__lead {
  max-width: 980px;
  margin: 0 auto 22px;
  color: #143d45;
  font-size: 21px;
  line-height: 1.6;
  font-weight: 600;
  text-align: center;
}
.berlin-home-article__columns {
  column-count: 2;
  column-gap: 42px;
  max-width: 1080px;
  margin: 0 auto;
}
.berlin-home-article__columns p {
  margin: 0 0 18px;
  color: #385961;
  font-size: 17px;
  line-height: 1.76;
  text-align: justify;
  text-justify: inter-word;
  break-inside: avoid;
}

@media screen and (max-width: 1199px) {
  .berlin-home-grid--advantages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .berlin-home-grid--payments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 991px) {
  .berlin-home-info-module > h2 {
    margin-top: 36px;
    font-size: 32px;
  }
  .berlin-home-card {
    padding: 20px 18px;
    border-radius: 22px;
  }
  .berlin-home-card__icon {
    width: 60px;
    height: 60px;
    font-size: 25px;
  }
  .berlin-home-card__title {
    font-size: 20px;
  }
  .berlin-home-article__lead {
    font-size: 19px;
  }
  .berlin-home-article__columns {
    column-gap: 28px;
  }
  .berlin-home-article__columns p {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .berlin-home-info-module > h2 {
    margin: 30px auto 18px;
    padding: 0 16px;
    font-size: 27px;
  }
  .berlin-home-grid {
    padding: 0 16px;
    gap: 14px;
  }
  .berlin-home-grid--advantages,
  .berlin-home-grid--payments {
    grid-template-columns: 1fr;
  }
  .berlin-home-card {
    padding: 18px 16px;
    border-radius: 20px;
  }
  .berlin-home-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    font-size: 23px;
  }
  .berlin-home-card__title {
    font-size: 18px;
  }
  .berlin-home-card__text {
    font-size: 15px;
    line-height: 1.55;
  }
  .berlin-home-article {
    padding: 0 16px;
  }
  .berlin-home-article__lead {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.55;
    text-align: left;
  }
  .berlin-home-article__columns {
    column-count: 1;
  }
  .berlin-home-article__columns p {
    font-size: 15px;
    line-height: 1.65;
  }
}
