/* Content pages (About, Clinic, Media, Seller). Follows docs/design-system.md.
   These pages keep their layout from assets/css/msglowid-style.css + msglowid-page.css, which read the legacy
   --msglow-* / --font-* tokens; the .hv1 scope below repoints those tokens at the storefront ones
   (assets/css/Layout/storefront.css), so the old rules render in Poppins and the brand pink without being rewritten. */

.hv1 {
  --font-accent: "Poppins", sans-serif;
  --font-label: "Poppins", sans-serif;
  --msglow: var(--brand-primary-hover);
  --msglow-rose: var(--brand-primary-hover);
  --msglow-rose-deep: var(--brand-primary-hover);
  --msglow-rose-light: #fbcfe8;
  --msglow-blush: var(--brand-secondary);
  --msglow-blush2: var(--brand-secondary);
  --msglow-blush3: #fce7f3;
  --msglow-cream: #fff;
  --msglow-ivory: #f8fafc;
  --msglow-text: var(--text-dark);
  --msglow-text2: var(--text-muted);
  --msglow-text3: var(--text-muted);
}

.hv1 .msg-page {
  background: #fff;
}

/* section headings: 700 instead of the legacy 900 display weight, no tight tracking */
.hv1 .msg-section-tag {
  font-size: 0.75rem;
  color: var(--brand-primary-hover);
  letter-spacing: 0.12em;
}

.hv1 .msg-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hv1 .msg-section-sub {
  font-size: 1rem;
  font-weight: 400;
}

.hv1 .about-page .about-content-heading {
  font-weight: 700;
  letter-spacing: 0;
}

.hv1 .about-page .about-content-desc,
.hv1 .clinic-page .clinic-page-desc,
.hv1 .seller-page .seller-page-desc {
  font-weight: 400;
}

/* a { color: inherit !important } in style.css: link colours need !important */
.hv1 a.msg-see-all,
.hv1 a.readmore-media,
.hv1 a.media-list-breadcrumb-link,
.hv1 a.seller-detail-breadcrumb-link,
.hv1 a.media-detail-back-btn,
.hv1 a.seller-detail-back-btn {
  color: var(--brand-primary-hover) !important;
}

.hv1 a.media-detail-back-btn:hover,
.hv1 a.seller-detail-back-btn:hover {
  color: #fff !important;
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
}

/* same solid dark-pink button as .v1-btn-brand */
.hv1 .button-cta-msglow {
  padding: 10px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  border-radius: 8px;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.hv1 .button-cta-msglow:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* cards: white, 12px radius, slate border, pink border on hover (like .v1-card) */
.hv1 .msglow-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  box-shadow: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.hv1 .msglow-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hv1 .clinic-image {
  border-radius: 12px 12px 0 0;
}

.hv1 .msglow-card-button-link {
  color: var(--text-dark);
  background: var(--brand-secondary);
  border-radius: 8px;
}

.hv1 .msglow-card-button-link:hover {
  color: var(--brand-primary-hover);
  background: #fce7f3;
}

.hv1 .about-page .swiper-news .swiper-slide,
.hv1 .about-page .brand-wrapper {
  border: 1px solid #f1f5f9;
  border-radius: 12px;
}

.hv1 .about-page .swiper-news .swiper-slide:hover,
.hv1 .about-page .brand-wrapper:hover {
  border-color: var(--brand-primary);
}

.hv1 .about-page .about-content-media img {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* mobile: the legacy 24px side padding + 60px rows is heavy next to the storefront's 16px gutter */
@media (max-width: 575.98px) {
  .hv1 .msg-section {
    padding: 40px 16px;
  }

  .hv1 .msg-section-title {
    font-size: 1.5rem;
  }
}

/* seller cards: name, then "kode (status)", then the address, with no row labels */
.hv1 .seller-page .seller-list-code,
.hv1 .seller-page .seller-map-card-code {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary-hover);
}

.hv1 .seller-page .seller-list-status,
.hv1 .seller-page .seller-map-card-status {
  font-weight: 400;
  color: var(--text-muted);
}

.hv1 .seller-page .seller-list-address,
.hv1 .seller-page .seller-map-card-address {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ── Seller page polish ── */
.hv1 .seller-page .seller-search-bar {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.hv1 .seller-page .seller-search-field label {
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.hv1 .seller-page .seller-search-input-wrap input,
.hv1 .seller-page .seller-maps-city-wrap input {
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
}

.hv1 .seller-page .seller-search-input-wrap input:focus,
.hv1 .seller-page .seller-maps-city-wrap input:focus {
  background: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.25rem rgba(244, 114, 182, 0.25);
}

.hv1 .seller-page .seller-search-btn {
  height: 44px;
  padding: 0 36px;
  border-radius: 8px;
  font-weight: 700;
  background: var(--brand-primary-hover);
  box-shadow: none;
}

.hv1 .seller-page .seller-search-btn:hover {
  background: var(--brand-primary);
  transform: none;
  box-shadow: none;
}

/* cards: equal height, Instagram footer pinned to the bottom, like .v1-card */
.hv1 .seller-page .seller-list-card,
.hv1 .seller-page .seller-map-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  box-shadow: none !important;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}

.hv1 .seller-page .seller-list-card {
  padding: 20px;
  gap: 0;
}

.hv1 .seller-page .seller-list-card:hover,
.hv1 .seller-page .seller-map-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.hv1 .seller-page .seller-list-card > div:first-child {
  flex: 1;
}

.hv1 .seller-page .seller-avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-primary-hover);
  background: var(--brand-secondary);
  border-radius: 50%;
}

.hv1 .seller-page .seller-avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 0.8rem;
}

.hv1 .seller-page .seller-list-name,
.hv1 .seller-page .seller-map-card-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hv1 .seller-page .seller-list-meta {
  gap: 2px;
  margin-top: 12px;
}

.hv1 .seller-page .seller-map-card-rows {
  gap: 2px;
  margin: 10px 0;
}

.hv1 .seller-page .seller-list-card-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  border-bottom: 0;
  padding-bottom: 0;
}

.hv1 .seller-page .seller-list-ig,
.hv1 .seller-page .seller-map-card-ig {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hv1 .seller-page .seller-list-ig:hover,
.hv1 .seller-page .seller-map-card-ig:hover {
  color: var(--brand-primary-hover);
}

.hv1 .seller-page .seller-nearest-btn {
  border-radius: 8px;
}

@media (max-width: 991.98px) {
  .hv1 .seller-page .seller-search-inputs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hv1 .seller-page .seller-search-sep {
    padding-top: 0;
  }
}

/* ── Clinic page polish ── */
.hv1 .clinic-page .clinic-intro-media img {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hv1 .clinic-page .clinic-intro-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hv1 .clinic-page .clinic-intro-desc {
  font-size: 1rem;
  font-weight: 400;
}

/* city filter: left-aligned under the heading, same look as the .v1-auth-input fields */
.hv1 .clinic-page .clinic-search-bar {
  justify-content: flex-start;
  margin-bottom: 24px;
}

.hv1 .clinic-page .select2-msglow {
  width: 100%;
  max-width: 340px;
}

.hv1 .clinic-page .select2-container {
  width: 100% !important;
}

.hv1 .clinic-page .select2-container--default .select2-selection--single {
  height: 44px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.hv1 .clinic-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 0.9rem;
  line-height: 42px;
  color: var(--text-dark);
}

.hv1 .clinic-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
}

.hv1 .clinic-page .select2-container--default.select2-container--open .select2-selection--single,
.hv1 .clinic-page .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.25rem rgba(244, 114, 182, 0.25);
}

.hv1 .clinic-page .title-clinic {
  font-size: 1rem;
  font-weight: 600;
  height: auto;
  color: var(--text-dark);
}

.hv1 .clinic-page .msglow-card-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hv1 .clinic-page .msglow-card-button-text {
  font-size: 0.8rem;
}

/* ── Contact pages (/contact, /contact/join, /contact/registration) ── */
.hv1 .contact-page .contact-office-heading {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.hv1 .contact-page .contact-office-tagline {
  font-weight: 400;
}

.hv1 .contact-page .contact-office-visual {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hv1 .contact-page .contact-office-deco {
  display: none;
}

.hv1 .msg-info-item {
  border: 1px solid #f1f5f9;
  border-radius: 12px;
}

.hv1 .msg-info-item:hover {
  border-color: var(--brand-primary);
  box-shadow: none;
}

.hv1 .msg-info-icon {
  background: var(--brand-secondary);
  border-radius: 8px;
}

.hv1 .msg-info-label {
  letter-spacing: 0.08em;
}

.hv1 .msg-info-value {
  font-size: 0.9rem;
}

/* Join Seller: hero with a dark gradient behind the white text instead of a heavy text-shadow */
.hv1 #join-seller .contact-hero-wrapper {
  position: relative;
  height: 280px;
  padding: 24px;
  overflow: hidden;
  border-radius: 12px;
}

.hv1 #join-seller .contact-hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0) 70%);
}

.hv1 #join-seller .contact-hero-wrapper > div {
  position: relative;
}

.hv1 #join-seller .hero-text {
  margin: 0;
  color: #fff;
  text-shadow: none;
}

.hv1 #join-seller h2.hero-text {
  font-size: 1.75rem;
  font-weight: 700;
}

/* benefit rows: image + text vertically centred, no 0-padding images stuck to the container edge */
.hv1 #join-seller .row {
  align-items: center;
}

.hv1 #join-seller .msglow-card-image {
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hv1 #join-seller h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hv1 #join-seller p {
  color: var(--text-muted);
}

@media (max-width: 767.98px) {
  .hv1 #join-seller .col.p-5,
  .hv1 #join-seller .col-md-8.p-5 {
    padding: 1.25rem 0 !important;
  }
}

/* same solid-pink buttons as .v1-auth-submit; the ghost one for Batal */
.hv1 .button-cta-msglow-accent {
  padding: 10px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-dark) !important;
  background: #f1f5f9;
  border-color: #f1f5f9;
  border-radius: 8px;
}

.hv1 .button-cta-msglow-accent:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
}

/* Join Seller registration form */
.hv1 #join-reseller {
  --bs-body-color: var(--text-dark);
}

.hv1 #join-reseller .container {
  max-width: 640px;
}

.hv1 #join-reseller h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.hv1 #join-reseller .form-label {
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.hv1 #join-reseller .form-control,
.hv1 #join-reseller .form-select,
.hv1 #join-reseller .input-group-text {
  min-height: 44px;
  font-size: 0.9rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.hv1 #join-reseller textarea.form-control {
  min-height: 0;
}

.hv1 #join-reseller .input-group > .form-control {
  border-radius: 0 8px 8px 0;
}

.hv1 #join-reseller .input-group > .input-group-text {
  border-radius: 8px 0 0 8px;
  color: var(--text-muted);
}

.hv1 #join-reseller .form-control:focus,
.hv1 #join-reseller .form-select:focus {
  background: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.25rem rgba(244, 114, 182, 0.25);
}

.hv1 #join-reseller .select2-container--default .select2-selection--single {
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.hv1 #join-reseller .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.hv1 #join-reseller .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
}

/* .hv1 .row restores Bootstrap's negative gutter margin; these rows use px-0 columns, so it made the images overhang the hero */
.hv1 #join-seller .row {
  margin-right: 0;
  margin-left: 0;
}

/* benefit rows as a grid: image 1/3 + text 2/3 (flipped on the reversed rows), same gap and edges on every row */
@media (min-width: 768px) {
  .hv1 #join-seller .row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 16px 0;
  }

  .hv1 #join-seller .row.flex-column-reverse {
    grid-template-columns: 2fr 1fr;
  }

  .hv1 #join-seller .row > * {
    width: auto;
    max-width: none;
    margin: 0;
    flex: none;
  }

  .hv1 #join-seller .row > .col,
  .hv1 #join-seller .row > .col-md-8 {
    padding: 0 !important;
  }
}

/* ── Live page (/live) ── */
.hv1 .live-page .live-stage {
  border-radius: 12px;
}

.hv1 .live-page .live-frame {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hv1 .live-page .live-chat-wrap {
  border: 1px solid #f1f5f9;
  border-radius: 12px;
}

.hv1 .live-page .live-stat {
  font-weight: 400;
  color: var(--text-muted);
  border: 1px solid #f1f5f9;
}

.hv1 .live-page .live-badge {
  font-size: 0.75rem;
  background: var(--brand-primary-hover);
  border-radius: 6px;
}

.hv1 .live-page .live-empty {
  font-weight: 400;
  color: var(--text-muted);
  background: var(--brand-secondary);
  border-radius: 12px;
}

.hv1 .live-page .live-empty i {
  color: var(--brand-primary-hover);
}

.hv1 .live-page .live-products-empty {
  font-weight: 400;
  color: var(--text-muted);
}

/* product cards: the Home .v1-card, equal height inside the slider */
.hv1 .live-products-swiper .swiper-slide {
  height: auto;
}

.hv1 .live-products-swiper .v1-card {
  height: 100%;
}
