/* Description + Show More */
.nc-desc-wrap { position: relative; margin: 12px 0 14px; }
.nc-desc-body { color:#ddd; line-height:1.6; max-height: 96px; overflow: hidden; }
.nc-desc-wrap.expanded .nc-desc-body { max-height: none; }
.nc-desc-fade {
  position:absolute; left:0; right:0; bottom:36px; height:48px;
  background: linear-gradient(to bottom, rgba(14,14,14,0), rgba(14,14,14,1));
  pointer-events:none;
}
.nc-desc-toggle {
  display:inline-flex; gap:6px; align-items:center; margin-top:8px;
  border:1px solid #444; border-radius:8px; background:#191919; color:#e6c681;
  font-weight:600; padding:6px 10px; cursor:pointer;
}
.nc-desc-toggle:hover { border-color:#e6c681; color:#fff; }

/* Merch */
.nc-merch-wrap { margin: 16px 0 6px; }
.nc-merch-header h3 { margin:0; color:#e6c681; font-weight:700; font-size:1.05rem; letter-spacing:.01em; }
.nc-merch-sub { color:#aaa; font-size:.9rem; margin-top:4px; }
.nc-merch-grid {
  margin-top: 10px;
  display:grid; gap:14px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.nc-merch-card {
  display:flex; flex-direction:column; gap:8px;
  background:#121212; border:1px solid #232323; border-radius:12px;
  padding:10px; text-decoration:none;
  transition: border-color .15s, box-shadow .15s, transform .08s ease-out;
}
.nc-merch-card:hover {
  border-color:#e6c681;
  box-shadow:0 4px 14px #000a, 0 0 10px #e6c68122;
  transform: translateY(-1px);
}
.nc-merch-thumb {
  width:100%; aspect-ratio: 16 / 9; background:#0e0e0e; border-radius:8px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.nc-merch-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.nc-merch-fallback {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(145deg, #1a1a1a, #101010);
  color:#e6c681; font-weight:800; font-size:1.6rem;
}
.nc-merch-title { color:#ddd; font-weight:600; font-size:.98rem; }

@media (max-width: 720px){
  .nc-desc-body { max-height: 120px; }
}

.nc-desc-body{
  color:#ddd; line-height:1.6;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
  overflow:hidden;
}
.nc-desc-wrap.expanded .nc-desc-body{ -webkit-line-clamp:initial; max-height:none; }


/* ===== Description + Shop card ===== */
#nc-desc-and-merch{
  margin: 16px 0 22px;
  border-radius: 16px;
  border: 1px solid #23262c;
  background:
    radial-gradient(900px 500px at -10% 0, rgba(230,198,129,.06), transparent 40%),
    linear-gradient(180deg,#16181b 0%, #13151a 100%);
  box-shadow: 0 8px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.03);
}

/* Description block */
#nc-desc-and-merch .nc-desc-wrap{
  padding: 16px 18px 12px;
  position: relative;
}
#nc-desc-and-merch .nc-desc-body{
  color:#d2d6e0;
  font-size:.96rem;
  line-height:1.6;
  /* 3-line clamp by default; your JS toggles .expanded */
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3;
  overflow:hidden;
}
#nc-desc-and-merch .nc-desc-wrap.expanded .nc-desc-body{-webkit-line-clamp:unset}
#nc-desc-and-merch .nc-desc-toggle{
  margin-top:8px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid #2b2f37;
  background:#1a1d22;
  color:#cfd3dc;
  font-weight:600;
  font-size:.88rem;
  display:none; /* only shown by your JS if overflowing */
}
#nc-desc-and-merch .nc-desc-toggle:hover{
  background:#23262d; color:#fff;
}

/* Faint gradient fade (only when clamped) */
#nc-desc-and-merch .nc-desc-fade{
  content:"";
  position:absolute; left:18px; right:18px; bottom:46px; height:40px;
  background: linear-gradient(180deg, rgba(19,21,26,0) 0%, rgba(19,21,26,1) 88%);
  border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;
  display:none; /* JS toggles */
}

/* Shop header + divider */
#nc-desc-and-merch .nc-merch-wrap{
  border-top: 1px solid #20232a;
  padding: 14px 18px 18px;
  border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;
}
#nc-desc-and-merch .nc-merch-header{
  display:flex; align-items:baseline; gap:10px; margin-bottom:10px;
}
#nc-desc-and-merch .nc-merch-header h3{
  margin:0; font-size:1.05rem; font-weight:800; color:#fff;
}
#nc-desc-and-merch .nc-merch-sub{
  color:#aab0ba; font-size:.92rem; font-weight:500;
}

/* Merch grid stays the same; give the cards a subtle outline */
#nc-desc-and-merch .nc-merch-card{
  background:#1b1e23;
  border:1px solid #2a2e36;
  border-radius:12px;
  box-shadow:0 4px 14px rgba(0,0,0,.25);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
#nc-desc-and-merch .nc-merch-card:hover{
  transform: translateY(-2px);
  border-color:#303746;
  box-shadow:0 10px 24px rgba(20,30,50,.45);
}
#nc-desc-and-merch .nc-merch-thumb img,
#nc-desc-and-merch .nc-merch-thumb .nc-merch-fallback{
  border-top-left-radius:12px; border-top-right-radius:12px;
  border-bottom:1px solid #262a33;
}
#nc-desc-and-merch .nc-merch-fallback{
  display:flex; align-items:center; justify-content:center;
  aspect-ratio:16/9; background:#0f1116; color:#e6c681; font-weight:800; font-size:2rem;
}
#nc-desc-and-merch .nc-merch-title{
  padding:10px 12px; color:#e6e8ee; font-weight:700; font-size:.98rem;
}


/* =============================
   Netcade — Description + Merch
   Scoped to the section id used in your PHP
   ============================= */
section[id^="nc-desc-and-merch-"]{
  width: 100%;
  margin: 16px 0 8px 0;
  max-width: none !important;       /* don’t get re-centered by theme */
}

/* Panels (desc + shop) get the same Netcade panel look */
section[id^="nc-desc-and-merch-"] .nc-desc-wrap,
section[id^="nc-desc-and-merch-"] .netcade-creator-shop,
section[id^="nc-desc-and-merch-"] .nc-creator-shop,
section[id^="nc-desc-and-merch-"] .creator-shop{
  background:
    radial-gradient(120% 160% at 12% -20%, #1a1d24 0%, #14171d 60%) #14171d;
  border: 1px solid #23272f;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.28), 0 0 0 1px #1b1f27 inset;
  padding: 16px 18px;
  margin: 0 0 14px 0;
}

/* -----------------------------
   Description (collapsible)
   ----------------------------- */
section[id^="nc-desc-and-merch-"] .nc-desc-body{
  color: #d6d9e0;
  font-size: .95rem;            /* smaller copy like you asked */
  line-height: 1.45;
  max-height: 168px;            /* collapsed height */
  overflow: hidden;
  /* tighten WP content spacing a touch */
}
section[id^="nc-desc-and-merch-"] .nc-desc-body p{ margin: 0 0 .7em; }
section[id^="nc-desc-and-merch-"] .nc-desc-wrap.expanded .nc-desc-body{
  max-height: none;
}

/* bottom fade only when collapsed */
section[id^="nc-desc-and-merch-"] .nc-desc-fade{
  display: none;
  height: 56px;
  margin-top: -56px;
  background: linear-gradient(to bottom, rgba(20,23,29,0), rgba(20,23,29,.96));
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  pointer-events: none;
}
section[id^="nc-desc-and-merch-"] .nc-desc-wrap:not(.expanded) .nc-desc-fade{
  display: block;
}

/* Show more/less button (small pill, subtle glow on hover) */
section[id^="nc-desc-and-merch-"] .nc-desc-toggle{
  display: inline-flex;
  align-items: center;
  gap: .5ch;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg,#20242a 0,#15181d 100%);
  color: #e7e9ee;
  border: 1px solid #2a2f38;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .02em;
  box-shadow: 0 1px 0 #2b2f37 inset, 0 8px 20px rgba(0,0,0,.16);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
section[id^="nc-desc-and-merch-"] .nc-desc-toggle:hover{
  transform: translateY(-1px);
  border-color: #e6c681;
  box-shadow: 0 0 0 1px rgba(230,198,129,.28),
              0 10px 22px rgba(230,198,129,.10);
}

/* -----------------------------
   Creator Shop (generic targets)
   ----------------------------- */
section[id^="nc-desc-and-merch-"] .netcade-creator-shop .nc-shop-header{
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; letter-spacing: .02em; color: #eef0f5;
  margin: 2px 0 12px 2px;
}
section[id^="nc-desc-and-merch-"] .netcade-creator-shop .nc-shop-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

/* Cards */
section[id^="nc-desc-and-merch-"] .netcade-creator-shop .nc-shop-card{
  background: #111418;
  border: 1px solid #22262e;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
  color: #dcdfe6;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
section[id^="nc-desc-and-merch-"] .netcade-creator-shop .nc-shop-card:hover{
  transform: translateY(-2px);
  border-color: #e6c681;
  box-shadow: 0 10px 24px rgba(230,198,129,.10);
}

/* Images within shop cards (safe defaults) */
section[id^="nc-desc-and-merch-"] .netcade-creator-shop .nc-shop-card img{
  display:block; width:100%; height:auto; border-radius:10px;
}

/* Make sure both panels hug the left even inside centered layouts */
section[id^="nc-desc-and-merch-"] .nc-desc-wrap,
section[id^="nc-desc-and-merch-"] .netcade-creator-shop{ margin-left: 0 !important; }

/* Disclaimer: smaller and tighter */
.nc-merchant-disclaimer{
  max-width: 100%;
  margin: 6px 0 0 2px;
  color:#8c8c8c; font-size:12px;
}

