/* ============================================================
   MS GLOW ID — PAGE-SPECIFIC STYLES
   msglowid-page.css
   Each section is scoped to a page class on <main>.
   ============================================================ */

/* ----------------------------------------------------------
   SHARED CROSS-PAGE PATTERNS
   Consolidated via comma selectors — applies to multiple pages.
   ---------------------------------------------------------- */

/* Compact section header — overrides default 88px padding */
.media-list-page .media-list-header,
.media-detail-page .media-list-header,
.seller-detail-page .seller-detail-header {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Breadcrumb nav */
.media-list-page .media-list-breadcrumb,
.media-detail-page .media-list-breadcrumb,
.seller-detail-page .seller-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 13px;
  color: var(--msglow-text3);
  margin-bottom: 18px;
}
.media-list-page .media-list-breadcrumb-link,
.media-detail-page .media-list-breadcrumb-link,
.seller-detail-page .seller-detail-breadcrumb-link {
  color: var(--msglow-rose);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.media-list-page .media-list-breadcrumb-link:hover,
.media-detail-page .media-list-breadcrumb-link:hover,
.seller-detail-page .seller-detail-breadcrumb-link:hover {
  color: var(--msglow-rose-deep);
}
.media-list-page .media-list-breadcrumb-sep,
.media-detail-page .media-list-breadcrumb-sep,
.seller-detail-page .seller-detail-breadcrumb-sep {
  color: var(--msglow-rose-light);
}

/* Ghost pill back button */
.media-detail-page .media-detail-back-btn,
.seller-detail-page .seller-detail-back-btn {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 500;
  color: var(--msglow-rose);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 30px;
  border: 1.5px solid var(--msglow-rose-light);
  border-radius: 50px;
  transition: all 0.22s ease;
}
.media-detail-page .media-detail-back-btn:hover,
.seller-detail-page .seller-detail-back-btn:hover {
  background: var(--msglow-rose);
  color: white;
  border-color: var(--msglow-rose);
  text-decoration: none;
}

/* Pill search input — base styles shared across pages (padding set per page) */
.media-list-page .media-list-search input,
.seller-page .seller-search-input-wrap input,
.seller-page .seller-maps-city-wrap input {
  border: 1.5px solid rgba(251, 111, 146, 0.18);
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 14px;
  color: var(--msglow-text);
  background: white;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.media-list-page .media-list-search input:focus,
.seller-page .seller-search-input-wrap input:focus,
.seller-page .seller-maps-city-wrap input:focus {
  border-color: var(--msglow-rose);
  box-shadow: 0 0 0 3px rgba(251, 111, 146, 0.1);
}
.media-list-page .media-list-search input::placeholder,
.seller-page .seller-search-input-wrap input::placeholder,
.seller-page .seller-maps-city-wrap input::placeholder {
  color: var(--msglow-text3);
  font-weight: 300;
}

/* ----------------------------------------------------------
   CONTACT PAGE   (.contact-page)
   ---------------------------------------------------------- */

.contact-page .contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-page .contact-office-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.contact-page .contact-office-visual-wrap {
  position: relative;
}
.contact-page .contact-office-visual {
  border-radius: 28px 8px 28px 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(251, 111, 146, 0.12);
  aspect-ratio: 4 / 3;
}
.contact-page .contact-office-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-page .contact-office-deco {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 72px;
  height: 72px;
  border: 2px solid var(--msglow-rose-light);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.contact-page .contact-office-heading {
  font-family: var(--font-accent);
  font-size: 42px;
  font-weight: 900;
  color: var(--msglow-text);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.contact-page .contact-office-heading span {
  color: var(--msglow-rose);
  font-weight: 300;
  font-style: italic;
}
.contact-page .contact-office-tagline {
  font-family: var(--font-accent);
  font-size: 15px;
  color: var(--msglow-text3);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .contact-page .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-page .contact-office-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-page .contact-office-visual {
    aspect-ratio: 16 / 9;
  }
  .contact-page .contact-office-heading {
    font-size: 32px;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .contact-page .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----------------------------------------------------------
   MEDIA CATEGORY PAGE   (.media-page)
   ---------------------------------------------------------- */

.media-page #media-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.media-ig-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 16px;
}
.media-page .media-ig-handle {
  font-family: var(--font-accent);
  font-size: 15px;
  color: var(--msglow-text3);
  font-weight: 300;
  margin-top: 4px;
}
.media-page .media-ig-widget {
  border-radius: 20px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .media-page #media-categories {
    grid-template-columns: 1fr;
  }
  .media-ig-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----------------------------------------------------------
   MEDIA LIST PAGE   (.media-list-page)
   Compact header + breadcrumb: see SHARED section above.
   ---------------------------------------------------------- */

.media-list-page .media-list-search {
  position: relative;
  max-width: 420px;
  margin-bottom: 44px;
}
.media-list-page .media-list-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--msglow-text3);
  font-size: 14px;
  pointer-events: none;
}
/* Input base styles: see SHARED section above */
.media-list-page .media-list-search input {
  width: 100%;
  padding: 11px 20px 11px 42px;
}

.media-list-page #media-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.media-list-page .media-article-card {
  border-radius: 20px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(251, 111, 146, 0.06);
  text-decoration: none;
  display: block;
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease;
}
.media-list-page .media-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(251, 111, 146, 0.12);
  text-decoration: none;
}
.media-list-page .media-article-img-wrap {
  overflow: hidden;
}
.media-list-page .media-article-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}
.media-list-page .media-article-card:hover .media-article-img {
  transform: scale(1.04);
}
.media-list-page .media-article-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.media-list-page .media-article-date {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  color: var(--msglow-text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.media-list-page .media-article-title {
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 700;
  color: var(--msglow-text);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.media-list-page .media-article-card:hover .media-article-title {
  color: var(--msglow-rose-deep);
}
.media-list-page .media-article-read {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 500;
  color: var(--msglow-rose);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: gap 0.2s;
}
.media-list-page .media-article-card:hover .media-article-read {
  gap: 8px;
}

/* Video card variant */
.media-list-page .media-article-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.media-list-page .media-article-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.media-list-page #media-list .msg-card-empty {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .media-list-page #media-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .media-list-page #media-list {
    grid-template-columns: 1fr;
  }
  .media-list-page .media-list-search {
    max-width: 100%;
  }
}

/* ----------------------------------------------------------
   MEDIA DETAIL PAGE   (.media-detail-page)
   Compact header + breadcrumb + back button: see SHARED section above.
   ---------------------------------------------------------- */

.media-detail-page .media-detail-article-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.media-detail-page .media-detail-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}
.media-detail-page .media-detail-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.media-detail-page .media-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.media-detail-page .media-detail-date {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  color: var(--msglow-text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.media-detail-page .media-detail-title {
  font-family: var(--font-accent);
  font-size: 34px;
  font-weight: 900;
  color: var(--msglow-text);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.media-detail-page .media-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(251, 111, 146, 0.1);
}
.media-detail-page .media-detail-tag {
  font-family: var(--font-accent);
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  color: var(--msglow-text2);
  background: var(--msglow-blush);
  padding: 4px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.media-detail-page .media-detail-tag:hover {
  background: var(--msglow-rose-light);
  color: var(--msglow-rose-deep);
}
.media-detail-page .media-detail-prose {
  font-family: var(--font-accent);
  font-size: 16px;
  color: var(--msglow-text2);
  line-height: 1.85;
  font-weight: 300;
}
.media-detail-page .media-detail-prose p {
  margin-bottom: 20px;
}
.media-detail-page .media-detail-prose img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}
.media-detail-page .media-detail-prose h1,
.media-detail-page .media-detail-prose h2,
.media-detail-page .media-detail-prose h3,
.media-detail-page .media-detail-prose h4 {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--msglow-text);
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.25;
}

/* Back button wrapper (button itself: see SHARED section above) */
.media-detail-page .media-detail-back {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(251, 111, 146, 0.1);
  text-align: center;
}

/* Album — CSS columns masonry */
.media-detail-page .media-album-grid {
  column-count: 3;
  column-gap: 16px;
}
.media-detail-page .media-album-item {
  break-inside: avoid;
  margin-bottom: 16px;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  transition: transform 0.26s ease;
}
.media-detail-page .media-album-item:hover {
  transform: scale(1.01);
}
.media-detail-page .media-album-img {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .media-detail-page .media-detail-title {
    font-size: 26px;
  }
  .media-detail-page .media-album-grid {
    column-count: 2;
  }
}
@media (max-width: 576px) {
  .media-detail-page .media-album-grid {
    column-count: 1;
  }
}

/* ----------------------------------------------------------
   SELLER PAGE   (.seller-page)
   Search input base styles: see SHARED section above.
   ---------------------------------------------------------- */

.seller-page .seller-page-desc {
  font-family: var(--font-accent);
  font-size: 15px;
  color: var(--msglow-text2);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 28px;
}
.seller-page .seller-search-bar {
  background: var(--msglow-blush);
  border-radius: 20px;
  padding: 28px 32px 24px;
  margin-bottom: 44px;
  border: 1px solid rgba(251, 111, 146, 0.08);
}
.seller-page .seller-search-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.seller-page .seller-search-field label {
  display: block;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--msglow-text3);
  margin-bottom: 8px;
}
.seller-page .seller-search-sep {
  font-family: var(--font-accent);
  font-size: 13px;
  color: var(--msglow-text3);
  text-align: center;
  padding-top: 22px;
}
.seller-page .seller-search-input-wrap {
  position: relative;
}
.seller-page .seller-search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--msglow-text3);
  pointer-events: none;
}
/* Input base styles: see SHARED section above */
.seller-page .seller-search-input-wrap input {
  width: 100%;
  padding: 11px 16px 11px 40px;
}
.seller-page .seller-search-actions {
  text-align: center;
}
.seller-page .seller-search-btn {
  background: var(--msglow-rose);
  color: white;
  border: none;
  padding: 12px 36px;
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 18px rgba(251, 111, 146, 0.28);
}
.seller-page .seller-search-btn:hover {
  background: var(--msglow-rose-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(251, 111, 146, 0.38);
}

.seller-page .seller-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.seller-page .seller-pagination {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.seller-page .seller-list-card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(251, 111, 146, 0.2);
  padding: 22px;
  cursor: pointer;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.seller-page .seller-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(251, 111, 146, 0.12);
  border-color: var(--msglow-rose-light);
}
.seller-page .seller-list-name {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  color: var(--msglow-text);
  margin: 0 0 10px;
  line-height: 1.35;
}
.seller-page .seller-list-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.seller-page .seller-list-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 6px;
  align-items: baseline;
}
.seller-page .seller-list-label {
  font-family: var(--font-accent);
  font-size: 12px;
  color: var(--msglow-text3);
}
.seller-page .seller-list-value {
  font-family: var(--font-accent);
  font-size: 12px;
  color: var(--msglow-text2);
}
.seller-page .seller-list-card-footer {
  border-top: 1px solid rgba(251, 111, 146, 0.3);
  padding-top: 12px;
  margin-top: auto;
}

.seller-page .seller-list-ig span {
  font-family: var(--font-accent);
  font-size: 14px;
}
.seller-page .seller-list-ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--msglow-text2);
  font-family: var(--font-accent);
  font-size: 12px;
  transition: color 0.2s;
}
.seller-page .seller-list-ig:hover {
  color: var(--msglow-rose);
  text-decoration: none;
}
.seller-page .seller-list-ig img {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.seller-page .seller-maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 40px;
}
.seller-page .seller-map-canvas {
  border-radius: 20px;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid rgba(251, 111, 146, 0.06);
}
.seller-page .seller-maps-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.seller-page .seller-maps-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.seller-page .seller-maps-sidebar-title {
  font-family: var(--font-accent);
  font-size: 17px;
  font-weight: 700;
  color: var(--msglow-text);
  margin: 0;
}
.seller-page .seller-nearest-btn {
  background: var(--msglow-rose);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s;
  box-shadow: 0 4px 14px rgba(251, 111, 146, 0.25);
  animation: seller-pulse 2.2s infinite;
}
@keyframes seller-pulse {
  0%,
  100% {
    box-shadow:
      0 4px 14px rgba(251, 111, 146, 0.25),
      0 0 0 0 rgba(251, 111, 146, 0.18);
  }
  60% {
    box-shadow:
      0 4px 14px rgba(251, 111, 146, 0.25),
      0 0 0 10px rgba(251, 111, 146, 0);
  }
}
.seller-page .seller-nearest-btn:hover {
  background: var(--msglow-rose-deep);
}
.seller-page .seller-maps-city-wrap {
  position: relative;
}
.seller-page .seller-maps-city-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--msglow-text3);
  pointer-events: none;
}
/* Input base styles: see SHARED section above */
.seller-page .seller-maps-city-wrap input {
  width: 100%;
  padding: 11px 16px 11px 40px;
}
.seller-page .seller-maps-list {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 10px;
}
.seller-page .seller-map-card {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(251, 111, 146, 0.2);
  padding: 14px 16px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.seller-page .seller-map-card:hover {
  border-color: var(--msglow-rose-light);
  box-shadow: 0 4px 16px rgba(251, 111, 146, 0.1);
}
.seller-page .seller-map-card-name {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  color: var(--msglow-text);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(251, 111, 146, 0.1);
}
.seller-page .seller-map-card-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.seller-page .seller-map-card-row span {
  font-family: var(--font-accent);
  font-size: 12px;
}

.seller-page .seller-map-card-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 12px;
}
.seller-page .seller-map-card-row span:first-child {
  color: var(--msglow-text3);
}
.seller-page .seller-map-card-row span:last-child {
  color: var(--msglow-text2);
}

.seller-page .seller-map-card-ig span {
  font-size: 12px;
  font-family: var(--font-accent);
}

.seller-page .seller-map-card-ig {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--msglow-rose);
  font-family: var(--font-accent);
  font-size: 12px;
  transition: color 0.2s;
}
.seller-page .seller-map-card-ig:hover {
  color: var(--msglow-rose-deep);
  text-decoration: none;
}
.seller-page .seller-map-card-ig img {
  width: 12px;
  height: 12px;
}

@media (max-width: 900px) {
  .seller-page .seller-search-inputs {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .seller-page .seller-search-sep {
    padding-top: 0;
  }
  .seller-page .seller-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .seller-page .seller-maps-grid {
    grid-template-columns: 1fr;
  }
  .seller-page .seller-map-canvas {
    min-height: 320px;
  }
  .seller-page .seller-maps-list {
    max-height: 300px;
  }
}
@media (max-width: 576px) {
  .seller-page .seller-grid {
    grid-template-columns: 1fr;
  }
  .seller-page .seller-search-bar {
    padding: 20px 18px;
  }
}

/* ----------------------------------------------------------
   SELLER DETAIL PAGE   (.seller-detail-page)
   Compact header + breadcrumb + back button: see SHARED section above.
   ---------------------------------------------------------- */

/* Content section — flush top against compact header */
.seller-detail-page .seller-detail-content {
  padding-top: 0;
}

.seller-detail-page .seller-detail-card-wrap {
  max-width: 620px;
  margin: 0 auto;
}
.seller-detail-page .seller-detail-card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(251, 111, 146, 0.3);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(251, 111, 146, 0.08);
}
.seller-detail-page .seller-detail-name {
  font-family: var(--font-accent);
  font-size: 26px;
  font-weight: 900;
  color: var(--msglow-text);
  margin: 0 0 20px;
  line-height: 1.2;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(251, 111, 146, 0.1);
}
.seller-detail-page .seller-detail-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.seller-detail-page .seller-detail-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: baseline;
}
.seller-detail-page .seller-detail-label {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--msglow-text3);
}
.seller-detail-page .seller-detail-value {
  font-family: var(--font-accent);
  font-size: 15px;
  color: var(--msglow-text2);
  line-height: 1.55;
}
.seller-detail-page .seller-detail-ig-wrap {
  border-top: 1px solid rgba(251, 111, 146, 0.3);
  padding-top: 20px;
}
.seller-detail-page .seller-detail-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--msglow-text2);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.seller-detail-page .seller-detail-ig:hover {
  color: var(--msglow-rose);
  text-decoration: none;
}
.seller-detail-page .seller-detail-ig img {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

/* Back button wrapper (button itself: see SHARED section above) */
.seller-detail-page .seller-detail-back {
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 576px) {
  .seller-detail-page .seller-detail-card {
    padding: 24px 20px;
  }
  .seller-detail-page .seller-detail-row {
    grid-template-columns: 90px 1fr;
  }
}

/* ----------------------------------------------------------
   PRODUCT PAGE   (.product-page)
   ---------------------------------------------------------- */

/* Section header */
.product-page .product-section-head {
  margin-bottom: 36px;
}

/* Brand banners */
.product-page .product-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.product-page .product-brand-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(251, 111, 146, 0.06);
  cursor: pointer;
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    border-color 0.26s;
}
.product-page .product-brand-card:hover,
.product-page .product-brand-card.msglow-active {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(251, 111, 146, 0.14);
  border-color: var(--msglow-rose-light);
}
.product-page .product-brand-img {
  width: 100%;
  overflow: hidden;
}
.product-page .product-brand-img img {
  width: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.32s ease;
}
.product-page .product-brand-card:hover .product-brand-img img {
  transform: scale(1.03);
}
.product-page .product-brand-name {
  padding: 12px 16px;
  /* font-family: var(--font-accent); */
  font-size: 14px;
  font-weight: 500;
  color: var(--msglow-text);
  text-align: center;
  letter-spacing: 1px;
}

/* Layout: sidebar + content */
.product-page .product-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 48px;
  align-items: start;
}
.product-page .product-sidebar {
  position: sticky;
  top: 88px;
}

/* Sidebar accordion */
.product-page .product-accordion {
  border: none;
}
.product-page .product-accordion .accordion-item {
  border: none;
  background: transparent;
}

/* Highlight filter buttons (New Arrival / Sale / Best Seller) */
.product-page .product-highlight-item {
  border-bottom: 1px solid rgba(251, 111, 146, 0.08);
}
.product-page .product-highlight-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 0;
  background: none;
  border: none;
  box-shadow: none;
  font-family: var(--font-accent);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--msglow-text2);
  cursor: pointer;
  transition: color 0.2s;
  text-align: left;
}
.product-page .product-highlight-btn:hover,
.product-page .product-highlight-btn.msglow-active {
  color: var(--msglow-rose);
}

/* Accordion header buttons (Category / Brand) */
.product-page .product-accordion-item {
  border: none;
  background: transparent;
}
.product-page .product-accordion-btn.accordion-button {
  padding: 13px 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(251, 111, 146, 0.08);
  border-radius: 0;
  /* font-family: var(--font-accent); */
  font-size: 16px;
  font-weight: 500;
  /* text-transform: uppercase; */
  /* letter-spacing: 0.12em; */
  color: var(--msglow-text2);
}
.product-page .product-accordion-btn.accordion-button:not(.collapsed) {
  color: var(--msglow-rose);
  background: transparent;
  box-shadow: none;
}
.product-page .product-accordion-btn.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a07080' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: 12px;
  width: 12px;
  height: 12px;
}
.product-page .product-accordion-btn.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fb6f92' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Filter list (injected by fetchCategories / fetchBrands) */
.product-page .product-filter-body {
  padding: 8px 0 4px;
}
.product-page .product-filter-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-page .msglow-product-menu-button {
  display: block;
  width: 100%;
  padding: 8px 6px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-accent);
  font-size: 13px;
  color: var(--msglow-text2);
  cursor: pointer;
  border-radius: 8px;
  transition:
    background 0.18s,
    color 0.18s;
}
.product-page .msglow-product-menu-button:hover {
  background: var(--msglow-blush);
  color: var(--msglow-rose);
}
.product-page .msglow-product-menu-button.msglow-active {
  background: var(--msglow-blush2);
  color: var(--msglow-rose);
  font-weight: 600;
}

/* Topbar: search + mobile filter button */
.product-page .product-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.product-page .product-search-wrap {
  position: relative;
  flex: 1;
  max-width: 380px;
}
.product-page .product-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: 0.45;
  pointer-events: none;
}
.product-page .product-search-input {
  width: 100%;
  padding: 11px 20px 11px 42px;
  border: 1.5px solid rgba(251, 111, 146, 0.18);
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 14px;
  color: var(--msglow-text);
  background: white;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.product-page .product-search-input:focus {
  border-color: var(--msglow-rose);
  box-shadow: 0 0 0 3px rgba(251, 111, 146, 0.1);
}
.product-page .product-search-input::placeholder {
  color: var(--msglow-text3);
  font-weight: 300;
}
.product-page .product-mobile-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: white;
  border: 1.5px solid rgba(251, 111, 146, 0.18);
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 500;
  color: var(--msglow-text2);
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.product-page .product-mobile-filter-btn:hover {
  border-color: var(--msglow-rose);
  color: var(--msglow-rose);
}

/* Mobile filter panel */
.product-page .product-mobile-panel {
  background: var(--msglow-blush);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(251, 111, 146, 0.08);
}

/* Product grid (CSS grid — no Bootstrap .col wrappers from JS) */
.product-page .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Product card */
.product-page .prod-card {
  background: var(--msglow-ivory);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(251, 111, 146, 0.1);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}
.product-page .prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(251, 111, 146, 0.16);
  border-color: var(--msglow-rose-light);
}
.product-page .prod-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
}
.product-page .prod-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: white;
}
.product-page .prod-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}
.product-page .prod-badge {
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  color: white;
  background: var(--msglow-rose);
  width: fit-content;
}
.product-page .prod-badge--new {
  background: var(--msglow-gold);
}
.product-page .prod-badge--sale {
  background: var(--msglow-rose-deep);
}
.product-page .prod-img-el {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.32s ease;
}
.product-page .prod-card:hover .prod-img-el {
  transform: scale(1.06);
}
.product-page .prod-info {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--msglow-ivory);
}
.product-page .prod-name {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 500;
  color: var(--msglow-text);
  line-height: 1.45;
}
.product-page .prod-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-page .prod-price {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  color: var(--msglow-rose);
}
.product-page .prod-price--strike {
  color: var(--msglow-text3);
  font-weight: 400;
  font-size: 12px;
  text-decoration: line-through;
}
.product-page .prod-price--final {
  color: var(--msglow-rose);
}
.product-page .prod-promo-badge {
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  color: white;
  background: var(--msglow-rose-deep);
  padding: 2px 7px;
  border-radius: 50px;
}
.product-page .prod-add {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  color: var(--msglow-rose);
  font-size: 13px;
  transition: all 0.22s ease;
  opacity: 0;
  transform: scale(0.8);
}
.product-page .prod-card:hover .prod-add {
  opacity: 1;
  transform: scale(1);
}
.product-page .prod-add:hover {
  background: var(--msglow-rose);
  color: white;
}
.product-page .prod-add:hover i {
  color: white;
}

/* Skeleton placeholders inside prod-card (product page + home page sliders) */
.product-page .prod-skeleton-img,
.home-page .prod-skeleton-img {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.product-page .prod-skeleton-name,
.home-page .prod-skeleton-name {
  height: 13px;
  width: 75%;
  border-radius: 4px;
}
.product-page .prod-skeleton-price,
.home-page .prod-skeleton-price {
  height: 13px;
  width: 45%;
  border-radius: 4px;
  margin-top: 6px;
}

/* Empty state spans full grid */
.product-page .product-grid .msg-card-empty {
  grid-column: 1 / -1;
}

/* Pagination */
.product-page .product-pagination {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* Responsive */
@media (max-width: 900px) {
  .product-page .product-layout {
    grid-template-columns: 1fr;
  }
  .product-page .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-page .product-brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .product-page .product-search-wrap {
    max-width: 100%;
    flex: 1;
  }
}
@media (max-width: 576px) {
  .product-page .product-brands-grid {
    grid-template-columns: 1fr;
  }
  .product-page .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ----------------------------------------------------------
   PRODUCT DETAIL PAGE   (.product-detail-page)
   ---------------------------------------------------------- */

/* Breadcrumb section */
.product-detail-breadcrumb-section {
  background: white;
  border-bottom: 1px solid rgba(251, 111, 146, 0.08);
  padding: 14px 48px;
}
.product-detail-breadcrumb-section .msg-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.product-detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 13px;
  color: var(--msglow-text3);
}
.product-detail-breadcrumb span {
  font-size: 14px;
}
.product-detail-breadcrumb a {
  font-size: 14px;
  color: var(--msglow-rose);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.product-detail-breadcrumb a:hover {
  color: var(--msglow-rose-deep);
}
.product-detail-breadcrumb-sep {
  color: var(--msglow-rose-light);
  opacity: 0.6;
}

/* Product section layout */
.product-detail-section {
  padding: 64px 48px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
/* Prevent grid cells from overflowing their column */
.product-detail-grid > * {
  min-width: 0;
}

/* Gallery */
.product-detail-gallery {
  position: sticky;
  /* top: 90px; */
  min-width: 0; /* prevent grid overflow */
}
.product-detail-gallery-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
/* Thumbnail swiper — vertical strip on the left */
.product-detail-thumbs-swiper {
  width: 72px;
  height: 380px; /* matches main img height */
  flex-shrink: 0;
}
.product-detail-thumbs-swiper .swiper-slide {
  width: 72px !important;
  height: 72px !important;
  background: var(--msglow-blush);
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.22s,
    box-shadow 0.22s;
  flex-shrink: 0;
  opacity: 0.6;
}
.product-detail-thumbs-swiper .swiper-slide-thumb-active {
  border-color: var(--msglow-rose);
  box-shadow: 0 0 0 3px rgba(251, 111, 146, 0.12);
  opacity: 1;
}
.product-detail-thumbs-swiper .swiper-slide:hover {
  border-color: var(--msglow-rose-light);
  opacity: 1;
}
.msglow-image-product-detail-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
/* Main image swiper — fixed height, fills remaining flex space */
.product-detail-main-img {
  flex: 1;
  min-width: 0; /* prevent flex overflow */
  height: 380px;
  /* background: linear-gradient(145deg, var(--msglow-blush2) 0%, var(--msglow-blush3) 60%, #f0a0c0 100%); */
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.product-detail-main-img .swiper-wrapper {
  height: 100% !important;
}
.product-detail-main-img .swiper-slide {
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.msglow-image-product-detail {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

/* Product info */
.product-detail-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  color: var(--msglow-rose);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-detail-tag::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--msglow-rose);
}
.product-detail-name {
  font-family: var(--font-accent);
  font-size: 38px;
  font-weight: 900;
  color: var(--msglow-rose);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.product-detail-subtitle {
  font-size: 14px;
  color: var(--msglow-text3);
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* Rating */
.product-detail-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.product-detail-stars {
  display: flex;
  gap: 3px;
  font-size: 16px;
  color: var(--msglow-gold);
}
.product-detail-rating-num {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 600;
  color: var(--msglow-text);
}
.product-detail-rating-count {
  font-size: 12px;
  color: var(--msglow-text3);
}

/* Description */
.product-detail-desc {
  font-size: 15px;
  color: var(--msglow-text2);
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(251, 111, 146, 0.12);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Variants */
.product-detail-variants-section {
  margin-bottom: 32px;
}
.product-detail-variants-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--msglow-text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.product-detail-variants {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.product-detail-variant-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s;
  font-family: var(--font-accent);
  border: 1.5px solid rgba(251, 111, 146, 0.25);
  background: transparent;
  color: var(--msglow-text2);
}
.product-detail-variant-btn.active {
  background: var(--msglow-rose);
  color: white;
  border-color: var(--msglow-rose);
  box-shadow: 0 4px 16px rgba(251, 111, 146, 0.28);
}
.product-detail-variant-btn:hover:not(.active) {
  border-color: var(--msglow-rose);
  color: var(--msglow-rose);
}
.product-detail-selected-variant {
  font-size: 12.5px;
  color: var(--msglow-text3);
}
.product-detail-selected-variant span {
  color: var(--msglow-text2);
  font-weight: 500;
}

/* Price */
.product-detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
  padding: 22px 0;
  border-top: 1px solid rgba(251, 111, 146, 0.1);
  border-bottom: 1px solid rgba(251, 111, 146, 0.1);
}
.product-detail-price-rp {
  font-size: 14px;
  color: var(--msglow-text3);
  font-weight: 400;
}
.product-detail-price-main {
  font-family: var(--font-accent);
  font-size: 44px;
  font-weight: 700;
  color: var(--msglow-rose);
  line-height: 1;
}
.product-detail-price-note {
  font-size: 12.5px;
  color: var(--msglow-text3);
  font-weight: 300;
}

/* Cart row */
.product-detail-cart-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product-detail-qty-box {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(251, 111, 146, 0.25);
  border-radius: 50px;
  overflow: hidden;
}
.product-detail-qty-btn {
  width: 40px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--msglow-rose);
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.product-detail-qty-btn:hover {
  background: var(--msglow-blush);
}
.product-detail-qty-num {
  width: 44px;
  height: 44px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--msglow-text);
  line-height: 44px;
  user-select: none;
  border: none;
  outline: none;
  background: transparent;
}
.product-detail-cart-btn {
  background: var(--msglow-rose);
  color: white;
  border: none;
  padding: 0 36px;
  height: 44px;
  min-height: 44px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s;
  font-family: var(--font-accent);
  box-shadow: 0 6px 22px rgba(251, 111, 146, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.product-detail-cart-btn:hover {
  background: var(--msglow-rose-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(251, 111, 146, 0.38);
}
.product-detail-wishlist-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(251, 111, 146, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.product-detail-wishlist-btn:hover {
  border-color: var(--msglow-rose);
  background: var(--msglow-blush);
}
.product-detail-wishlist-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--msglow-rose);
  fill: none;
  stroke-width: 1.8;
}

/* Trust badges */
.product-detail-trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.product-detail-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--msglow-text3);
}

/* Tabs section */
.product-detail-tabs-section {
  background: white;
  padding: 64px 48px;
}
.product-detail-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-bottom: 2px solid rgba(251, 111, 146, 0.12);
  margin-bottom: 48px;
}
.product-detail-tab-btn {
  box-shadow: none;
  padding: 14px 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--msglow-text3);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: var(--font-accent);
  position: relative;
  transition: color 0.22s;
}
.product-detail-tab-btn.active {
  color: var(--msglow-rose);
}
.product-detail-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--msglow-rose);
  border-radius: 2px 2px 0 0;
}
.product-detail-tab-btn:hover {
  color: var(--msglow-text2);
}
.product-detail-tab-panel {
  display: none;
}
.product-detail-tab-panel.active {
  display: block;
}
.product-detail-tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* Detail cards */
.product-detail-card {
  box-shadow: 0px 1px 1px rgba(251, 111, 146, 0.5);
  background: white;
  border-radius: 22px;
  padding: 32px 36px;
  border: 1px solid rgba(251, 111, 146, 0.07);
  margin: 10px 0;
}
.product-detail-card:nth-child(n + 3) {
  margin-top: 20px;
}
.product-detail-card-title {
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: 600;
  color: var(--msglow-text);
  margin-bottom: 24px;
}
.product-detail-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-detail-tag-list .product-detail-tag-badge {
  background: var(--msglow-blush);
  border: 1px solid rgba(251, 111, 146, 0.15);
  color: var(--msglow-rose-deep);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 50px;
}
.product-detail-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-detail-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--msglow-text2);
  line-height: 1.55;
}
.product-detail-benefits li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--msglow-rose);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.product-detail-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-detail-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.product-detail-step-num {
  width: 36px;
  height: 36px;
  background: var(--msglow-rose);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.product-detail-step-body h4 {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--msglow-text);
  margin-bottom: 3px;
}
.product-detail-step-body p {
  font-size: 13.5px;
  color: var(--msglow-text2);
  font-weight: 300;
  line-height: 1.65;
}
.product-detail-how-to-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 14px;
}
.product-detail-ingredients {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-detail-ingredient-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(251, 111, 146, 0.07);
}
.product-detail-ingredient-item:last-child {
  border-bottom: none;
}
.product-detail-ingredient-name {
  font-size: 13.5px;
  color: var(--msglow-text2);
}
.product-detail-ingredient-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.product-detail-ingredient-badge.key {
  background: var(--msglow-blush2);
  color: var(--msglow-rose-deep);
}
.product-detail-ingredient-badge.safe {
  background: #e8f5ee;
  color: #0f6e56;
}

/* Recommended products */
.product-detail-recommended-section {
  padding: 64px 48px;
}
.product-detail-reco-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.product-detail-reco-swiper {
  width: 100%;
}
.product-detail-reco-swiper .swiper-slide {
  height: auto;
}
.product-detail-reco-card {
  background: var(--msglow-blush);
  border-radius: 22px;
  overflow: hidden;
  transition: all 0.26s;
  cursor: pointer;
  position: relative;
}
.product-detail-reco-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(251, 111, 146, 0.17);
}
.product-detail-reco-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-detail-reco-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
}
.product-detail-reco-info {
  padding: 18px 20px 22px;
}
.product-detail-reco-name {
  font-family: var(--font-accent);
  font-size: 17px;
  font-weight: 600;
  color: var(--msglow-text);
  line-height: 1.3;
  margin-bottom: 8px;
}
.product-detail-reco-price {
  font-size: 14px;
  color: var(--msglow-text3);
  font-weight: 300;
  margin-bottom: 14px;
}
.product-detail-reco-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--msglow-rose);
  text-decoration: none;
  transition: gap 0.2s;
}
.product-detail-reco-btn:hover {
  gap: 10px;
}

/* Responsive */
@media (max-width: 960px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-detail-gallery {
    position: static;
  }
  .product-detail-tab-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-name {
    font-size: 28px;
  }
  .product-detail-section {
    padding: 48px 20px;
  }
  .product-detail-tabs-section,
  .product-detail-recommended-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .product-detail-breadcrumb-section {
    padding: 12px 20px;
  }
  /* .product-detail-reco-grid responsive overrides removed — section now uses Swiper */
}
@media (max-width: 480px) {
  /* On small phones, shrink gallery heights to avoid taking too much vertical space */
  .product-detail-thumbs-swiper {
    height: 260px;
  }
  .product-detail-thumbs-swiper .swiper-slide {
    width: 56px !important;
    height: 56px !important;
  }
  .product-detail-thumbs-swiper {
    width: 56px;
  }
  .product-detail-main-img {
    height: 260px;
  }
}
@media (max-width: 576px) {
  .product-detail-cart-row {
    flex-direction: column;
  }
  .product-detail-cart-btn,
  .product-detail-qty-box {
    width: 100%;
  }
  .product-detail-qty-box {
    justify-content: space-between;
  }
}

/* ----------------------------------------------------------
   HOME PAGE   (.home-page)
   ---------------------------------------------------------- */

/* Hero */
.home-page .home-hero {
  position: relative;
  overflow: hidden;
}
.home-page .swiper-home-banner {
  width: 100%;
  height: 80vh;
  min-height: 420px;
}
.home-page .swiper-home-banner .swiper-slide {
  height: 100%;
}
.home-page .home-hero-skeleton {
  height: 100%;
}

/* Featured highlight */
.home-page .home-featured {
  background: white;
}
.home-page .home-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.home-page .home-feat-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 44px 10px 44px 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(251, 111, 146, 0.16);
  background: linear-gradient(150deg, var(--msglow-blush2) 0%, var(--msglow-blush3) 60%, #f0a0c0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-page .home-feat-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-page .home-feat-img-desktop {
  display: block;
}
.home-page .home-feat-img-mobile {
  display: none;
}
.home-page .home-feat-eyebrow {
  margin-bottom: 16px;
}
.home-page .home-feat-label {
  font-family: var(--font-accent);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--msglow-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.home-page .home-feat-label::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--msglow-gold);
  flex-shrink: 0;
}
.home-page .home-feat-title {
  font-family: var(--font-accent);
  font-size: 46px;
  font-weight: 900;
  color: var(--msglow-text);
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.home-page .home-feat-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--msglow-rose);
  color: white !important;
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 6px 26px rgba(251, 111, 146, 0.35);
  transition: all 0.25s;
  width: fit-content;
}
.home-page .home-feat-link:hover {
  background: var(--msglow-rose-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(251, 111, 146, 0.45);
  text-decoration: none;
  color: white;
}

/* Products & Bestsellers */
.home-page .home-products {
  background: var(--msglow-ivory);
}
.home-page .home-bestsellers {
  background: white;
}

/* prod-card inside home sliders */
.home-page .prod-card {
  background: white;
  border: 1px solid rgba(251, 111, 146, 0.1);
}
.home-page .prod-info {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--msglow-ivory);
  height: auto;
}

.home-page .home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

/* News */
.home-page .home-news {
  background: var(--msglow-ivory);
}
.home-page .home-news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.home-page .home-news-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.home-page .home-news-main {
  height: 100%;
}
.home-page .home-news-skeleton-main {
  min-height: 380px;
}
.home-page .home-news-swiper-wrap {
  display: none;
}

/* YouTube / Glow Up */
.home-page .home-glowup {
  background: linear-gradient(135deg, var(--msglow-blush3) 0%, var(--msglow-blush2) 50%, var(--msglow-blush) 100%);
  padding: 72px 48px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.home-page .home-glowup::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(251, 111, 146, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.home-page .home-glowup-content {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 52px;
  position: relative;
  z-index: 1;
}
.home-page .home-glowup-title {
  font-family: var(--font-accent);
  font-size: 48px;
  font-weight: 900;
  color: var(--msglow-rose-deep);
  line-height: 1.1;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}
.home-page .home-glowup-title em {
  font-style: italic;
  font-weight: 300;
}
.home-page .home-glowup-sub {
  font-size: 15.5px;
  color: var(--msglow-text2);
  font-weight: 300;
  line-height: 1.75;
}
.home-page .youtube-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  max-width: 100%;
  border: 0;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.home-page .youtube-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

/* Seller CTA */
.home-page .home-seller {
  background: white;
}
.home-page .home-seller-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border: 2px solid var(--blush3);
  border-radius: 32px;
  padding: 68px;
  position: relative;
  overflow: hidden;
}
.home-page .home-seller-tag {
  font-size: 11px;
  color: var(--msglow-rose);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-page .home-seller-title {
  font-family: var(--font-accent);
  font-size: 38px;
  font-weight: 900;
  color: var(--msglow-text);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.home-page .home-seller-desc {
  font-size: 15px;
  color: var(--msglow-text2);
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 30px;
}
.home-page .home-seller-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.home-page .home-seller-perk {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--msglow-text2);
}
.home-page .home-perk-check {
  width: 24px;
  height: 24px;
  background: var(--msglow-rose);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-page .home-perk-check svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}
.home-page .home-seller-btn {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  background: var(--msglow-rose);
  color: white !important;
  border: none;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 26px rgba(251, 111, 146, 0.35);
  transition: all 0.25s;
}
.home-page .home-seller-btn:hover {
  background: var(--msglow-rose-deep);
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}
.home-page .home-seller-visual {
  background: linear-gradient(145deg, #f5b4d0, var(--msglow-rose));
  border-radius: 22px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Instagram */
.home-page .home-instagram {
  background: var(--msglow-ivory);
}
.home-page .home-ig-widget {
  border-radius: 20px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
  .home-page .home-feat-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .home-page .home-feat-title {
    font-size: 32px;
  }
  .home-page .home-feat-img {
    aspect-ratio: 3 / 2;
    border-radius: 28px 8px 28px 8px;
  }
  .home-page .home-news-grid {
    display: none;
  }
  .home-page .home-news-swiper-wrap {
    display: block;
  }
  .home-page .home-seller-box {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 32px;
  }
  .home-page .home-seller-title {
    font-size: 28px;
  }
  .home-page .home-glowup {
    padding: 48px 24px 0;
  }
  .home-page .home-glowup-title {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .home-page .swiper-home-banner {
    height: 50vh;
    min-height: 260px;
  }
  .home-page .home-feat-img-desktop {
    display: none;
  }
  .home-page .home-feat-img-mobile {
    display: block;
    object-fit: contain;
  }
}
@media (max-width: 576px) {
  .home-page .home-glowup {
    padding: 40px 20px 0;
  }
  .home-page .home-glowup-title {
    font-size: 30px;
  }
  .home-page .home-seller-visual {
    min-height: 200px;
  }
  .home-page .home-seller-box {
    padding: 32px 24px;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page {
  background: #ffffff;
}
.about-page .about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-page .about-content-text {
  order: 2;
}
.about-page .about-content-media {
  order: 1;
}
.about-page .about-content-grid.is-reverse .about-content-text {
  order: 1;
}
.about-page .about-content-grid.is-reverse .about-content-media {
  order: 2;
}
.about-page .about-content-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(251, 111, 146, 0.12);
  display: block;
}
.about-page .about-content-heading {
  font-family: var(--font-label);
  font-size: 30px;
  font-weight: 900;
  color: var(--msglow-text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.about-page .about-content-desc {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 300;
  color: var(--msglow-text2);
  line-height: 1.8;
}
.about-page .about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  background: var(--msglow-rose);
  color: #fff !important;
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.about-page .about-cta-btn:hover {
  background: var(--msglow-rose-deep);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-3px);
}

/* Certifications / Awards slider cards */
.about-page .aboutUs-slider-image {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 0;
  padding: 0;
}
.about-page .swiper-news .swiper-slide {
  background: #fff;
  border: 1px solid rgba(251, 111, 146, 0.3);
  border-radius: 16px;
  padding: 20px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.about-page .swiper-news .swiper-slide:hover {
  transform: translateY(-6px);
  /* box-shadow: 0 16px 40px rgba(251, 111, 146, 0.5); */
  border-color: var(--msglow-rose-light);
}
.about-page #awards .aboutUs-slider-image {
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.about-page #awards .swiper-slide p {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 600;
  color: var(--msglow-text);
  text-align: center;
  margin: 0;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Sub-brands grid */
.about-page .brand {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.about-page .brand-wrapper {
  width: 100%;
  height: 100px;
  background: #fff;
  /*border: 1px solid rgba(251, 111, 146, 0.3);
  */
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  -webkit-transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  -moz-transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  -ms-transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  -o-transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.about-page .brand-wrapper:hover {
  transform: translateY(-6px);
  /* border-color: var(--msglow-rose-light); */
}
.about-page .logo-sub-brand {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .about-page .about-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-page .about-content-text,
  .about-page .about-content-media,
  .about-page .about-content-grid.is-reverse .about-content-text,
  .about-page .about-content-grid.is-reverse .about-content-media {
    order: initial;
  }
  .about-page .about-content-media img {
    height: 260px;
  }
}
@media (max-width: 576px) {
  .about-page .brand {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   CLINIC PAGE
   ============================================================ */
.clinic-page .clinic-page-desc {
  font-family: var(--font-accent);
  font-size: 15px;
  color: var(--msglow-text2);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 28px;
}

.clinic-page .clinic-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.clinic-page .clinic-intro-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(251, 111, 146, 0.12);
  display: block;
}
.clinic-page .clinic-intro-title {
  font-family: var(--font-label);
  font-size: 30px;
  font-weight: 900;
  color: var(--msglow-text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.clinic-page .clinic-intro-desc {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 300;
  color: var(--msglow-text2);
  line-height: 1.8;
}

.clinic-page .clinic-search-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.clinic-page .select2-container--default .select2-selection--single {
  height: 46px;
  border: 1.5px solid var(--msglow-rose-light);
  display: flex;
  align-items: center;
  padding: 0 20px;
  transition: border-color 0.2s ease;
}
.clinic-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  font-family: var(--font-accent);
  font-size: 14px;
  color: var(--msglow-text);
}
.clinic-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 14px;
}
.clinic-page .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--msglow-rose);
}

.clinic-page .clinic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .clinic-page .clinic-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .clinic-page .clinic-intro-media img {
    height: 260px;
  }
  .clinic-page .clinic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .clinic-page .clinic-grid {
    grid-template-columns: 1fr;
  }
  .clinic-page .clinic-search-bar {
    justify-content: stretch;
  }
}
