.store-page {
  background:
    radial-gradient(circle at 50% 0, rgb(32 199 228 / 12%), transparent 24rem),
    var(--background);
}

.sample-notice {
  width: min(calc(100% - 32px), var(--store-width));
  margin: max(16px, env(safe-area-inset-top, 0px)) auto 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--brand-cyan);
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
  background: var(--surface-soft);
  font-size: 0.82rem;
}

.sample-notice strong {
  color: var(--text);
}

.store-page-shell {
  width: min(100%, var(--store-width));
  margin: 0 auto 40px;
  overflow: clip;
  background: var(--surface);
  box-shadow: var(--shadow-strong);
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
  padding-right: max(18px, env(safe-area-inset-right, 0px));
  padding-bottom: 6px;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px);
}

.store-header .brand-link {
  min-width: 120px;
}

.share-button {
  min-width: 44px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  font-weight: 700;
}

.page-feedback {
  position: sticky;
  top: 56px;
  z-index: 29;
  margin: 0;
  padding-top: 11px;
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  padding-bottom: 11px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid color-mix(in srgb, var(--brand-blue) 28%, var(--border));
  color: var(--text);
  background: color-mix(in srgb, var(--surface-soft) 96%, transparent);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.page-feedback:empty {
  display: none;
}

.store-hero {
  display: grid;
  min-height: 240px;
}

.store-hero > * {
  grid-area: 1 / 1;
}

.store-hero-media {
  min-height: 240px;
  color: rgb(255 255 255 / 58%);
  background:
    linear-gradient(180deg, rgb(6 27 70 / 5%) 28%, rgb(6 27 70 / 88%) 100%),
    linear-gradient(125deg, var(--brand-cyan), var(--brand-blue) 50%, var(--brand-navy));
}

.store-hero-content {
  align-self: end;
  z-index: 1;
  padding: 56px 20px 22px;
  color: var(--white);
}

.store-hero-content h1 {
  margin-bottom: 0.35rem;
  color: var(--white);
  font-size: clamp(2rem, 9vw, 2.5rem);
}

.store-category,
.store-tagline {
  color: var(--white);
}

.store-category {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.store-tagline {
  margin-bottom: 0;
  font-size: 1rem;
}

.business-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 10px;
}

.business-status p {
  margin: 0;
  font-size: 0.92rem;
}

.status-label {
  color: var(--success);
}

.status-label[data-business-status="closed"] {
  color: var(--text-secondary);
}

.status-label[data-business-status="before-open"],
.status-label[data-business-status="break"] {
  color: var(--brand-blue);
}

.status-label::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
}

.quick-actions {
  padding: 10px 20px 22px;
}

.quick-actions ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quick-actions li {
  min-width: 0;
  margin: 0;
}

.quick-actions a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.quick-actions a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.store-section {
  margin: 0 20px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 76px;
}

.store-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 6vw, 1.65rem);
}

.store-section h3 {
  margin-bottom: 0.45rem;
}

.store-section p,
.store-section dd,
.store-section figcaption {
  color: var(--text-secondary);
}

.business-hours > p {
  margin-bottom: 14px;
  color: var(--text);
}

.business-hours details {
  border-bottom: 1px solid var(--border);
}

.business-hours dl {
  margin: 0 0 16px;
}

.business-hours dl div,
.location-section dl div,
.market-section dl div {
  display: grid;
  grid-template-columns: minmax(82px, 0.75fr) 1.6fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
}

.business-hours dt,
.location-section dt,
.market-section dt {
  font-weight: 700;
}

.business-hours dd,
.location-section dd,
.market-section dd {
  margin: 0;
  text-align: right;
}

.featured-notice {
  padding: 20px;
  border-radius: var(--radius-medium);
  color: var(--white);
  background: var(--brand-navy);
}

.featured-notice h3,
.featured-notice p {
  color: var(--white);
}

.featured-notice p:last-child {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.featured-notice .notice-type {
  margin-bottom: 0.35rem;
  color: var(--brand-cyan);
  font-size: 0.78rem;
  font-weight: 800;
}

.store-introduction p:last-child {
  margin-bottom: 0;
}

.product-list,
.gallery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  min-width: 0;
}

.product-media,
.gallery-media {
  width: 100%;
  min-height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  border-radius: 14px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 1.05rem;
}

.product-card p {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.product-card p:last-child {
  color: var(--text);
  font-size: 1rem;
}

.gallery-list figure {
  min-width: 0;
  margin-bottom: 0;
}

.gallery-list figcaption {
  font-size: 0.84rem;
}

.coupon-section {
  border-top: 0;
}

.coupon {
  padding: 22px;
  border: 2px dashed var(--brand-blue);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.coupon .coupon-label {
  margin-bottom: 0.3rem;
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.coupon h2 {
  margin-bottom: 0.7rem;
}

.coupon p:last-child {
  margin-bottom: 0;
  color: var(--text);
}

.location-section address {
  margin-bottom: 0.65rem;
  color: var(--text);
  font-weight: 700;
}

.location-section dl,
.market-section dl {
  margin: 22px 0;
}

.map-actions {
  display: grid;
  gap: 8px;
}

.map-actions a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.map-actions a:first-child {
  border-color: var(--brand-blue);
  color: var(--white);
  background: var(--brand-blue);
}

.social-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-section li {
  margin: 0;
}

.social-section a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
}

.store-footer {
  padding: 34px 20px 26px;
  color: rgb(255 255 255 / 72%);
  background: var(--brand-navy);
}

.store-footer strong,
.store-footer address {
  color: var(--white);
}

.store-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.store-footer nav li {
  margin: 0;
}

.store-footer a {
  color: var(--white);
  font-size: 0.82rem;
}

.bottom-actions {
  position: sticky;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(14px);
}

.bottom-actions a {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 5px;
  border-radius: 13px;
  color: var(--white);
  background: var(--brand-navy);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.bottom-actions a:nth-child(2) {
  background: var(--brand-blue);
}

@media (min-width: 520px) {
  .store-page-shell {
    border-radius: 28px;
  }
}

@media (max-width: 380px) {
  .business-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .quick-actions a {
    min-height: 58px;
    font-size: 0.72rem;
  }

  .store-section,
  .quick-actions,
  .business-status {
    margin-left: 0;
    margin-right: 0;
  }

  .store-section {
    margin-inline: 16px;
  }

  .quick-actions {
    padding-inline: 16px;
  }

  .business-status {
    padding-inline: 16px;
  }
}
