/* 24home.bg (demo-1.shopsuy.com) — the shop's own styles on top of the shared app.
 *
 * Header and footer are the theme's 'navbar' and 'columns' variants, adjusted through their
 * ss-* classes: a green info bar above (an aboveAppBar html widget), the logo with a wide
 * search, and the categories as a row of pills under it. Home sections are html widgets
 * built from hb-* classes. Colours follow 24home.bg: red #D21400, green #2B9C48.
 */

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/custom/assets/fonts/rubik-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/custom/assets/fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --hb-red: #d21400;
  --hb-red-dark: #b01100;
  --hb-green: #2b9c48;
  --hb-ink: #2d3748;
  --hb-dark: #1a202c;
  --hb-muted: #64707f;
  --hb-line: #e5e7eb;
  --hb-soft: #f4f5f7;
  --hb-radius: 12px;
  --hb-wrap: 1280px;
  --hb-topbar: 32px;
  --hb-catbar: 52px;
}

/* The fixed header is three rows tall (info bar, logo + search, categories); the app's spacer
   only knows appBarHeight (the middle row), so the page offset is set here. */
html:root {
  --container-spacer-marginTop: calc(var(--hb-topbar) + 76px + var(--hb-catbar) - 1px);
  --sticky-element-container-top: calc(var(--hb-topbar) + 76px + var(--hb-catbar));
}

@media (max-width: 899px) {
  :root {
    --hb-catbar: 48px;
  }

  html:root {
    --container-spacer-marginTop: calc(var(--hb-topbar) + 56px + var(--hb-catbar) - 1px);
    --sticky-element-container-top: calc(var(--hb-topbar) + 56px + var(--hb-catbar));
  }
}

html {
  scrollbar-gutter: stable;
}

body {
  background: #fdfdfd;
}

/* ------------------------------------------------------------------ info bar */

.hb-topbar {
  background: var(--hb-green);
  color: #fff;
  font-family: Rubik, Arial, sans-serif;
  font-size: 0.8rem;
}

.hb-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  height: var(--hb-topbar);
  overflow: hidden;
  white-space: nowrap;
}

.hb-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.hb-topbar__item .ph-icon {
  font-size: 1.1em;
}

.hb-topbar__phone strong {
  font-weight: 700;
}

/* On a phone only the phone line stays. */
@media (max-width: 899px) {
  .hb-topbar__item:not(.hb-topbar__phone) {
    display: none;
  }
}

/* ------------------------------------------------------------------ header */

.ss-header__bar {
  border-bottom: 1px solid var(--hb-line);
  box-shadow: 0 2px 10px rgb(26 32 44 / 0.05);
}

/* Logo + search on the first row, the category pills wrap onto a second row. */
.ss-header__inner {
  flex-wrap: wrap;
  row-gap: 0;
  max-width: var(--hb-wrap);
  min-height: 0;
}

.ss-header__logo {
  height: 56px;
  padding: 4px 0;
  box-sizing: border-box;
}

.ss-header__actions {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-height: 56px;
}

.ss-header__actions .HeaderSearchContainer {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.ss-header__nav {
  display: flex;
  order: 3;
  flex: 1 0 100%;
  justify-content: flex-start;
  height: var(--hb-catbar);
  margin: 0 -12px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ss-header__nav::-webkit-scrollbar {
  display: none;
}

.ss-header__list {
  gap: 8px;
}

.ss-header__link {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--hb-soft);
  color: var(--hb-ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ss-header__link::after {
  display: none;
}

/* Each category pill carries a small round picture of its category. */
.ss-header__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 5px;
}

.ss-header__link::before {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff center / cover no-repeat;
  box-shadow: inset 0 0 0 1px var(--hb-line);
}

.ss-header__link[href*="/category/oranzherii/"]::before { background-image: url('/custom/assets/cat-oranzherii.webp'); }
.ss-header__link[href*="/category/gradinski-baraki/"]::before { background-image: url('/custom/assets/cat-baraki.webp'); }
.ss-header__link[href*="/category/pergoli/"]::before { background-image: url('/custom/assets/cat-pergoli.webp'); background-size: 130%; }
.ss-header__link[href*="/category/garazhi-i-navesi/"]::before { background-image: url('/custom/assets/cat-garazhi.webp'); background-size: 150%; }
.ss-header__link[href*="/category/darveni-kashti/"]::before { background-image: url('/custom/assets/cat-kashti.webp'); background-size: 150%; }
.ss-header__link[href*="/category/batuti/"]::before { background-image: url('/custom/assets/cat-batuti.webp'); background-size: 120%; }

.ss-header__link:hover,
.ss-header__link--active {
  background: var(--hb-red);
  color: #fff;
}

.ss-header__drawer-link--active {
  color: var(--hb-red);
}

@media (min-width: 900px) {
  .ss-header__logo {
    height: 76px;
    padding: 10px 0;
  }

  .ss-header__actions {
    min-height: 76px;
    gap: 8px;
  }

  /* The search field takes the room between the logo and the account icons. */
  .ss-header__actions .HeaderSearchContainer {
    margin-left: 32px;
  }

  .ss-header__actions .searchField {
    flex: 1 1 auto;
    max-width: 620px;
    margin-right: auto;
  }

  .ss-header__nav {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--hb-line);
    align-items: center;
  }
}

/* "Каталог": a belowAppBar widget laid over the left end of the category row; the pills
   start after it. A <details> element opens the panel with every category, no JS. */
.ss-header__bar {
  --hb-catalog-left: 12px;
}

@media (min-width: 900px) {
  .ss-header__bar {
    --hb-catalog-left: max(24px, calc((100% - var(--hb-wrap)) / 2 + 24px));
  }
}

.hb-catalog {
  position: absolute;
  left: var(--hb-catalog-left);
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  height: var(--hb-catbar);
  padding-right: 12px;
  background: #fff;
  font-family: Rubik, Arial, sans-serif;
}

.hb-catalog__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--hb-red);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.hb-catalog__btn::-webkit-details-marker {
  display: none;
}

.hb-catalog__btn:hover,
.hb-catalog[open] .hb-catalog__btn {
  background: var(--hb-red-dark);
}

.hb-catalog__btn .ph-icon {
  font-size: 1.15rem;
}

.hb-catalog__panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  box-sizing: border-box;
  width: min(760px, calc(100vw - 2 * var(--hb-catalog-left)));
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--hb-line);
  border-radius: 0 0 var(--hb-radius) var(--hb-radius);
  background: #fff;
  box-shadow: 0 18px 40px rgb(26 32 44 / 0.16);
}

.hb-catalog__list {
  columns: 2 260px;
  column-gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-catalog__list > li {
  break-inside: avoid;
}

.hb-catalog__list ul {
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.hb-catalog__link,
.hb-catalog__sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--hb-ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.hb-catalog__sub {
  padding: 6px 12px 6px 26px;
  color: var(--hb-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.hb-catalog__link .ph-icon {
  color: var(--hb-line);
  font-size: 0.8rem;
}

.hb-catalog__link:hover,
.hb-catalog__sub:hover {
  background: var(--hb-soft);
  color: var(--hb-red);
}

.hb-catalog__link:hover .ph-icon {
  color: var(--hb-red);
}

/* The pills start after the button. */
.ss-header__nav {
  padding-left: 132px;
}

@media (max-width: 899px) {
  .hb-catalog__btn {
    height: 34px;
    padding: 0 14px 0 12px;
    font-size: 0.85rem;
  }

  .hb-catalog__panel {
    position: fixed;
    top: var(--container-spacer-marginTop);
    left: 0;
    right: 0;
    width: auto;
    max-height: calc(100vh - var(--container-spacer-marginTop));
    border-radius: 0;
  }

  .ss-header__nav {
    padding-left: 128px;
  }
}

/* Product cards in the listings: the whole title shows (the app clamps it to two lines);
   the price row stays at the bottom of the card. */
.ss-card .ss-card__title {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  min-height: 0;
  margin-bottom: auto;
}

/* No wishlist heart on the listing cards; it stays on the product page. */
.ss-card .ss-card__wish {
  display: none;
}

/* ------------------------------------------------------------------ product page */

/* Icons for the blocks below, drawn in currentColor through a mask. */
:root {
  --hb-ico-truck: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20256%20256'%3E%3Cpath%20d%3D'M255.14%2C115.54l-14-35A19.89%2C19.89%2C0%2C0%2C0%2C222.58%2C68H196V64a12%2C12%2C0%2C0%2C0-12-12H32A20%2C20%2C0%2C0%2C0%2C12%2C72V184a20%2C20%2C0%2C0%2C0%2C20%2C20H46.06a36%2C36%2C0%2C0%2C0%2C67.88%2C0h44.12a36%2C36%2C0%2C0%2C0%2C67.88%2C0H236a20%2C20%2C0%2C0%2C0%2C20-20V120A21.7%2C21.7%2C0%2C0%2C0%2C255.14%2C115.54ZM196%2C92h23.88l6.4%2C16H196ZM80%2C204a12%2C12%2C0%2C1%2C1%2C12-12A12%2C12%2C0%2C0%2C1%2C80%2C204Zm92-41.92A36.32%2C36.32%2C0%2C0%2C0%2C158.06%2C180H113.94a36%2C36%2C0%2C0%2C0-67.88%2C0H36V140H172ZM172%2C116H36V76H172Zm20%2C88a12%2C12%2C0%2C1%2C1%2C12-12A12%2C12%2C0%2C0%2C1%2C192%2C204Zm40-24h-6.06A36.09%2C36.09%2C0%2C0%2C0%2C196%2C156.23V132h36Z'%2F%3E%3C%2Fsvg%3E");
  --hb-ico-wrench: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20256%20256'%3E%3Cpath%20d%3D'M230.47%2C67.5a12%2C12%2C0%2C0%2C0-19.26-4.32L172.43%2C99l-12.68-2.72L157%2C83.57l35.79-38.78a12%2C12%2C0%2C0%2C0-4.32-19.26A76.07%2C76.07%2C0%2C0%2C0%2C88.41%2C121.64L30.92%2C174.18a4.68%2C4.68%2C0%2C0%2C0-.39.38%2C36%2C36%2C0%2C0%2C0%2C50.91%2C50.91l.38-.39%2C52.54-57.49A76.05%2C76.05%2C0%2C0%2C0%2C230.47%2C67.5ZM160%2C148a51.5%2C51.5%2C0%2C0%2C1-23.35-5.52%2C12%2C12%2C0%2C0%2C0-14.26%2C2.62L64.31%2C208.66a12%2C12%2C0%2C0%2C1-17-17l63.55-58.07a12%2C12%2C0%2C0%2C0%2C2.62-14.26A51.5%2C51.5%2C0%2C0%2C1%2C108%2C96a52.06%2C52.06%2C0%2C0%2C1%2C52-52h.89L135.17%2C71.87a12%2C12%2C0%2C0%2C0-2.91%2C10.65l5.66%2C26.35a12%2C12%2C0%2C0%2C0%2C9.21%2C9.21l26.35%2C5.66a12%2C12%2C0%2C0%2C0%2C10.65-2.91L212%2C95.12c0%2C.3%2C0%2C.59%2C0%2C.89A52.06%2C52.06%2C0%2C0%2C1%2C160%2C148Z'%2F%3E%3C%2Fsvg%3E");
  --hb-ico-check: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20256%20256'%3E%3Cpath%20d%3D'M176.49%2C95.51a12%2C12%2C0%2C0%2C1%2C0%2C17l-56%2C56a12%2C12%2C0%2C0%2C1-17%2C0l-24-24a12%2C12%2C0%2C1%2C1%2C17-17L112%2C143l47.51-47.52A12%2C12%2C0%2C0%2C1%2C176.49%2C95.51ZM236%2C128A108%2C108%2C0%2C1%2C1%2C128%2C20%2C108.12%2C108.12%2C0%2C0%2C1%2C236%2C128Zm-24%2C0a84%2C84%2C0%2C1%2C0-84%2C84A84.09%2C84.09%2C0%2C0%2C0%2C212%2C128Z'%2F%3E%3C%2Fsvg%3E");
  --hb-ico-bell: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20256%20256'%3E%3Cpath%20d%3D'M225.29%2C165.93C216.61%2C151%2C212%2C129.57%2C212%2C104a84%2C84%2C0%2C0%2C0-168%2C0c0%2C25.58-4.59%2C47-13.27%2C61.93A20.08%2C20.08%2C0%2C0%2C0%2C30.66%2C186%2C19.77%2C19.77%2C0%2C0%2C0%2C48%2C196H84.18a44%2C44%2C0%2C0%2C0%2C87.64%2C0H208a19.77%2C19.77%2C0%2C0%2C0%2C17.31-10A20.08%2C20.08%2C0%2C0%2C0%2C225.29%2C165.93ZM128%2C212a20%2C20%2C0%2C0%2C1-19.6-16h39.2A20%2C20%2C0%2C0%2C1%2C128%2C212ZM54.66%2C172C63.51%2C154%2C68%2C131.14%2C68%2C104a60%2C60%2C0%2C0%2C1%2C120%2C0c0%2C27.13%2C4.48%2C50%2C13.33%2C68Z'%2F%3E%3C%2Fsvg%3E");
}

.ss-item .ss-item__title {
  color: var(--hb-dark);
  line-height: 1.2;
}

/* Availability + delivery time: one clear card right under the price. */
.ss-item .ss-item__availability {
  margin: 4px 0 2px;
  padding: 12px 14px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  background: var(--hb-soft);
}

.ss-item .ss-item__availability-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.ss-item .ss-item__badge {
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.ss-item .ss-item__delivery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hb-dark);
  font-size: 0.95rem;
  font-weight: 600;
}

.ss-item .ss-item__delivery::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--hb-green);
  -webkit-mask: var(--hb-ico-truck) center / contain no-repeat;
  mask: var(--hb-ico-truck) center / contain no-repeat;
}

.ss-item .ss-item__delivery span {
  font-weight: 400;
  color: var(--hb-muted);
}

.ss-item .ss-item__notify {
  margin-top: 10px;
}

/* Installation (the add-ons): a highlighted box with a wrench, the price in red. */
.ss-item .ss-item__addons {
  padding: 12px;
  border: 2px solid var(--hb-red);
  border-radius: var(--hb-radius);
  background: #fff6f5;
}

.ss-item .ss-item__addon {
  border-color: rgb(210 20 0 / 0.25);
  background: #fff;
}

.ss-item .ss-item__addon--selected {
  border-color: var(--hb-red);
  box-shadow: 0 0 0 1px var(--hb-red);
}

.ss-item .ss-item__addon-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hb-dark);
  font-weight: 600;
}

.ss-item .ss-item__addon-name::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--hb-red);
  -webkit-mask: var(--hb-ico-wrench) center / contain no-repeat;
  mask: var(--hb-ico-wrench) center / contain no-repeat;
}

.ss-item .ss-item__addon-price,
.ss-item .ss-item__addon-price * {
  color: var(--hb-red);
  font-weight: 700;
}

/* The buy buttons: tall, rounded, the main one solid red. */
.ss-item .ss-item__buy,
.ss-item .ss-item__add-to-cart {
  min-height: 52px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}

/* Service tags (installation possible, free delivery) as green ticks. */
.ss-item .ss-item__tag {
  height: auto;
  padding: 4px 4px 4px 8px;
  border: 1px solid rgb(43 156 72 / 0.35);
  border-radius: 999px;
  background: rgb(43 156 72 / 0.08);
  color: #1f7a37;
  font-size: 0.82rem;
  font-weight: 600;
}

.ss-item .ss-item__tag::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--hb-green);
  -webkit-mask: var(--hb-ico-check) center / contain no-repeat;
  mask: var(--hb-ico-check) center / contain no-repeat;
}

/* Description: the installation note and the specs table that the import adds. */
.ss-item__description .hb-assembly {
  margin: 0 0 20px;
  padding: 14px 16px 14px 48px;
  border-radius: var(--hb-radius);
  background: #fff6f5 no-repeat;
  position: relative;
}

.ss-item__description .hb-assembly::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 16px;
  width: 22px;
  height: 22px;
  background: var(--hb-red);
  -webkit-mask: var(--hb-ico-wrench) center / contain no-repeat;
  mask: var(--hb-ico-wrench) center / contain no-repeat;
}

.ss-item__description .hb-assembly strong {
  display: block;
  color: var(--hb-red);
}

.ss-item__description .hb-assembly p {
  margin: 4px 0 0;
}

.ss-item__description .hb-specs {
  width: 100%;
  margin: 8px 0 16px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.ss-item__description .hb-specs th,
.ss-item__description .hb-specs td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--hb-line);
  text-align: left;
  vertical-align: top;
}

.ss-item__description .hb-specs th {
  width: 45%;
  color: var(--hb-muted);
  font-weight: 500;
}

.ss-item__description .hb-specs tr:nth-child(odd) {
  background: var(--hb-soft);
}

/* ------------------------------------------------------------------ category sidebar */

/* Every category in the sidebar list carries a small picture: the six home categories use
   their own pictures, the rest the first product picture of the category. */
.MuiList-root a[href*="/category/"] {
  display: flex;
  align-items: center;
  gap: 10px;
}

.MuiList-root a[href*="/category/"]::before {
  content: '';
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--hb-soft) center / contain no-repeat;
  box-shadow: inset 0 0 0 1px var(--hb-line);
}

.MuiList-root a[href*="/category/pergoli/"]::before { background-image: url('/custom/assets/cat-pergoli.webp'); }
.MuiList-root a[href*="/category/garazhi-i-navesi/"]::before { background-image: url('/custom/assets/cat-garazhi.webp'); }
.MuiList-root a[href*="/category/detska-ploshtadka/"]::before { background-image: url('/files/images/thumbnails/7xw66at9dpgk-1.webp'); }
.MuiList-root a[href*="/category/koledni-elhi/"]::before { background-image: url('/files/images/thumbnails/8abdlhjsvbrs-1.webp'); }
.MuiList-root a[href*="/category/darveni-kashti/"]::before { background-image: url('/custom/assets/cat-kashti.webp'); }
.MuiList-root a[href*="/category/oranzherii/"]::before { background-image: url('/custom/assets/cat-oranzherii.webp'); }
.MuiList-root a[href*="/category/za-gradinata/"]::before { background-image: url('/files/images/thumbnails/354jr3r2cals-1.webp'); }
.MuiList-root a[href*="/category/gradinski-baraki/"]::before { background-image: url('/custom/assets/cat-baraki.webp'); }
.MuiList-root a[href*="/category/gradinski-kutii-i-shkafove/"]::before { background-image: url('/files/images/thumbnails/slx2jqa342bl-1.webp'); }
.MuiList-root a[href*="/category/detski-legla/"]::before { background-image: url('/files/images/thumbnails/apwdzautnt3c-1.webp'); }
.MuiList-root a[href*="/category/aksesoari-za-kazani-za-rakiya/"]::before { background-image: url('/files/images/thumbnails/u5bsnyv4kmxb-1.webp'); }
.MuiList-root a[href*="/category/chadari-i-shatri/"]::before { background-image: url('/files/images/thumbnails/psn72cvbn4qb-1.webp'); }
.MuiList-root a[href*="/category/aksesoari-za-oranzherii/"]::before { background-image: url('/files/images/thumbnails/n9fawj74yd6c-1.webp'); }
.MuiList-root a[href*="/category/batuti/"]::before { background-image: url('/custom/assets/cat-batuti.webp'); }
.MuiList-root a[href*="/category/aksesoari-za-pergoli-i-besedki/"]::before { background-image: url('/files/images/thumbnails/323uedb5q23d-1.webp'); }
.MuiList-root a[href*="/category/aksesoari-za-batuti/"]::before { background-image: url('/files/images/thumbnails/wh736m5ce2yv-1.webp'); }
.MuiList-root a[href*="/category/otoplenie/"]::before { background-image: url('/files/images/thumbnails/t5gew8wfg5sl-1.webp'); }
.MuiList-root a[href*="/category/termopompi/"]::before { background-image: url('/files/images/thumbnails/t5gew8wfg5sl-1.webp'); }
.MuiList-root a[href*="/category/parnitsi-za-razsad/"]::before { background-image: url('/files/images/thumbnails/fd5pm26chxmn-1.webp'); }
.MuiList-root a[href*="/category/kozirki-za-vrati/"]::before { background-image: url('/files/images/thumbnails/97vnpku2ldtb-1.webp'); }
.MuiList-root a[href*="/category/mini-bageri/"]::before { background-image: url('/files/images/thumbnails/axvmm9jjvxal-1.webp'); }
.MuiList-root a[href*="/category/metalni-stelazhi/"]::before { background-image: url('/files/images/thumbnails/3kj9xbqh8b4n-1.webp'); }
.MuiList-root a[href*="/category/tenti-s-chupeshto-ramo/"]::before { background-image: url('/files/images/thumbnails/agj5rsv6khrd-1.webp'); }
.MuiList-root a[href*="/category/gradinski-mebeli/"]::before { background-image: url('/files/images/thumbnails/8zsauwwyb6ak-1.webp'); }
.MuiList-root a[href*="/category/polikarbonat/"]::before { background-image: url('/files/images/thumbnails/yn5ah9kyskjv-1.webp'); }
.MuiList-root a[href*="/category/vanshni-sauni/"]::before { background-image: url('/files/images/thumbnails/sapbl8q4sraj-1.webp'); }
.MuiList-root a[href*="/category/bioklimatichni-pergoli/"]::before { background-image: url('/files/images/thumbnails/5l5turmf5xmf-1.webp'); }

/* ------------------------------------------------------------------ footer */

.ss-footer {
  margin-top: 0;
  background: var(--hb-soft);
  color: var(--hb-ink);
  border-top: 4px solid var(--hb-red);
}

.ss-footer__inner,
.ss-footer__bottom {
  max-width: var(--hb-wrap);
}

.ss-footer__logo-img {
  height: 56px;
}

.ss-footer__title {
  color: var(--hb-dark);
  font-weight: 700;
}

.ss-footer__link:hover {
  color: var(--hb-red);
}

.ss-footer__bottom {
  border-top-color: var(--hb-line);
  color: var(--hb-muted);
}

.mainContainer {
  padding-bottom: 56px;
}

/* ------------------------------------------------------------------ shared section pieces */

.hb-section {
  font-family: Rubik, Arial, sans-serif;
  color: var(--hb-ink);
  line-height: 1.5;
}

.hb-section img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hb-section p {
  margin: 0;
}

.hb-wrap {
  box-sizing: border-box;
  max-width: var(--hb-wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.hb-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.hb-h2 {
  margin: 0;
  color: var(--hb-dark);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.hb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hb-btn--primary {
  background: var(--hb-red);
  color: #fff;
}

.hb-btn--primary:hover {
  background: var(--hb-red-dark);
  color: #fff;
}

.hb-btn--light {
  background: rgb(255 255 255 / 0.92);
  color: var(--hb-dark);
}

.hb-btn--light:hover {
  background: #fff;
  color: var(--hb-red);
}

.hb-btn--white {
  background: #fff;
  color: var(--hb-red);
  font-size: 1.1rem;
  font-weight: 700;
}

.hb-btn--white:hover {
  transform: translateY(-1px);
}

/* ------------------------------------------------------------------ hero */

.hb-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 52vw, 560px);
  overflow: hidden;
  background: var(--hb-dark);
}

.hb-hero__media,
.hb-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(26 32 44 / 0.15) 0%, rgb(26 32 44 / 0.75) 100%);
}

.hb-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 40px;
  color: #fff;
}

.hb-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px !important;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--hb-green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hb-hero__title {
  margin: 0;
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  text-shadow: 0 2px 16px rgb(0 0 0 / 0.25);
}

.hb-hero__lead {
  max-width: 520px;
  margin-top: 16px !important;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  opacity: 0.95;
}

@media (max-width: 599px) {
  .hb-hero {
    align-items: flex-end;
    min-height: 480px;
  }

  .hb-hero__content {
    padding-top: 120px;
    padding-bottom: 28px;
  }

  .hb-hero .hb-btn {
    flex: 1 1 auto;
  }
}

@media (min-width: 900px) {
  .hb-hero::before {
    background: linear-gradient(90deg, rgb(26 32 44 / 0.78) 0%, rgb(26 32 44 / 0.45) 45%, rgb(26 32 44 / 0) 75%);
  }
}

/* Hero slider: the slides sit side by side in a scroll-snap track (swipe on a phone); the two
   arrow buttons scroll it by one slide and wrap around at the ends. */
.hb-slider {
  position: relative;
}

.hb-slider__track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hb-slider__track::-webkit-scrollbar {
  display: none;
}

.hb-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hb-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.9);
  color: var(--hb-dark);
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.18);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hb-slider__arrow:hover {
  background: var(--hb-red);
  color: #fff;
}

.hb-slider__arrow--prev {
  left: 16px;
}

.hb-slider__arrow--next {
  right: 16px;
}

/* On a phone the arrows move up beside the slide's label, clear of the text and buttons. */
@media (max-width: 599px) {
  .hb-slider__arrow {
    top: 24px;
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
    transform: none;
  }

  .hb-slider__arrow--prev {
    left: auto;
    right: 64px;
  }

  .hb-slider__arrow--next {
    right: 16px;
  }
}

/* On wide screens the text keeps clear of the left arrow. */
@media (min-width: 900px) and (max-width: 1400px) {
  .hb-hero__content {
    padding-left: 80px;
  }
}

/* ------------------------------------------------------------------ advantages strip */

.hb-usp {
  border-bottom: 1px solid var(--hb-line);
  background: #fff;
}

.hb-usp__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
  margin: 0;
  padding: 22px 0;
  list-style: none;
}

.hb-usp__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  font-size: 0.85rem;
}

.hb-usp__list .ph-icon {
  grid-row: span 2;
  color: var(--hb-red);
  font-size: 2.1rem;
}

.hb-usp__list strong {
  color: var(--hb-dark);
  font-weight: 600;
  line-height: 1.25;
}

.hb-usp__list span {
  color: var(--hb-muted);
  font-size: 0.8rem;
}

.hb-usp__list li:last-child {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .hb-usp__list {
    grid-template-columns: repeat(5, 1fr);
    padding: 26px 0;
  }

  .hb-usp__list li {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 4px;
    text-align: center;
  }

  .hb-usp__list .ph-icon {
    grid-row: auto;
    margin-bottom: 4px;
  }

  .hb-usp__list li:last-child {
    grid-column: auto;
  }
}

/* ------------------------------------------------------------------ categories */

.hb-cats {
  padding: 44px 0 12px;
}

.hb-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-cat {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  background: #fff;
  color: var(--hb-dark);
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hb-cat:hover {
  border-color: var(--hb-red);
  box-shadow: 0 8px 24px rgb(26 32 44 / 0.08);
  transform: translateY(-2px);
}

/* The photos differ in shape (square, wide, cut-outs); each sits inside the same 4:3 tile. */
.hb-cat__img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--hb-soft);
}

.hb-section .hb-cat__img img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
}

.hb-cat__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.hb-cat__name .ph-icon {
  flex-shrink: 0;
  color: var(--hb-red);
  transition: transform 0.2s ease;
}

.hb-cat:hover .hb-cat__name .ph-icon {
  transform: translateX(3px);
}

@media (min-width: 600px) {
  .hb-cats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1100px) {
  .hb-cats__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ------------------------------------------------------------------ inspiration tiles */

.hb-promos {
  padding: 40px 0 48px;
}

.hb-promos__grid {
  display: grid;
  gap: 12px;
}

.hb-promo {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--hb-radius);
  background: var(--hb-dark);
  color: #fff;
  text-decoration: none;
}

.hb-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hb-promo:hover img {
  transform: scale(1.04);
}

.hb-promo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(26 32 44 / 0) 35%, rgb(26 32 44 / 0.8) 100%);
}

.hb-promo__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
}

.hb-promo__body strong {
  font-size: 1.3rem;
  font-weight: 700;
}

.hb-promo__body > span:not(.hb-promo__cta) {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hb-promo__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.hb-promo__cta .ph-icon {
  padding: 4px;
  border-radius: 50%;
  background: var(--hb-red);
}

@media (min-width: 900px) {
  .hb-promos__grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 460px;
  }

  .hb-promo--big {
    grid-row: span 2;
  }

  .hb-promo--big .hb-promo__body strong {
    font-size: 1.8rem;
  }
}

/* ------------------------------------------------------------------ help band */

.hb-help {
  background: var(--hb-red);
  color: #fff;
}

.hb-help .hb-h2 {
  color: #fff;
}

.hb-help__inner {
  display: grid;
  gap: 20px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.hb-help__text p {
  margin-top: 8px !important;
  opacity: 0.92;
}

.hb-help__actions {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.hb-help__hours {
  font-size: 0.85rem;
  opacity: 0.9;
}

@media (min-width: 900px) {
  .hb-help__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .hb-help__actions {
    justify-items: center;
  }
}
