.site-floating-cart {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 17px 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: #20251f;
  color: #fff;
  box-shadow: 0 12px 34px rgba(24, 30, 24, .24);
  font: 700 14px/1 'DM Sans', Arial, sans-serif;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.site-floating-cart:hover {
  transform: translateY(-2px);
  background: #315f48;
  box-shadow: 0 16px 38px rgba(24, 30, 24, .28);
}
.site-floating-cart:focus-visible {
  outline: 3px solid #d9bb72;
  outline-offset: 4px;
}
.site-floating-cart svg { width: 23px; height: 23px; flex: none; }
.site-floating-cart-count {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 6px;
  border-radius: 999px;
  background: #d9bb72;
  color: #20251f;
  font-size: 12px;
  font-weight: 800;
}
.site-floating-cart-count[hidden] { display: none; }
.site-cart-scrim { position: fixed; z-index: 30; inset: 0; background: rgba(24, 29, 24, .38); backdrop-filter: blur(2px); }
body.cart-open { overflow: hidden; }
.site-cart-scrim[hidden], .site-cart-panel[hidden] { display: none !important; }
.site-cart-panel { position: fixed; z-index: 31; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(480px, 100%); height: 100vh; height: 100dvh; padding: 24px 24px 20px; background: #fff; color: #222520; box-shadow: -15px 0 45px rgba(22, 26, 21, .12); }
.site-cart-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #e9e8e1; }
.site-cart-panel-head>div>span { color: #81867c; font: 800 9px/1 'DM Sans', Arial, sans-serif; letter-spacing: 1.3px; }
.site-cart-panel-head h2 { margin: 7px 0 0; color: #222520; font: 600 26px/1.15 Manrope, Arial, sans-serif; }
.site-cart-close { width: 39px; height: 39px; flex: none; border: 1px solid #e2e5de; border-radius: 50%; background: #fff; color: #424a40; font: 400 26px/1 Arial, sans-serif; cursor: pointer; }
.site-cart-close:hover { border-color: #a7b9a8; color: #315f48; }
.site-cart-panel-note { margin: 15px 0 8px; color: #777970; font: 400 12px/1.55 'DM Sans', Arial, sans-serif; }
.site-cart-panel-content { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.site-cart-group { margin: 14px 0 20px; }
.site-cart-group h3 { margin: 0; padding: 0 0 8px; border-bottom: 1px solid #eceee9; color: #315f48; font: 800 10px/1.4 'DM Sans', Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.site-cart-line { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f1ed; }
.site-cart-line-mark { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 42px; border: 1px solid #e6e9e2; border-radius: 7px; background: #f6f8f4; color: #315f48; font: 800 11px Manrope, Arial, sans-serif; }
.site-cart-line-copy { display: grid; min-width: 0; gap: 4px; }
.site-cart-line-copy strong { overflow: hidden; color: #2c312b; font: 700 12px/1.35 'DM Sans', Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.site-cart-line-copy small { color: #85877f; font: 400 10px/1.4 'DM Sans', Arial, sans-serif; }
.site-cart-line-actions { grid-column: 2; display: flex; align-items: center; gap: 7px; }
.site-cart-line-actions>button:not(.site-cart-line-remove) { width: 25px; height: 25px; border: 1px solid #e1e5dd; border-radius: 5px; background: #fff; color: #39473a; font: 600 15px/1 'DM Sans', Arial, sans-serif; cursor: pointer; }
.site-cart-line-actions>span { min-width: 16px; color: #434a41; font: 700 11px 'DM Sans', Arial, sans-serif; text-align: center; }
.site-cart-line-actions .site-cart-line-remove { margin-left: auto; border: 0; background: transparent; color: #8d514a; font: 600 10px 'DM Sans', Arial, sans-serif; cursor: pointer; }
.site-cart-empty { display: grid; justify-items: center; gap: 7px; padding: 80px 15px; color: #7e847b; text-align: center; }
.site-cart-empty>span { color: #99a294; font-size: 32px; }
.site-cart-empty strong { color: #363d35; font: 700 15px Manrope, Arial, sans-serif; }
.site-cart-empty small { font: 400 11px/1.5 'DM Sans', Arial, sans-serif; }
.site-cart-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid #e9e8e1; }
.site-cart-panel-foot>span { color: #62685f; font: 700 12px 'DM Sans', Arial, sans-serif; }
.site-cart-continue { min-height: 42px; padding: 0 15px; border: 0; border-radius: 7px; background: #315f48; color: #fff; font: 700 11px 'DM Sans', Arial, sans-serif; cursor: pointer; }
.topbar .service-header-links { display: flex; align-items: center; justify-content: space-between; gap: clamp(8px, 1.5vw, 20px); flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.topbar .service-header-links::-webkit-scrollbar { display: none; }
.service-header-link-list { display: flex; align-items: center; gap: clamp(3px, .75vw, 10px); flex: none; margin-left: clamp(28px, 4vw, 58px); }
.topbar .service-header-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 clamp(8px, 1vw, 13px); border-radius: 999px; color: #596156; font: 700 12px 'DM Sans', Arial, sans-serif; white-space: nowrap; transition: color .16s ease, background .16s ease; }
.topbar .service-header-links a:hover, .topbar .service-header-links a:focus-visible { background: #f0f5ef; color: #315f48; }
.service-header-link-list > a:first-child { background: #f0f5ef; color: #315f48; }
.topbar .service-header-links .service-installation-link { color: #315f48; }
.topbar .service-header-links .service-contact-link { background: #315f48; color: #fff; }
.topbar .service-header-links .service-contact-link:hover, .topbar .service-header-links .service-contact-link:focus-visible { background: #244a37; color: #fff; }
.topbar .service-header-links .rzf-header-link { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin-left: 0; min-height: 0; padding: 0; border-radius: 4px; background: transparent; line-height: 1; }
.topbar .service-header-links .rzf-header-link:hover, .topbar .service-header-links .rzf-header-link:focus-visible { background: transparent; }
.rzf-header-caption { color: #315f48; font: 700 10px/1.2 'DM Sans', Arial, sans-serif; white-space: nowrap; }
.rzf-header-link img { display: block; width: 150px; height: auto; max-height: 82px; object-fit: contain; }
.rzf-footer-promo { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px clamp(20px, 7.4vw, 112px); border-top: 1px solid rgba(34, 37, 32, .07); background: #fff; }
.rzf-footer-copy>span { color: #71816e; font: 800 9px/1.4 'DM Sans', Arial, sans-serif; letter-spacing: 1.4px; }
.rzf-footer-copy h2 { margin: 8px 0 5px; color: #222520; font: 500 23px/1.2 Georgia, 'Times New Roman', serif; }
.rzf-footer-copy p { margin: 0; color: #777970; font: 400 12px/1.6 'DM Sans', Arial, sans-serif; }
.rzf-footer-banner { display: block; flex: none; width: min(420px, 44vw); line-height: 0; }
.rzf-footer-banner img { display: block; width: 100%; height: auto; border-radius: 5px; }
.rzf-footer-promo + footer { border-top: 0; }
@media (min-width: 601px) and (max-width: 1300px) {
  .topbar .service-header-links { gap: 8px; }
  .service-header-link-list { gap: 1px; margin-left: clamp(12px, 2vw, 26px); }
  .topbar .service-header-links a { min-height: 36px; padding: 0 6px; font-size: 10px; }
  .topbar .service-header-links .rzf-header-link { padding: 0; }
  .rzf-header-caption { font-size: 9px; }
  .rzf-header-link img { width: 122px; max-height: 67px; }
}
@media (max-width: 760px) {
  .topbar .service-header-links { justify-content: flex-start; gap: 6px; padding-right: 14px; overscroll-behavior-x: contain; }
  .service-header-link-list { gap: 2px; margin-left: 0; }
  .topbar .service-header-links a { min-height: 34px; padding: 0 6px; font-size: 10px; }
  .topbar .service-header-links .rzf-header-link { margin-left: 4px; }
  .rzf-header-caption { font-size: 8px; }
  .rzf-header-link img { width: 105px; max-height: 57px; }
}
@media (max-width: 600px) {
  .site-floating-cart {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 54px;
    gap: 9px;
    padding: 0 13px;
    font-size: 13px;
  }
  .rzf-footer-promo { flex-direction: column; gap: 14px; padding: 22px 16px; text-align: center; }
  .rzf-footer-copy h2 { font-size: 21px; }
  .rzf-footer-banner { width: min(100%, 380px); }
  .site-cart-panel { padding: 19px 17px 16px; }
  .site-cart-panel-head h2 { font-size: 23px; }
}

/* Keep the Rzetelna Firma badge in view while only the service links scroll. */
.topbar.service-header-ready .service-header-links {
  justify-content: flex-start;
  gap: clamp(7px, .9vw, 13px);
  overflow: visible;
}
.topbar.service-header-ready .service-header-link-list {
  flex: 1 1 0;
  min-width: 0;
  margin-left: clamp(6px, 1vw, 16px);
  gap: clamp(2px, .3vw, 5px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.topbar.service-header-ready .service-header-link-list::-webkit-scrollbar { display: none; }
.topbar.service-header-ready .service-header-link-list > a { flex: 0 0 auto; }
.topbar.service-header-ready .rzf-header-link { flex: 0 0 auto; }
.topbar.service-header-ready .service-header-links a { font-size: 11px; padding-right: 4px; padding-left: 4px; }
.topbar.service-header-ready .rzf-header-link img { width: 138px; max-height: 76px; }
.topbar.service-header-ready .rzf-header-caption { font-size: 9.5px; }
.topbar.service-header-ready .service-header-links .rzf-header-link {
  display: flex;
  min-height: 0;
  margin-left: 0;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  line-height: 1;
}
.rzf-header-caption { max-width: 100%; text-align: center; }

@media (min-width: 601px) and (max-width: 1300px) {
  .topbar.service-header-ready .service-header-links { gap: clamp(6px, .7vw, 10px); }
  .topbar.service-header-ready .service-header-link-list { margin-left: clamp(2px, .4vw, 6px); gap: 2px; }
  .topbar.service-header-ready .service-header-links a { font-size: 9px; padding-right: 2px; padding-left: 2px; }
  .topbar.service-header-ready .rzf-header-link img { width: 120px; max-height: 66px; }
  .topbar.service-header-ready .rzf-header-caption { font-size: 8.5px; }
}

@media (max-width: 760px) {
  .topbar.service-header-ready {
    flex-wrap: nowrap;
    gap: clamp(6px, 1.5vw, 11px);
  }
  .topbar.service-header-ready .service-header-links {
    order: 0;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: space-between;
    gap: 6px;
    padding: 0;
  }
  .topbar.service-header-ready .service-header-link-list {
    flex: 1 1 0;
    gap: 1px;
    margin-left: 0;
  }
  .topbar.service-header-ready > .brand img { width: clamp(96px, 27vw, 145px); max-height: 72px; }
  .topbar.service-header-ready .service-header-links a { min-height: 32px; padding: 0 3px; font-size: 8px; }
  .topbar.service-header-ready .rzf-header-link { margin-left: 0; }
  .topbar.service-header-ready .rzf-header-caption { font-size: 7.5px; }
  .topbar.service-header-ready .rzf-header-link img { width: clamp(82px, 26vw, 124px); max-height: 58px; }
}
