@import url("https://uz.x.taplink.st/s/g/c/woff2/roboto.css?4");

:root {
  --bg: #faf5e7;
  --brown: #7c4000;
  --button-text: #ffffff;
  --link-radius: 40px;
  --link-height: 60px;
  --link-gap: 16px;
  --text-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 300px;
  min-height: 100%;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--brown);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--text-size);
  font-weight: 400;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.page {
  width: 100%;
  min-height: 100vh;
  padding: 16px 0 92px;
  background: var(--bg);
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  text-align: center;
}

.avatar-link {
  display: block;
  line-height: 0;
}

.avatar {
  display: block;
  width: 125px;
  height: 125px;
  border-radius: 50%;
}

h1 {
  margin: 16px 0 14px;
  color: var(--brown);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}

.links {
  width: 100%;
  margin: 0 auto;
  padding-left: 14px;
}

.link-row {
  display: flex;
  width: 100%;
  min-height: var(--link-height);
  margin-bottom: 14px;
  padding: 6px 56px 6px 8px;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--brown);
  border-radius: var(--link-radius);
  background: var(--brown);
  color: var(--button-text);
  text-align: center;
  transition: opacity 120ms ease, transform 120ms ease;
}

.link-row:hover {
  opacity: 0.92;
}

.link-row:active {
  transform: scale(0.99);
}

.franchise-item {
  margin-bottom: 14px;
}

.franchise-item .link-row {
  margin-bottom: 0;
}

.franchise-trigger {
  appearance: none;
  -webkit-appearance: none;
}

.franchise-trigger::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  opacity: 0.8;
  transition: transform 140ms ease;
}

.franchise-trigger[aria-expanded="true"]::after {
  transform: translateY(-35%) rotate(225deg);
}

.thumb {
  width: 42px;
  min-width: 42px;
  height: 42px;
  margin: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--button-text);
  line-height: 0;
}

.thumb svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.link-content {
  flex: 1;
  min-width: 0;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.link-title {
  display: block;
  color: var(--button-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.details-panel {
  margin: 0 14px 0 26px;
  padding: 12px 16px 13px;
  border: 1px solid rgba(124, 64, 0, 0.22);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--brown);
  box-shadow: inset 0 1px rgba(124, 64, 0, 0.06);
}

.details-panel-hours {
  padding: 9px 16px 10px;
}

.details-line {
  display: block;
  padding: 7px 0;
  color: var(--brown);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.details-hours {
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.details-line + .details-line {
  border-top: 1px solid rgba(124, 64, 0, 0.16);
}

.details-label {
  display: block;
  margin-bottom: 2px;
  color: var(--brown);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.62;
  text-transform: uppercase;
}

.details-address {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.break {
  height: 30px;
  margin: 12px 0 14px -14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
}

.break span {
  width: 17px;
  height: 17px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.break span::before,
.break span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 67px;
  height: 1px;
  opacity: 0.3;
}

.break span::before {
  right: 120%;
  background: linear-gradient(to left, var(--brown), rgba(255, 255, 255, 0));
}

.break span::after {
  left: 120%;
  background: linear-gradient(to right, var(--brown), rgba(255, 255, 255, 0));
}

.break svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.break.has-title {
  height: auto;
  margin-top: 18px;
  margin-bottom: 16px;
}

.break.has-title span {
  width: auto;
  height: auto;
  padding: 0 12px;
  background: var(--bg);
}

.break.has-title svg {
  display: none;
}

.break.has-title strong {
  display: block;
  color: var(--brown);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.3;
}

.footer {
  margin: 26px 14px 0;
  padding: 22px 18px 24px;
  border-top: 1px solid rgba(124, 64, 0, 0.18);
  text-align: center;
}

.footer-logo {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  opacity: 0.86;
}

.footer-brand {
  color: var(--brown);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 4px;
  line-height: 1.2;
}

.footer-text {
  max-width: 280px;
  margin: 8px auto 0;
  color: var(--brown);
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.72;
}

.footer-copy {
  margin-top: 12px;
  color: var(--brown);
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.52;
}

@media (min-width: 820px) {
  .page {
    max-width: 820px;
    margin: 0 auto;
  }
}
