:root {
  --bg: #f7f1e7;
  --ink: #24462b;
  --muted: #756b5c;
  --green: #235127;
  --green-soft: #e4eee1;
  --brown: #8a4f18;
  --circle: #e5ded0;
  --line: rgba(35, 81, 39, 0.36);
  --shadow: 0 14px 34px rgba(49, 39, 21, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.link-page {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 26px 34px;
}

.profile {
  display: grid;
  justify-items: center;
  text-align: center;
}

.profile__logo {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--circle);
}

.profile__logo img {
  width: 42px;
  height: auto;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 760;
  line-height: 1.12;
}

.profile p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

.main-links {
  display: grid;
  gap: 12px;
}

.link-button {
  display: grid;
  grid-template-columns: 40px 1fr 18px;
  align-items: center;
  min-height: 52px;
  padding: 5px 11px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.link-button:hover,
.store-card__header:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.link-button__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--brown);
}

.link-button__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.link-button__icon:not(.has-custom-icon) img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.link-button__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.link-button--whatsapp .link-button__icon {
  background: #25d366;
}

.link-button > span:nth-child(2) {
  justify-self: center;
  padding-right: 18px;
}

.link-button__menu {
  justify-self: end;
  color: rgba(35, 81, 39, 0.72);
  font-size: 1rem;
  line-height: 1;
}

.store-card {
  margin-top: 16px;
  border: 1px solid rgba(35, 81, 39, 0.24);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
}

.store-card__header {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 15px 16px 14px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-card__header strong,
.store-card__header small {
  display: block;
}

.store-card__header strong {
  margin-bottom: 4px;
  color: var(--green);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.2;
}

.store-card__header small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.store-card__arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.store-card__arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.store-card__arrow.has-custom-icon {
  overflow: hidden;
  background: #fff;
}

.store-card__arrow.has-custom-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-map {
  position: relative;
  padding: 0 12px 12px;
}

.store-map iframe {
  width: 100%;
  height: 150px;
  border: 0;
  border-radius: 14px;
  background: var(--green-soft);
}

.store-map__link {
  position: absolute;
  inset: 0 12px 12px;
  border-radius: 14px;
  z-index: 1;
}

.store-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 12px 13px;
}

.store-gallery img,
.store-gallery span {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.42);
}

.store-gallery img {
  object-fit: cover;
}

.store-gallery span {
  display: block;
  border: 1px dashed rgba(35, 81, 39, 0.22);
}

@media (min-width: 700px) {
  .link-page {
    padding-top: 26px;
  }
}

@media (max-width: 360px) {
  .link-page {
    padding-inline: 16px;
  }

  .link-button {
    font-size: 0.72rem;
  }
}
