/* ============================================================
   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: 48px;
  padding-bottom: 48px;
}

/* 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: "Source Sans 3", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Lato", sans-serif;
  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: "Source Sans 3", sans-serif;
  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-page .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: "Source Sans 3", sans-serif;
  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-page .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: "Lato", sans-serif;
  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: "Lato", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Lato", sans-serif;
  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: "Lato", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Lato", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Lato", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Source Sans 3", sans-serif;
  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.06);
  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: "Lato", sans-serif;
  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: "Source Sans 3", sans-serif;
  font-size: 12px;
  color: var(--msglow-text3);
}
.seller-page .seller-list-value {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  color: var(--msglow-text2);
}
.seller-page .seller-list-card-footer {
  border-top: 1px solid rgba(251, 111, 146, 0.1);
  padding-top: 12px;
  margin-top: auto;
}
.seller-page .seller-list-ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--msglow-text2);
  font-family: "Source Sans 3", sans-serif;
  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: "Lato", sans-serif;
  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: "Source Sans 3", sans-serif;
  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;
}
.seller-page .seller-map-card {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(251, 111, 146, 0.06);
  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: "Lato", sans-serif;
  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 {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 11.5px;
}
.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 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--msglow-rose);
  font-family: "Source Sans 3", sans-serif;
  font-size: 11.5px;
  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.08);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(251, 111, 146, 0.08);
}
.seller-detail-page .seller-detail-name {
  font-family: "Lato", sans-serif;
  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: "Lato", sans-serif;
  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: "Source Sans 3", sans-serif;
  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.08);
  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: "Source Sans 3", sans-serif;
  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: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--msglow-text);
  text-align: center;
}

/* 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: "Source Sans 3", sans-serif;
  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: "Lato", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--msglow-text);
}
.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: "Source Sans 3", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Lato", sans-serif;
  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: "Source Sans 3", sans-serif;
  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: "Lato", sans-serif;
  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: "Lato", sans-serif;
  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;
}

/* 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;
  }
}
