/**
 * Lookbook StylingBook & StyleHint Stylesheet.
 * Inspired by Uniqlo StylingBook & StyleHint, adapted for NUEFELT.
 *
 * @package NUEFELT
 */

/* ==========================================================================
   1. Lookbook Archive (StylingBook)
   ========================================================================== */

.lookbook-archive-page {
  background-color: #fafafa;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* Hero Section */
.lookbook-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--nf-line);
  padding: 48px 0 32px;
}

.lookbook-hero__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}

.lookbook-hero__copy {
  max-width: 640px;
}

.lookbook-hero__title {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 700;
}

.lookbook-hero__desc {
  font-size: 15px;
  color: var(--nf-muted);
  margin: 0;
  line-height: 1.6;
}

.lookbook-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.lookbook-upload-trigger {
  box-shadow: 0 4px 14px rgba(255, 98, 95, 0.28);
  font-weight: 700;
}

.lookbook-user-quicklinks {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--nf-muted);
}

.lookbook-user-quicklinks a {
  font-weight: 600;
}

/* Filter & Tabs Bar */
.lookbook-filter-bar {
  position: sticky;
  top: var(--nf-branded-header-h, 72px) !important;
  z-index: 40;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid var(--nf-line);
  border-bottom: 1px solid var(--nf-line);
  padding: 12px 0;
  margin-top: -1px;
  transition: box-shadow 0.2s ease;
}

.admin-bar .lookbook-filter-bar {
  top: calc(var(--nf-wp-adminbar-h, 32px) + var(--nf-branded-header-h, 72px)) !important;
}

@media (max-width: 782px) {
  .admin-bar .lookbook-filter-bar {
    top: calc(var(--nf-wp-adminbar-h, 46px) + var(--nf-branded-header-h, 60px)) !important;
  }
}

@media (max-width: 768px) {
  .lookbook-filter-bar,
  .admin-bar .lookbook-filter-bar {
    position: static !important;
    top: auto !important;
    box-shadow: none !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

.lookbook-gender-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.lookbook-gender-tabs::-webkit-scrollbar {
  display: none;
}

.lookbook-gender-tab {
  background: transparent;
  border: 1px solid var(--nf-line);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--nf-text);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.lookbook-gender-tab:hover {
  border-color: var(--nf-black);
  background: #f5f5f5;
}

.lookbook-gender-tab.is-active {
  background: var(--nf-black);
  color: #fff;
  border-color: var(--nf-black);
}

.lookbook-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  gap: 16px;
  flex-wrap: wrap;
}

.lookbook-filters-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lookbook-filter-dropdown-wrap {
  position: relative;
}

.lookbook-select {
  height: 38px;
  padding: 0 32px 0 14px;
  border: 1px solid var(--nf-line);
  border-radius: 4px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  -webkit-appearance: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--nf-text);
  cursor: pointer;
}

.lookbook-select:focus {
  outline: none;
  border-color: var(--nf-black);
}

.lookbook-count-info {
  font-size: 13px;
  color: var(--nf-muted);
}

.lookbook-count-info span {
  font-weight: 700;
  color: var(--nf-text);
}

/* ==========================================================================
   2. Outfit Card Grid & Items
   ========================================================================== */

.lookbook-grid-section {
  padding: 36px 0 40px;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1080px) {
  .lookbook-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .lookbook-hero {
    padding: 32px 0 24px;
  }
  .lookbook-hero__actions {
    align-items: flex-start;
    width: 100%;
  }
  .lookbook-hero__actions .lookbook-upload-trigger {
    width: 100%;
  }
}

.lookbook-card {
  background: #ffffff;
  border: 1px solid var(--nf-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lookbook-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.lookbook-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f7f7f7;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.lookbook-card__media-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.lookbook-card__img,
.lookbook-card__media img,
.lookbook-card__media-link img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  transition: transform 0.4s ease;
}

.lookbook-card:hover .lookbook-card__img {
  transform: scale(1.03);
}

.lookbook-card__placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #bbb;
  background: #f7f7f7;
}

/* Like button on card */
.lookbook-card__like-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #444;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.lookbook-card__like-btn:hover {
  background: #ffffff;
  transform: scale(1.06);
}

.lookbook-card__like-btn .lookbook-heart-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #444;
  stroke-width: 2;
  transition: fill 0.2s, stroke 0.2s;
}

.lookbook-card__like-btn.is-liked {
  color: #e11d48;
}

.lookbook-card__like-btn.is-liked .lookbook-heart-icon {
  fill: #e11d48;
  stroke: #e11d48;
}

/* Tagged Items Bag Badge */
.lookbook-card__item-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
}

.lookbook-card__item-badge .lookbook-bag-icon {
  width: 12px;
  height: 12px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

/* Card Info */
.lookbook-card__info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lookbook-card__author-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.lookbook-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.lookbook-card__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.lookbook-card__avatar img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.lookbook-card__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--nf-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lookbook-card__height-badge {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.lookbook-card__title {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lookbook-card__title a:hover {
  text-decoration: underline;
}

/* Tagged preview */
.lookbook-card__tagged-preview {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f4f4f4;
}

.lookbook-card__tagged-thumb {
  width: 26px;
  height: 26px;
  border-radius: 3px;
  border: 1px solid var(--nf-line);
  overflow: hidden;
}

.lookbook-card__tagged-thumb img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.lookbook-card__tagged-more {
  font-size: 10px;
  font-weight: 700;
  color: var(--nf-muted);
  background: #eee;
  padding: 2px 5px;
  border-radius: 3px;
}

/* Load More */
.lookbook-load-more-wrap {
  text-align: center;
  padding-top: 36px;
}

.lookbook-load-more-btn {
  min-width: 220px;
}

/* ==========================================================================
   2.1 My Account - Gaya Saya 2-Column Responsive Card Grid
   ========================================================================== */

.nf-my-styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px 16px;
}

.nf-my-style-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--nf-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nf-my-style-card .nf-status-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #111111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  max-width: calc(100% - 64px);
  white-space: nowrap;
}

.nf-my-style-card .nf-status-badge .nf-status-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nf-my-style-card .nf-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nf-my-style-card .nf-status-badge.is-approved .nf-status-dot {
  background-color: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.nf-my-style-card .nf-status-badge.is-pending .nf-status-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.nf-my-style-card .nf-status-badge.is-draft .nf-status-dot {
  background-color: #9ca3af;
  box-shadow: 0 0 0 2px rgba(156, 163, 175, 0.2);
}

.nf-my-style-card__points-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 11.5px;
}

.nf-my-style-points {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  line-height: 1.2;
}

.nf-my-style-points.is-awarded {
  color: #15803d;
}

.nf-my-style-points.is-pending {
  color: #737373;
  font-weight: 600;
}

/* Mobile 2-column cards layout for Gaya Saya (< 768px) */
@media (max-width: 768px) {
  .lookbook-grid.nf-my-styles-grid,
  .nf-my-styles-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
  }

  .nf-my-style-card .lookbook-card__info {
    padding: 10px 8px 8px;
  }

  .nf-my-style-card .lookbook-card__author-row {
    margin-bottom: 6px;
    gap: 4px;
  }

  .nf-my-style-card .lookbook-card__avatar {
    width: 20px;
    height: 20px;
  }

  .nf-my-style-card .lookbook-card__name {
    font-size: 11px;
    max-width: 60px;
  }

  .nf-my-style-card .lookbook-card__height-badge {
    font-size: 10px;
    padding: 1px 5px;
  }

  .nf-my-style-card .lookbook-card__title {
    font-size: 12.5px;
    margin: 0 0 6px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .nf-my-style-card .lookbook-card__like-btn {
    top: 6px;
    right: 6px;
    padding: 3px 7px;
    font-size: 10px;
    gap: 3px;
  }

  .nf-my-style-card .lookbook-card__like-btn .lookbook-heart-icon {
    width: 12px;
    height: 12px;
  }

  .nf-my-style-card .lookbook-card__item-badge {
    bottom: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 10px;
    gap: 3px;
  }

  .nf-my-style-card .lookbook-card__item-badge .lookbook-bag-icon {
    width: 11px;
    height: 11px;
  }

  .nf-my-style-card .nf-status-badge {
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 9.5px;
    gap: 4px;
    max-width: calc(100% - 54px);
  }

  .nf-my-style-card .lookbook-card__tagged-preview {
    margin-top: 4px;
    padding-top: 4px;
    gap: 3px;
  }

  .nf-my-style-card .lookbook-card__tagged-thumb {
    width: 22px;
    height: 22px;
  }

  .nf-my-style-card .nf-my-style-card__points-row {
    margin-top: 6px;
    padding-top: 6px;
    font-size: 10.5px;
  }
}

/* ==========================================================================
   3. Single Lookbook (Uniqlo StyleHint Layout)
   ========================================================================== */

.stylehint-single-page {
  background: #fff;
  padding-bottom: 90px;
}

.stylehint-breadcrumbs {
  padding: 16px 0;
  border-bottom: 1px solid var(--nf-line);
}

.stylehint-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--nf-muted);
  white-space: nowrap;
  overflow-x: auto;
}

.stylehint-breadcrumb-nav a:hover {
  color: var(--nf-black);
  text-decoration: underline;
}

.stylehint-breadcrumb-nav .sep {
  color: #ccc;
}

.stylehint-breadcrumb-nav .current {
  color: var(--nf-text);
  font-weight: 600;
}

.stylehint-container {
  padding-top: 36px;
}

.stylehint-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 900px) {
  .stylehint-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Left: Big Photo */
.stylehint-photo-frame {
  position: relative;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stylehint-main-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.stylehint-floating-like-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.stylehint-floating-like-btn .lookbook-heart-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #222;
  stroke-width: 2;
}

.stylehint-floating-like-btn.is-liked {
  color: #e11d48;
}

.stylehint-floating-like-btn.is-liked .lookbook-heart-icon {
  fill: #e11d48;
  stroke: #e11d48;
}

/* Right: Details (Sticky) */
.stylehint-details-col {
  position: sticky;
  top: 100px;
}

.admin-bar .stylehint-details-col {
  top: 132px;
}

@media (max-width: 900px) {
  .stylehint-details-col {
    position: static;
  }
}

.stylehint-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--nf-line);
  margin-bottom: 24px;
}

.stylehint-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}

.stylehint-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stylehint-author-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--nf-black);
  margin-bottom: 4px;
}

.stylehint-specs-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.stylehint-badge {
  font-size: 12px;
  font-weight: 600;
  background: #f0f0f0;
  color: #333;
  padding: 3px 8px;
  border-radius: 4px;
}

.stylehint-badge--subtle {
  background: #fdf2f2;
  color: var(--nf-brand);
}

.stylehint-header {
  margin-bottom: 16px;
}

.stylehint-title {
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.stylehint-date {
  font-size: 12px;
  color: var(--nf-muted);
}

.stylehint-story {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 20px;
}

.stylehint-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.stylehint-tag-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--nf-muted);
  background: #f4f4f4;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Action bar */
.stylehint-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--nf-line);
  border-bottom: 1px solid var(--nf-line);
  margin-bottom: 32px;
}

.lookbook-like-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111111 !important;
  color: #ffffff !important;
  border: 1.5px solid #111111 !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lookbook-like-action-btn:hover {
  background: #262626 !important;
  border-color: #262626 !important;
}

/* Default state: love icon is crisp white so it stands out on the dark button */
.lookbook-like-action-btn .lookbook-heart-icon {
  width: 18px !important;
  height: 18px !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  display: inline-block !important;
  vertical-align: middle !important;
  transition: fill 0.25s ease, stroke 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Liked state: love icon turns vibrant pink / red love */
.lookbook-like-action-btn.is-liked {
  border-color: #ff4b72 !important;
}

.lookbook-like-action-btn.is-liked .lookbook-heart-icon {
  fill: #ff4b72 !important;
  stroke: #ff4b72 !important;
  transform: scale(1.18);
}

.stylehint-share-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* "Produk yang Dikenakan" section */
.stylehint-tagged-section {
  background: #fcfcfc;
  border: 1px solid var(--nf-line);
  border-radius: 8px;
  padding: 24px;
}

.stylehint-tagged-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.stylehint-tagged-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stylehint-tagged-title .count-pill {
  font-size: 12px;
  font-weight: 700;
  background: var(--nf-black);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
}

.stylehint-products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lookbook-product-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--nf-line);
  border-radius: 6px;
  padding: 12px;
  align-items: center;
  transition: border-color 0.2s;
}

.lookbook-product-row:hover {
  border-color: #333;
}

.lookbook-product-row__media {
  width: 80px;
  height: 96px;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}

.lookbook-product-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lookbook-product-row__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--nf-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.lookbook-product-row__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.3;
}

.lookbook-product-row__title a:hover {
  text-decoration: underline;
}

.lookbook-product-row__price {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.lookbook-product-row__price del {
  color: #999;
  font-weight: 400;
  margin-right: 6px;
}

.lookbook-product-row__price ins {
  text-decoration: none;
  color: var(--nf-brand);
}

.lookbook-product-row__actions {
  display: flex;
  gap: 8px;
}

.lookbook-btn-sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 11px;
}

.stylehint-related-section {
  padding: 64px 0 80px;
  border-top: 1px solid var(--nf-line);
  margin-top: 64px;
  background: #fafafa;
}

.stylehint-related-header {
  margin-bottom: 28px;
}

.stylehint-related-heading {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--nf-text);
}

.stylehint-related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .stylehint-related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .stylehint-related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .stylehint-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ==========================================================================
   4. Upload Outfit Modal
   ========================================================================== */

.lookbook-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lookbook-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lookbook-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.lookbook-modal__dialog {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 8px;
  width: min(100%, 640px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.lookbook-modal.is-open .lookbook-modal__dialog {
  transform: translateY(0);
}

.lookbook-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--nf-line);
}

.lookbook-modal__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}

.lookbook-modal__subtitle {
  font-size: 13px;
  color: var(--nf-muted);
  margin: 0;
}

.lookbook-modal__close {
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: #777;
  cursor: pointer;
}

.lookbook-modal__close:hover {
  color: #000;
}

.lookbook-modal__reward-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 24px 0;
  padding: 10px 16px;
  background: #effaf3;
  border: 1px solid #c4eed5;
  border-radius: 6px;
  font-size: 13px;
  color: #196f3d;
  font-weight: 600;
}

.lookbook-modal__reward-icon {
  font-size: 16px;
  color: #27ae60;
}

.lookbook-modal__body {
  padding: 20px 24px 24px;
}

.lookbook-modal__login-gate {
  text-align: center;
  padding: 32px 16px;
}

.lookbook-modal__login-icon {
  margin-bottom: 16px;
  color: var(--nf-muted);
}

.lookbook-modal__login-gate h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.lookbook-modal__login-gate p {
  font-size: 14px;
  color: var(--nf-muted);
  margin: 0 0 20px;
}

/* Form Styles */
.lookbook-form-group {
  margin-bottom: 18px;
}

.lookbook-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.lookbook-form-label .required {
  color: var(--nf-brand);
}

.lookbook-form-input,
.lookbook-form-select,
.lookbook-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--nf-line);
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s;
}

.lookbook-form-input:focus,
.lookbook-form-select:focus,
.lookbook-form-textarea:focus {
  outline: none;
  border-color: var(--nf-black);
}

.lookbook-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .lookbook-form-row {
    grid-template-columns: 1fr;
  }
}

/* Dropzone */
.lookbook-dropzone {
  position: relative;
  border: 2px dashed #d6d6d6;
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  background: #fbfbfb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lookbook-dropzone:hover,
.lookbook-dropzone.is-dragover {
  border-color: var(--nf-black);
  background: #f7f7f7;
}

.lookbook-dropzone__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 5;
}

.lookbook-dropzone__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  stroke: #888;
  fill: none;
  stroke-width: 1.5;
}

.lookbook-dropzone__text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--nf-text);
  margin-bottom: 4px;
}

.lookbook-dropzone__sub {
  display: block;
  font-size: 12px;
  color: var(--nf-muted);
}

.lookbook-dropzone__preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.lookbook-dropzone__preview-img {
  max-height: 220px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

.lookbook-dropzone__change-btn {
  background: #fff;
  border: 1px solid var(--nf-line);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Product Tagger Autocomplete */
.lookbook-product-tagger {
  position: relative;
}

.lookbook-search-input-wrap {
  position: relative;
}

.lookbook-product-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--nf-line);
  border-radius: 4px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  z-index: 20;
  margin-top: 4px;
}

.lookbook-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f2f2f2;
  transition: background 0.15s;
}

.lookbook-autocomplete-item:hover {
  background: #f8f8f8;
}

.lookbook-autocomplete-thumb {
  width: 36px;
  height: 44px;
  border-radius: 3px;
  object-fit: cover;
  background: #eee;
}

.lookbook-autocomplete-info {
  flex: 1;
  font-size: 13px;
}

.lookbook-autocomplete-title {
  font-weight: 600;
  margin-bottom: 2px;
}

.lookbook-autocomplete-price {
  font-size: 12px;
  color: var(--nf-muted);
}

.lookbook-tagged-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.lookbook-tagged-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f4f8;
  border: 1px solid #d4e2ed;
  border-radius: 6px;
  padding: 4px 10px 4px 6px;
  font-size: 12px;
}

.lookbook-tagged-chip__thumb {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  object-fit: cover;
}

.lookbook-tagged-chip__title {
  font-weight: 600;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lookbook-tagged-chip__remove {
  background: none;
  border: 0;
  font-size: 16px;
  line-height: 1;
  color: #777;
  cursor: pointer;
  padding: 0 2px;
}

.lookbook-tagged-chip__remove:hover {
  color: #d32f2f;
}

.lookbook-form-msg {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
}

.lookbook-form-msg.is-success {
  background: #e8f8f0;
  color: #196f3d;
  border: 1px solid #b7e4c7;
}

.lookbook-form-msg.is-error {
  background: #fdf2f2;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

.lookbook-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--nf-line);
}

/* ==========================================================================
   5. Points Redemption Card (Cart & Checkout)
   ========================================================================== */

.nuefelt-points-redeem-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.nuefelt-points-redeem-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.nuefelt-points-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111111;
  color: #f59e0b;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.nuefelt-points-redeem-card__head strong {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  display: block;
  margin-bottom: 4px;
}

.nuefelt-points-redeem-card__head p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.45;
}

.nuefelt-points-form {
  margin-top: 10px;
}

.nuefelt-points-input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.nuefelt-points-input-wrap input {
  max-width: 140px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  background: #fff;
}

.nuefelt-points-input-wrap .nf-button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
}

.nuefelt-points-applied-msg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eafaf1;
  border: 1px solid #a3e4d7;
  color: #117a65;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 4px;
}

.nf-remove-points-btn {
  color: #c0392b;
  font-size: 12px;
  cursor: pointer;
}

/* ==========================================================================
   6. Dedicated Product Slots (1 Baju & 1 Celana)
   ========================================================================== */

.lookbook-slots-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .lookbook-slots-row {
    grid-template-columns: 1fr;
  }
}

.lookbook-slot-card {
  background: #fbfbfb;
  border: 1px solid var(--nf-line);
  border-radius: 6px;
  padding: 14px;
  transition: border-color 0.2s;
}

.lookbook-slot-card:hover {
  border-color: #bbb;
}

.lookbook-slot-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.lookbook-slot-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--nf-black);
}

.lookbook-slot-card__badge {
  font-size: 11px;
  font-weight: 600;
  background: #eee;
  padding: 2px 8px;
  border-radius: 999px;
  color: #666;
}

.lookbook-slot-card__badge.is-selected {
  background: #e6f4ea;
  color: #137333;
}

.lookbook-slot-selected {
  margin-top: 8px;
}

/* ==========================================================================
   7. Redesigned My Account Points Card
   ========================================================================== */

.nf-points-summary-card {
  background: #151515;
  color: #ffffff;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 768px) {
  .nf-points-summary-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}

.nf-points-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 8px;
}

.nf-points-balance {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
  margin-bottom: 12px;
}

.nf-points-number {
  font-size: clamp(40px, 5vw, 54px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.nf-points-unit {
  font-size: 18px;
  font-weight: 500;
  color: #a3a3a3;
}

.nf-points-equivalent {
  font-size: 15px;
  font-weight: 600;
  color: #4ade80;
}

.nf-points-equivalent .woocommerce-Price-amount {
  color: #4ade80 !important;
  font-weight: 700;
}

.nf-points-summary-card__rules {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.55;
}

.nf-points-rules-head {
  display: block;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.nf-points-rules-items {
  margin: 0;
  padding-left: 18px;
  color: #d1d5db;
}

.nf-points-rules-items li {
  margin-bottom: 4px;
}
