.user-button.is-signed-in .user-button-name{color:#171311!important;text-shadow:none!important;background:transparent!important}
.user-button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px double rgba(24,20,18,.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 0 0, rgba(62,48,36,.34), transparent 38%),
    radial-gradient(circle at 100% 0, rgba(62,48,36,.26), transparent 38%),
    radial-gradient(circle at 0 100%, rgba(62,48,36,.40), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(62,48,36,.32), transparent 38%),
    #fff1de;
  color: #171311;
  opacity: .88;
  text-decoration: none;
  z-index: 1000;
  box-shadow:0 10px 24px rgba(0,0,0,.40), inset 0 0 0 1px rgba(255,255,255,.42), inset 0 0 12px rgba(62,48,36,.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.back-icon {
  position: fixed;
  top: auto;
  bottom: 18px;
  left: 14px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff1de;
  opacity: 1;
  text-decoration: none;
  z-index: 1000;
  font-family: Arial, sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 1px 0 0 #171311, 0 2px 4px rgba(0,0,0,.72);
  transition: transform 0.2s ease, background 0.2s ease;
}

.back-icon:hover {
  transform: scale(1.08);
  background: transparent;
}

.language-toggle {
  position: fixed;
  top: 14px;
  right: auto;
  left: 14px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px double rgba(24,20,18,.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 0 0, rgba(62,48,36,.34), transparent 38%),
    radial-gradient(circle at 100% 0, rgba(62,48,36,.26), transparent 38%),
    radial-gradient(circle at 0 100%, rgba(62,48,36,.40), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(62,48,36,.32), transparent 38%),
    #fff1de;
  color: #171311;
  opacity: .88;
  cursor: pointer;
  z-index: 1000;
  font-size: 19px;
  line-height: 1;
  box-shadow:0 10px 24px rgba(0,0,0,.40), inset 0 0 0 1px rgba(255,255,255,.42), inset 0 0 12px rgba(62,48,36,.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"] {
  transform: scale(1.08);
  background: #fff1de;
  opacity: 1;
}

.language-toggle span {
  display: block;
  font-size: 19px;
  line-height: 1;
  transform: translateY(2px);
}

.home-bottom {
  position: relative;
  z-index: 30;
  display: flex;
  width: max-content;
  min-width: 150px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 3px double rgba(62, 47, 35, .72);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 0 0, rgba(91, 61, 31, .16), transparent 32%),
    radial-gradient(ellipse at 100% 100%, rgba(91, 61, 31, .14), transparent 32%),
    linear-gradient(145deg, #fffdf7 0%, #f4ead8 54%, #dfcba8 100%);
  color: #171311;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  margin: 24px auto 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3), inset 0 0 0 2px rgba(255, 255, 255, .5), inset 0 -4px 8px rgba(120, 86, 52, .18);
  transition: transform .2s ease, background .2s ease;
}

.home-bottom:hover {
  background: linear-gradient(145deg, #fffdf7 0%, #f8f0e3 54%, #ead8b9 100%);
  transform: translateY(-2px);
}

.lang-bar.language-panel {
  position: fixed;
  top: 14px;
  left: 64px;
  right: auto;
  z-index: 999;
  display: grid;
  grid-template-columns: repeat(11, max-content);
  width: max-content;
  max-width: calc(100vw - 78px);
  height: auto;
  padding: 8px;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(255, 241, 222, .55);
  border-radius: 16px;
  background: rgba(0, 0, 0, .92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

.lang-bar.language-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-bar.language-panel button {
  min-width: 0;
  width: 100%;
  height: 32px;
  padding: 0 4px;
  border: 1px solid rgba(255, 241, 220, .38);
  border-radius: 9px;
  font-size: 10px;
}

.user-button .user-icon::before,
.user-button .user-icon::after {
  background: #171311;
}
.user-button.is-signed-in{top:14px;width:78px;height:auto;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;flex-direction:column;gap:4px}.user-button.is-signed-in:hover{background:transparent;box-shadow:none;transform:none}.user-button-avatar{width:42px;height:42px;object-fit:cover;border:3px double rgba(24,20,18,.92);border-radius:50%;background:#fff1de;box-shadow:0 7px 15px rgba(0,0,0,.4)}.user-button.is-signed-in .user-icon{width:42px;height:42px;margin:0;border:3px double rgba(24,20,18,.92);border-radius:50%;background:#fff1de;box-shadow:0 7px 15px rgba(0,0,0,.4)}.user-button.is-signed-in .user-icon::before{top:8px}.user-button.is-signed-in .user-icon::after{bottom:6px}.user-button-name{display:block;max-width:78px;overflow:hidden;color:#fff1de;font-family:"Oswald",sans-serif;font-size:10px;font-weight:700;letter-spacing:.04em;line-height:1.1;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.8);text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.user-button.is-signed-in,.homepage-view .user-button.is-signed-in{top:78px;right:12px;width:68px;height:auto;min-width:0;padding:0}.user-button-avatar,.user-button.is-signed-in .user-icon{width:34px;height:34px}.user-button-name{max-width:68px;font-size:9px}}

.catalog-logo,
.object-brand-stamp,
.shop-stamp-logo {
  position: relative;
  isolation: isolate;
}

.catalog-logo::after,
.object-brand-stamp::after,
.shop-stamp-logo::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -9%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .2) 46%, transparent 76%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.user-button:hover {
  background:
    radial-gradient(circle at 0 0, rgba(46,35,26,.48), transparent 38%),
    radial-gradient(circle at 100% 0, rgba(46,35,26,.38), transparent 38%),
    radial-gradient(circle at 0 100%, rgba(46,35,26,.54), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(46,35,26,.44), transparent 38%),
    #fff1de;
  opacity: 1;
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"]{
  background:
    radial-gradient(circle at 0 0, rgba(46,35,26,.48), transparent 38%),
    radial-gradient(circle at 100% 0, rgba(46,35,26,.38), transparent 38%),
    radial-gradient(circle at 0 100%, rgba(46,35,26,.54), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(46,35,26,.44), transparent 38%),
    #fff1de;
}

.back-icon:hover {
  background: transparent;
}

@media (max-width: 700px) {
  .back-icon {
    top: auto;
    bottom: 18px;
    left: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff1de;
    font-size: 38px;
    text-shadow: 1px 0 0 #171311, 0 2px 4px rgba(0,0,0,.72);
  }

  .language-toggle {
    top: 14px;
    right: auto;
    left: 14px;
    width: 42px;
    height: 42px;
  }

  .lang-bar.language-panel {
    top: 14px;
    left: 64px;
    right: auto;
    width: max-content;
    max-width: calc(100vw - 78px);
    grid-template-columns: repeat(11, max-content);
    overflow-x: auto;
    overflow-y: hidden;
    max-width: calc(100vw - 78px);
    grid-template-columns: repeat(11, max-content);
    overflow-x: auto;
    overflow-y: hidden;
  }

  .home-bottom {
    margin-top: 18px;
    min-height: 38px;
    font-size: 11px;
  }
}

.user-button:hover {
  transform: scale(1.08);
  background: #fff1de;
}

.user-icon {
  position: relative;
  width: 19px;
  height: 19px;
  display: block;
}

.user-icon::before,
.user-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  background: #fff1de;
  transform: translateX(-50%);
}

.user-icon::before {
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.user-icon::after {
  bottom: 0;
  width: 17px;
  height: 9px;
  border-radius: 10px 10px 3px 3px;
}

.points-reward {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(33,28,24,.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.district-image-toggle .points-reward {
  display:none;
}

.district-card-content .points-reward {
  position:absolute !important;
  top:50%;
  right:4px !important;
  transform:translateY(-50%);
  padding:4px 7px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:999px;
  background:rgba(22,19,17,.86);
  color:#fff1de;
  font-size:11px;
  font-weight:900;
  letter-spacing:.02em;
}

.district-card-content:has(.points-reward){padding-right:60px}

.district-card-content .points-icon { color:#fff1de; }

.points-icon {
  color: #6d4b2d;
  font-size: 13px;
}
