/* Typography */
.mfp-pc-article-header,
.mfp-pc-picture-sidebar-section p,
.mfp-pc-picture-sidebar-title,
.mfp-pc-article-excerpt {
  font-family: var(--mfp-font-family, Georgia, "Times New Roman", serif);
}

/* Article header */

.mfp-pc-article-header {
  margin-bottom: 1.5rem;
}

.mfp-pc-article-title {
  font-size: 2rem;
  margin: 0 0 0.25rem;
}

.mfp-pc-article-meta {
  font-size: 0.85rem;
  color: #777;
}

/* Gallery grid */

.mfp-pc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.mfp-pc-gallery-grid img {
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}


.mfp-pc-tile {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.mfp-pc-tile img {
  display: block;
  width: 100%;
  height: auto;
}

.mfp-pc-tile-title {
  padding: 0.6rem 0.8rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Picture view layout */

.mfp-pc-picture-view {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.mfp-pc-picture-main {
  position: relative;
}

.mfp-pc-picture-main img {
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.17);
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}

/* Nav arrows */

.mfp-pc-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.mfp-pc-nav-arrow:hover {
  background: rgba(0,0,0,0.55);
}

.mfp-pc-nav-prev {
  left: 12px;
}

.mfp-pc-nav-next {
  right: 12px;
}

/* hide when disabled */
.mfp-pc-nav-arrow[disabled] {
  opacity: 0;
  pointer-events: none;
}

.mfp-pc-picture-sidebar-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mfp-pc-picture-sidebar-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1rem;
}

.mfp-pc-picture-sidebar-section {
  margin-bottom: 1rem;
}

.mfp-pc-picture-sidebar-section h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 0 0 0.2rem;
}

.mfp-pc-picture-sidebar-section p {
  margin: 0;
  font-size: var(--mfp-font-size, 1.02rem);
  line-height: 1.7;
}

/* Shop buttons */

.mfp-pc-shop-buttons {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mfp-pc-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  color: #111;
}

.mfp-pc-shop-btn--yellow {
  background: #f9dd4a;
}

.mfp-pc-shop-btn--yellow:hover {
  background: #f4d121;
}

.mfp-pc-shop-btn--orange {
  background: #f4a63a;
}

.mfp-pc-shop-btn--orange:hover {
  background: #e89117;
}

/* Related pictures */

.mfp-pc-related-section {
  margin-top: 3rem;
}

.mfp-pc-related-section h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.mfp-pc-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.9rem;
}

.mfp-pc-related-item img {
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Responsive – picture view only */

@media (max-width: 960px) {
  .mfp-pc-picture-view {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  /* keep gallery grid responsive Pinterest-style; do not force single column */

  /* make the single-picture view image tall and immersive */
  .mfp-pc-picture-main img {
    height: var(--mfp-mobile-height, 420px) !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .mfp-pc-related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mfp-pc-related-grid .mfp-pc-related-item img {
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* Force 2-column article gallery on small screens */
  .mfp-pc-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .mfp-pc-gallery-grid img {
    height: 200px !important;
  }

  .mfp-pc-nav-arrow {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }
}


/* Inline actions (heart + share) directly under the main picture */
.mfp-pc-inline-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mfp-pc-inline-actions button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Heart */
.mfp-pc-heart-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mfp-pc-heart-icon {
  font-size: 20px;
  color: #d1485f;
  transition: transform 0.15s ease, color 0.15s ease;
}

.mfp-pc-heart-btn--active .mfp-pc-heart-icon,
.mfp-pc-heart-icon--active {
  color: #f06272;
  transform: scale(1.08);
}

.mfp-pc-heart-count {
  font-size: 0.95rem;
}

/* Share buttons: subtle circular icons */
.mfp-pc-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
}

.mfp-pc-share-btn--pinterest {
  background: #e60023;
  font-weight: 700;
}

.mfp-pc-share-btn--facebook {
  background: #1877f2;
  font-weight: 700;
}


/* Inline "shop the look" overlay on picture view */
.mfp-pc-picture-main {
  position: relative;
}

.mfp-pc-shop-the-look {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  z-index: 5;
}

.mfp-pc-shop-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.mfp-pc-shop-tag:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.mfp-pc-shop-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 6px;
  background: #ffc107;
}

.mfp-pc-shop-tag--room .mfp-pc-shop-dot {
  background: #ff9800;
}

.mfp-pc-shop-label {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .mfp-pc-shop-the-look {
    right: 14px;
    bottom: 16px;
  }

  .mfp-pc-shop-tag {
    font-size: 0.76rem;
    padding: 0.3rem 0.8rem 0.3rem 0.55rem;
  }
}

@media (max-width: 480px) {
  .mfp-pc-shop-the-look {
    right: 10px;
    bottom: 14px;
  }
}
