/* Satıcı vitrini ve Usta Bul */

/* Vitrin başlığı */
.shophead { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; margin-top: 16px; padding: 20px; }
.shophead__avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: #fff; }
.shophead__avatar .icon { width: 30px; height: 30px; }
.shophead__info { min-width: 0; }
.shophead__info h1 { font-size: 22px; }
.shophead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 6px; font-size: 13px; }
.shophead__loc { display: inline-flex; align-items: center; gap: 4px; }
.shophead__login { margin: 0; }
.shophead__meta a { color: var(--red); font-weight: 700; }
.shophead__stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.shophead__stats div { padding: 10px 12px; border-radius: var(--r-sm); background: var(--page); }
.shophead__stats dt { font-size: 12px; color: var(--muted); }
.shophead__stats dd { margin: 2px 0 0; font-size: 14px; }
.shophead__stats dd + dd { font-size: 12px; margin: 0; }
.shophead__stats strong { font-size: 18px; color: var(--ink); }
.shophead__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.shophead__acts form { margin: 0; }
.shophead__acts .btn { min-height: 44px; }
.btn.is-fav { color: var(--red); border-color: var(--red); background: var(--red-soft); }
.btn.is-fav .icon { fill: currentColor; }

.shopbar { display: grid; gap: 8px; margin-top: 14px; padding: 12px; }
.shopbar .input { min-height: 46px; }

/* Usta kartları */
.mgrid { display: grid; gap: 12px; }
.mcard { display: grid; gap: 14px; padding: 18px; }
.mcard__head { display: flex; align-items: center; gap: 12px; }
.mcard__avatar { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--red-soft); color: var(--red); }
.mcard__avatar .icon { width: 24px; height: 24px; }
.mcard__who { flex: 1; min-width: 0; }
.mcard__who h3 { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard__who .muted { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 13px; }
.mcard__fav { margin: 0; }
.mcard__fav button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--field); color: #9097a1; cursor: pointer; }
.mcard__fav .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.mcard__fav button:hover, .mcard__fav button.is-on { color: var(--red); background: var(--red-soft); }
.mcard__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.mcard__badges .pill { gap: 2px; }
.mcard__badges .pill .icon { color: var(--red); }
.mcard__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
.mreq summary { list-style: none; width: 100%; }
.mreq summary::-webkit-details-marker { display: none; }
.mreq[open] { grid-column: 1 / -1; grid-row: 2; }
.mreq[open] summary { display: none; }
.mreq__form { display: grid; gap: 8px; }

@media (min-width: 640px) {
  .shopbar { grid-template-columns: 1fr 220px 220px auto; }
  .page-masters .shopbar { grid-template-columns: 1fr 240px auto; }
  .page-masters .shopbar:has(> select:first-child) { grid-template-columns: 240px auto; justify-content: start; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .shophead { grid-template-columns: auto 1fr auto; padding: 24px; gap: 18px 22px; }
  .shophead__stats { grid-column: auto; grid-row: 1 / 3; grid-column-start: 3; min-width: 420px; }
  .shophead__acts { grid-column: 2; }
  .shophead__info h1 { font-size: 28px; }
  .mgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pgrid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1240px) {
  .pgrid--shop { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
