/* Business-site template — extends static/ds/ds.css (do not edit ds). */

.store main {
  padding-bottom: calc(11.5rem + env(safe-area-inset-bottom, 0));
}

@media (max-width: 719px) {
  .store .cat-nav .row {
    gap: 0.85rem;
  }

  .store .cat-nav a {
    font-size: 0.82rem;
  }
}

.store .shop-foot .wrap {
  padding-bottom: calc(10rem + env(safe-area-inset-bottom, 0));
}

.float-actions {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: calc(5.35rem + env(safe-area-inset-bottom, 0));
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 18, 30, 0.22);
  text-decoration: none;
}

.float-btn .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.float-btn.call {
  background: var(--brand);
}

.float-btn.wa {
  background: #25d366;
}

.biz-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.biz-wrap.wide {
  max-width: 960px;
}

.biz-hero {
  margin: 0.75rem 1rem 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #0a1520));
  color: #fff;
  min-height: 268px;
  display: flex;
  align-items: stretch;
  position: relative;
  isolation: isolate;
}

.biz-hero.has-image {
  background-color: var(--brand);
  background-repeat: no-repeat;
  background-size: min(52%, 280px) auto;
  background-position: right -8% bottom -5%;
}

.biz-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 14, 24, 0.94) 0%,
    rgba(8, 14, 24, 0.88) 58%,
    rgba(8, 14, 24, 0.35) 100%
  );
}

.biz-hero .inner {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.5rem 1.25rem 1.35rem;
  max-width: min(100%, 22rem);
}

@media (min-width: 720px) {
  .biz-hero {
    min-height: 280px;
  }

  .biz-hero .inner {
    max-width: 520px;
    padding: 2rem 1.75rem 1.75rem;
  }

  .biz-hero.has-image {
    background-size: min(42%, 360px) auto;
    background-position: right 2% center;
  }
}

.biz-hero h1 {
  color: #fff;
  font-size: clamp(1.45rem, 5vw, 2rem);
  margin: 0 0 0.45rem;
  line-height: 1.15;
}

.biz-hero .sub {
  opacity: 0.92;
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.biz-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.biz-section {
  padding: 1.25rem 0 0.5rem;
}

.biz-section .section-head {
  padding: 0 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.75rem 1rem 1rem;
}

.svc-card {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e6ebf2);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sample-badge {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(8, 14, 24, 0.72);
  color: #fff;
  pointer-events: none;
}

.store .cat-nav {
  position: relative;
}

.store .cat-nav::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.75rem;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff 85%);
}

.store .cat-nav .row {
  padding-right: 1.5rem;
  scroll-padding-inline: 1rem;
  -webkit-overflow-scrolling: touch;
}

.svc-card .media {
  aspect-ratio: 4/3;
  background: var(--bg-2, #f3f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-card .media .ph {
  opacity: 0.35;
}

.svc-card .body {
  position: relative;
  padding: 0.65rem 0.7rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.svc-card .name {
  font-weight: 600;
  font-size: 0.88rem;
  color: inherit;
  text-decoration: none;
  line-height: 1.25;
}

.svc-card .desc {
  font-size: 0.78rem;
  color: var(--ink-3, #5a6478);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-card .price-tag {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--brand);
  margin-top: auto;
}

.page-banner {
  padding: 1.25rem 1rem 0.5rem;
}

.page-banner h1 {
  margin: 0;
  font-size: 1.45rem;
}

.page-banner .lead {
  margin: 0.35rem 0 0;
  color: var(--ink-3, #5a6478);
  font-size: 0.92rem;
}

.prose-block {
  padding: 0.5rem 1rem 1.5rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.prose-block p {
  margin: 0 0 0.85rem;
}

.prose-block .inline-img {
  width: 100%;
  border-radius: 12px;
  margin: 0 0 1rem;
}

.price-lg {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
}

.why-grid {
  display: grid;
  gap: 0.65rem;
  padding: 0 1rem 1rem;
}

.why-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: var(--surface);
}

.why-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.75rem 1rem 1.25rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.gallery-grid figcaption {
  font-size: 0.75rem;
  padding: 0.35rem 0.5rem;
  color: var(--ink-3);
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem 1.5rem;
}

.post-list li + li {
  border-top: 1px solid var(--line);
}

.post-list a {
  display: block;
  padding: 0.85rem 0;
  text-decoration: none;
  color: inherit;
}

.post-title {
  display: block;
  font-weight: 600;
}

.post-excerpt {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 0.2rem;
}

.post-date {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 0.35rem;
}

.contact-layout {
  display: grid;
  gap: 1.25rem;
  padding: 0.75rem 1rem 1.5rem;
}

@media (min-width: 720px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    max-width: 960px;
    margin: 0 auto;
  }
}

.map-frame,
.map-placeholder {
  border-radius: 12px;
  overflow: hidden;
  border: 1px dashed var(--line);
  margin-top: 0.75rem;
  min-height: 180px;
  background: var(--bg-2);
}

.map-frame iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.hours-list {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  font-size: 0.9rem;
}

.sticky-enquire {
  position: sticky;
  bottom: calc(3.75rem + env(safe-area-inset-bottom, 0));
  padding: 0.65rem 1rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.admin .field > label:not(.switch) {
  display: block;
}

.admin .field > label:not(.switch) + .input,
.admin .field > label:not(.switch) + input,
.admin .field > label:not(.switch) + select,
.admin .field > label:not(.switch) + textarea,
.admin .field > input,
.admin .field > select,
.admin .field > textarea {
  width: 100%;
}

.admin input[type="color"] {
  width: 100%;
  max-width: 12rem;
  height: 2.75rem;
  padding: 0.25rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.admin input[type="file"] {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2, #f3f5f9);
  font: inherit;
  font-size: 0.88rem;
}

.admin input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.35rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.admin .card + .card {
  margin-top: 1rem;
}

.admin .card h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.admin .thumb {
  max-height: 48px;
  border-radius: 8px;
}

.admin .thumb.wide {
  max-height: 120px;
  max-width: 100%;
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-gallery-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.admin-gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.admin-gallery-grid figcaption {
  font-size: 0.75rem;
  padding: 0.35rem;
}

.chart-bars {
  display: flex;
  gap: 0.35rem;
  height: 140px;
  padding: 0.5rem 0;
}

.chart-bars .col {
  flex: 1;
  min-width: 0;
  max-width: 2.75rem;
  display: flex;
  flex-direction: column;
}

.chart-bars .col::before {
  content: "";
  flex: 1;
}

.chart-bars .bar {
  background: color-mix(in srgb, var(--brand) 75%, #fff);
  border-radius: 6px 6px 0 0;
  min-height: 2px;
  max-height: calc(100% - 1.2rem);
}

.chart-bars .col span {
  font-size: 0.65rem;
  line-height: 1.2rem;
  text-align: center;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.enquiry-message {
  white-space: pre-wrap;
  font-size: 0.9rem;
  margin: 0.35rem 0;
}
