/* WZ-MED-003 Gnuboard 5 & YoungCart 5 integration styles (uses tokens.css vars, zero #hex) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#mainSlider h1.slide-txt1 {
  margin: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.timetable-wrap,
.table-responsive {
  max-width: 100%;
  overflow-x: auto;
}

/* Customer Center Tabs */
.wz-center-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 36px;
}
.wz-center-tab {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--wz-radius-pill);
  background: var(--wz-color-surface);
  border: 1px solid var(--wz-color-border);
  color: var(--wz-color-text);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.wz-center-tab:hover,
.wz-center-tab.is-active {
  background: var(--wz-color-accent);
  border-color: var(--wz-color-accent);
  color: var(--wz-color-accent-ink);
}

/* Header Cart Link & Badge */
.header-cart .ondam-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--wz-color-dark);
  text-decoration: none;
}
.header-cart .ondam-cart-btn:hover {
  color: var(--wz-color-accent);
}
.header-cart .wz-cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--wz-radius-pill);
  background: var(--wz-color-accent);
  color: var(--wz-color-accent-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* Custom Archive Boards: Cases, Reviews, Blog */
.ondam-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--wz-radius-pill);
  background: rgba(244, 156, 0, 0.12);
  color: var(--wz-color-notice);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ondam-cases-grid {
  row-gap: 28px;
}
.ondam-case-card {
  height: 100%;
  background: var(--wz-color-surface);
  border: 1px solid var(--wz-color-border);
  border-radius: var(--wz-radius-lg);
  overflow: hidden;
  box-shadow: var(--wz-shadow-1);
  transition: transform 0.22s var(--wz-ease), box-shadow 0.22s var(--wz-ease);
}
.ondam-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wz-shadow-2);
}
.ondam-case-slider img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.ondam-case-body {
  padding: 22px 24px 24px;
}
.ondam-case-title {
  margin: 6px 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}
.ondam-case-title a,
.ondam-title-link {
  color: var(--wz-color-dark);
  text-decoration: none;
}
.ondam-case-title a:hover,
.ondam-title-link:hover {
  color: var(--wz-color-accent);
}
.ondam-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--wz-color-border);
  font-size: 13px;
  color: var(--wz-color-muted);
}

.ondam-ba-pair .ondam-ba-box {
  position: relative;
  border-radius: var(--wz-radius-md);
  overflow: hidden;
  border: 1px solid var(--wz-color-border);
}
.ondam-ba-pair .ondam-ba-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.ondam-ba-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: var(--wz-radius-pill);
  background: rgba(66, 66, 66, 0.85);
  color: var(--wz-color-accent-ink);
  font-size: 12px;
  font-weight: 700;
}
.ondam-ba-badge--after {
  background: var(--wz-color-accent);
}

.ondam-spec-card {
  padding: 26px 24px;
  border-radius: var(--wz-radius-lg);
  background: var(--wz-color-bg);
  border: 1px solid var(--wz-color-border);
}
.ondam-spec-dl {
  margin: 16px 0;
}
.ondam-spec-dl dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--wz-color-muted);
  margin-top: 12px;
}
.ondam-spec-dl dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--wz-color-dark);
  margin: 2px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--wz-color-border);
}
.ondam-med-notice {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--wz-color-muted);
  margin: 14px 0 18px;
}

.ondam-review-card {
  height: 100%;
}
.ondam-review-photo img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.ondam-review-home-link {
  color: inherit;
  text-decoration: none;
}
.ondam-review-home-link:hover {
  color: var(--wz-color-accent);
}

.ondam-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--wz-color-border);
}

.ondam-comment-box {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--wz-color-border);
}
.ondam-comment-item {
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: var(--wz-radius-md);
  background: var(--wz-color-bg);
  border: 1px solid var(--wz-color-border);
}
.ondam-comment-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--wz-color-muted);
  margin-bottom: 6px;
}

/* Home Healthcare Mall Section & Shop Integration */
.ondam-home-prd {
  height: 100%;
  background: var(--wz-color-surface);
  border: 1px solid var(--wz-color-border);
  border-radius: var(--wz-radius-lg);
  padding: 18px;
  box-shadow: var(--wz-shadow-1);
  transition: transform 0.2s var(--wz-ease), box-shadow 0.2s var(--wz-ease);
}
.ondam-home-prd:hover {
  transform: translateY(-3px);
  box-shadow: var(--wz-shadow-2);
}
.ondam-home-prd .prd-img img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  border-radius: var(--wz-radius-md);
  background: var(--wz-color-bg);
}
.ondam-prd-basic {
  font-size: 13px;
  color: var(--wz-color-muted);
  margin: 4px 0 8px;
  line-height: 1.45;
}
.footer-post-photo img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--wz-radius-sm);
}

/* Live Google Map Wrapper */
.ondam-live-map {
  width: 100%;
}
.ondam-live-map .wz-map-stage {
  border-radius: 0;
}
