/* Store directory and the individual store page. */
[hidden] { display: none !important; }
textarea { font: inherit; resize: vertical; }
form label textarea { padding: 12px; border: 1px solid #d8dfe6; border-radius: 7px; width: 100%; }
.field-hint { color: var(--muted); font-weight: 400; font-size: 13px; line-height: 1.6; }
.form-divider { border-top: 1px solid #e3e7ed; padding-top: 20px; margin-top: 24px; color: var(--muted); font-size: 12px; letter-spacing: 1.5px; }
button:disabled { opacity: .6; cursor: wait; }
.catalog-caption { color: var(--muted); font-size: 14px; }
.store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.store-card { padding: 0; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.store-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px #16324f0e; }
.store-card-link { display: flex; flex-direction: column; height: 100%; border-radius: 12px; }
.store-card-link:focus-visible { outline-offset: -4px; }
.store-cover { height: 150px; overflow: hidden; position: relative; background: #dde5eb; }
.store-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #10273c22, #10273c38); }
.store-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.store-card:hover .store-cover img { transform: scale(1.04); }
.store-category { position: absolute; top: 15px; left: 16px; border-radius: 5px; padding: 6px 9px; background: #fffffff2; color: var(--navy); font-size: 12px; font-weight: 800; z-index: 1; }
.store-card-body { position: relative; padding: 43px 22px 18px; flex: 1; display: flex; flex-direction: column; }
.store-logo { width: 68px; height: 68px; background: white; border: 4px solid white; border-radius: 20px; box-shadow: 0 3px 12px #16324f14; overflow: hidden; flex-shrink: 0; }
.store-card-body > .store-logo { position: absolute; top: -34px; left: 22px; }
.store-logo-art, .store-logo-image { display: block; width: 100%; height: 100%; }
.store-logo-image { object-fit: contain; }
.tone-rose { --store-color: #94606d; }
.tone-blue { --store-color: #254f71; }
.tone-amber { --store-color: #a86222; }
.tone-sage { --store-color: #587366; }
.tone-coffee { --store-color: #705246; }
.tone-lilac { --store-color: #79608c; }
.store-logo-art { color: var(--store-color, var(--navy)); }
.store-card h3 { font-size: 21px; margin: 0 0 10px; letter-spacing: -.5px; }
.store-sells { font-size: 14px; line-height: 1.8; color: #586779; margin: 0 0 14px; flex: 1; }
.store-address { display: flex; gap: 7px; align-items: baseline; font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0 0 17px; }
.store-address span { color: #bd510c; font-size: 13px; }
.store-card-footer { border-top: 1px solid #edf0f4; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.store-card-footer > span { font-size: 11px; color: var(--muted); }
.store-card-footer strong { margin: 0; font-size: 13px; color: var(--navy); white-space: nowrap; }
.store-favorite { width: 36px; height: 36px; top: 12px; right: 12px; z-index: 2; box-shadow: 0 2px 8px #16324f0d; }
.store-breadcrumb { display: flex; gap: 13px; align-items: center; font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.store-breadcrumb a { color: var(--navy); font-weight: 700; }
.store-breadcrumb > span:last-child { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.store-profile { background: white; border: 1px solid #e3e7ed; border-radius: 16px; overflow: hidden; }
.store-profile-cover { height: 235px; position: relative; background: #dce3e7; }
.store-profile-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #142b4388, #142b4322); }
.store-profile-cover > img { width: 100%; height: 100%; object-fit: cover; }
.store-profile-label { position: absolute; top: 28px; left: 32px; z-index: 1; font-size: 12px; color: white; font-weight: 700; letter-spacing: 1.8px; }
.store-profile-body { padding: 56px 32px 27px; position: relative; }
.profile-logo { position: absolute; top: -48px; width: 96px; height: 96px; border-width: 5px; border-radius: 25px; }
.store-profile-title { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.store-profile-title h1 { font-size: 37px; letter-spacing: -1.1px; margin: 8px 0 12px; }
.store-profile-title h1:focus { outline: none; }
.profile-favorite { position: static; border: 1px solid #e3e7ed; box-shadow: none; width: 44px; height: 44px; flex-shrink: 0; }
.store-description { font-size: 16px; line-height: 1.8; color: #586779; margin: 0; }
.store-profile-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 20px; border-top: 1px solid #edf0f4; padding-top: 16px; }
.store-profile-meta p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; }
.store-profile-meta > span { color: #8b5b1f; background: #fff6e6; font-size: 12px; border-radius: 5px; padding: 6px 9px; }
.store-report-button { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; padding: 6px 9px; border: 1px solid currentColor; border-radius: 6px; background: transparent; color: #b42318; font-size: 12px; font-weight: 600; line-height: 1.4; }
.store-report-button svg { flex-shrink: 0; }
.store-report-button:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .store-report-button { color: #ff9f93; }
.store-catalog { margin-top: 35px; }
.product-types { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.type-chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; background: white; border: 1px solid #e0e6ed; border-radius: 8px; font-size: 14px; color: var(--navy); white-space: nowrap; font-weight: 600; }
.type-chip > span { font-size: 12px; background: #f1f4f7; padding: 2px 6px; border-radius: 4px; }
.type-chip.selected { background: var(--navy); border-color: var(--navy); color: white; }
.type-chip.selected > span { background: #ffffff22; }
.store-results { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.product-type { font-size: 12px; color: var(--muted); }
.empty h3 { color: var(--navy); margin-top: 0; }
.empty p { font-size: 15px; line-height: 1.8; }
.empty .outline { margin-top: 12px; }
@media (max-width: 1000px) {
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 650px) {
  .catalog-caption { display: none; }
  .store-grid { grid-template-columns: 1fr; gap: 18px; }
  .store-cover { height: 150px; }
  .store-card-body { padding: 43px 20px 18px; }
  .store-card h3 { font-size: 23px; }
  .store-sells { font-size: 15px; }
  .store-address { font-size: 14px; }
  .store-card-footer > span { font-size: 12px; }
  .store-card-footer strong { font-size: 14px; }
  .store-favorite { width: 38px; height: 38px; }
  .store-breadcrumb { font-size: 13px; gap: 9px; margin-bottom: 17px; }
  .store-profile-cover { height: 170px; }
  .store-profile-label { left: 20px; top: 20px; font-size: 10px; letter-spacing: 1.2px; }
  .store-profile-body { padding: 46px 20px 21px; }
  .profile-logo { width: 78px; height: 78px; top: -39px; border-radius: 22px; }
  .store-profile-title h1 { font-size: 31px; line-height: 1.2; margin-bottom: 13px; }
  .store-description { font-size: 15px; }
  .store-profile-meta { gap: 11px; margin-top: 15px; padding-top: 14px; }
  .store-profile-meta p { font-size: 13px; }
  .profile-favorite { width: 40px; height: 40px; }
  .store-catalog { margin-top: 27px; }
  .product-types { flex-wrap: nowrap; overflow-x: auto; padding: 4px 3px 12px; margin-left: -3px; scrollbar-width: thin; }
  .type-chip { padding: 10px 13px; font-size: 13px; }
  .store-results { font-size: 13px; }
  #merchant .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
